asyncStore增加了checkRelation接口声明
This commit is contained in:
parent
33f23babbf
commit
3790dc1def
|
|
@ -72,4 +72,5 @@ export interface AsyncRowStore<ED extends EntityDict & BaseEntityDict, Cxt exten
|
|||
commit(txnId: string): Promise<void>;
|
||||
rollback(txnId: string): Promise<void>;
|
||||
exec(script: string, txnId?: string): Promise<void>;
|
||||
checkRelationAsync<T extends keyof ED, Cxt extends AsyncContext<ED>>(entity: T, operation: Omit<ED[T]['Operation'] | ED[T]['Selection'], 'id'>, context: Cxt): Promise<void>;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -320,4 +320,6 @@ export interface AsyncRowStore<ED extends EntityDict & BaseEntityDict, Cxt exten
|
|||
rollback(txnId: string): Promise<void>;
|
||||
|
||||
exec(script: string, txnId?: string): Promise<void>;
|
||||
|
||||
checkRelationAsync<T extends keyof ED, Cxt extends AsyncContext<ED>>(entity: T, operation: Omit<ED[T]['Operation'] | ED[T]['Selection'], 'id'>, context: Cxt): Promise<void>;
|
||||
};
|
||||
Loading…
Reference in New Issue