mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
docs(IBaseService): add type parameter documentation to interface
This commit is contained in:
parent
9c740f82ad
commit
471b1fae2d
@ -3,6 +3,9 @@ import type { PaginationParams, ServiceOptions } from '@shared/data/api/apiTypes
|
||||
/**
|
||||
* Standard service interface for data operations
|
||||
* Defines the contract that all services should implement
|
||||
* @template T - Type of the entity returned by service methods
|
||||
* @template TCreate - Type of the data required to create a new entity
|
||||
* @template TUpdate - Type of the data required to update an existing entity
|
||||
*/
|
||||
export interface IBaseService<T = any, TCreate = any, TUpdate = any> {
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user