Merge branch 'dev' of codeup.aliyun.com:61c14a7efa282c88e103c23f/oak-domain into dev
This commit is contained in:
commit
a99de1d162
|
|
@ -1,7 +1,7 @@
|
|||
import { EntityDict } from '../types/Entity';
|
||||
import { EntityDict as BaseEntityDict } from '../base-app-domain';
|
||||
import { AsyncContext } from '../store/AsyncRowStore';
|
||||
declare type VaccumOperOption<ED extends EntityDict & BaseEntityDict> = {
|
||||
export declare type VaccumOperOption<ED extends EntityDict & BaseEntityDict> = {
|
||||
aliveLine: number;
|
||||
excludeOpers?: {
|
||||
[T in keyof ED]?: ED[T]['Action'][];
|
||||
|
|
@ -16,4 +16,3 @@ declare type VaccumOperOption<ED extends EntityDict & BaseEntityDict> = {
|
|||
* @returns
|
||||
*/
|
||||
export declare function vaccumOper<ED extends EntityDict & BaseEntityDict, Cxt extends AsyncContext<ED>>(option: VaccumOperOption<ED>, context: Cxt): Promise<void>;
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { AsyncContext } from '../store/AsyncRowStore';
|
|||
import { vaccumEntities } from './vaccum';
|
||||
import { combineFilters } from '../store/filter';
|
||||
|
||||
type VaccumOperOption<ED extends EntityDict & BaseEntityDict> = {
|
||||
export type VaccumOperOption<ED extends EntityDict & BaseEntityDict> = {
|
||||
aliveLine: number;
|
||||
excludeOpers?: {
|
||||
[T in keyof ED]?: ED[T]['Action'][];
|
||||
|
|
@ -57,7 +57,7 @@ export async function vaccumOper<ED extends EntityDict & BaseEntityDict, Cxt ext
|
|||
}
|
||||
}]),
|
||||
},
|
||||
},{
|
||||
}, {
|
||||
entity: 'oper',
|
||||
aliveLine,
|
||||
filter: operFilter,
|
||||
|
|
|
|||
Loading…
Reference in New Issue