@tachybase/module-workflow 1.3.21 → 1.3.23
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/dist/client/Plugin.d.ts +3 -3
- package/dist/client/features/dynamic-calculation/expression.d.ts +1 -0
- package/dist/client/features/interceptor/WorkflowTriggerInterceptor.d.ts +1 -1
- package/dist/client/features/js-parse/JSParse.instruction.d.ts +3 -3
- package/dist/client/features/json-parse/JSONParse.instruction.d.ts +3 -3
- package/dist/client/features/manual/instruction/SchemaConfig.d.ts +1 -1
- package/dist/client/features/manual/instruction/createManualFormBlockUISchema.d.ts +11 -11
- package/dist/client/features/notice/configuration/Notice.instruction.d.ts +2 -2
- package/dist/client/features/request/RequestInstruction.d.ts +2 -2
- package/dist/client/features/script/Script.instruction.d.ts +3 -3
- package/dist/client/index.js +52 -53
- package/dist/client/nodes/calculation.d.ts +2 -1
- package/dist/client/nodes/condition.d.ts +2 -2
- package/dist/client/nodes/create.d.ts +1 -1
- package/dist/client/nodes/query.d.ts +1 -1
- package/dist/client/triggers/collection.d.ts +1 -1
- package/dist/externalVersion.js +10 -16
- package/dist/node_modules/@babel/core/node_modules/.bin/json5 +2 -2
- package/dist/node_modules/@babel/core/node_modules/.bin/parser +2 -2
- package/dist/node_modules/@babel/core/node_modules/.bin/semver +2 -2
- package/dist/node_modules/@babel/core/package.json +1 -1
- package/dist/node_modules/@babel/preset-env/node_modules/.bin/semver +2 -2
- package/dist/node_modules/@babel/preset-env/package.json +1 -1
- package/dist/node_modules/@babel/preset-react/package.json +1 -1
- package/dist/node_modules/@babel/preset-typescript/package.json +1 -1
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/form-data/package.json +1 -1
- package/dist/node_modules/jsonata/package.json +1 -1
- package/dist/node_modules/lru-cache/package.json +1 -1
- package/dist/node_modules/mime-types/index.js +3 -3
- package/dist/node_modules/mime-types/mimeScore.js +52 -0
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/node_modules/qrcode/package.json +1 -1
- package/dist/server/Plugin.d.ts +1 -4
- package/dist/server/Plugin.js +8 -10
- package/dist/server/Processor.d.ts +1 -2
- package/dist/server/Processor.js +5 -7
- package/dist/server/actions/executions.d.ts +1 -1
- package/dist/server/actions/executions.js +4 -5
- package/dist/server/actions/nodes.d.ts +1 -1
- package/dist/server/actions/nodes.js +33 -25
- package/dist/server/actions/workflows.d.ts +1 -1
- package/dist/server/actions/workflows.js +11 -12
- package/dist/server/collections/1-users_jobs.d.ts +1 -1
- package/dist/server/collections/1-users_jobs.js +2 -2
- package/dist/server/collections/2-jobs.d.ts +1 -1
- package/dist/server/collections/2-jobs.js +2 -2
- package/dist/server/collections/3-users.d.ts +1 -1
- package/dist/server/collections/3-users.js +2 -2
- package/dist/server/collections/executions.d.ts +1 -1
- package/dist/server/collections/flow_nodes.d.ts +1 -1
- package/dist/server/collections/jobs.d.ts +1 -1
- package/dist/server/collections/workflowCategories.d.ts +1 -1
- package/dist/server/collections/workflows.d.ts +1 -1
- package/dist/server/features/_deprecated-js-parse/plugin.d.ts +1 -1
- package/dist/server/features/_deprecated-js-parse/plugin.js +1 -1
- package/dist/server/features/_deprecated-json-parse/plugin.d.ts +1 -1
- package/dist/server/features/_deprecated-json-parse/plugin.js +1 -1
- package/dist/server/features/aggregate/AggregateInstruction.js +4 -5
- package/dist/server/features/aggregate/Plugin.d.ts +1 -1
- package/dist/server/features/aggregate/Plugin.js +1 -1
- package/dist/server/features/delay/Plugin.d.ts +1 -1
- package/dist/server/features/delay/Plugin.js +1 -1
- package/dist/server/features/dynamic-calculation/DynamicCalculation.js +4 -15
- package/dist/server/features/dynamic-calculation/Plugin.d.ts +1 -1
- package/dist/server/features/dynamic-calculation/Plugin.js +1 -1
- package/dist/server/features/dynamic-calculation/expression-field.d.ts +1 -1
- package/dist/server/features/dynamic-calculation/expression-field.js +3 -3
- package/dist/server/features/interception/RequestInterceptionTrigger.d.ts +1 -1
- package/dist/server/features/interception/RequestInterceptionTrigger.js +2 -2
- package/dist/server/features/interception/index.d.ts +1 -1
- package/dist/server/features/interception/index.js +1 -1
- package/dist/server/features/loop/Plugin.d.ts +1 -1
- package/dist/server/features/loop/Plugin.js +1 -1
- package/dist/server/features/manual/ManualInstruction.d.ts +1 -1
- package/dist/server/features/manual/ManualInstruction.js +2 -2
- package/dist/server/features/manual/Plugin.d.ts +1 -1
- package/dist/server/features/manual/Plugin.js +4 -5
- package/dist/server/features/manual/actions.d.ts +1 -1
- package/dist/server/features/manual/actions.js +2 -2
- package/dist/server/features/notice/NoticeInstruction.js +2 -2
- package/dist/server/features/notice/actions.js +4 -14
- package/dist/server/features/notice/collections/workflowNotice.d.ts +1 -1
- package/dist/server/features/notice/collections/workflowNotice.js +2 -2
- package/dist/server/features/notice/plugin.d.ts +1 -1
- package/dist/server/features/notice/plugin.js +4 -4
- package/dist/server/features/omni-trigger/CustomActionTrigger.d.ts +1 -1
- package/dist/server/features/omni-trigger/CustomActionTrigger.js +6 -7
- package/dist/server/features/omni-trigger/Plugin.d.ts +1 -1
- package/dist/server/features/omni-trigger/Plugin.js +1 -1
- package/dist/server/features/parallel/Plugin.d.ts +1 -1
- package/dist/server/features/parallel/Plugin.js +1 -1
- package/dist/server/features/request/Plugin.d.ts +1 -1
- package/dist/server/features/request/Plugin.js +1 -1
- package/dist/server/features/request/RequestInstruction.js +10 -11
- package/dist/server/features/response/Plugin.d.ts +1 -1
- package/dist/server/features/response/Plugin.js +1 -1
- package/dist/server/features/script/plugin.d.ts +1 -1
- package/dist/server/features/script/plugin.js +1 -1
- package/dist/server/features/script/script.instruction.js +2 -2
- package/dist/server/features/sql/Plugin.d.ts +1 -1
- package/dist/server/features/sql/Plugin.js +1 -1
- package/dist/server/features/trigger-instruction/flownode-check.d.ts +1 -1
- package/dist/server/features/trigger-instruction/plugin.d.ts +1 -1
- package/dist/server/features/trigger-instruction/plugin.js +1 -1
- package/dist/server/features/variables/Plugin.d.ts +1 -1
- package/dist/server/features/variables/Plugin.js +1 -1
- package/dist/server/instructions/CalculationInstruction.js +3 -3
- package/dist/server/instructions/ConditionInstruction.d.ts +1 -1
- package/dist/server/instructions/ConditionInstruction.js +3 -4
- package/dist/server/instructions/CreateInstruction.js +7 -9
- package/dist/server/instructions/DestroyInstruction.js +2 -2
- package/dist/server/instructions/QueryInstruction.js +3 -4
- package/dist/server/instructions/UpdateInstruction.js +5 -7
- package/dist/server/instructions/UpdateOrCreateInstruction.js +7 -9
- package/dist/server/instructions/index.d.ts +1 -1
- package/dist/server/migrations/20241118104303-add-initAt.d.ts +1 -1
- package/dist/server/migrations/20241118104303-add-initAt.js +1 -1
- package/dist/server/migrations/20241206122842-add-createdBy.d.ts +1 -1
- package/dist/server/migrations/20241206122842-add-createdBy.js +1 -1
- package/dist/server/migrations/20241220001154-bigInt.d.ts +1 -1
- package/dist/server/migrations/20241220001154-bigInt.js +1 -1
- package/dist/server/triggers/CollectionTrigger.d.ts +1 -1
- package/dist/server/triggers/CollectionTrigger.js +4 -4
- package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.d.ts +2 -2
- package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.js +12 -13
- package/dist/server/triggers/index.d.ts +1 -1
- package/dist/server/types/Execution.d.ts +1 -1
- package/dist/server/types/Execution.js +2 -2
- package/dist/server/types/FlowNode.d.ts +1 -1
- package/dist/server/types/FlowNode.js +2 -2
- package/dist/server/types/Job.d.ts +1 -1
- package/dist/server/types/Job.js +2 -2
- package/dist/server/types/Workflow.d.ts +1 -1
- package/dist/server/types/Workflow.js +2 -2
- package/dist/server/utils.js +2 -2
- package/package.json +17 -27
package/dist/client/Plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from '@tachybase/client';
|
|
2
|
-
import { Registry } from '@
|
|
2
|
+
import { Registry } from '@tego/client';
|
|
3
3
|
import { Instruction } from './nodes/default-node/interface';
|
|
4
4
|
import { Trigger } from './triggers';
|
|
5
5
|
export declare class PluginWorkflow extends Plugin {
|
|
@@ -13,9 +13,9 @@ export declare class PluginWorkflow extends Plugin {
|
|
|
13
13
|
sync: boolean;
|
|
14
14
|
description?: string;
|
|
15
15
|
fieldset: {
|
|
16
|
-
[key: string]: import("
|
|
16
|
+
[key: string]: import("@tachybase/schema").ISchema;
|
|
17
17
|
};
|
|
18
|
-
view?: import("
|
|
18
|
+
view?: import("@tachybase/schema").ISchema;
|
|
19
19
|
scope?: {
|
|
20
20
|
[key: string]: any;
|
|
21
21
|
};
|
|
@@ -69,7 +69,7 @@ export declare class WorkflowTriggerInterceptor extends Trigger {
|
|
|
69
69
|
useCollectionDataSource: typeof useCollectionDataSource;
|
|
70
70
|
};
|
|
71
71
|
components: {
|
|
72
|
-
FieldsSelect: import("react").MemoExoticComponent<import("
|
|
72
|
+
FieldsSelect: import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>;
|
|
73
73
|
RadioWithTooltip: typeof RadioWithTooltip;
|
|
74
74
|
CheckboxGroupWithTooltip: typeof CheckboxGroupWithTooltip;
|
|
75
75
|
};
|
|
@@ -112,9 +112,9 @@ export declare class JSParseInstruction extends Instruction {
|
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
114
|
components: {
|
|
115
|
-
ArrayTable: import("
|
|
116
|
-
Column: import("
|
|
117
|
-
Addition: import("
|
|
115
|
+
ArrayTable: import("@tachybase/schema").ReactFC<import("antd").TableProps<any>> & import("@tego/client").ArrayBaseMixins & {
|
|
116
|
+
Column: import("@tachybase/schema").ReactFC<import("antd").TableColumnProps<any>>;
|
|
117
|
+
Addition: import("@tachybase/schema").ReactFC<import("@tego/client").IArrayBaseAdditionProps>;
|
|
118
118
|
};
|
|
119
119
|
WorkflowVariableInput: typeof WorkflowVariableInput;
|
|
120
120
|
};
|
|
@@ -108,9 +108,9 @@ export declare class JSONParseInstruction extends Instruction {
|
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
110
|
components: {
|
|
111
|
-
ArrayTable: import("
|
|
112
|
-
Column: import("
|
|
113
|
-
Addition: import("
|
|
111
|
+
ArrayTable: import("@tachybase/schema").ReactFC<import("antd").TableProps<any>> & import("@tego/client").ArrayBaseMixins & {
|
|
112
|
+
Column: import("@tachybase/schema").ReactFC<import("antd").TableColumnProps<any>>;
|
|
113
|
+
Addition: import("@tachybase/schema").ReactFC<import("@tego/client").IArrayBaseAdditionProps>;
|
|
114
114
|
};
|
|
115
115
|
WorkflowVariableInput: typeof WorkflowVariableInput;
|
|
116
116
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SchemaInitializer, SchemaInitializerItemType } from '@tachybase/client';
|
|
3
3
|
import { ISchema } from '@tachybase/schema';
|
|
4
|
-
import { Registry } from '@
|
|
4
|
+
import { Registry } from '@tego/client';
|
|
5
5
|
import { JOB_STATUS } from '../../../constants';
|
|
6
6
|
type ValueOf<T> = T[keyof T];
|
|
7
7
|
export type FormType = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare function createManualFormBlockUISchema(options: any): import("
|
|
1
|
+
export declare function createManualFormBlockUISchema(options: any): import("@tachybase/schema").Stringify<{
|
|
2
2
|
[key: symbol]: any;
|
|
3
3
|
[key: `x-${string}`]: any;
|
|
4
4
|
[key: `x-${number}`]: any;
|
|
5
5
|
version?: string;
|
|
6
|
-
name?: import("
|
|
6
|
+
name?: import("@tachybase/schema").SchemaKey;
|
|
7
7
|
title?: any;
|
|
8
8
|
description?: any;
|
|
9
9
|
default?: any;
|
|
10
10
|
readOnly?: boolean;
|
|
11
11
|
writeOnly?: boolean;
|
|
12
|
-
type?: import("
|
|
13
|
-
enum?: import("
|
|
12
|
+
type?: import("@tachybase/schema").SchemaTypes;
|
|
13
|
+
enum?: import("@tachybase/schema").SchemaEnum<any>;
|
|
14
14
|
const?: any;
|
|
15
15
|
multipleOf?: number;
|
|
16
16
|
maximum?: number;
|
|
@@ -29,12 +29,12 @@ export declare function createManualFormBlockUISchema(options: any): import("pac
|
|
|
29
29
|
format?: string;
|
|
30
30
|
$ref?: string;
|
|
31
31
|
$namespace?: string;
|
|
32
|
-
definitions?: import("
|
|
33
|
-
properties?: import("
|
|
34
|
-
items?: import("
|
|
35
|
-
additionalItems?: import("
|
|
36
|
-
patternProperties?: import("
|
|
37
|
-
additionalProperties?: import("
|
|
32
|
+
definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
33
|
+
properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
34
|
+
items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
35
|
+
additionalItems?: import("@tachybase/schema").Stringify<any>;
|
|
36
|
+
patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
37
|
+
additionalProperties?: import("@tachybase/schema").Stringify<any>;
|
|
38
38
|
"x-value"?: any;
|
|
39
39
|
"x-index"?: number;
|
|
40
40
|
"x-pattern"?: any;
|
|
@@ -44,7 +44,7 @@ export declare function createManualFormBlockUISchema(options: any): import("pac
|
|
|
44
44
|
"x-decorator-props"?: any;
|
|
45
45
|
"x-component"?: any;
|
|
46
46
|
"x-component-props"?: any;
|
|
47
|
-
"x-reactions"?: import("
|
|
47
|
+
"x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
|
|
48
48
|
"x-content"?: any;
|
|
49
49
|
"x-data"?: any;
|
|
50
50
|
"x-visible"?: boolean;
|
|
@@ -7,8 +7,8 @@ export declare class NoticeInstruction extends Instruction {
|
|
|
7
7
|
color: string;
|
|
8
8
|
description: string;
|
|
9
9
|
components: {
|
|
10
|
-
ArrayItems: import("
|
|
11
|
-
Item: import("
|
|
10
|
+
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@tego/client").ArrayBaseMixins & {
|
|
11
|
+
Item: import("@tachybase/schema").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
|
|
12
12
|
type?: "card" | "divide";
|
|
13
13
|
}>;
|
|
14
14
|
};
|
|
@@ -193,8 +193,8 @@ export default class extends Instruction {
|
|
|
193
193
|
};
|
|
194
194
|
};
|
|
195
195
|
components: {
|
|
196
|
-
ArrayItems: import("
|
|
197
|
-
Item: import("
|
|
196
|
+
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@tego/client").ArrayBaseMixins & {
|
|
197
|
+
Item: import("@tachybase/schema").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
|
|
198
198
|
type?: "card" | "divide";
|
|
199
199
|
}>;
|
|
200
200
|
};
|
|
@@ -188,9 +188,9 @@ export declare class ScriptInstruction extends Instruction {
|
|
|
188
188
|
};
|
|
189
189
|
};
|
|
190
190
|
components: {
|
|
191
|
-
ArrayTable: import("
|
|
192
|
-
Column: import("
|
|
193
|
-
Addition: import("
|
|
191
|
+
ArrayTable: import("@tachybase/schema").ReactFC<import("antd").TableProps<any>> & import("@tego/client").ArrayBaseMixins & {
|
|
192
|
+
Column: import("@tachybase/schema").ReactFC<import("antd").TableColumnProps<any>>;
|
|
193
|
+
Addition: import("@tachybase/schema").ReactFC<import("@tego/client").IArrayBaseAdditionProps>;
|
|
194
194
|
};
|
|
195
195
|
WorkflowVariableInput: typeof WorkflowVariableInput;
|
|
196
196
|
};
|