@nocobase/plugin-workflow 2.3.0-alpha.1 → 2.3.0-beta.2
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/438.255c1f798203a3fc.js +10 -0
- package/dist/client/509.280de53e5e3e8874.js +10 -0
- package/dist/client/{67.56a3d15a55ab7d5c.js → 67.92c849b5dbe07c33.js} +1 -1
- package/dist/client/728.e54be200a2eaac45.js +10 -0
- package/dist/client/828.eda52a8918f0a56c.js +10 -0
- package/dist/client/WorkflowTasks.d.ts +5 -4
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client-v2/32.f7a2f5b51aac18b6.js +10 -0
- package/dist/client-v2/438.76337ed02ad35e77.js +10 -0
- package/dist/client-v2/513.028d9992cc415e73.js +10 -0
- package/dist/client-v2/677.687ffa76229d7e48.js +10 -0
- package/dist/client-v2/canvas/WorkflowVariableInput.d.ts +8 -1
- package/dist/client-v2/canvas/WorkflowVariableTextArea.d.ts +5 -0
- package/dist/client-v2/constants.d.ts +4 -0
- package/dist/client-v2/index.js +1 -1
- package/dist/client-v2/taskCenter.d.ts +3 -1
- package/dist/common/collections/jobs.js +2 -2
- package/dist/common/collections/userWorkflowTaskStats.d.ts +54 -0
- package/dist/common/collections/userWorkflowTaskStats.js +87 -0
- package/dist/externalVersion.js +14 -14
- package/dist/locale/de-DE.json +2 -0
- package/dist/locale/en-US.json +6 -0
- package/dist/locale/es-ES.json +2 -0
- package/dist/locale/fr-FR.json +2 -0
- package/dist/locale/hu-HU.json +2 -0
- package/dist/locale/id-ID.json +2 -0
- package/dist/locale/it-IT.json +2 -0
- package/dist/locale/ja-JP.json +2 -0
- package/dist/locale/ko-KR.json +2 -0
- package/dist/locale/nl-NL.json +2 -0
- package/dist/locale/pt-BR.json +2 -0
- package/dist/locale/ru-RU.json +2 -0
- package/dist/locale/tr-TR.json +2 -0
- package/dist/locale/uk-UA.json +2 -0
- package/dist/locale/vi-VN.json +2 -0
- package/dist/locale/zh-CN.json +6 -0
- package/dist/locale/zh-TW.json +2 -0
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/joi/package.json +1 -1
- 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 +24 -13
- package/dist/server/Dispatcher.js +160 -143
- package/dist/server/Plugin.d.ts +58 -12
- package/dist/server/Plugin.js +356 -16
- package/dist/server/Processor.d.ts +2 -7
- package/dist/server/Processor.js +37 -18
- package/dist/server/RunningExecutionRegistry.d.ts +2 -2
- package/dist/server/RunningExecutionRegistry.js +21 -6
- package/dist/server/actions/executions.js +3 -6
- package/dist/server/actions/index.js +3 -1
- package/dist/server/actions/jobs.js +1 -2
- package/dist/server/{migrations/20260713000000-remove-workflow-validation.d.ts → actions/userWorkflowTaskStats.d.ts} +2 -5
- package/dist/server/actions/userWorkflowTaskStats.js +112 -0
- package/dist/server/actions/workflows.js +18 -1
- package/dist/server/collections/userWorkflowTaskStats.d.ts +11 -0
- package/dist/server/collections/userWorkflowTaskStats.js +43 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/types/Execution.d.ts +2 -0
- package/dist/server/types/Job.d.ts +6 -0
- package/dist/server/utils.d.ts +1 -0
- package/dist/server/utils.js +5 -0
- package/dist/shared/WorkflowTaskNavigation.d.ts +56 -0
- package/dist/shared/WorkflowTaskNavigation.js +742 -0
- package/dist/swagger/index.d.ts +68 -1
- package/dist/swagger/index.js +61 -1
- package/package.json +2 -2
- package/dist/client/438.6c6409d821d8c353.js +0 -10
- package/dist/client/509.88792f5bd054b2af.js +0 -10
- package/dist/client/728.711fd4f1ed7d4e6a.js +0 -10
- package/dist/client/828.6880ab21513b1968.js +0 -10
- package/dist/client-v2/438.b7df0416b66f8f64.js +0 -10
- package/dist/client-v2/513.617697f74783a611.js +0 -10
- package/dist/client-v2/677.7382807126d9621a.js +0 -10
- package/dist/client-v2/728.4e8322ff8fce87b9.js +0 -10
- package/dist/server/migrations/20260713000000-remove-workflow-validation.js +0 -56
|
@@ -26,6 +26,8 @@ export type WorkflowTaskCounts = Record<string, WorkflowTaskStats>;
|
|
|
26
26
|
export interface WorkflowTaskActionsProps {
|
|
27
27
|
onlyIcon?: boolean;
|
|
28
28
|
reload?: () => Promise<void>;
|
|
29
|
+
workflowKey?: string;
|
|
30
|
+
workflowPendingCount?: number;
|
|
29
31
|
}
|
|
30
32
|
export interface WorkflowTaskDetailModalProps {
|
|
31
33
|
children?: ReactNode;
|
|
@@ -76,7 +78,7 @@ export interface TaskTypeOptions {
|
|
|
76
78
|
title: string;
|
|
77
79
|
collection: string;
|
|
78
80
|
action?: string;
|
|
79
|
-
useActionParams?: (status: WorkflowTaskStatus) => WorkflowTaskRequestParams | undefined;
|
|
81
|
+
useActionParams?: (status: WorkflowTaskStatus, workflowKey?: string) => WorkflowTaskRequestParams | undefined;
|
|
80
82
|
Actions?: ComponentType<WorkflowTaskActionsProps>;
|
|
81
83
|
DetailModal?: ComponentType<WorkflowTaskDetailModalProps>;
|
|
82
84
|
Item: ComponentType;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: {
|
|
10
|
+
dumpRules: {
|
|
11
|
+
group: string;
|
|
12
|
+
};
|
|
13
|
+
migrationRules: string[];
|
|
14
|
+
name: string;
|
|
15
|
+
dataCategory: string;
|
|
16
|
+
shared: boolean;
|
|
17
|
+
fields: ({
|
|
18
|
+
name: string;
|
|
19
|
+
type: string;
|
|
20
|
+
primaryKey: boolean;
|
|
21
|
+
allowNull: boolean;
|
|
22
|
+
foreignKey?: undefined;
|
|
23
|
+
defaultValue?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
name: string;
|
|
26
|
+
type: string;
|
|
27
|
+
primaryKey?: undefined;
|
|
28
|
+
allowNull?: undefined;
|
|
29
|
+
foreignKey?: undefined;
|
|
30
|
+
defaultValue?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
name: string;
|
|
33
|
+
type: string;
|
|
34
|
+
foreignKey: string;
|
|
35
|
+
primaryKey?: undefined;
|
|
36
|
+
allowNull?: undefined;
|
|
37
|
+
defaultValue?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
name: string;
|
|
40
|
+
type: string;
|
|
41
|
+
defaultValue: number;
|
|
42
|
+
primaryKey?: undefined;
|
|
43
|
+
allowNull?: undefined;
|
|
44
|
+
foreignKey?: undefined;
|
|
45
|
+
})[];
|
|
46
|
+
indexes: ({
|
|
47
|
+
unique: boolean;
|
|
48
|
+
fields: string[];
|
|
49
|
+
} | {
|
|
50
|
+
fields: string[];
|
|
51
|
+
unique?: undefined;
|
|
52
|
+
})[];
|
|
53
|
+
};
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __export = (target, all) => {
|
|
15
|
+
for (var name in all)
|
|
16
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
+
};
|
|
18
|
+
var __copyProps = (to, from, except, desc) => {
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
+
for (let key of __getOwnPropNames(from))
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
+
}
|
|
24
|
+
return to;
|
|
25
|
+
};
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
+
var userWorkflowTaskStats_exports = {};
|
|
28
|
+
__export(userWorkflowTaskStats_exports, {
|
|
29
|
+
default: () => userWorkflowTaskStats_default
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(userWorkflowTaskStats_exports);
|
|
32
|
+
var userWorkflowTaskStats_default = {
|
|
33
|
+
dumpRules: {
|
|
34
|
+
group: "log"
|
|
35
|
+
},
|
|
36
|
+
migrationRules: ["schema-only"],
|
|
37
|
+
name: "userWorkflowTaskStats",
|
|
38
|
+
dataCategory: "business",
|
|
39
|
+
shared: true,
|
|
40
|
+
fields: [
|
|
41
|
+
{
|
|
42
|
+
name: "id",
|
|
43
|
+
type: "snowflakeId",
|
|
44
|
+
primaryKey: true,
|
|
45
|
+
allowNull: false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "userId",
|
|
49
|
+
type: "bigInt"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: "user",
|
|
53
|
+
type: "belongsTo",
|
|
54
|
+
foreignKey: "userId"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "workflowKey",
|
|
58
|
+
type: "string"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "type",
|
|
62
|
+
type: "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: "pending",
|
|
66
|
+
type: "integer",
|
|
67
|
+
defaultValue: 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "all",
|
|
71
|
+
type: "integer",
|
|
72
|
+
defaultValue: 0
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
indexes: [
|
|
76
|
+
{
|
|
77
|
+
unique: true,
|
|
78
|
+
fields: ["userId", "workflowKey", "type"]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
fields: ["userId", "workflowKey"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
fields: ["userId", "type"]
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
};
|
package/dist/externalVersion.js
CHANGED
|
@@ -11,33 +11,33 @@ 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.3.0-
|
|
15
|
-
"@nocobase/utils": "2.3.0-
|
|
14
|
+
"@nocobase/client": "2.3.0-beta.2",
|
|
15
|
+
"@nocobase/utils": "2.3.0-beta.2",
|
|
16
16
|
"antd": "5.24.2",
|
|
17
17
|
"@ant-design/icons": "5.6.1",
|
|
18
|
-
"@nocobase/flow-engine": "2.3.0-
|
|
18
|
+
"@nocobase/flow-engine": "2.3.0-beta.2",
|
|
19
19
|
"ahooks": "3.7.8",
|
|
20
20
|
"react-router-dom": "6.30.1",
|
|
21
21
|
"react-i18next": "11.18.6",
|
|
22
22
|
"lodash": "4.18.1",
|
|
23
23
|
"@dnd-kit/core": "6.1.0",
|
|
24
24
|
"@formily/shared": "2.3.7",
|
|
25
|
-
"@nocobase/plugin-mobile": "2.3.0-
|
|
26
|
-
"@nocobase/client-v2": "2.3.0-
|
|
25
|
+
"@nocobase/plugin-mobile": "2.3.0-beta.2",
|
|
26
|
+
"@nocobase/client-v2": "2.3.0-beta.2",
|
|
27
27
|
"sequelize": "6.35.2",
|
|
28
|
-
"@nocobase/server": "2.3.0-
|
|
29
|
-
"@nocobase/database": "2.3.0-
|
|
30
|
-
"@nocobase/data-source-manager": "2.3.0-
|
|
31
|
-
"@nocobase/logger": "2.3.0-
|
|
32
|
-
"@nocobase/evaluators": "2.3.0-
|
|
28
|
+
"@nocobase/server": "2.3.0-beta.2",
|
|
29
|
+
"@nocobase/database": "2.3.0-beta.2",
|
|
30
|
+
"@nocobase/data-source-manager": "2.3.0-beta.2",
|
|
31
|
+
"@nocobase/logger": "2.3.0-beta.2",
|
|
32
|
+
"@nocobase/evaluators": "2.3.0-beta.2",
|
|
33
|
+
"@emotion/css": "11.13.0",
|
|
33
34
|
"@formily/antd-v5": "1.2.3",
|
|
34
35
|
"@formily/reactive": "2.3.7",
|
|
35
|
-
"@emotion/css": "11.13.0",
|
|
36
36
|
"@formily/json-schema": "2.3.7",
|
|
37
37
|
"antd-style": "3.7.1",
|
|
38
38
|
"dayjs": "1.11.13",
|
|
39
|
-
"@nocobase/actions": "2.3.0-
|
|
40
|
-
"@nocobase/plugin-workflow-test": "2.3.0-
|
|
41
|
-
"@nocobase/test": "2.3.0-
|
|
39
|
+
"@nocobase/actions": "2.3.0-beta.2",
|
|
40
|
+
"@nocobase/plugin-workflow-test": "2.3.0-beta.2",
|
|
41
|
+
"@nocobase/test": "2.3.0-beta.2",
|
|
42
42
|
"@dnd-kit/sortable": "7.0.2"
|
|
43
43
|
};
|
package/dist/locale/de-DE.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Wird im Hintergrund als Aufgabe in der Warteschlange ausgeführt.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
|
+
"Back to Workflow List": "Zurück zur Workflow-Liste",
|
|
258
|
+
"Workflow does not exist": "Workflow ist nicht vorhanden",
|
|
257
259
|
"Workflow not executed": "Workflow nicht ausgeführt",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow ausgeführt, der Ergebnisstatus ist <1>{{statusText}}</1><2>Ausführung anzeigen</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Der Workflow wurde nicht ausgelöst, weil die aktuelle Anfrage die Auslöseanforderungen nicht erfüllt.",
|
package/dist/locale/en-US.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"After record deleted": "After record deleted",
|
|
20
20
|
"After record updated": "After record updated",
|
|
21
21
|
"All": "All",
|
|
22
|
+
"All workflows": "All workflows",
|
|
22
23
|
"Allow multiple records as result": "Allow multiple records as result",
|
|
23
24
|
"Are you sure you want to cancel the execution?": "Are you sure you want to cancel the execution?",
|
|
24
25
|
"Arithmetic calculation": "Arithmetic calculation",
|
|
@@ -137,6 +138,7 @@
|
|
|
137
138
|
"Keep": "Keep",
|
|
138
139
|
"Learn more": "Learn more",
|
|
139
140
|
"Load failed": "Load failed",
|
|
141
|
+
"Load more": "Load more",
|
|
140
142
|
"Loading": "Loading",
|
|
141
143
|
"Log": "Log",
|
|
142
144
|
"Manual": "Manual",
|
|
@@ -192,6 +194,7 @@
|
|
|
192
194
|
"Result": "Result",
|
|
193
195
|
"Result type": "Result type",
|
|
194
196
|
"Retry needed": "Retry needed",
|
|
197
|
+
"Retry": "Retry",
|
|
195
198
|
"Running of some node was aborted by program flow.": "Running of some node was aborted by program flow.",
|
|
196
199
|
"Schedule event": "Schedule event",
|
|
197
200
|
"Scope variables": "Scope variables",
|
|
@@ -200,6 +203,7 @@
|
|
|
200
203
|
"Select field": "Select field",
|
|
201
204
|
"Select users": "Select users",
|
|
202
205
|
"Select workflow": "Select workflow",
|
|
206
|
+
"Search workflows": "Search workflows",
|
|
203
207
|
"Set output data of this workflow. When this one is executed as a subflow, the output could be used as variables in downstream nodes of super workflow. You can also use this node in an AI employee workflow, to define what to output. If this node is added multiple times, the value of the last executed node prevails.": "Set output data of this workflow. When this one is executed as a subflow, the output could be used as variables in downstream nodes of super workflow. You can also use this node in an AI employee workflow, to define what to output. If this node is added multiple times, the value of the last executed node prevails.",
|
|
204
208
|
"Single record": "Single record",
|
|
205
209
|
"Some node meets error.": "Some node meets error.",
|
|
@@ -279,6 +283,7 @@
|
|
|
279
283
|
"When no condition matches": "When no condition matches",
|
|
280
284
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
281
285
|
"Workflow": "Workflow",
|
|
286
|
+
"Back to Workflow List": "Back to Workflow List",
|
|
282
287
|
"This workflow has configuration issues and may not work properly.": "This workflow has configuration issues and may not work properly.",
|
|
283
288
|
"Workflow title": "Workflow title",
|
|
284
289
|
"Workflow canvas editor is being migrated to the new UI.": "Workflow canvas editor is being migrated to the new UI.",
|
|
@@ -286,6 +291,7 @@
|
|
|
286
291
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
287
292
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Workflow was not triggered because the current request did not meet the trigger requirements.",
|
|
288
293
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
294
|
+
"Workflow does not exist": "Workflow does not exist",
|
|
289
295
|
"Workflow tasks": "Workflow tasks",
|
|
290
296
|
"Workflow todos": "Workflow todos",
|
|
291
297
|
"Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).": "Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).",
|
package/dist/locale/es-ES.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Flujo de trabajo",
|
|
257
|
+
"Back to Workflow List": "Volver a la lista de flujos de trabajo",
|
|
258
|
+
"Workflow does not exist": "El flujo de trabajo no existe",
|
|
257
259
|
"Workflow not executed": "Flujo de trabajo no ejecutado",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "El flujo de trabajo no se activó porque la solicitud actual no cumplió los requisitos del desencadenador.",
|
package/dist/locale/fr-FR.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
|
+
"Back to Workflow List": "Retour à la liste des workflows",
|
|
258
|
+
"Workflow does not exist": "Le workflow n’existe pas",
|
|
257
259
|
"Workflow not executed": "Workflow non exécuté",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Le workflow n’a pas été déclenché, car la requête actuelle ne répond pas aux exigences du déclencheur.",
|
package/dist/locale/hu-HU.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "A háttérben sorba állított feladatként kerül végrehajtásra.",
|
|
256
256
|
"Workflow": "Munkafolyamat",
|
|
257
|
+
"Back to Workflow List": "Vissza a munkafolyamatok listájához",
|
|
258
|
+
"Workflow does not exist": "A munkafolyamat nem létezik",
|
|
257
259
|
"Workflow not executed": "A munkafolyamat nem lett végrehajtva",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Munkafolyamat végrehajtva, az eredmény állapota: <1>{{statusText}}</1><2>Végrehajtás megtekintése</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "A munkafolyamat nem indult el, mert az aktuális kérés nem felelt meg az indítási feltételeknek.",
|
package/dist/locale/id-ID.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Akan dieksekusi di latar belakang sebagai tugas antrean.",
|
|
256
256
|
"Workflow": "Alur kerja",
|
|
257
|
+
"Back to Workflow List": "Kembali ke daftar alur kerja",
|
|
258
|
+
"Workflow does not exist": "Alur kerja tidak ada",
|
|
257
259
|
"Workflow not executed": "Alur kerja tidak dieksekusi",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Alur kerja dieksekusi, status hasilnya adalah <1>{{statusText}}</1><2>Lihat eksekusi</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Alur kerja tidak dipicu karena permintaan saat ini tidak memenuhi persyaratan pemicu.",
|
package/dist/locale/it-IT.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Verrà eseguito in background come attività in coda.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
|
+
"Back to Workflow List": "Torna all'elenco dei workflow",
|
|
258
|
+
"Workflow does not exist": "Il workflow non esiste",
|
|
257
259
|
"Workflow not executed": "Workflow non eseguito",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow eseguito, lo stato del risultato è <1>{{statusText}}</1><2>Visualizza l'esecuzione</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Il workflow non è stato attivato perché la richiesta corrente non soddisfa i requisiti del trigger.",
|
package/dist/locale/ja-JP.json
CHANGED
|
@@ -256,6 +256,8 @@
|
|
|
256
256
|
"When no condition matches": "When no condition matches",
|
|
257
257
|
"Will be executed in the background as a queued task.": "キュータスクとしてバックグラウンドで実行されます。",
|
|
258
258
|
"Workflow": "ワークフロー",
|
|
259
|
+
"Back to Workflow List": "ワークフロー一覧に戻る",
|
|
260
|
+
"Workflow does not exist": "ワークフローが存在しません",
|
|
259
261
|
"Workflow not executed": "ワークフローは実行されませんでした",
|
|
260
262
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "ワークフローが実行されました。結果ステータス: <1>{{statusText}}</1><2>実行詳細を表示</2>",
|
|
261
263
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "現在のリクエストがトリガー要件を満たしていないため、ワークフローはトリガーされませんでした。",
|
package/dist/locale/ko-KR.json
CHANGED
|
@@ -272,6 +272,8 @@
|
|
|
272
272
|
"When no condition matches": "When no condition matches",
|
|
273
273
|
"Will be executed in the background as a queued task.": "백그라운드에서 대기 작업으로 실행됩니다.",
|
|
274
274
|
"Workflow": "워크플로우",
|
|
275
|
+
"Back to Workflow List": "워크플로 목록으로 돌아가기",
|
|
276
|
+
"Workflow does not exist": "워크플로가 존재하지 않습니다",
|
|
275
277
|
"Workflow not executed": "워크플로우가 실행되지 않았습니다",
|
|
276
278
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "워크플로우가 실행되었습니다. 결과 상태는 <1>{{statusText}}</1><2>실행 보기</2>",
|
|
277
279
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "현재 요청이 트리거 요구 사항을 충족하지 않아 워크플로우가 트리거되지 않았습니다.",
|
package/dist/locale/nl-NL.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
|
+
"Back to Workflow List": "Terug naar de workflowlijst",
|
|
258
|
+
"Workflow does not exist": "Workflow bestaat niet",
|
|
257
259
|
"Workflow not executed": "Workflow niet uitgevoerd",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "De workflow is niet geactiveerd omdat de huidige aanvraag niet aan de triggervereisten voldoet.",
|
package/dist/locale/pt-BR.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Fluxo de trabalho",
|
|
257
|
+
"Back to Workflow List": "Voltar para a lista de fluxos de trabalho",
|
|
258
|
+
"Workflow does not exist": "O fluxo de trabalho não existe",
|
|
257
259
|
"Workflow not executed": "Fluxo de trabalho não executado",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "O workflow não foi acionado porque a solicitação atual não atende aos requisitos do gatilho.",
|
package/dist/locale/ru-RU.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Будет выполнен в фоновом режиме как задача в очереди.",
|
|
256
256
|
"Workflow": "Рабочий процесс",
|
|
257
|
+
"Back to Workflow List": "Вернуться к списку рабочих процессов",
|
|
258
|
+
"Workflow does not exist": "Рабочий процесс не существует",
|
|
257
259
|
"Workflow not executed": "Рабочий процесс не выполнен",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Рабочий процесс выполнен, статус результата: <1>{{statusText}}</1><2>Посмотреть выполнение</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Рабочий процесс не был запущен, так как текущий запрос не соответствует требованиям триггера.",
|
package/dist/locale/tr-TR.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "İş Akışı",
|
|
257
|
+
"Back to Workflow List": "İş akışı listesine dön",
|
|
258
|
+
"Workflow does not exist": "İş akışı mevcut değil",
|
|
257
259
|
"Workflow not executed": "İş akışı yürütülmedi",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Geçerli istek tetikleme gereksinimlerini karşılamadığı için iş akışı tetiklenmedi.",
|
package/dist/locale/uk-UA.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
|
+
"Back to Workflow List": "Повернутися до списку робочих процесів",
|
|
258
|
+
"Workflow does not exist": "Робочий процес не існує",
|
|
257
259
|
"Workflow not executed": "Робочий процес не виконано",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Робочий процес не було запущено, оскільки поточний запит не відповідає вимогам тригера.",
|
package/dist/locale/vi-VN.json
CHANGED
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"When no condition matches": "When no condition matches",
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
|
+
"Back to Workflow List": "Quay lại danh sách quy trình làm việc",
|
|
258
|
+
"Workflow does not exist": "Quy trình làm việc không tồn tại",
|
|
257
259
|
"Workflow not executed": "Quy trình làm việc chưa được thực thi",
|
|
258
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
259
261
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Quy trình làm việc không được kích hoạt vì yêu cầu hiện tại không đáp ứng các điều kiện kích hoạt.",
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"After record deleted": "删除数据后",
|
|
21
21
|
"After record updated": "更新数据后",
|
|
22
22
|
"All": "全部",
|
|
23
|
+
"All workflows": "全部工作流",
|
|
23
24
|
"Allow multiple records as result": "允许结果是多条数据",
|
|
24
25
|
"Are you sure you want to cancel the execution?": "确定要取消该执行吗?",
|
|
25
26
|
"Arithmetic calculation": "Arithmetic calculation",
|
|
@@ -141,6 +142,7 @@
|
|
|
141
142
|
"Keep": "保留",
|
|
142
143
|
"Learn more": "了解更多",
|
|
143
144
|
"Load failed": "加载失败",
|
|
145
|
+
"Load more": "加载更多",
|
|
144
146
|
"Loading": "加载中",
|
|
145
147
|
"Log": "日志",
|
|
146
148
|
"Manual": "人工处理",
|
|
@@ -196,6 +198,7 @@
|
|
|
196
198
|
"Result": "结果",
|
|
197
199
|
"Result type": "结果类型",
|
|
198
200
|
"Retry needed": "需重试",
|
|
201
|
+
"Retry": "重试",
|
|
199
202
|
"Running of some node was aborted by program flow.": "某个节点被程序流程终止。",
|
|
200
203
|
"Schedule event": "定时任务",
|
|
201
204
|
"Scope variables": "局域变量",
|
|
@@ -204,6 +207,7 @@
|
|
|
204
207
|
"Select field": "选择字段",
|
|
205
208
|
"Select users": "选择用户",
|
|
206
209
|
"Select workflow": "选择工作流",
|
|
210
|
+
"Search workflows": "搜索工作流",
|
|
207
211
|
"Set output data of this workflow. When this one is executed as a subflow, the output could be used as variables in downstream nodes of super workflow. You can also use this node in an AI employee workflow, to define what to output. If this node is added multiple times, the value of the last executed node prevails.": "设置工作流的输出数据。在作为子流程执行后可以被上级流程后续节点使用。你也可以在 AI 员工工作流中使用此节点,来定义输出内容。如果多次添加此节点,则以最后一个被执行的节点的值为准。",
|
|
208
212
|
"Single record": "单条数据",
|
|
209
213
|
"Some node meets error.": "某个节点出错。",
|
|
@@ -287,6 +291,7 @@
|
|
|
287
291
|
"When no condition matches": "未满足任何条件时",
|
|
288
292
|
"Will be executed in the background as a queued task.": "将作为队列任务在后台执行。",
|
|
289
293
|
"Workflow": "工作流",
|
|
294
|
+
"Back to Workflow List": "返回工作流列表",
|
|
290
295
|
"This workflow has configuration issues and may not work properly.": "该工作流配置存在问题,可能无法正常使用",
|
|
291
296
|
"Workflow title": "工作流名称",
|
|
292
297
|
"Workflow canvas editor is being migrated to the new UI.": "工作流画布编辑器正在迁移到新版界面。",
|
|
@@ -294,6 +299,7 @@
|
|
|
294
299
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "工作流已执行,结果状态为 <1>{{statusText}}</1><2>查看执行详情</2>",
|
|
295
300
|
"Workflow was not triggered because the current request did not meet the trigger requirements.": "当前请求未满足触发要求,工作流未触发。",
|
|
296
301
|
"Workflow of execution is not existed": "执行计划对应的工作流不存在",
|
|
302
|
+
"Workflow does not exist": "工作流不存在",
|
|
297
303
|
"Workflow tasks": "流程待办",
|
|
298
304
|
"Workflow todos": "流程待办",
|
|
299
305
|
"Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).": "删除成功之前触发工作流(支持操作前事件)。",
|
package/dist/locale/zh-TW.json
CHANGED
|
@@ -256,6 +256,8 @@
|
|
|
256
256
|
"When no condition matches": "When no condition matches",
|
|
257
257
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
258
258
|
"Workflow": "Workflow",
|
|
259
|
+
"Back to Workflow List": "返回工作流程列表",
|
|
260
|
+
"Workflow does not exist": "工作流程不存在",
|
|
259
261
|
"Workflow title": "工作流名稱",
|
|
260
262
|
"Workflow not executed": "工作流未執行",
|
|
261
263
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
@@ -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-08-22T02:07:01.753Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-
|
|
1
|
+
{"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-08-22T02:07:01.521Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"11.3.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","prepare":"tshy && bash scripts/build.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig ./.tshy/esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile","lint":"oxlint --fix src test","postsnap":"npm run lint","postlint":"npm run format"},"main":"./dist/commonjs/index.min.js","types":"./dist/commonjs/index.d.ts","tshy":{"esmDialects":["node","browser"],"exports":{"./raw":"./src/index.ts",".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"selfLink":false},"repository":{"type":"git","url":"git+ssh://git@github.com/isaacs/node-lru-cache.git"},"devDependencies":{"benchmark":"^2.1.4","esbuild":"^0.25.9","marked":"^4.2.12","mkdirp":"^3.0.1","oxlint":"^1.58.0","oxlint-tsgolint":"^0.19.0","prettier":"^3.8.1","tap":"^21.6.3","tshy":"^4.1.1","typedoc":"^0.28.18"},"license":"BlueOak-1.0.0","files":["dist"],"engines":{"node":"20 || >=22"},"exports":{"./raw":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"type":"module","module":"./dist/esm/index.min.js","_lastModified":"2026-
|
|
1
|
+
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"11.3.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","prepare":"tshy && bash scripts/build.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig ./.tshy/esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile","lint":"oxlint --fix src test","postsnap":"npm run lint","postlint":"npm run format"},"main":"./dist/commonjs/index.min.js","types":"./dist/commonjs/index.d.ts","tshy":{"esmDialects":["node","browser"],"exports":{"./raw":"./src/index.ts",".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"selfLink":false},"repository":{"type":"git","url":"git+ssh://git@github.com/isaacs/node-lru-cache.git"},"devDependencies":{"benchmark":"^2.1.4","esbuild":"^0.25.9","marked":"^4.2.12","mkdirp":"^3.0.1","oxlint":"^1.58.0","oxlint-tsgolint":"^0.19.0","prettier":"^3.8.1","tap":"^21.6.3","tshy":"^4.1.1","typedoc":"^0.28.18"},"license":"BlueOak-1.0.0","files":["dist"],"engines":{"node":"20 || >=22"},"exports":{"./raw":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"type":"module","module":"./dist/esm/index.min.js","_lastModified":"2026-08-22T02:07:01.031Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-
|
|
1
|
+
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-08-22T02:07:00.898Z"}
|
|
@@ -9,14 +9,21 @@
|
|
|
9
9
|
import { Transactionable } from 'sequelize';
|
|
10
10
|
import type { QueueEventOptions } from '@nocobase/server';
|
|
11
11
|
import Processor, { ProcessorRerunOptions } from './Processor';
|
|
12
|
-
import type {
|
|
12
|
+
import type { WorkflowModel } from './types';
|
|
13
13
|
import type PluginWorkflowServer from './Plugin';
|
|
14
|
-
type
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
rerun?:
|
|
19
|
-
|
|
14
|
+
type ID = number | string;
|
|
15
|
+
type WorkflowQueueTask = {
|
|
16
|
+
executionId: ID;
|
|
17
|
+
jobId?: never;
|
|
18
|
+
rerun?: never;
|
|
19
|
+
} | {
|
|
20
|
+
executionId: ID;
|
|
21
|
+
jobId: ID;
|
|
22
|
+
rerun?: never;
|
|
23
|
+
} | {
|
|
24
|
+
executionId: ID;
|
|
25
|
+
jobId?: never;
|
|
26
|
+
rerun: ProcessorRerunOptions;
|
|
20
27
|
};
|
|
21
28
|
export type EventOptions = {
|
|
22
29
|
eventKey?: string;
|
|
@@ -33,22 +40,26 @@ export default class Dispatcher {
|
|
|
33
40
|
private readonly plugin;
|
|
34
41
|
private ready;
|
|
35
42
|
private executing;
|
|
43
|
+
private recovering;
|
|
36
44
|
private saving;
|
|
37
|
-
private pending;
|
|
38
45
|
private events;
|
|
39
46
|
private eventsCount;
|
|
40
47
|
get idle(): boolean;
|
|
41
48
|
constructor(plugin: PluginWorkflowServer);
|
|
42
|
-
readonly
|
|
49
|
+
readonly onQueueTask: QueueEventOptions['process'];
|
|
43
50
|
setReady(ready: boolean): void;
|
|
44
51
|
getEventsCount(): number;
|
|
45
52
|
trigger(workflow: WorkflowModel, context: object, options?: EventOptions): void | Promise<Processor | null | void>;
|
|
46
53
|
private saveEvent;
|
|
47
|
-
resume(job: JobModel): Promise<void>;
|
|
48
|
-
start(execution: ExecutionModel): Promise<void>;
|
|
49
54
|
beforeStop(): Promise<void>;
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
recover(options?: {
|
|
56
|
+
gracePeriod?: number;
|
|
57
|
+
}): Promise<void>;
|
|
58
|
+
private recoverQueueTasks;
|
|
59
|
+
enqueue(task: WorkflowQueueTask): Promise<void>;
|
|
60
|
+
private loadJob;
|
|
61
|
+
private findQueueingExecutions;
|
|
62
|
+
private resolveTask;
|
|
52
63
|
private triggerSync;
|
|
53
64
|
private validateEvent;
|
|
54
65
|
private handleTriggerFail;
|