oak-pay-business 2.3.4 → 2.4.0
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/es/aspects/withdraw.d.ts +12 -12
- package/es/components/AbstractComponents.d.ts +15 -5
- package/es/components/account/detail/web.pc.module.less +68 -68
- package/es/components/order/pay/info.js +6 -6
- package/es/components/order/pay/info.module.less +24 -24
- package/es/components/order/pay/web.mobile.module.less +35 -35
- package/es/components/order/pay/web.pc.module.less +35 -35
- package/es/components/payConfig/upsert/offline/web.pc.module.less +4 -4
- package/es/components/payConfig/upsert/web.pc.module.less +10 -10
- package/es/oak-app-domain/ActionDefDict.d.ts +6 -0
- package/es/oak-app-domain/ActionDefDict.js +4 -0
- package/es/oak-app-domain/Application/Schema.d.ts +10 -0
- package/es/oak-app-domain/Domain/Schema.d.ts +3 -3
- package/es/oak-app-domain/Domain/Storage.js +1 -1
- package/es/oak-app-domain/Domain/Style.js +2 -2
- package/es/oak-app-domain/Domain/locales/zh_CN.json +1 -1
- package/es/oak-app-domain/EntityDict.d.ts +2 -0
- package/es/oak-app-domain/Log/Action.d.ts +12 -0
- package/es/oak-app-domain/Log/Action.js +11 -0
- package/es/oak-app-domain/Log/Schema.d.ts +111 -0
- package/es/oak-app-domain/Log/Schema.js +1 -0
- package/es/oak-app-domain/Log/Storage.d.ts +3 -0
- package/es/oak-app-domain/Log/Storage.js +25 -0
- package/es/oak-app-domain/Log/Style.d.ts +3 -0
- package/es/oak-app-domain/Log/Style.js +12 -0
- package/es/oak-app-domain/Log/locales/zh_CN.json +1 -0
- package/es/oak-app-domain/Oper/Action.d.ts +12 -0
- package/es/oak-app-domain/Oper/Action.js +11 -0
- package/es/oak-app-domain/Oper/Schema.d.ts +56 -6
- package/es/oak-app-domain/Oper/Storage.js +13 -2
- package/es/oak-app-domain/Oper/Style.d.ts +3 -0
- package/es/oak-app-domain/Oper/Style.js +12 -0
- package/es/oak-app-domain/Oper/locales/zh_CN.json +1 -1
- package/es/oak-app-domain/OperEntity/Schema.d.ts +12 -1
- package/es/oak-app-domain/Passport/Schema.d.ts +1 -0
- package/es/oak-app-domain/Storage.js +2 -0
- package/es/oak-app-domain/StyleDict.js +4 -0
- package/es/oak-app-domain/User/Schema.d.ts +2 -2
- package/es/oak-app-domain/_SubQuery.d.ts +8 -0
- package/es/triggers/withdraw.d.ts +1 -1
- package/es/utils/payClazz/WechatPay/index.d.ts +1 -1
- package/lib/aspects/withdraw.d.ts +4 -4
- package/lib/context/BackendRuntimeContext.d.ts +1 -1
- package/lib/oak-app-domain/ActionDefDict.d.ts +6 -0
- package/lib/oak-app-domain/ActionDefDict.js +60 -56
- package/lib/oak-app-domain/Application/Schema.d.ts +10 -0
- package/lib/oak-app-domain/Domain/Schema.d.ts +3 -3
- package/lib/oak-app-domain/Domain/Storage.js +1 -1
- package/lib/oak-app-domain/Domain/Style.js +2 -2
- package/lib/oak-app-domain/Domain/locales/zh_CN.json +1 -1
- package/lib/oak-app-domain/EntityDict.d.ts +2 -0
- package/lib/oak-app-domain/Log/Action.d.ts +12 -0
- package/lib/oak-app-domain/Log/Action.js +14 -0
- package/lib/oak-app-domain/Log/Schema.d.ts +111 -0
- package/lib/oak-app-domain/Log/Schema.js +2 -0
- package/lib/oak-app-domain/Log/Storage.d.ts +3 -0
- package/lib/oak-app-domain/Log/Storage.js +28 -0
- package/lib/oak-app-domain/Log/Style.d.ts +3 -0
- package/lib/oak-app-domain/Log/Style.js +15 -0
- package/lib/oak-app-domain/Log/locales/zh_CN.json +1 -0
- package/lib/oak-app-domain/Oper/Action.d.ts +12 -0
- package/lib/oak-app-domain/Oper/Action.js +14 -0
- package/lib/oak-app-domain/Oper/Schema.d.ts +56 -6
- package/lib/oak-app-domain/Oper/Storage.js +14 -3
- package/lib/oak-app-domain/Oper/Style.d.ts +3 -0
- package/lib/oak-app-domain/Oper/Style.js +15 -0
- package/lib/oak-app-domain/Oper/locales/zh_CN.json +1 -1
- package/lib/oak-app-domain/OperEntity/Schema.d.ts +12 -1
- package/lib/oak-app-domain/Passport/Schema.d.ts +1 -0
- package/lib/oak-app-domain/Storage.js +146 -144
- package/lib/oak-app-domain/StyleDict.js +86 -82
- package/lib/oak-app-domain/User/Schema.d.ts +2 -2
- package/lib/oak-app-domain/_SubQuery.d.ts +8 -0
- package/lib/utils/application.d.ts +1 -1
- package/lib/utils/payClazz/WechatPay/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "name": "域名", "attr": { "url": "域名", "apiPath": "api路径", "protocol": "协议", "port": "端口", "system": "系统" }, "v": { "protocol": { "http": "http", "https": "https" } } }
|
|
1
|
+
{ "name": "域名", "attr": { "url": "域名", "apiPath": "api路径", "protocol": "协议", "port": "端口", "system": "系统" }, "v": { "protocol": { "http:": "http", "https:": "https" } } }
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EntityDef as ActionAuth } from "./ActionAuth/Schema";
|
|
2
2
|
import { EntityDef as I18n } from "./I18n/Schema";
|
|
3
|
+
import { EntityDef as Log } from "./Log/Schema";
|
|
3
4
|
import { EntityDef as Modi } from "./Modi/Schema";
|
|
4
5
|
import { EntityDef as ModiEntity } from "./ModiEntity/Schema";
|
|
5
6
|
import { EntityDef as Oper } from "./Oper/Schema";
|
|
@@ -75,6 +76,7 @@ import { EntityDef as WpProduct } from "./WpProduct/Schema";
|
|
|
75
76
|
export type EntityDict = {
|
|
76
77
|
actionAuth: ActionAuth;
|
|
77
78
|
i18n: I18n;
|
|
79
|
+
log: Log;
|
|
78
80
|
modi: Modi;
|
|
79
81
|
modiEntity: ModiEntity;
|
|
80
82
|
oper: Oper;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ActionDef } from "oak-domain/lib/types/Action";
|
|
2
|
+
import { GenericAction } from "oak-domain/lib/actions/action";
|
|
3
|
+
export type IState = 'normal' | 'rollbacked' | string;
|
|
4
|
+
export type State = IState | string;
|
|
5
|
+
export type IAction = 'undo' | 'redo' | string;
|
|
6
|
+
export type ParticularAction = IAction;
|
|
7
|
+
export declare const actions: string[];
|
|
8
|
+
export declare const IActionDef: ActionDef<IAction, IState>;
|
|
9
|
+
export type Action = GenericAction | ParticularAction | string;
|
|
10
|
+
export declare const actionDefDict: {
|
|
11
|
+
iState: ActionDef<string, string>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const actions = ["count", "stat", "download", "select", "aggregate", "create", "remove", "update", "undo", "redo"];
|
|
2
|
+
export const IActionDef = {
|
|
3
|
+
stm: {
|
|
4
|
+
undo: ['normal', 'rollbacked'],
|
|
5
|
+
redo: ['rollbacked', 'normal'],
|
|
6
|
+
},
|
|
7
|
+
is: 'normal',
|
|
8
|
+
};
|
|
9
|
+
export const actionDefDict = {
|
|
10
|
+
iState: IActionDef
|
|
11
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Q_DateValue, Q_NumberValue, Q_StringValue, Q_EnumValue, NodeId, MakeFilter, ExprOp, ExpressionKey, SubQueryPredicateMetadata } from "oak-domain/lib/types/Demand";
|
|
2
|
+
import { OneOf } from "oak-domain/lib/types/Polyfill";
|
|
3
|
+
import { FormCreateData, FormUpdateData, DeduceAggregation, Operation as OakOperation, Selection as OakSelection, MakeAction as OakMakeAction, AggregationResult, EntityShape } from "oak-domain/lib/types/Entity";
|
|
4
|
+
import { Action, ParticularAction, IState } from "./Action";
|
|
5
|
+
import { String } from "oak-domain/lib/types/DataType";
|
|
6
|
+
import * as Oper from "../Oper/Schema";
|
|
7
|
+
export type OpSchema = EntityShape & {
|
|
8
|
+
entity: String<32>;
|
|
9
|
+
entityId: String<64>;
|
|
10
|
+
iState?: IState | null;
|
|
11
|
+
};
|
|
12
|
+
export type OpAttr = keyof OpSchema;
|
|
13
|
+
export type Schema = EntityShape & {
|
|
14
|
+
entity: String<32>;
|
|
15
|
+
entityId: String<64>;
|
|
16
|
+
iState?: IState | null;
|
|
17
|
+
oper$log?: Array<Oper.Schema>;
|
|
18
|
+
oper$log$$aggr?: AggregationResult<Oper.Schema>;
|
|
19
|
+
} & {
|
|
20
|
+
[A in ExpressionKey]?: any;
|
|
21
|
+
};
|
|
22
|
+
type AttrFilter = {
|
|
23
|
+
id: Q_StringValue;
|
|
24
|
+
$$createAt$$: Q_DateValue;
|
|
25
|
+
$$seq$$: Q_NumberValue;
|
|
26
|
+
$$updateAt$$: Q_DateValue;
|
|
27
|
+
entity: Q_StringValue;
|
|
28
|
+
entityId: Q_StringValue;
|
|
29
|
+
iState: Q_EnumValue<IState>;
|
|
30
|
+
oper$log: Oper.Filter & SubQueryPredicateMetadata;
|
|
31
|
+
};
|
|
32
|
+
export type Filter = MakeFilter<AttrFilter & ExprOp<OpAttr | string>>;
|
|
33
|
+
export type Projection = {
|
|
34
|
+
"#id"?: NodeId;
|
|
35
|
+
[k: string]: any;
|
|
36
|
+
id?: number;
|
|
37
|
+
$$createAt$$?: number;
|
|
38
|
+
$$updateAt$$?: number;
|
|
39
|
+
$$seq$$?: number;
|
|
40
|
+
entity?: number;
|
|
41
|
+
entityId?: number;
|
|
42
|
+
iState?: number;
|
|
43
|
+
oper$log?: Oper.Selection & {
|
|
44
|
+
$entity: "oper";
|
|
45
|
+
};
|
|
46
|
+
oper$log$$aggr?: Oper.Aggregation & {
|
|
47
|
+
$entity: "oper";
|
|
48
|
+
};
|
|
49
|
+
} & Partial<ExprOp<OpAttr | string>>;
|
|
50
|
+
type LogIdProjection = OneOf<{
|
|
51
|
+
id: number;
|
|
52
|
+
}>;
|
|
53
|
+
export type SortAttr = {
|
|
54
|
+
id: number;
|
|
55
|
+
} | {
|
|
56
|
+
$$createAt$$: number;
|
|
57
|
+
} | {
|
|
58
|
+
$$seq$$: number;
|
|
59
|
+
} | {
|
|
60
|
+
$$updateAt$$: number;
|
|
61
|
+
} | {
|
|
62
|
+
entity: number;
|
|
63
|
+
} | {
|
|
64
|
+
entityId: number;
|
|
65
|
+
} | {
|
|
66
|
+
iState: number;
|
|
67
|
+
} | {
|
|
68
|
+
[k: string]: any;
|
|
69
|
+
} | OneOf<ExprOp<OpAttr | string>>;
|
|
70
|
+
export type SortNode = {
|
|
71
|
+
$attr: SortAttr;
|
|
72
|
+
$direction?: "asc" | "desc";
|
|
73
|
+
};
|
|
74
|
+
export type Sorter = SortNode[];
|
|
75
|
+
export type SelectOperation<P extends Object = Projection> = OakSelection<"select", P, Filter, Sorter>;
|
|
76
|
+
export type Selection<P extends Object = Projection> = SelectOperation<P>;
|
|
77
|
+
export type Aggregation = DeduceAggregation<Projection, Filter, Sorter>;
|
|
78
|
+
export type CreateOperationData = FormCreateData<Omit<OpSchema, "entity" | "entityId">> & ({
|
|
79
|
+
entity?: string;
|
|
80
|
+
entityId?: string;
|
|
81
|
+
[K: string]: any;
|
|
82
|
+
}) & {
|
|
83
|
+
oper$log?: OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "log" | "logId">, Omit<Oper.Filter, "log" | "logId">> | OakOperation<"create", Omit<Oper.CreateOperationData, "log" | "logId">[]> | Array<OakOperation<"create", Omit<Oper.CreateOperationData, "log" | "logId">> | OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "log" | "logId">, Omit<Oper.Filter, "log" | "logId">>>;
|
|
84
|
+
};
|
|
85
|
+
export type CreateSingleOperation = OakOperation<"create", CreateOperationData>;
|
|
86
|
+
export type CreateMultipleOperation = OakOperation<"create", Array<CreateOperationData>>;
|
|
87
|
+
export type CreateOperation = CreateSingleOperation | CreateMultipleOperation;
|
|
88
|
+
export type UpdateOperationData = FormUpdateData<OpSchema> & {
|
|
89
|
+
[k: string]: any;
|
|
90
|
+
oper$log?: OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "log" | "logId">, Omit<Oper.Filter, "log" | "logId">> | OakOperation<Oper.RemoveOperation["action"], Omit<Oper.RemoveOperationData, "log" | "logId">, Omit<Oper.Filter, "log" | "logId">> | OakOperation<"create", Omit<Oper.CreateOperationData, "log" | "logId">[]> | Array<OakOperation<"create", Omit<Oper.CreateOperationData, "log" | "logId">> | OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "log" | "logId">, Omit<Oper.Filter, "log" | "logId">> | OakOperation<Oper.RemoveOperation["action"], Omit<Oper.RemoveOperationData, "log" | "logId">, Omit<Oper.Filter, "log" | "logId">>>;
|
|
91
|
+
};
|
|
92
|
+
export type UpdateOperation = OakOperation<"update" | ParticularAction | string, UpdateOperationData, Filter, Sorter>;
|
|
93
|
+
export type RemoveOperationData = {};
|
|
94
|
+
export type RemoveOperation = OakOperation<"remove", RemoveOperationData, Filter, Sorter>;
|
|
95
|
+
export type Operation = CreateOperation | UpdateOperation | RemoveOperation;
|
|
96
|
+
export type LogIdSubQuery = Selection<LogIdProjection>;
|
|
97
|
+
export type EntityDef = {
|
|
98
|
+
Schema: Schema;
|
|
99
|
+
OpSchema: OpSchema;
|
|
100
|
+
Action: OakMakeAction<Action> | string;
|
|
101
|
+
Selection: Selection;
|
|
102
|
+
Aggregation: Aggregation;
|
|
103
|
+
Operation: Operation;
|
|
104
|
+
Create: CreateOperation;
|
|
105
|
+
Update: UpdateOperation;
|
|
106
|
+
Remove: RemoveOperation;
|
|
107
|
+
CreateSingle: CreateSingleOperation;
|
|
108
|
+
CreateMulti: CreateMultipleOperation;
|
|
109
|
+
ParticularAction: ParticularAction;
|
|
110
|
+
};
|
|
111
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { actions } from "./Action";
|
|
2
|
+
export const desc = {
|
|
3
|
+
attributes: {
|
|
4
|
+
entity: {
|
|
5
|
+
notNull: true,
|
|
6
|
+
type: "varchar",
|
|
7
|
+
params: {
|
|
8
|
+
length: 32
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
entityId: {
|
|
12
|
+
notNull: true,
|
|
13
|
+
type: "varchar",
|
|
14
|
+
params: {
|
|
15
|
+
length: 64
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
iState: {
|
|
19
|
+
type: "enum",
|
|
20
|
+
enumeration: ["normal", "rollbacked"]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
actionType: "crud",
|
|
24
|
+
actions
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "name": "日志", "attr": { "entity": "关联对象", "entityId": "关联对象ID", "iState": "状态" }, "action": { "undo": "回滚", "redo": "重做" }, "v": { "iState": { "normal": "正常的", "rollbacked": "已回滚" } } }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ActionDef } from "oak-domain/lib/types/Action";
|
|
2
|
+
import { GenericAction } from "oak-domain/lib/actions/action";
|
|
3
|
+
export type IState = 'normal' | 'rollbacked' | string;
|
|
4
|
+
export type State = IState | string;
|
|
5
|
+
export type IAction = 'undo' | 'redo' | string;
|
|
6
|
+
export type ParticularAction = IAction;
|
|
7
|
+
export declare const actions: string[];
|
|
8
|
+
export declare const IActionDef: ActionDef<IAction, IState>;
|
|
9
|
+
export type Action = GenericAction | ParticularAction | string;
|
|
10
|
+
export declare const actionDefDict: {
|
|
11
|
+
iState: ActionDef<string, string>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const actions = ["count", "stat", "download", "select", "aggregate", "create", "remove", "update", "undo", "redo"];
|
|
2
|
+
export const IActionDef = {
|
|
3
|
+
stm: {
|
|
4
|
+
undo: ['normal', 'rollbacked'],
|
|
5
|
+
redo: ['rollbacked', 'normal'],
|
|
6
|
+
},
|
|
7
|
+
is: 'normal',
|
|
8
|
+
};
|
|
9
|
+
export const actionDefDict = {
|
|
10
|
+
iState: IActionDef
|
|
11
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ForeignKey } from "oak-domain/lib/types/DataType";
|
|
2
|
-
import { Q_DateValue, Q_NumberValue, Q_StringValue, NodeId, MakeFilter, ExprOp, ExpressionKey, SubQueryPredicateMetadata } from "oak-domain/lib/types/Demand";
|
|
2
|
+
import { Q_DateValue, Q_NumberValue, Q_StringValue, Q_EnumValue, NodeId, MakeFilter, ExprOp, ExpressionKey, SubQueryPredicateMetadata } from "oak-domain/lib/types/Demand";
|
|
3
3
|
import { OneOf } from "oak-domain/lib/types/Polyfill";
|
|
4
4
|
import { FormCreateData, FormUpdateData, DeduceAggregation, Operation as OakOperation, Selection as OakSelection, MakeAction as OakMakeAction, AggregationResult, EntityShape } from "oak-domain/lib/types/Entity";
|
|
5
|
-
import {
|
|
5
|
+
import { Action, ParticularAction, IState } from "./Action";
|
|
6
6
|
import { String, Datetime } from "oak-domain/lib/types/DataType";
|
|
7
7
|
import * as User from "../User/Schema";
|
|
8
|
+
import * as Log from "../Log/Schema";
|
|
8
9
|
import * as OperEntity from "../OperEntity/Schema";
|
|
9
10
|
export type OpSchema = EntityShape & {
|
|
10
11
|
action: String<24>;
|
|
@@ -14,6 +15,9 @@ export type OpSchema = EntityShape & {
|
|
|
14
15
|
operatorId?: ForeignKey<"user"> | null;
|
|
15
16
|
targetEntity: String<32>;
|
|
16
17
|
bornAt?: Datetime | null;
|
|
18
|
+
logId?: ForeignKey<"log"> | null;
|
|
19
|
+
undoData?: Object | null;
|
|
20
|
+
iState?: IState | null;
|
|
17
21
|
};
|
|
18
22
|
export type OpAttr = keyof OpSchema;
|
|
19
23
|
export type Schema = EntityShape & {
|
|
@@ -24,7 +28,11 @@ export type Schema = EntityShape & {
|
|
|
24
28
|
operatorId?: ForeignKey<"user"> | null;
|
|
25
29
|
targetEntity: String<32>;
|
|
26
30
|
bornAt?: Datetime | null;
|
|
31
|
+
logId?: ForeignKey<"log"> | null;
|
|
32
|
+
undoData?: Object | null;
|
|
33
|
+
iState?: IState | null;
|
|
27
34
|
operator?: User.Schema | null;
|
|
35
|
+
log?: Log.Schema | null;
|
|
28
36
|
operEntity$oper?: Array<OperEntity.Schema>;
|
|
29
37
|
operEntity$oper$$aggr?: AggregationResult<OperEntity.Schema>;
|
|
30
38
|
} & {
|
|
@@ -43,6 +51,10 @@ type AttrFilter = {
|
|
|
43
51
|
operator: User.Filter;
|
|
44
52
|
targetEntity: Q_StringValue;
|
|
45
53
|
bornAt: Q_DateValue;
|
|
54
|
+
logId: Q_StringValue;
|
|
55
|
+
log: Log.Filter;
|
|
56
|
+
undoData: Object;
|
|
57
|
+
iState: Q_EnumValue<IState>;
|
|
46
58
|
operEntity$oper: OperEntity.Filter & SubQueryPredicateMetadata;
|
|
47
59
|
};
|
|
48
60
|
export type Filter = MakeFilter<AttrFilter & ExprOp<OpAttr | string>>;
|
|
@@ -61,6 +73,10 @@ export type Projection = {
|
|
|
61
73
|
operator?: User.Projection;
|
|
62
74
|
targetEntity?: number;
|
|
63
75
|
bornAt?: number;
|
|
76
|
+
logId?: number;
|
|
77
|
+
log?: Log.Projection;
|
|
78
|
+
undoData?: number | Object;
|
|
79
|
+
iState?: number;
|
|
64
80
|
operEntity$oper?: OperEntity.Selection & {
|
|
65
81
|
$entity: "operEntity";
|
|
66
82
|
};
|
|
@@ -74,6 +90,9 @@ type OperIdProjection = OneOf<{
|
|
|
74
90
|
type UserIdProjection = OneOf<{
|
|
75
91
|
operatorId: number;
|
|
76
92
|
}>;
|
|
93
|
+
type LogIdProjection = OneOf<{
|
|
94
|
+
logId: number;
|
|
95
|
+
}>;
|
|
77
96
|
export type SortAttr = {
|
|
78
97
|
id: number;
|
|
79
98
|
} | {
|
|
@@ -92,6 +111,12 @@ export type SortAttr = {
|
|
|
92
111
|
targetEntity: number;
|
|
93
112
|
} | {
|
|
94
113
|
bornAt: number;
|
|
114
|
+
} | {
|
|
115
|
+
logId: number;
|
|
116
|
+
} | {
|
|
117
|
+
log: Log.SortAttr;
|
|
118
|
+
} | {
|
|
119
|
+
iState: number;
|
|
95
120
|
} | {
|
|
96
121
|
[k: string]: any;
|
|
97
122
|
} | OneOf<ExprOp<OpAttr | string>>;
|
|
@@ -103,7 +128,7 @@ export type Sorter = SortNode[];
|
|
|
103
128
|
export type SelectOperation<P extends Object = Projection> = OakSelection<"select", P, Filter, Sorter>;
|
|
104
129
|
export type Selection<P extends Object = Projection> = SelectOperation<P>;
|
|
105
130
|
export type Aggregation = DeduceAggregation<Projection, Filter, Sorter>;
|
|
106
|
-
export type CreateOperationData = FormCreateData<Omit<OpSchema, "operatorId">> & (({
|
|
131
|
+
export type CreateOperationData = FormCreateData<Omit<OpSchema, "operatorId" | "logId">> & (({
|
|
107
132
|
operatorId?: never;
|
|
108
133
|
operator?: User.CreateSingleOperation;
|
|
109
134
|
} | {
|
|
@@ -112,13 +137,22 @@ export type CreateOperationData = FormCreateData<Omit<OpSchema, "operatorId">> &
|
|
|
112
137
|
} | {
|
|
113
138
|
operator?: never;
|
|
114
139
|
operatorId?: ForeignKey<"operator">;
|
|
140
|
+
}) & ({
|
|
141
|
+
logId?: never;
|
|
142
|
+
log?: Log.CreateSingleOperation;
|
|
143
|
+
} | {
|
|
144
|
+
logId: ForeignKey<"log">;
|
|
145
|
+
log?: Log.UpdateOperation;
|
|
146
|
+
} | {
|
|
147
|
+
log?: never;
|
|
148
|
+
logId?: ForeignKey<"log">;
|
|
115
149
|
})) & {
|
|
116
150
|
operEntity$oper?: OakOperation<"create", Omit<OperEntity.CreateOperationData, "oper" | "operId">[]> | Array<OakOperation<"create", Omit<OperEntity.CreateOperationData, "oper" | "operId">>>;
|
|
117
151
|
};
|
|
118
152
|
export type CreateSingleOperation = OakOperation<"create", CreateOperationData>;
|
|
119
153
|
export type CreateMultipleOperation = OakOperation<"create", Array<CreateOperationData>>;
|
|
120
154
|
export type CreateOperation = CreateSingleOperation | CreateMultipleOperation;
|
|
121
|
-
export type UpdateOperationData = FormUpdateData<Omit<OpSchema, "operatorId">> & (({
|
|
155
|
+
export type UpdateOperationData = FormUpdateData<Omit<OpSchema, "operatorId" | "logId">> & (({
|
|
122
156
|
operator?: User.CreateSingleOperation;
|
|
123
157
|
operatorId?: never;
|
|
124
158
|
} | {
|
|
@@ -130,22 +164,37 @@ export type UpdateOperationData = FormUpdateData<Omit<OpSchema, "operatorId">> &
|
|
|
130
164
|
} | {
|
|
131
165
|
operator?: never;
|
|
132
166
|
operatorId?: ForeignKey<"operator"> | null;
|
|
167
|
+
}) & ({
|
|
168
|
+
log?: Log.CreateSingleOperation;
|
|
169
|
+
logId?: never;
|
|
170
|
+
} | {
|
|
171
|
+
log?: Log.UpdateOperation;
|
|
172
|
+
logId?: never;
|
|
173
|
+
} | {
|
|
174
|
+
log?: Log.RemoveOperation;
|
|
175
|
+
logId?: never;
|
|
176
|
+
} | {
|
|
177
|
+
log?: never;
|
|
178
|
+
logId?: ForeignKey<"log"> | null;
|
|
133
179
|
})) & {
|
|
134
180
|
[k: string]: any;
|
|
135
181
|
operEntity$oper?: OakOperation<"create", Omit<OperEntity.CreateOperationData, "oper" | "operId">[]> | Array<OakOperation<"create", Omit<OperEntity.CreateOperationData, "oper" | "operId">>>;
|
|
136
182
|
};
|
|
137
|
-
export type UpdateOperation = OakOperation<"update" | string, UpdateOperationData, Filter, Sorter>;
|
|
183
|
+
export type UpdateOperation = OakOperation<"update" | ParticularAction | string, UpdateOperationData, Filter, Sorter>;
|
|
138
184
|
export type RemoveOperationData = {} & (({
|
|
139
185
|
operator?: User.UpdateOperation | User.RemoveOperation;
|
|
186
|
+
}) & ({
|
|
187
|
+
log?: Log.UpdateOperation | Log.RemoveOperation;
|
|
140
188
|
}));
|
|
141
189
|
export type RemoveOperation = OakOperation<"remove", RemoveOperationData, Filter, Sorter>;
|
|
142
190
|
export type Operation = CreateOperation | UpdateOperation | RemoveOperation;
|
|
143
191
|
export type UserIdSubQuery = Selection<UserIdProjection>;
|
|
192
|
+
export type LogIdSubQuery = Selection<LogIdProjection>;
|
|
144
193
|
export type OperIdSubQuery = Selection<OperIdProjection>;
|
|
145
194
|
export type EntityDef = {
|
|
146
195
|
Schema: Schema;
|
|
147
196
|
OpSchema: OpSchema;
|
|
148
|
-
Action: OakMakeAction<
|
|
197
|
+
Action: OakMakeAction<Action> | string;
|
|
149
198
|
Selection: Selection;
|
|
150
199
|
Aggregation: Aggregation;
|
|
151
200
|
Operation: Operation;
|
|
@@ -154,5 +203,6 @@ export type EntityDef = {
|
|
|
154
203
|
Remove: RemoveOperation;
|
|
155
204
|
CreateSingle: CreateSingleOperation;
|
|
156
205
|
CreateMulti: CreateMultipleOperation;
|
|
206
|
+
ParticularAction: ParticularAction;
|
|
157
207
|
};
|
|
158
208
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { actions } from "./Action";
|
|
2
2
|
export const desc = {
|
|
3
3
|
attributes: {
|
|
4
4
|
action: {
|
|
@@ -31,9 +31,20 @@ export const desc = {
|
|
|
31
31
|
},
|
|
32
32
|
bornAt: {
|
|
33
33
|
type: "datetime"
|
|
34
|
+
},
|
|
35
|
+
logId: {
|
|
36
|
+
type: "ref",
|
|
37
|
+
ref: "log"
|
|
38
|
+
},
|
|
39
|
+
undoData: {
|
|
40
|
+
type: "object"
|
|
41
|
+
},
|
|
42
|
+
iState: {
|
|
43
|
+
type: "enum",
|
|
44
|
+
enumeration: ["normal", "rollbacked"]
|
|
34
45
|
}
|
|
35
46
|
},
|
|
36
|
-
actionType: "
|
|
47
|
+
actionType: "crud",
|
|
37
48
|
actions,
|
|
38
49
|
indexes: [
|
|
39
50
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "name": "操作", "attr": { "action": "动作", "data": "数据", "filter": "选择条件", "extra": "其它", "operator": "操作者", "targetEntity": "关联对象", "bornAt": "诞生时间" } }
|
|
1
|
+
{ "name": "操作", "attr": { "action": "动作", "data": "数据", "filter": "选择条件", "extra": "其它", "operator": "操作者", "targetEntity": "关联对象", "bornAt": "诞生时间", "log": "关联日志", "undoData": "回滚数据", "iState": "状态" }, "action": { "undo": "回滚", "redo": "重做" }, "v": { "iState": { "normal": "正常的", "rollbacked": "已回滚" } } }
|
|
@@ -150,6 +150,9 @@ export type Aggregation = DeduceAggregation<Projection, Filter, Sorter>;
|
|
|
150
150
|
export type CreateOperationData = FormCreateData<Omit<OpSchema, "entity" | "entityId" | "operId">> & (({
|
|
151
151
|
operId?: never;
|
|
152
152
|
oper: Oper.CreateSingleOperation;
|
|
153
|
+
} | {
|
|
154
|
+
operId: ForeignKey<"oper">;
|
|
155
|
+
oper?: Oper.UpdateOperation;
|
|
153
156
|
} | {
|
|
154
157
|
oper?: never;
|
|
155
158
|
operId: ForeignKey<"oper">;
|
|
@@ -260,6 +263,12 @@ export type CreateOperation = CreateSingleOperation | CreateMultipleOperation;
|
|
|
260
263
|
export type UpdateOperationData = FormUpdateData<Omit<OpSchema, "entity" | "entityId" | "operId">> & (({
|
|
261
264
|
oper?: Oper.CreateSingleOperation;
|
|
262
265
|
operId?: never;
|
|
266
|
+
} | {
|
|
267
|
+
oper?: Oper.UpdateOperation;
|
|
268
|
+
operId?: never;
|
|
269
|
+
} | {
|
|
270
|
+
oper?: Oper.RemoveOperation;
|
|
271
|
+
operId?: never;
|
|
263
272
|
} | {
|
|
264
273
|
oper?: never;
|
|
265
274
|
operId?: ForeignKey<"oper">;
|
|
@@ -310,7 +319,9 @@ export type UpdateOperationData = FormUpdateData<Omit<OpSchema, "entity" | "enti
|
|
|
310
319
|
[k: string]: any;
|
|
311
320
|
};
|
|
312
321
|
export type UpdateOperation = OakOperation<"update" | string, UpdateOperationData, Filter, Sorter>;
|
|
313
|
-
export type RemoveOperationData = {} & ({
|
|
322
|
+
export type RemoveOperationData = {} & (({
|
|
323
|
+
oper?: Oper.UpdateOperation | Oper.RemoveOperation;
|
|
324
|
+
})) & ({
|
|
314
325
|
user?: User.UpdateOperation | User.RemoveOperation;
|
|
315
326
|
} | {
|
|
316
327
|
wechatPay?: WechatPay.UpdateOperation | WechatPay.RemoveOperation;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { desc as actionAuthDesc } from "./ActionAuth/Storage";
|
|
2
2
|
import { desc as i18nDesc } from "./I18n/Storage";
|
|
3
|
+
import { desc as logDesc } from "./Log/Storage";
|
|
3
4
|
import { desc as modiDesc } from "./Modi/Storage";
|
|
4
5
|
import { desc as modiEntityDesc } from "./ModiEntity/Storage";
|
|
5
6
|
import { desc as operDesc } from "./Oper/Storage";
|
|
@@ -75,6 +76,7 @@ import { desc as wpProductDesc } from "./WpProduct/Storage";
|
|
|
75
76
|
export const storageSchema = {
|
|
76
77
|
actionAuth: actionAuthDesc,
|
|
77
78
|
i18n: i18nDesc,
|
|
79
|
+
log: logDesc,
|
|
78
80
|
modi: modiDesc,
|
|
79
81
|
modiEntity: modiEntityDesc,
|
|
80
82
|
oper: operDesc,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { style as log } from "./Log/Style";
|
|
1
2
|
import { style as modi } from "./Modi/Style";
|
|
3
|
+
import { style as oper } from "./Oper/Style";
|
|
2
4
|
import { style as application } from "./Application/Style";
|
|
3
5
|
import { style as area } from "./Area/Style";
|
|
4
6
|
import { style as captcha } from "./Captcha/Style";
|
|
@@ -40,7 +42,9 @@ import { style as withdrawTransfer } from "./WithdrawTransfer/Style";
|
|
|
40
42
|
import { style as wpAccount } from "./WpAccount/Style";
|
|
41
43
|
import { style as wpProduct } from "./WpProduct/Style";
|
|
42
44
|
export const styleDict = {
|
|
45
|
+
log,
|
|
43
46
|
modi,
|
|
47
|
+
oper,
|
|
44
48
|
application,
|
|
45
49
|
area,
|
|
46
50
|
captcha,
|
|
@@ -475,7 +475,7 @@ export type CreateOperationData = FormCreateData<Omit<OpSchema, "refId">> & (({
|
|
|
475
475
|
ref?: never;
|
|
476
476
|
refId?: ForeignKey<"ref">;
|
|
477
477
|
})) & {
|
|
478
|
-
oper$operator?: OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">[]> | Array<OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">>>;
|
|
478
|
+
oper$operator?: OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "operator" | "operatorId">, Omit<Oper.Filter, "operator" | "operatorId">> | OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">[]> | Array<OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">> | OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "operator" | "operatorId">, Omit<Oper.Filter, "operator" | "operatorId">>>;
|
|
479
479
|
user$ref?: OakOperation<UpdateOperation["action"], Omit<UpdateOperationData, "ref" | "refId">, Omit<Filter, "ref" | "refId">> | OakOperation<"create", Omit<CreateOperationData, "ref" | "refId">[]> | Array<OakOperation<"create", Omit<CreateOperationData, "ref" | "refId">> | OakOperation<UpdateOperation["action"], Omit<UpdateOperationData, "ref" | "refId">, Omit<Filter, "ref" | "refId">>>;
|
|
480
480
|
userEntityClaim$user?: OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "user" | "userId">, Omit<UserEntityClaim.Filter, "user" | "userId">> | OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "user" | "userId">[]> | Array<OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "user" | "userId">> | OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "user" | "userId">, Omit<UserEntityClaim.Filter, "user" | "userId">>>;
|
|
481
481
|
userRelation$user?: OakOperation<UserRelation.UpdateOperation["action"], Omit<UserRelation.UpdateOperationData, "user" | "userId">, Omit<UserRelation.Filter, "user" | "userId">> | OakOperation<"create", Omit<UserRelation.CreateOperationData, "user" | "userId">[]> | Array<OakOperation<"create", Omit<UserRelation.CreateOperationData, "user" | "userId">> | OakOperation<UserRelation.UpdateOperation["action"], Omit<UserRelation.UpdateOperationData, "user" | "userId">, Omit<UserRelation.Filter, "user" | "userId">>>;
|
|
@@ -527,7 +527,7 @@ export type UpdateOperationData = FormUpdateData<Omit<OpSchema, "refId">> & (({
|
|
|
527
527
|
refId?: ForeignKey<"ref"> | null;
|
|
528
528
|
})) & {
|
|
529
529
|
[k: string]: any;
|
|
530
|
-
oper$operator?: OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">[]> | Array<OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">>>;
|
|
530
|
+
oper$operator?: OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "operator" | "operatorId">, Omit<Oper.Filter, "operator" | "operatorId">> | OakOperation<Oper.RemoveOperation["action"], Omit<Oper.RemoveOperationData, "operator" | "operatorId">, Omit<Oper.Filter, "operator" | "operatorId">> | OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">[]> | Array<OakOperation<"create", Omit<Oper.CreateOperationData, "operator" | "operatorId">> | OakOperation<Oper.UpdateOperation["action"], Omit<Oper.UpdateOperationData, "operator" | "operatorId">, Omit<Oper.Filter, "operator" | "operatorId">> | OakOperation<Oper.RemoveOperation["action"], Omit<Oper.RemoveOperationData, "operator" | "operatorId">, Omit<Oper.Filter, "operator" | "operatorId">>>;
|
|
531
531
|
user$ref?: OakOperation<UpdateOperation["action"], Omit<UpdateOperationData, "ref" | "refId">, Omit<Filter, "ref" | "refId">> | OakOperation<RemoveOperation["action"], Omit<RemoveOperationData, "ref" | "refId">, Omit<Filter, "ref" | "refId">> | OakOperation<"create", Omit<CreateOperationData, "ref" | "refId">[]> | Array<OakOperation<"create", Omit<CreateOperationData, "ref" | "refId">> | OakOperation<UpdateOperation["action"], Omit<UpdateOperationData, "ref" | "refId">, Omit<Filter, "ref" | "refId">> | OakOperation<RemoveOperation["action"], Omit<RemoveOperationData, "ref" | "refId">, Omit<Filter, "ref" | "refId">>>;
|
|
532
532
|
userEntityClaim$user?: OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "user" | "userId">, Omit<UserEntityClaim.Filter, "user" | "userId">> | OakOperation<UserEntityClaim.RemoveOperation["action"], Omit<UserEntityClaim.RemoveOperationData, "user" | "userId">, Omit<UserEntityClaim.Filter, "user" | "userId">> | OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "user" | "userId">[]> | Array<OakOperation<"create", Omit<UserEntityClaim.CreateOperationData, "user" | "userId">> | OakOperation<UserEntityClaim.UpdateOperation["action"], Omit<UserEntityClaim.UpdateOperationData, "user" | "userId">, Omit<UserEntityClaim.Filter, "user" | "userId">> | OakOperation<UserEntityClaim.RemoveOperation["action"], Omit<UserEntityClaim.RemoveOperationData, "user" | "userId">, Omit<UserEntityClaim.Filter, "user" | "userId">>>;
|
|
533
533
|
userRelation$user?: OakOperation<UserRelation.UpdateOperation["action"], Omit<UserRelation.UpdateOperationData, "user" | "userId">, Omit<UserRelation.Filter, "user" | "userId">> | OakOperation<UserRelation.RemoveOperation["action"], Omit<UserRelation.RemoveOperationData, "user" | "userId">, Omit<UserRelation.Filter, "user" | "userId">> | OakOperation<"create", Omit<UserRelation.CreateOperationData, "user" | "userId">[]> | Array<OakOperation<"create", Omit<UserRelation.CreateOperationData, "user" | "userId">> | OakOperation<UserRelation.UpdateOperation["action"], Omit<UserRelation.UpdateOperationData, "user" | "userId">, Omit<UserRelation.Filter, "user" | "userId">> | OakOperation<UserRelation.RemoveOperation["action"], Omit<UserRelation.RemoveOperationData, "user" | "userId">, Omit<UserRelation.Filter, "user" | "userId">>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as ActionAuth from "./ActionAuth/Schema";
|
|
2
2
|
import * as I18n from "./I18n/Schema";
|
|
3
|
+
import * as Log from "./Log/Schema";
|
|
3
4
|
import * as Modi from "./Modi/Schema";
|
|
4
5
|
import * as ModiEntity from "./ModiEntity/Schema";
|
|
5
6
|
import * as Oper from "./Oper/Schema";
|
|
@@ -82,6 +83,13 @@ export type I18nIdSubQuery = {
|
|
|
82
83
|
entity: "i18n";
|
|
83
84
|
}) | any;
|
|
84
85
|
};
|
|
86
|
+
export type LogIdSubQuery = {
|
|
87
|
+
[K in "$in" | "$nin"]?: (Oper.LogIdSubQuery & {
|
|
88
|
+
entity: "oper";
|
|
89
|
+
}) | (Log.LogIdSubQuery & {
|
|
90
|
+
entity: "log";
|
|
91
|
+
}) | any;
|
|
92
|
+
};
|
|
85
93
|
export type ModiIdSubQuery = {
|
|
86
94
|
[K in "$in" | "$nin"]?: (ModiEntity.ModiIdSubQuery & {
|
|
87
95
|
entity: "modiEntity";
|
|
@@ -6,6 +6,6 @@ import { BRC } from '../types/RuntimeCxt';
|
|
|
6
6
|
* @param context
|
|
7
7
|
* @param refunds
|
|
8
8
|
*/
|
|
9
|
-
export declare function updateWithdrawState(context: BRC, id: string): Promise<
|
|
9
|
+
export declare function updateWithdrawState(context: BRC, id: string): Promise<1 | 0>;
|
|
10
10
|
declare const triggers: Trigger<EntityDict, 'withdraw', BRC>[];
|
|
11
11
|
export default triggers;
|
|
@@ -3,7 +3,7 @@ export declare function getWithdrawCreateData(params: {
|
|
|
3
3
|
accountId: string;
|
|
4
4
|
price: number;
|
|
5
5
|
withdrawAccountId?: string;
|
|
6
|
-
}, context: BRC): Promise<(Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
6
|
+
}, context: BRC): Promise<(Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
7
7
|
id: string;
|
|
8
8
|
} & {
|
|
9
9
|
accountId: string;
|
|
@@ -17,7 +17,7 @@ export declare function getWithdrawCreateData(params: {
|
|
|
17
17
|
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
18
18
|
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
19
19
|
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
20
|
-
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
20
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
21
21
|
id: string;
|
|
22
22
|
} & {
|
|
23
23
|
accountId: string;
|
|
@@ -31,7 +31,7 @@ export declare function getWithdrawCreateData(params: {
|
|
|
31
31
|
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
32
32
|
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
33
33
|
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
34
|
-
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
34
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
35
35
|
id: string;
|
|
36
36
|
} & {
|
|
37
37
|
account?: undefined;
|
|
@@ -45,7 +45,7 @@ export declare function getWithdrawCreateData(params: {
|
|
|
45
45
|
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
46
46
|
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
47
47
|
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
48
|
-
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
48
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
49
49
|
id: string;
|
|
50
50
|
} & {
|
|
51
51
|
account?: undefined;
|