oak-domain 4.1.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base-app-domain/ActionAuth/Schema.d.ts +185 -185
- package/lib/base-app-domain/ActionDefDict.d.ts +2 -2
- package/lib/base-app-domain/I18n/Schema.d.ts +128 -128
- package/lib/base-app-domain/Modi/Schema.d.ts +135 -135
- package/lib/base-app-domain/ModiEntity/Schema.d.ts +383 -383
- package/lib/base-app-domain/Oper/Schema.d.ts +158 -152
- package/lib/base-app-domain/Oper/Storage.js +19 -1
- package/lib/base-app-domain/OperEntity/Schema.d.ts +372 -372
- package/lib/base-app-domain/Path/Schema.d.ts +148 -148
- package/lib/base-app-domain/Relation/Schema.d.ts +187 -187
- package/lib/base-app-domain/RelationAuth/Schema.d.ts +213 -213
- package/lib/base-app-domain/User/Action.d.ts +1 -0
- package/lib/base-app-domain/User/Action.js +3 -3
- package/lib/base-app-domain/User/Schema.d.ts +209 -209
- package/lib/base-app-domain/UserEntityClaim/Schema.d.ts +263 -263
- package/lib/base-app-domain/UserEntityGrant/Action.d.ts +5 -5
- package/lib/base-app-domain/UserEntityGrant/Action.js +5 -5
- package/lib/base-app-domain/UserEntityGrant/Schema.d.ts +130 -130
- package/lib/base-app-domain/UserRelation/Schema.d.ts +207 -207
- package/lib/compiler/localeBuilder.d.ts +27 -27
- package/lib/compiler/localeBuilder.js +215 -215
- package/lib/compiler/routerBuilder.js +263 -263
- package/lib/compiler/schemalBuilder.js +4167 -4160
- package/lib/entities/Oper.d.ts +2 -1
- package/lib/entities/Oper.js +16 -1
- package/lib/entities/User.d.ts +10 -0
- package/lib/entities/User.js +3 -2
- package/lib/index.d.ts +0 -22
- package/lib/index.js +1 -35
- package/lib/store/AsyncRowStore.d.ts +66 -65
- package/lib/store/AsyncRowStore.js +180 -180
- package/lib/store/CascadeStore.js +7 -31
- package/lib/store/RelationAuth.d.ts +103 -103
- package/lib/store/RelationAuth.js +1179 -1343
- package/lib/store/SyncRowStore.d.ts +29 -29
- package/lib/store/TriggerExecutor.js +468 -468
- package/lib/store/actionDef.js +278 -278
- package/lib/store/checker.js +487 -487
- package/lib/triggers/index.d.ts +2 -2
- package/lib/triggers/index.js +21 -1
- package/lib/types/Aspect.d.ts +13 -13
- package/lib/types/Configuration.d.ts +42 -0
- package/lib/types/Configuration.js +3 -0
- package/lib/types/Connector.d.ts +38 -38
- package/lib/types/Context.d.ts +7 -7
- package/lib/types/Entity.d.ts +4 -4
- package/lib/types/Environment.d.ts +93 -93
- package/lib/types/Exception.d.ts +155 -155
- package/lib/types/Exception.js +436 -436
- package/lib/types/Sync.d.ts +48 -0
- package/lib/types/Sync.js +8 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -0
- package/lib/utils/SimpleConnector.d.ts +64 -64
- package/lib/utils/SimpleConnector.js +206 -206
- package/lib/utils/assert.d.ts +5 -5
- package/lib/utils/projection.d.ts +1 -1
- package/lib/utils/relationPath.d.ts +31 -0
- package/lib/utils/relationPath.js +202 -0
- package/package.json +51 -51
- package/src/entities/ActionAuth.ts +41 -41
- package/src/entities/I18n.ts +45 -45
- package/src/entities/Modi.ts +69 -69
- package/src/entities/ModiEntity.ts +26 -26
- package/src/entities/Oper.ts +48 -32
- package/src/entities/OperEntity.ts +27 -27
- package/src/entities/Path.ts +43 -43
- package/src/entities/Relation.ts +43 -43
- package/src/entities/RelationAuth.ts +44 -44
- package/src/entities/User.ts +48 -48
- package/src/entities/UserEntityClaim.ts +29 -29
- package/src/entities/UserEntityGrant.ts +24 -24
- package/src/entities/UserRelation.ts +50 -50
|
@@ -1,130 +1,130 @@
|
|
|
1
|
-
import { JsonProjection } from "../../types/DataType";
|
|
2
|
-
import { Q_DateValue, Q_NumberValue, Q_StringValue, NodeId, MakeFilter, ExprOp, ExpressionKey, JsonFilter, SubQueryPredicateMetadata } from "../../types/Demand";
|
|
3
|
-
import { OneOf } from "../../types/Polyfill";
|
|
4
|
-
import { FormCreateData, FormUpdateData, DeduceAggregation, Operation as OakOperation, Selection as OakSelection, MakeAction as OakMakeAction, AggregationResult, EntityShape } from "../../types/Entity";
|
|
5
|
-
import { GenericAction } from "../../actions/action";
|
|
6
|
-
import { String } from "../../types/DataType";
|
|
7
|
-
import * as UserEntityClaim from "../UserEntityClaim/Schema";
|
|
8
|
-
import * as ModiEntity from "../ModiEntity/Schema";
|
|
9
|
-
import * as OperEntity from "../OperEntity/Schema";
|
|
10
|
-
type RelationIds = string[];
|
|
11
|
-
export type OpSchema = EntityShape & {
|
|
12
|
-
relationEntity: String<32>;
|
|
13
|
-
relationEntityFilter: Object;
|
|
14
|
-
relationIds: RelationIds;
|
|
15
|
-
};
|
|
16
|
-
export type OpAttr = keyof OpSchema;
|
|
17
|
-
export type Schema = EntityShape & {
|
|
18
|
-
relationEntity: String<32>;
|
|
19
|
-
relationEntityFilter: Object;
|
|
20
|
-
relationIds: RelationIds;
|
|
21
|
-
userEntityClaim$ueg?: Array<UserEntityClaim.Schema>;
|
|
22
|
-
userEntityClaim$ueg$$aggr?: AggregationResult<UserEntityClaim.Schema>;
|
|
23
|
-
modiEntity$entity?: Array<ModiEntity.Schema>;
|
|
24
|
-
modiEntity$entity$$aggr?: AggregationResult<ModiEntity.Schema>;
|
|
25
|
-
operEntity$entity?: Array<OperEntity.Schema>;
|
|
26
|
-
operEntity$entity$$aggr?: AggregationResult<OperEntity.Schema>;
|
|
27
|
-
} & {
|
|
28
|
-
[A in ExpressionKey]?: any;
|
|
29
|
-
};
|
|
30
|
-
type AttrFilter = {
|
|
31
|
-
id: Q_StringValue;
|
|
32
|
-
$$createAt$$: Q_DateValue;
|
|
33
|
-
$$seq$$: Q_NumberValue;
|
|
34
|
-
$$updateAt$$: Q_DateValue;
|
|
35
|
-
relationEntity: Q_StringValue;
|
|
36
|
-
relationEntityFilter: Object;
|
|
37
|
-
relationIds: JsonFilter<RelationIds>;
|
|
38
|
-
userEntityClaim$ueg: UserEntityClaim.Filter & SubQueryPredicateMetadata;
|
|
39
|
-
modiEntity$entity: ModiEntity.Filter & SubQueryPredicateMetadata;
|
|
40
|
-
operEntity$entity: OperEntity.Filter & SubQueryPredicateMetadata;
|
|
41
|
-
};
|
|
42
|
-
export type Filter = MakeFilter<AttrFilter & ExprOp<OpAttr | string>>;
|
|
43
|
-
export type Projection = {
|
|
44
|
-
"#id"?: NodeId;
|
|
45
|
-
[k: string]: any;
|
|
46
|
-
id?: number;
|
|
47
|
-
$$createAt$$?: number;
|
|
48
|
-
$$updateAt$$?: number;
|
|
49
|
-
$$seq$$?: number;
|
|
50
|
-
relationEntity?: number;
|
|
51
|
-
relationEntityFilter?: number | Object;
|
|
52
|
-
relationIds?: number | JsonProjection<RelationIds>;
|
|
53
|
-
userEntityClaim$ueg?: UserEntityClaim.Selection & {
|
|
54
|
-
$entity: "userEntityClaim";
|
|
55
|
-
};
|
|
56
|
-
userEntityClaim$ueg$$aggr?: UserEntityClaim.Aggregation & {
|
|
57
|
-
$entity: "userEntityClaim";
|
|
58
|
-
};
|
|
59
|
-
modiEntity$entity?: ModiEntity.Selection & {
|
|
60
|
-
$entity: "modiEntity";
|
|
61
|
-
};
|
|
62
|
-
modiEntity$entity$$aggr?: ModiEntity.Aggregation & {
|
|
63
|
-
$entity: "modiEntity";
|
|
64
|
-
};
|
|
65
|
-
operEntity$entity?: OperEntity.Selection & {
|
|
66
|
-
$entity: "operEntity";
|
|
67
|
-
};
|
|
68
|
-
operEntity$entity$$aggr?: OperEntity.Aggregation & {
|
|
69
|
-
$entity: "operEntity";
|
|
70
|
-
};
|
|
71
|
-
} & Partial<ExprOp<OpAttr | string>>;
|
|
72
|
-
type UserEntityGrantIdProjection = OneOf<{
|
|
73
|
-
id: number;
|
|
74
|
-
}>;
|
|
75
|
-
export type SortAttr = {
|
|
76
|
-
id: number;
|
|
77
|
-
} | {
|
|
78
|
-
$$createAt$$: number;
|
|
79
|
-
} | {
|
|
80
|
-
$$seq$$: number;
|
|
81
|
-
} | {
|
|
82
|
-
$$updateAt$$: number;
|
|
83
|
-
} | {
|
|
84
|
-
relationEntity: number;
|
|
85
|
-
} | {
|
|
86
|
-
relationIds: number;
|
|
87
|
-
} | {
|
|
88
|
-
[k: string]: any;
|
|
89
|
-
} | OneOf<ExprOp<OpAttr | string>>;
|
|
90
|
-
export type SortNode = {
|
|
91
|
-
$attr: SortAttr;
|
|
92
|
-
$direction?: "asc" | "desc";
|
|
93
|
-
};
|
|
94
|
-
export type Sorter = SortNode[];
|
|
95
|
-
export type SelectOperation<P extends Object = Projection> = OakSelection<"select", P, Filter, Sorter>;
|
|
96
|
-
export type Selection<P extends Object = Projection> = SelectOperation<P>;
|
|
97
|
-
export type Aggregation = DeduceAggregation<Projection, Filter, Sorter>;
|
|
98
|
-
export type CreateOperationData = FormCreateData<OpSchema> & {
|
|
99
|
-
userEntityClaim$ueg?: OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">[]> | Array<OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">> | OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">>>;
|
|
100
|
-
modiEntity$entity?: OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
101
|
-
operEntity$entity?: OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
102
|
-
};
|
|
103
|
-
export type CreateSingleOperation = OakOperation<"create", CreateOperationData>;
|
|
104
|
-
export type CreateMultipleOperation = OakOperation<"create", Array<CreateOperationData>>;
|
|
105
|
-
export type CreateOperation = CreateSingleOperation | CreateMultipleOperation;
|
|
106
|
-
export type UpdateOperationData = FormUpdateData<OpSchema> & {
|
|
107
|
-
[k: string]: any;
|
|
108
|
-
userEntityClaim$ueg?: OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<UserEntityClaim.RemoveOperation["action"], Omit<UserEntityClaim.RemoveOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">[]> | Array<OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">> | OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<UserEntityClaim.RemoveOperation["action"], Omit<UserEntityClaim.RemoveOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">>>;
|
|
109
|
-
modiEntity$entity?: OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
110
|
-
operEntity$entity?: OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
111
|
-
};
|
|
112
|
-
export type UpdateOperation = OakOperation<"update" | string, UpdateOperationData, Filter, Sorter>;
|
|
113
|
-
export type RemoveOperationData = {};
|
|
114
|
-
export type RemoveOperation = OakOperation<"remove", RemoveOperationData, Filter, Sorter>;
|
|
115
|
-
export type Operation = CreateOperation | UpdateOperation | RemoveOperation;
|
|
116
|
-
export type UserEntityGrantIdSubQuery = Selection<UserEntityGrantIdProjection>;
|
|
117
|
-
export type EntityDef = {
|
|
118
|
-
Schema: Schema;
|
|
119
|
-
OpSchema: OpSchema;
|
|
120
|
-
Action: OakMakeAction<GenericAction> | string;
|
|
121
|
-
Selection: Selection;
|
|
122
|
-
Aggregation: Aggregation;
|
|
123
|
-
Operation: Operation;
|
|
124
|
-
Create: CreateOperation;
|
|
125
|
-
Update: UpdateOperation;
|
|
126
|
-
Remove: RemoveOperation;
|
|
127
|
-
CreateSingle: CreateSingleOperation;
|
|
128
|
-
CreateMulti: CreateMultipleOperation;
|
|
129
|
-
};
|
|
130
|
-
export {};
|
|
1
|
+
import { JsonProjection } from "../../types/DataType";
|
|
2
|
+
import { Q_DateValue, Q_NumberValue, Q_StringValue, NodeId, MakeFilter, ExprOp, ExpressionKey, JsonFilter, SubQueryPredicateMetadata } from "../../types/Demand";
|
|
3
|
+
import { OneOf } from "../../types/Polyfill";
|
|
4
|
+
import { FormCreateData, FormUpdateData, DeduceAggregation, Operation as OakOperation, Selection as OakSelection, MakeAction as OakMakeAction, AggregationResult, EntityShape } from "../../types/Entity";
|
|
5
|
+
import { GenericAction } from "../../actions/action";
|
|
6
|
+
import { String } from "../../types/DataType";
|
|
7
|
+
import * as UserEntityClaim from "../UserEntityClaim/Schema";
|
|
8
|
+
import * as ModiEntity from "../ModiEntity/Schema";
|
|
9
|
+
import * as OperEntity from "../OperEntity/Schema";
|
|
10
|
+
type RelationIds = string[];
|
|
11
|
+
export type OpSchema = EntityShape & {
|
|
12
|
+
relationEntity: String<32>;
|
|
13
|
+
relationEntityFilter: Object;
|
|
14
|
+
relationIds: RelationIds;
|
|
15
|
+
};
|
|
16
|
+
export type OpAttr = keyof OpSchema;
|
|
17
|
+
export type Schema = EntityShape & {
|
|
18
|
+
relationEntity: String<32>;
|
|
19
|
+
relationEntityFilter: Object;
|
|
20
|
+
relationIds: RelationIds;
|
|
21
|
+
userEntityClaim$ueg?: Array<UserEntityClaim.Schema>;
|
|
22
|
+
userEntityClaim$ueg$$aggr?: AggregationResult<UserEntityClaim.Schema>;
|
|
23
|
+
modiEntity$entity?: Array<ModiEntity.Schema>;
|
|
24
|
+
modiEntity$entity$$aggr?: AggregationResult<ModiEntity.Schema>;
|
|
25
|
+
operEntity$entity?: Array<OperEntity.Schema>;
|
|
26
|
+
operEntity$entity$$aggr?: AggregationResult<OperEntity.Schema>;
|
|
27
|
+
} & {
|
|
28
|
+
[A in ExpressionKey]?: any;
|
|
29
|
+
};
|
|
30
|
+
type AttrFilter = {
|
|
31
|
+
id: Q_StringValue;
|
|
32
|
+
$$createAt$$: Q_DateValue;
|
|
33
|
+
$$seq$$: Q_NumberValue;
|
|
34
|
+
$$updateAt$$: Q_DateValue;
|
|
35
|
+
relationEntity: Q_StringValue;
|
|
36
|
+
relationEntityFilter: Object;
|
|
37
|
+
relationIds: JsonFilter<RelationIds>;
|
|
38
|
+
userEntityClaim$ueg: UserEntityClaim.Filter & SubQueryPredicateMetadata;
|
|
39
|
+
modiEntity$entity: ModiEntity.Filter & SubQueryPredicateMetadata;
|
|
40
|
+
operEntity$entity: OperEntity.Filter & SubQueryPredicateMetadata;
|
|
41
|
+
};
|
|
42
|
+
export type Filter = MakeFilter<AttrFilter & ExprOp<OpAttr | string>>;
|
|
43
|
+
export type Projection = {
|
|
44
|
+
"#id"?: NodeId;
|
|
45
|
+
[k: string]: any;
|
|
46
|
+
id?: number;
|
|
47
|
+
$$createAt$$?: number;
|
|
48
|
+
$$updateAt$$?: number;
|
|
49
|
+
$$seq$$?: number;
|
|
50
|
+
relationEntity?: number;
|
|
51
|
+
relationEntityFilter?: number | Object;
|
|
52
|
+
relationIds?: number | JsonProjection<RelationIds>;
|
|
53
|
+
userEntityClaim$ueg?: UserEntityClaim.Selection & {
|
|
54
|
+
$entity: "userEntityClaim";
|
|
55
|
+
};
|
|
56
|
+
userEntityClaim$ueg$$aggr?: UserEntityClaim.Aggregation & {
|
|
57
|
+
$entity: "userEntityClaim";
|
|
58
|
+
};
|
|
59
|
+
modiEntity$entity?: ModiEntity.Selection & {
|
|
60
|
+
$entity: "modiEntity";
|
|
61
|
+
};
|
|
62
|
+
modiEntity$entity$$aggr?: ModiEntity.Aggregation & {
|
|
63
|
+
$entity: "modiEntity";
|
|
64
|
+
};
|
|
65
|
+
operEntity$entity?: OperEntity.Selection & {
|
|
66
|
+
$entity: "operEntity";
|
|
67
|
+
};
|
|
68
|
+
operEntity$entity$$aggr?: OperEntity.Aggregation & {
|
|
69
|
+
$entity: "operEntity";
|
|
70
|
+
};
|
|
71
|
+
} & Partial<ExprOp<OpAttr | string>>;
|
|
72
|
+
type UserEntityGrantIdProjection = OneOf<{
|
|
73
|
+
id: number;
|
|
74
|
+
}>;
|
|
75
|
+
export type SortAttr = {
|
|
76
|
+
id: number;
|
|
77
|
+
} | {
|
|
78
|
+
$$createAt$$: number;
|
|
79
|
+
} | {
|
|
80
|
+
$$seq$$: number;
|
|
81
|
+
} | {
|
|
82
|
+
$$updateAt$$: number;
|
|
83
|
+
} | {
|
|
84
|
+
relationEntity: number;
|
|
85
|
+
} | {
|
|
86
|
+
relationIds: number;
|
|
87
|
+
} | {
|
|
88
|
+
[k: string]: any;
|
|
89
|
+
} | OneOf<ExprOp<OpAttr | string>>;
|
|
90
|
+
export type SortNode = {
|
|
91
|
+
$attr: SortAttr;
|
|
92
|
+
$direction?: "asc" | "desc";
|
|
93
|
+
};
|
|
94
|
+
export type Sorter = SortNode[];
|
|
95
|
+
export type SelectOperation<P extends Object = Projection> = OakSelection<"select", P, Filter, Sorter>;
|
|
96
|
+
export type Selection<P extends Object = Projection> = SelectOperation<P>;
|
|
97
|
+
export type Aggregation = DeduceAggregation<Projection, Filter, Sorter>;
|
|
98
|
+
export type CreateOperationData = FormCreateData<OpSchema> & {
|
|
99
|
+
userEntityClaim$ueg?: OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">[]> | Array<OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">> | OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">>>;
|
|
100
|
+
modiEntity$entity?: OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
101
|
+
operEntity$entity?: OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
102
|
+
};
|
|
103
|
+
export type CreateSingleOperation = OakOperation<"create", CreateOperationData>;
|
|
104
|
+
export type CreateMultipleOperation = OakOperation<"create", Array<CreateOperationData>>;
|
|
105
|
+
export type CreateOperation = CreateSingleOperation | CreateMultipleOperation;
|
|
106
|
+
export type UpdateOperationData = FormUpdateData<OpSchema> & {
|
|
107
|
+
[k: string]: any;
|
|
108
|
+
userEntityClaim$ueg?: OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<UserEntityClaim.RemoveOperation["action"], Omit<UserEntityClaim.RemoveOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">[]> | Array<OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "ueg" | "uegId">> | OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">> | OakOperation<UserEntityClaim.RemoveOperation["action"], Omit<UserEntityClaim.RemoveOperationData, "ueg" | "uegId">, Omit<UserEntityClaim.Filter, "ueg" | "uegId">>>;
|
|
109
|
+
modiEntity$entity?: OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<ModiEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
110
|
+
operEntity$entity?: OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">[]> | Array<OakOperation<"create", Omit<OperEntity.CreateOperationData, "entity" | "entityId">>>;
|
|
111
|
+
};
|
|
112
|
+
export type UpdateOperation = OakOperation<"update" | string, UpdateOperationData, Filter, Sorter>;
|
|
113
|
+
export type RemoveOperationData = {};
|
|
114
|
+
export type RemoveOperation = OakOperation<"remove", RemoveOperationData, Filter, Sorter>;
|
|
115
|
+
export type Operation = CreateOperation | UpdateOperation | RemoveOperation;
|
|
116
|
+
export type UserEntityGrantIdSubQuery = Selection<UserEntityGrantIdProjection>;
|
|
117
|
+
export type EntityDef = {
|
|
118
|
+
Schema: Schema;
|
|
119
|
+
OpSchema: OpSchema;
|
|
120
|
+
Action: OakMakeAction<GenericAction> | string;
|
|
121
|
+
Selection: Selection;
|
|
122
|
+
Aggregation: Aggregation;
|
|
123
|
+
Operation: Operation;
|
|
124
|
+
Create: CreateOperation;
|
|
125
|
+
Update: UpdateOperation;
|
|
126
|
+
Remove: RemoveOperation;
|
|
127
|
+
CreateSingle: CreateSingleOperation;
|
|
128
|
+
CreateMulti: CreateMultipleOperation;
|
|
129
|
+
};
|
|
130
|
+
export {};
|