select不再返回数据结构
This commit is contained in:
parent
c14f4543e1
commit
d72ef79e69
|
|
@ -14,7 +14,7 @@ export declare type CommonAspectDict<ED extends EntityDict & BaseEntityDict, Cxt
|
|||
option?: OP;
|
||||
getCount?: true;
|
||||
}, context: Cxt) => Promise<{
|
||||
data: Partial<ED[T]['Schema']>[];
|
||||
ids: string[];
|
||||
count?: number;
|
||||
}>;
|
||||
aggregate: <T extends keyof ED, OP extends SelectOption>(params: {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export type CommonAspectDict<ED extends EntityDict & BaseEntityDict, Cxt extends
|
|||
params: { entity: T; selection: ED[T]['Selection']; option?: OP; getCount?: true },
|
||||
context: Cxt
|
||||
) => Promise<{
|
||||
data: Partial<ED[T]['Schema']>[];
|
||||
ids: string[];
|
||||
count?: number;
|
||||
}>;
|
||||
aggregate: <T extends keyof ED, OP extends SelectOption>(
|
||||
|
|
|
|||
Loading…
Reference in New Issue