@nocobase/plugin-workflow 2.1.0-alpha.2 → 2.1.0-alpha.20
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/LICENSE +201 -661
- package/README.md +79 -10
- package/dist/client/214.88c6cd534bd4fc1c.js +10 -0
- package/dist/client/261.404a35cf5ae2ceba.js +10 -0
- package/dist/client/67.f904ef4520868b8a.js +10 -0
- package/dist/client/964.6251d37b35710747.js +10 -0
- package/dist/client/hooks/{useWorkflowFilterActionProps.d.ts → useResourceFilterActionProps.d.ts} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/nodes/create.d.ts +10 -0
- package/dist/client/nodes/destroy.d.ts +10 -0
- package/dist/client/nodes/index.d.ts +3 -0
- package/dist/client/nodes/query.d.ts +18 -2
- package/dist/client/nodes/update.d.ts +10 -0
- package/dist/client/schemas/collection.d.ts +8 -2
- package/dist/client/schemas/executions.d.ts +41 -22
- package/dist/client/triggers/collection.d.ts +14 -1
- package/dist/client/triggers/index.d.ts +4 -0
- package/dist/client/triggers/schedule/constants.d.ts +4 -0
- package/dist/client/triggers/schedule/index.d.ts +15 -0
- package/dist/common/collections/executions.d.ts +22 -22
- package/dist/common/collections/executions.js +12 -0
- package/dist/common/collections/jobs.js +7 -0
- package/dist/common/collections/workflows.d.ts +22 -9
- package/dist/common/collections/workflows.js +9 -1
- package/dist/externalVersion.js +15 -13
- package/dist/locale/zh-CN.json +4 -1
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/joi/dist/joi-browser.min.js +1 -0
- package/dist/node_modules/joi/lib/annotate.js +175 -0
- package/dist/node_modules/joi/lib/base.js +1069 -0
- package/dist/node_modules/joi/lib/cache.js +143 -0
- package/dist/node_modules/joi/lib/common.js +216 -0
- package/dist/node_modules/joi/lib/compile.js +283 -0
- package/dist/node_modules/joi/lib/errors.js +271 -0
- package/dist/node_modules/joi/lib/extend.js +312 -0
- package/dist/node_modules/joi/lib/index.d.ts +2365 -0
- package/dist/node_modules/joi/lib/index.js +1 -0
- package/dist/node_modules/joi/lib/manifest.js +476 -0
- package/dist/node_modules/joi/lib/messages.js +178 -0
- package/dist/node_modules/joi/lib/modify.js +267 -0
- package/dist/node_modules/joi/lib/ref.js +414 -0
- package/dist/node_modules/joi/lib/schemas.js +302 -0
- package/dist/node_modules/joi/lib/state.js +166 -0
- package/dist/node_modules/joi/lib/template.js +463 -0
- package/dist/node_modules/joi/lib/trace.js +346 -0
- package/dist/node_modules/joi/lib/types/alternatives.js +364 -0
- package/dist/node_modules/joi/lib/types/any.js +174 -0
- package/dist/node_modules/joi/lib/types/array.js +809 -0
- package/dist/node_modules/joi/lib/types/binary.js +100 -0
- package/dist/node_modules/joi/lib/types/boolean.js +150 -0
- package/dist/node_modules/joi/lib/types/date.js +233 -0
- package/dist/node_modules/joi/lib/types/function.js +93 -0
- package/dist/node_modules/joi/lib/types/keys.js +1067 -0
- package/dist/node_modules/joi/lib/types/link.js +168 -0
- package/dist/node_modules/joi/lib/types/number.js +363 -0
- package/dist/node_modules/joi/lib/types/object.js +22 -0
- package/dist/node_modules/joi/lib/types/string.js +850 -0
- package/dist/node_modules/joi/lib/types/symbol.js +102 -0
- package/dist/node_modules/joi/lib/validator.js +750 -0
- package/dist/node_modules/joi/lib/values.js +263 -0
- package/dist/node_modules/joi/node_modules/@hapi/topo/lib/index.d.ts +60 -0
- package/dist/node_modules/joi/node_modules/@hapi/topo/lib/index.js +225 -0
- package/dist/node_modules/joi/node_modules/@hapi/topo/package.json +30 -0
- package/dist/node_modules/joi/package.json +1 -0
- package/dist/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +5 -0
- package/dist/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +10 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts +1381 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.js +1692 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.min.js +1 -0
- package/dist/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +5 -0
- package/dist/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
- package/dist/node_modules/lru-cache/dist/esm/browser/index.d.ts +1381 -0
- package/dist/node_modules/lru-cache/dist/{mjs → esm/browser}/index.js +537 -179
- package/dist/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +5 -0
- package/dist/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
- package/dist/node_modules/lru-cache/dist/esm/index.d.ts +1381 -0
- package/dist/node_modules/lru-cache/dist/{cjs → esm}/index.js +538 -184
- package/dist/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +5 -0
- package/dist/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +7 -0
- package/dist/node_modules/lru-cache/dist/esm/node/index.d.ts +1381 -0
- package/dist/node_modules/lru-cache/dist/esm/node/index.js +1688 -0
- package/dist/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/dist/node_modules/lru-cache/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/server/Dispatcher.d.ts +3 -2
- package/dist/server/Dispatcher.js +74 -61
- package/dist/server/Plugin.d.ts +1 -0
- package/dist/server/Plugin.js +28 -2
- package/dist/server/actions/nodes.d.ts +5 -0
- package/dist/server/actions/nodes.js +34 -2
- package/dist/server/actions/workflows.d.ts +6 -0
- package/dist/server/actions/workflows.js +38 -0
- package/dist/server/instructions/ConditionInstruction.d.ts +2 -0
- package/dist/server/instructions/ConditionInstruction.js +17 -0
- package/dist/server/instructions/CreateInstruction.d.ts +3 -0
- package/dist/server/instructions/CreateInstruction.js +25 -0
- package/dist/server/instructions/DestroyInstruction.d.ts +3 -0
- package/dist/server/instructions/DestroyInstruction.js +25 -0
- package/dist/server/instructions/EndInstruction.d.ts +2 -0
- package/dist/server/instructions/EndInstruction.js +4 -0
- package/dist/server/instructions/MultiConditionsInstruction.d.ts +2 -0
- package/dist/server/instructions/MultiConditionsInstruction.js +23 -0
- package/dist/server/instructions/OutputInstruction.d.ts +2 -0
- package/dist/server/instructions/OutputInstruction.js +14 -0
- package/dist/server/instructions/QueryInstruction.d.ts +3 -0
- package/dist/server/instructions/QueryInstruction.js +32 -7
- package/dist/server/instructions/UpdateInstruction.d.ts +3 -0
- package/dist/server/instructions/UpdateInstruction.js +27 -0
- package/dist/server/instructions/index.d.ts +4 -0
- package/dist/server/instructions/index.js +18 -0
- package/dist/server/triggers/CollectionTrigger.d.ts +3 -0
- package/dist/server/triggers/CollectionTrigger.js +28 -0
- package/dist/server/triggers/ScheduleTrigger/index.d.ts +3 -0
- package/dist/server/triggers/ScheduleTrigger/index.js +18 -3
- package/dist/server/triggers/index.d.ts +3 -0
- package/dist/server/triggers/index.js +18 -0
- package/dist/server/utils.d.ts +17 -0
- package/dist/server/utils.js +51 -2
- package/dist/swagger/index.d.ts +830 -109
- package/dist/swagger/index.js +947 -208
- package/package.json +6 -5
- package/dist/client/27bd65abee87cafa.js +0 -10
- package/dist/client/478692c1637f2742.js +0 -10
- package/dist/client/c1347b9d21f864d9.js +0 -10
- package/dist/client/f39e94207f92e352.js +0 -10
- package/dist/node_modules/lru-cache/LICENSE +0 -15
- package/dist/node_modules/lru-cache/dist/cjs/index-cjs.d.ts +0 -7
- package/dist/node_modules/lru-cache/dist/cjs/index-cjs.js +0 -1
- package/dist/node_modules/lru-cache/dist/cjs/index.d.ts +0 -807
- package/dist/node_modules/lru-cache/dist/cjs/index.min.js +0 -2
- package/dist/node_modules/lru-cache/dist/mjs/index.d.ts +0 -807
- package/dist/node_modules/lru-cache/dist/mjs/index.min.js +0 -2
- /package/dist/node_modules/lru-cache/dist/{cjs → commonjs}/package.json +0 -0
- /package/dist/node_modules/lru-cache/dist/{mjs → esm}/package.json +0 -0
|
@@ -22,6 +22,16 @@ export default class extends Instruction {
|
|
|
22
22
|
group: string;
|
|
23
23
|
description: string;
|
|
24
24
|
icon: React.JSX.Element;
|
|
25
|
+
presetFieldset: {
|
|
26
|
+
collection: {
|
|
27
|
+
type: string;
|
|
28
|
+
title: string;
|
|
29
|
+
required: boolean;
|
|
30
|
+
'x-reactions': any[];
|
|
31
|
+
'x-decorator': string;
|
|
32
|
+
'x-component': string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
25
35
|
fieldset: {
|
|
26
36
|
collection: {
|
|
27
37
|
'x-disabled': string;
|
|
@@ -16,6 +16,16 @@ export default class extends Instruction {
|
|
|
16
16
|
group: string;
|
|
17
17
|
description: string;
|
|
18
18
|
icon: React.JSX.Element;
|
|
19
|
+
presetFieldset: {
|
|
20
|
+
collection: {
|
|
21
|
+
type: string;
|
|
22
|
+
title: string;
|
|
23
|
+
required: boolean;
|
|
24
|
+
'x-reactions': any[];
|
|
25
|
+
'x-decorator': string;
|
|
26
|
+
'x-component': string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
19
29
|
fieldset: {
|
|
20
30
|
collection: {
|
|
21
31
|
'x-disabled': string;
|
|
@@ -107,5 +107,8 @@ export declare function Node({ data }: {
|
|
|
107
107
|
}): React.JSX.Element;
|
|
108
108
|
export declare function RemoveButton(): React.JSX.Element;
|
|
109
109
|
export declare function JobButton(): React.JSX.Element;
|
|
110
|
+
export declare function LogCollapse({ value }: {
|
|
111
|
+
value: any;
|
|
112
|
+
}): React.JSX.Element;
|
|
110
113
|
export declare function NodeDefaultView(props: any): React.JSX.Element;
|
|
111
114
|
export {};
|
|
@@ -24,6 +24,16 @@ export default class extends Instruction {
|
|
|
24
24
|
group: string;
|
|
25
25
|
description: string;
|
|
26
26
|
icon: React.JSX.Element;
|
|
27
|
+
presetFieldset: {
|
|
28
|
+
collection: {
|
|
29
|
+
type: string;
|
|
30
|
+
title: string;
|
|
31
|
+
required: boolean;
|
|
32
|
+
'x-reactions': any[];
|
|
33
|
+
'x-decorator': string;
|
|
34
|
+
'x-component': string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
27
37
|
fieldset: {
|
|
28
38
|
collection: {
|
|
29
39
|
'x-disabled': string;
|
|
@@ -149,7 +159,10 @@ export default class extends Instruction {
|
|
|
149
159
|
'x-decorator': string;
|
|
150
160
|
'x-component': string;
|
|
151
161
|
'x-component-props': {
|
|
152
|
-
|
|
162
|
+
nullable: boolean;
|
|
163
|
+
useTypedConstant: (string | {
|
|
164
|
+
min: number;
|
|
165
|
+
})[][];
|
|
153
166
|
};
|
|
154
167
|
default: number;
|
|
155
168
|
};
|
|
@@ -165,7 +178,10 @@ export default class extends Instruction {
|
|
|
165
178
|
'x-decorator': string;
|
|
166
179
|
'x-component': string;
|
|
167
180
|
'x-component-props': {
|
|
168
|
-
|
|
181
|
+
nullable: boolean;
|
|
182
|
+
useTypedConstant: (string | {
|
|
183
|
+
min: number;
|
|
184
|
+
})[][];
|
|
169
185
|
};
|
|
170
186
|
default: number;
|
|
171
187
|
};
|
|
@@ -18,6 +18,16 @@ export default class extends Instruction {
|
|
|
18
18
|
group: string;
|
|
19
19
|
description: string;
|
|
20
20
|
icon: React.JSX.Element;
|
|
21
|
+
presetFieldset: {
|
|
22
|
+
collection: {
|
|
23
|
+
type: string;
|
|
24
|
+
title: string;
|
|
25
|
+
required: boolean;
|
|
26
|
+
'x-reactions': any[];
|
|
27
|
+
'x-decorator': string;
|
|
28
|
+
'x-component': string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
21
31
|
fieldset: {
|
|
22
32
|
collection: {
|
|
23
33
|
'x-disabled': string;
|
|
@@ -121,7 +121,10 @@ export declare const pagination: {
|
|
|
121
121
|
'x-decorator': string;
|
|
122
122
|
'x-component': string;
|
|
123
123
|
'x-component-props': {
|
|
124
|
-
|
|
124
|
+
nullable: boolean;
|
|
125
|
+
useTypedConstant: (string | {
|
|
126
|
+
min: number;
|
|
127
|
+
})[][];
|
|
125
128
|
};
|
|
126
129
|
default: number;
|
|
127
130
|
};
|
|
@@ -137,7 +140,10 @@ export declare const pagination: {
|
|
|
137
140
|
'x-decorator': string;
|
|
138
141
|
'x-component': string;
|
|
139
142
|
'x-component-props': {
|
|
140
|
-
|
|
143
|
+
nullable: boolean;
|
|
144
|
+
useTypedConstant: (string | {
|
|
145
|
+
min: number;
|
|
146
|
+
})[][];
|
|
141
147
|
};
|
|
142
148
|
default: number;
|
|
143
149
|
};
|
|
@@ -46,6 +46,28 @@ export declare const executionSchema: {
|
|
|
46
46
|
unique?: undefined;
|
|
47
47
|
onDelete?: undefined;
|
|
48
48
|
defaultValue?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
type: string;
|
|
51
|
+
name: string;
|
|
52
|
+
interface: string;
|
|
53
|
+
uiSchema: {
|
|
54
|
+
type: string;
|
|
55
|
+
title: string;
|
|
56
|
+
'x-component': string;
|
|
57
|
+
'x-component-props': {
|
|
58
|
+
fieldNames?: undefined;
|
|
59
|
+
};
|
|
60
|
+
'x-read-pretty': boolean;
|
|
61
|
+
'x-decorator'?: undefined;
|
|
62
|
+
enum?: undefined;
|
|
63
|
+
};
|
|
64
|
+
primaryKey?: undefined;
|
|
65
|
+
allowNull?: undefined;
|
|
66
|
+
target?: undefined;
|
|
67
|
+
foreignKey?: undefined;
|
|
68
|
+
unique?: undefined;
|
|
69
|
+
onDelete?: undefined;
|
|
70
|
+
defaultValue?: undefined;
|
|
49
71
|
} | {
|
|
50
72
|
type: string;
|
|
51
73
|
name: string;
|
|
@@ -139,28 +161,6 @@ export declare const executionSchema: {
|
|
|
139
161
|
foreignKey?: undefined;
|
|
140
162
|
unique?: undefined;
|
|
141
163
|
onDelete?: undefined;
|
|
142
|
-
} | {
|
|
143
|
-
type: string;
|
|
144
|
-
name: string;
|
|
145
|
-
interface: string;
|
|
146
|
-
uiSchema: {
|
|
147
|
-
type: string;
|
|
148
|
-
title: string;
|
|
149
|
-
'x-component': string;
|
|
150
|
-
'x-component-props': {
|
|
151
|
-
fieldNames?: undefined;
|
|
152
|
-
};
|
|
153
|
-
'x-read-pretty': boolean;
|
|
154
|
-
'x-decorator'?: undefined;
|
|
155
|
-
enum?: undefined;
|
|
156
|
-
};
|
|
157
|
-
primaryKey?: undefined;
|
|
158
|
-
allowNull?: undefined;
|
|
159
|
-
target?: undefined;
|
|
160
|
-
foreignKey?: undefined;
|
|
161
|
-
unique?: undefined;
|
|
162
|
-
onDelete?: undefined;
|
|
163
|
-
defaultValue?: undefined;
|
|
164
164
|
})[];
|
|
165
165
|
indexes: {
|
|
166
166
|
fields: string[];
|
|
@@ -189,6 +189,25 @@ export declare const executionSchema: {
|
|
|
189
189
|
};
|
|
190
190
|
};
|
|
191
191
|
properties: {
|
|
192
|
+
filter: {
|
|
193
|
+
type: string;
|
|
194
|
+
title: string;
|
|
195
|
+
'x-action': string;
|
|
196
|
+
'x-component': string;
|
|
197
|
+
'x-use-component-props': string;
|
|
198
|
+
'x-component-props': {
|
|
199
|
+
icon: string;
|
|
200
|
+
nonfilterable: string[];
|
|
201
|
+
};
|
|
202
|
+
'x-align': string;
|
|
203
|
+
default: {
|
|
204
|
+
$and: {
|
|
205
|
+
status: {
|
|
206
|
+
$eq: any;
|
|
207
|
+
};
|
|
208
|
+
}[];
|
|
209
|
+
};
|
|
210
|
+
};
|
|
192
211
|
refresher: {
|
|
193
212
|
type: string;
|
|
194
213
|
title: string;
|
|
@@ -16,9 +16,22 @@ declare function useVariables(config: any, options: any): import("../variable").
|
|
|
16
16
|
export default class extends Trigger {
|
|
17
17
|
title: string;
|
|
18
18
|
description: string;
|
|
19
|
+
presetFieldset: {
|
|
20
|
+
collection: {
|
|
21
|
+
'x-component-props': {
|
|
22
|
+
dataSourceFilter(item: any): any;
|
|
23
|
+
};
|
|
24
|
+
type: string;
|
|
25
|
+
title: string;
|
|
26
|
+
required: boolean;
|
|
27
|
+
'x-reactions': any[];
|
|
28
|
+
'x-decorator': string;
|
|
29
|
+
'x-component': string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
19
32
|
fieldset: {
|
|
20
33
|
collection: {
|
|
21
|
-
'x-disabled':
|
|
34
|
+
'x-disabled': boolean;
|
|
22
35
|
'x-component-props': {
|
|
23
36
|
dataSourceFilter(item: any): any;
|
|
24
37
|
};
|
|
@@ -16,6 +16,10 @@ export declare abstract class Trigger {
|
|
|
16
16
|
description?: string;
|
|
17
17
|
useVariables?(config: Record<string, any>, options?: UseVariableOptions): VariableOption[];
|
|
18
18
|
fieldset: Record<string, ISchema>;
|
|
19
|
+
/**
|
|
20
|
+
* @experimental
|
|
21
|
+
*/
|
|
22
|
+
presetFieldset?: Record<string, ISchema>;
|
|
19
23
|
triggerFieldset?: Record<string, ISchema>;
|
|
20
24
|
validate(config: Record<string, any>): boolean;
|
|
21
25
|
view?: ISchema;
|
|
@@ -18,6 +18,21 @@ export default class extends Trigger {
|
|
|
18
18
|
sync: boolean;
|
|
19
19
|
title: string;
|
|
20
20
|
description: string;
|
|
21
|
+
presetFieldset: {
|
|
22
|
+
mode: {
|
|
23
|
+
type: string;
|
|
24
|
+
title: string;
|
|
25
|
+
name: string;
|
|
26
|
+
'x-decorator': string;
|
|
27
|
+
'x-component': string;
|
|
28
|
+
enum: {
|
|
29
|
+
value: number;
|
|
30
|
+
label: string;
|
|
31
|
+
}[];
|
|
32
|
+
required: boolean;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
21
36
|
fieldset: {
|
|
22
37
|
config: {
|
|
23
38
|
type: string;
|
|
@@ -35,6 +35,28 @@ declare const _default: {
|
|
|
35
35
|
unique?: undefined;
|
|
36
36
|
onDelete?: undefined;
|
|
37
37
|
defaultValue?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
type: string;
|
|
40
|
+
name: string;
|
|
41
|
+
interface: string;
|
|
42
|
+
uiSchema: {
|
|
43
|
+
type: string;
|
|
44
|
+
title: string;
|
|
45
|
+
'x-component': string;
|
|
46
|
+
'x-component-props': {
|
|
47
|
+
fieldNames?: undefined;
|
|
48
|
+
};
|
|
49
|
+
'x-read-pretty': boolean;
|
|
50
|
+
'x-decorator'?: undefined;
|
|
51
|
+
enum?: undefined;
|
|
52
|
+
};
|
|
53
|
+
primaryKey?: undefined;
|
|
54
|
+
allowNull?: undefined;
|
|
55
|
+
target?: undefined;
|
|
56
|
+
foreignKey?: undefined;
|
|
57
|
+
unique?: undefined;
|
|
58
|
+
onDelete?: undefined;
|
|
59
|
+
defaultValue?: undefined;
|
|
38
60
|
} | {
|
|
39
61
|
type: string;
|
|
40
62
|
name: string;
|
|
@@ -128,28 +150,6 @@ declare const _default: {
|
|
|
128
150
|
foreignKey?: undefined;
|
|
129
151
|
unique?: undefined;
|
|
130
152
|
onDelete?: undefined;
|
|
131
|
-
} | {
|
|
132
|
-
type: string;
|
|
133
|
-
name: string;
|
|
134
|
-
interface: string;
|
|
135
|
-
uiSchema: {
|
|
136
|
-
type: string;
|
|
137
|
-
title: string;
|
|
138
|
-
'x-component': string;
|
|
139
|
-
'x-component-props': {
|
|
140
|
-
fieldNames?: undefined;
|
|
141
|
-
};
|
|
142
|
-
'x-read-pretty': boolean;
|
|
143
|
-
'x-decorator'?: undefined;
|
|
144
|
-
enum?: undefined;
|
|
145
|
-
};
|
|
146
|
-
primaryKey?: undefined;
|
|
147
|
-
allowNull?: undefined;
|
|
148
|
-
target?: undefined;
|
|
149
|
-
foreignKey?: undefined;
|
|
150
|
-
unique?: undefined;
|
|
151
|
-
onDelete?: undefined;
|
|
152
|
-
defaultValue?: undefined;
|
|
153
153
|
})[];
|
|
154
154
|
indexes: {
|
|
155
155
|
fields: string[];
|
|
@@ -52,6 +52,18 @@ var executions_default = {
|
|
|
52
52
|
primaryKey: true,
|
|
53
53
|
allowNull: false
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
type: "bigInt",
|
|
57
|
+
name: "workflowId",
|
|
58
|
+
interface: "id",
|
|
59
|
+
uiSchema: {
|
|
60
|
+
type: "number",
|
|
61
|
+
title: `{{t("Version ID", { ns: "${import_constants.NAMESPACE}" })}}`,
|
|
62
|
+
"x-component": "InputNumber",
|
|
63
|
+
"x-component-props": {},
|
|
64
|
+
"x-read-pretty": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
55
67
|
{
|
|
56
68
|
type: "belongsTo",
|
|
57
69
|
name: "workflow",
|
|
@@ -17,8 +17,21 @@ declare const _default: {
|
|
|
17
17
|
type: string;
|
|
18
18
|
primaryKey: boolean;
|
|
19
19
|
allowNull: boolean;
|
|
20
|
-
interface
|
|
21
|
-
uiSchema
|
|
20
|
+
interface: string;
|
|
21
|
+
uiSchema: {
|
|
22
|
+
type: string;
|
|
23
|
+
title: string;
|
|
24
|
+
'x-component': string;
|
|
25
|
+
'x-component-props': {
|
|
26
|
+
multiple?: undefined;
|
|
27
|
+
fieldNames?: undefined;
|
|
28
|
+
mode?: undefined;
|
|
29
|
+
};
|
|
30
|
+
'x-read-pretty': boolean;
|
|
31
|
+
required?: undefined;
|
|
32
|
+
enum?: undefined;
|
|
33
|
+
default?: undefined;
|
|
34
|
+
};
|
|
22
35
|
defaultValue?: undefined;
|
|
23
36
|
required?: undefined;
|
|
24
37
|
target?: undefined;
|
|
@@ -53,10 +66,10 @@ declare const _default: {
|
|
|
53
66
|
type: string;
|
|
54
67
|
'x-component': string;
|
|
55
68
|
required: boolean;
|
|
56
|
-
enum?: undefined;
|
|
57
|
-
default?: undefined;
|
|
58
69
|
'x-component-props'?: undefined;
|
|
59
70
|
'x-read-pretty'?: undefined;
|
|
71
|
+
enum?: undefined;
|
|
72
|
+
default?: undefined;
|
|
60
73
|
};
|
|
61
74
|
primaryKey?: undefined;
|
|
62
75
|
allowNull?: undefined;
|
|
@@ -88,9 +101,9 @@ declare const _default: {
|
|
|
88
101
|
})[];
|
|
89
102
|
'x-component': string;
|
|
90
103
|
default: boolean;
|
|
91
|
-
required?: undefined;
|
|
92
104
|
'x-component-props'?: undefined;
|
|
93
105
|
'x-read-pretty'?: undefined;
|
|
106
|
+
required?: undefined;
|
|
94
107
|
};
|
|
95
108
|
primaryKey?: undefined;
|
|
96
109
|
allowNull?: undefined;
|
|
@@ -110,11 +123,11 @@ declare const _default: {
|
|
|
110
123
|
title: string;
|
|
111
124
|
type: string;
|
|
112
125
|
'x-component': string;
|
|
126
|
+
'x-component-props'?: undefined;
|
|
127
|
+
'x-read-pretty'?: undefined;
|
|
113
128
|
required?: undefined;
|
|
114
129
|
enum?: undefined;
|
|
115
130
|
default?: undefined;
|
|
116
|
-
'x-component-props'?: undefined;
|
|
117
|
-
'x-read-pretty'?: undefined;
|
|
118
131
|
};
|
|
119
132
|
primaryKey?: undefined;
|
|
120
133
|
allowNull?: undefined;
|
|
@@ -138,9 +151,9 @@ declare const _default: {
|
|
|
138
151
|
'x-component': string;
|
|
139
152
|
enum: string;
|
|
140
153
|
required: boolean;
|
|
141
|
-
default?: undefined;
|
|
142
154
|
'x-component-props'?: undefined;
|
|
143
155
|
'x-read-pretty'?: undefined;
|
|
156
|
+
default?: undefined;
|
|
144
157
|
};
|
|
145
158
|
primaryKey?: undefined;
|
|
146
159
|
allowNull?: undefined;
|
|
@@ -215,9 +228,9 @@ declare const _default: {
|
|
|
215
228
|
color: string;
|
|
216
229
|
}[];
|
|
217
230
|
required: boolean;
|
|
218
|
-
default?: undefined;
|
|
219
231
|
'x-component-props'?: undefined;
|
|
220
232
|
'x-read-pretty'?: undefined;
|
|
233
|
+
default?: undefined;
|
|
221
234
|
};
|
|
222
235
|
primaryKey?: undefined;
|
|
223
236
|
allowNull?: undefined;
|
|
@@ -41,7 +41,15 @@ var workflows_default = {
|
|
|
41
41
|
name: "id",
|
|
42
42
|
type: "snowflakeId",
|
|
43
43
|
primaryKey: true,
|
|
44
|
-
allowNull: false
|
|
44
|
+
allowNull: false,
|
|
45
|
+
interface: "id",
|
|
46
|
+
uiSchema: {
|
|
47
|
+
type: "number",
|
|
48
|
+
title: '{{t("ID")}}',
|
|
49
|
+
"x-component": "InputNumber",
|
|
50
|
+
"x-component-props": {},
|
|
51
|
+
"x-read-pretty": true
|
|
52
|
+
}
|
|
45
53
|
},
|
|
46
54
|
{
|
|
47
55
|
name: "key",
|
package/dist/externalVersion.js
CHANGED
|
@@ -11,27 +11,29 @@ module.exports = {
|
|
|
11
11
|
"react": "18.2.0",
|
|
12
12
|
"@formily/core": "2.3.7",
|
|
13
13
|
"@formily/react": "2.3.7",
|
|
14
|
-
"@nocobase/client": "2.1.0-alpha.
|
|
15
|
-
"@nocobase/utils": "2.1.0-alpha.
|
|
14
|
+
"@nocobase/client": "2.1.0-alpha.20",
|
|
15
|
+
"@nocobase/utils": "2.1.0-alpha.20",
|
|
16
16
|
"antd": "5.24.2",
|
|
17
17
|
"@ant-design/icons": "5.6.1",
|
|
18
18
|
"react-router-dom": "6.30.1",
|
|
19
19
|
"react-i18next": "11.18.6",
|
|
20
|
-
"lodash": "4.
|
|
20
|
+
"lodash": "4.18.1",
|
|
21
21
|
"@dnd-kit/core": "6.1.0",
|
|
22
22
|
"@formily/shared": "2.3.7",
|
|
23
|
-
"@nocobase/flow-engine": "2.1.0-alpha.
|
|
24
|
-
"@nocobase/plugin-mobile": "2.1.0-alpha.
|
|
23
|
+
"@nocobase/flow-engine": "2.1.0-alpha.20",
|
|
24
|
+
"@nocobase/plugin-mobile": "2.1.0-alpha.20",
|
|
25
25
|
"sequelize": "6.35.2",
|
|
26
|
-
"@nocobase/server": "2.1.0-alpha.
|
|
27
|
-
"@nocobase/database": "2.1.0-alpha.
|
|
28
|
-
"@nocobase/data-source-manager": "2.1.0-alpha.
|
|
29
|
-
"@nocobase/logger": "2.1.0-alpha.
|
|
30
|
-
"@nocobase/evaluators": "2.1.0-alpha.
|
|
26
|
+
"@nocobase/server": "2.1.0-alpha.20",
|
|
27
|
+
"@nocobase/database": "2.1.0-alpha.20",
|
|
28
|
+
"@nocobase/data-source-manager": "2.1.0-alpha.20",
|
|
29
|
+
"@nocobase/logger": "2.1.0-alpha.20",
|
|
30
|
+
"@nocobase/evaluators": "2.1.0-alpha.20",
|
|
31
31
|
"@formily/antd-v5": "1.2.3",
|
|
32
32
|
"@formily/reactive": "2.3.7",
|
|
33
|
-
"@
|
|
33
|
+
"@emotion/css": "11.13.0",
|
|
34
|
+
"@formily/json-schema": "2.3.7",
|
|
35
|
+
"@nocobase/actions": "2.1.0-alpha.20",
|
|
34
36
|
"dayjs": "1.11.13",
|
|
35
|
-
"@nocobase/plugin-workflow-test": "2.1.0-alpha.
|
|
36
|
-
"@nocobase/test": "2.1.0-alpha.
|
|
37
|
+
"@nocobase/plugin-workflow-test": "2.1.0-alpha.20",
|
|
38
|
+
"@nocobase/test": "2.1.0-alpha.20"
|
|
37
39
|
};
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"Duplicate": "复制",
|
|
90
90
|
"Duplicate to new workflow": "复制为新工作流",
|
|
91
91
|
"Edit category": "编辑分类",
|
|
92
|
+
"Enabled": "启用",
|
|
92
93
|
"End": "结束",
|
|
93
94
|
"End as failed": "以失败结束",
|
|
94
95
|
"End process": "结束流程",
|
|
@@ -223,12 +224,14 @@
|
|
|
223
224
|
"The workflow tasks page has already been created.": "工作流待办页面已创建。",
|
|
224
225
|
"This is a main version, delete it will cause the whole workflow to be deleted (including all other revisions).": "当前是主版本,删除将导致整个流程被删除(包括所有其他版本)。",
|
|
225
226
|
"This node contains branches, deleting will also be preformed to them, are you sure?": "节点包含分支,将同时删除其所有分支下的子节点,确定继续?",
|
|
227
|
+
"This type of node can not be used in current type of workflow or execute mode.": "该类型的节点在当前类型的工作流或执行模式中不可用。",
|
|
226
228
|
"This type of trigger has not been supported to be executed manually.": "该类型的触发器暂未支持手动执行。",
|
|
227
229
|
"This will perform all the actions configured in the workflow. Are you sure you want to continue?": "将按照工作流中配置的所有操作执行,确定继续吗?",
|
|
228
230
|
"Trigger": "触发器",
|
|
231
|
+
"Trigger configuration": "触发器配置",
|
|
229
232
|
"Trigger data": "触发数据",
|
|
230
233
|
"Trigger data context": "触发数据上下文",
|
|
231
|
-
"Trigger in executed workflow cannot be modified": "
|
|
234
|
+
"Trigger in executed workflow cannot be modified": "已执行的工作流中的触发器无法修改",
|
|
232
235
|
"Trigger mode": "触发模式",
|
|
233
236
|
"Trigger on": "触发时机",
|
|
234
237
|
"Trigger time": "触发时间",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2026-
|
|
1
|
+
{"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2026-04-20T10:43:50.520Z"}
|