nsn-service-type
Version:
NSN服务类型定义组件
9 lines (8 loc) • 365 B
TypeScript
import { BaseEntity } from "nsn-entity";
export type ToggleParams = Pick<BaseEntity, 'id'>;
export type RemoveParams = { id_list: BaseEntity['idList'] };
export type FindParams = Pick<BaseEntity, 'id'>;
export type PageParams<T> = Partial<T>;
export type SaveParams<T> = Partial<T>;
export type ListParams<T> = Partial<T>;
export type UniqueParams<T> = Partial<T>;