@nocobase/plugin-workflow 1.2.12-alpha → 1.3.0-alpha.20240710084543
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/package.json +3 -3
- package/dist/client/AddButton.d.ts +0 -16
- package/dist/client/Branch.d.ts +0 -17
- package/dist/client/CanvasContent.d.ts +0 -12
- package/dist/client/ExecutionCanvas.d.ts +0 -10
- package/dist/client/ExecutionContextProvider.d.ts +0 -15
- package/dist/client/ExecutionLink.d.ts +0 -10
- package/dist/client/ExecutionPage.d.ts +0 -10
- package/dist/client/ExecutionResourceProvider.d.ts +0 -14
- package/dist/client/FlowContext.d.ts +0 -11
- package/dist/client/WorkflowCanvas.d.ts +0 -10
- package/dist/client/WorkflowLink.d.ts +0 -10
- package/dist/client/WorkflowPage.d.ts +0 -10
- package/dist/client/WorkflowPane.d.ts +0 -10
- package/dist/client/components/AssignedFieldsFormSchemaConfig.d.ts +0 -10
- package/dist/client/components/CheckboxGroupWithTooltip.d.ts +0 -15
- package/dist/client/components/CollectionBlockInitializer.d.ts +0 -10
- package/dist/client/components/CollectionFieldset.d.ts +0 -14
- package/dist/client/components/DetailsBlockProvider.d.ts +0 -14
- package/dist/client/components/DrawerDescription.d.ts +0 -10
- package/dist/client/components/DrawerForm.d.ts +0 -13
- package/dist/client/components/ExecutionStatus.d.ts +0 -13
- package/dist/client/components/FieldsSelect.d.ts +0 -10
- package/dist/client/components/FilterDynamicComponent.d.ts +0 -14
- package/dist/client/components/OpenDrawer.d.ts +0 -14
- package/dist/client/components/RadioWithTooltip.d.ts +0 -15
- package/dist/client/components/SimpleDesigner.d.ts +0 -10
- package/dist/client/components/StatusButton.d.ts +0 -10
- package/dist/client/components/TriggerOptionRender.d.ts +0 -12
- package/dist/client/components/ValueBlock.d.ts +0 -14
- package/dist/client/components/index.d.ts +0 -16
- package/dist/client/components/renderEngineReference.d.ts +0 -10
- package/dist/client/constants.d.ts +0 -45
- package/dist/client/hooks/index.d.ts +0 -11
- package/dist/client/hooks/useGetAriaLabelOfAddButton.d.ts +0 -14
- package/dist/client/hooks/useRefreshActionProps.d.ts +0 -11
- package/dist/client/hooks/useTriggerWorkflowActionProps.d.ts +0 -20
- package/dist/client/hooks/useWorkflowExecuted.d.ts +0 -10
- package/dist/client/index.d.ts +0 -43
- package/dist/client/index.js +0 -569
- package/dist/client/locale/index.d.ts +0 -11
- package/dist/client/nodes/calculation.d.ts +0 -80
- package/dist/client/nodes/condition.d.ts +0 -108
- package/dist/client/nodes/create.d.ts +0 -110
- package/dist/client/nodes/destroy.d.ts +0 -54
- package/dist/client/nodes/end.d.ts +0 -30
- package/dist/client/nodes/index.d.ts +0 -76
- package/dist/client/nodes/query.d.ts +0 -236
- package/dist/client/nodes/update.d.ts +0 -114
- package/dist/client/schemas/collection.d.ts +0 -170
- package/dist/client/schemas/executions.d.ts +0 -282
- package/dist/client/schemas/workflows.d.ts +0 -10
- package/dist/client/settings/customizeSubmitToWorkflowActionSettings.d.ts +0 -10
- package/dist/client/style.d.ts +0 -30
- package/dist/client/triggers/collection.d.ts +0 -124
- package/dist/client/triggers/index.d.ts +0 -36
- package/dist/client/triggers/schedule/EndsByField.d.ts +0 -13
- package/dist/client/triggers/schedule/OnField.d.ts +0 -13
- package/dist/client/triggers/schedule/RepeatField.d.ts +0 -13
- package/dist/client/triggers/schedule/ScheduleConfig.d.ts +0 -10
- package/dist/client/triggers/schedule/constants.d.ts +0 -12
- package/dist/client/triggers/schedule/index.d.ts +0 -33
- package/dist/client/triggers/schedule/locale/Cron.zh-CN.d.ts +0 -42
- package/dist/client/utils.d.ts +0 -12
- package/dist/client/variable.d.ts +0 -93
- package/dist/externalVersion.js +0 -34
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -48
- package/dist/locale/en-US.json +0 -98
- package/dist/locale/es-ES.json +0 -98
- package/dist/locale/fr-FR.json +0 -98
- package/dist/locale/ja-JP.json +0 -82
- package/dist/locale/ko_KR.json +0 -168
- package/dist/locale/pt-BR.json +0 -98
- package/dist/locale/ru-RU.json +0 -82
- package/dist/locale/tr-TR.json +0 -82
- package/dist/locale/zh-CN.json +0 -205
- package/dist/node_modules/cron-parser/.eslintrc.json +0 -15
- package/dist/node_modules/cron-parser/.travis.yml +0 -7
- package/dist/node_modules/cron-parser/LICENSE +0 -21
- package/dist/node_modules/cron-parser/component.json +0 -11
- package/dist/node_modules/cron-parser/index.d.ts +0 -1
- package/dist/node_modules/cron-parser/lib/date.js +0 -252
- package/dist/node_modules/cron-parser/lib/expression.js +0 -983
- package/dist/node_modules/cron-parser/lib/field_compactor.js +0 -70
- package/dist/node_modules/cron-parser/lib/field_stringify.js +0 -38
- package/dist/node_modules/cron-parser/lib/parser.js +0 -1
- package/dist/node_modules/cron-parser/node_modules/luxon/build/amd/luxon.js +0 -8489
- package/dist/node_modules/cron-parser/node_modules/luxon/build/cjs-browser/luxon.js +0 -8487
- package/dist/node_modules/cron-parser/node_modules/luxon/build/global/luxon.js +0 -8490
- package/dist/node_modules/cron-parser/node_modules/luxon/build/global/luxon.min.js +0 -1
- package/dist/node_modules/cron-parser/node_modules/luxon/build/node/luxon.js +0 -7522
- package/dist/node_modules/cron-parser/node_modules/luxon/package.json +0 -96
- package/dist/node_modules/cron-parser/node_modules/luxon/src/datetime.js +0 -2169
- package/dist/node_modules/cron-parser/node_modules/luxon/src/duration.js +0 -880
- package/dist/node_modules/cron-parser/node_modules/luxon/src/errors.js +0 -61
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/conversions.js +0 -157
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/diff.js +0 -80
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/digits.js +0 -76
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/english.js +0 -233
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/formats.js +0 -191
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/formatter.js +0 -386
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/invalid.js +0 -14
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/locale.js +0 -482
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/regexParser.js +0 -335
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/tokenParser.js +0 -424
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/util.js +0 -292
- package/dist/node_modules/cron-parser/node_modules/luxon/src/impl/zoneUtil.js +0 -36
- package/dist/node_modules/cron-parser/node_modules/luxon/src/info.js +0 -193
- package/dist/node_modules/cron-parser/node_modules/luxon/src/interval.js +0 -602
- package/dist/node_modules/cron-parser/node_modules/luxon/src/luxon.js +0 -26
- package/dist/node_modules/cron-parser/node_modules/luxon/src/luxonFilled.js +0 -13
- package/dist/node_modules/cron-parser/node_modules/luxon/src/settings.js +0 -137
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zone.js +0 -88
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/IANAZone.js +0 -191
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -94
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/invalidZone.js +0 -53
- package/dist/node_modules/cron-parser/node_modules/luxon/src/zones/localZone.js +0 -63
- package/dist/node_modules/cron-parser/package.json +0 -1
- package/dist/node_modules/cron-parser/test/31_of_month.js +0 -17
- package/dist/node_modules/cron-parser/test/bug.js +0 -29
- package/dist/node_modules/cron-parser/test/crondate.js +0 -16
- package/dist/node_modules/cron-parser/test/crontab.example +0 -7
- package/dist/node_modules/cron-parser/test/empty_around_comma.js +0 -22
- package/dist/node_modules/cron-parser/test/expression.js +0 -1489
- package/dist/node_modules/cron-parser/test/field_compactor.js +0 -250
- package/dist/node_modules/cron-parser/test/field_stringify.js +0 -84
- package/dist/node_modules/cron-parser/test/fields.js +0 -32
- package/dist/node_modules/cron-parser/test/increment_on_first_iteration.js +0 -22
- package/dist/node_modules/cron-parser/test/index-ts3.test-d.ts +0 -133
- package/dist/node_modules/cron-parser/test/index.test-d.ts +0 -138
- package/dist/node_modules/cron-parser/test/leap_year.js +0 -17
- package/dist/node_modules/cron-parser/test/parser.js +0 -46
- package/dist/node_modules/cron-parser/test/parser_crondate_formats.js +0 -145
- package/dist/node_modules/cron-parser/test/parser_day_of_month.js +0 -169
- package/dist/node_modules/cron-parser/test/prev_date.js +0 -32
- package/dist/node_modules/cron-parser/test/stringify.js +0 -402
- package/dist/node_modules/cron-parser/test/timezone.js +0 -422
- package/dist/node_modules/cron-parser/types/common.d.ts +0 -131
- package/dist/node_modules/cron-parser/types/index.d.ts +0 -45
- package/dist/node_modules/cron-parser/types/ts3/index.d.ts +0 -28
- 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.js +0 -1334
- package/dist/node_modules/lru-cache/dist/cjs/index.min.js +0 -2
- package/dist/node_modules/lru-cache/dist/cjs/package.json +0 -3
- package/dist/node_modules/lru-cache/dist/mjs/index.d.ts +0 -807
- package/dist/node_modules/lru-cache/dist/mjs/index.js +0 -1330
- package/dist/node_modules/lru-cache/dist/mjs/index.min.js +0 -2
- package/dist/node_modules/lru-cache/dist/mjs/package.json +0 -3
- package/dist/node_modules/lru-cache/package.json +0 -1
- package/dist/server/Plugin.d.ts +0 -84
- package/dist/server/Plugin.js +0 -503
- package/dist/server/Processor.d.ts +0 -115
- package/dist/server/Processor.js +0 -363
- package/dist/server/actions/executions.d.ts +0 -11
- package/dist/server/actions/executions.js +0 -96
- package/dist/server/actions/index.d.ts +0 -11
- package/dist/server/actions/index.js +0 -66
- package/dist/server/actions/nodes.d.ts +0 -12
- package/dist/server/actions/nodes.js +0 -217
- package/dist/server/actions/workflows.d.ts +0 -14
- package/dist/server/actions/workflows.js +0 -184
- package/dist/server/collections/executions.d.ts +0 -11
- package/dist/server/collections/executions.js +0 -66
- package/dist/server/collections/flow_nodes.d.ts +0 -11
- package/dist/server/collections/flow_nodes.js +0 -87
- package/dist/server/collections/jobs.d.ts +0 -11
- package/dist/server/collections/jobs.js +0 -66
- package/dist/server/collections/workflows.d.ts +0 -10
- package/dist/server/collections/workflows.js +0 -126
- package/dist/server/constants.d.ts +0 -29
- package/dist/server/constants.js +0 -58
- package/dist/server/functions/index.d.ts +0 -17
- package/dist/server/functions/index.js +0 -40
- package/dist/server/index.d.ts +0 -15
- package/dist/server/index.js +0 -60
- package/dist/server/instructions/CalculationInstruction.d.ts +0 -25
- package/dist/server/instructions/CalculationInstruction.js +0 -59
- package/dist/server/instructions/ConditionInstruction.d.ts +0 -36
- package/dist/server/instructions/ConditionInstruction.js +0 -167
- package/dist/server/instructions/CreateInstruction.d.ts +0 -18
- package/dist/server/instructions/CreateInstruction.js +0 -75
- package/dist/server/instructions/DestroyInstruction.d.ts +0 -18
- package/dist/server/instructions/DestroyInstruction.js +0 -59
- package/dist/server/instructions/EndInstruction.d.ts +0 -14
- package/dist/server/instructions/EndInstruction.js +0 -55
- package/dist/server/instructions/QueryInstruction.d.ts +0 -21
- package/dist/server/instructions/QueryInstruction.js +0 -82
- package/dist/server/instructions/UpdateInstruction.d.ts +0 -18
- package/dist/server/instructions/UpdateInstruction.js +0 -59
- package/dist/server/instructions/index.d.ts +0 -31
- package/dist/server/instructions/index.js +0 -42
- package/dist/server/migrations/20221129153547-calculation-variables.d.ts +0 -14
- package/dist/server/migrations/20221129153547-calculation-variables.js +0 -92
- package/dist/server/migrations/20230221032941-change-request-body-type.d.ts +0 -14
- package/dist/server/migrations/20230221032941-change-request-body-type.js +0 -102
- package/dist/server/migrations/20230221071831-calculation-expression.d.ts +0 -13
- package/dist/server/migrations/20230221071831-calculation-expression.js +0 -121
- package/dist/server/migrations/20230221121203-condition-calculation.d.ts +0 -13
- package/dist/server/migrations/20230221121203-condition-calculation.js +0 -106
- package/dist/server/migrations/20230221162902-jsonb-to-json.d.ts +0 -13
- package/dist/server/migrations/20230221162902-jsonb-to-json.js +0 -63
- package/dist/server/migrations/20230411034722-manual-multi-form.d.ts +0 -13
- package/dist/server/migrations/20230411034722-manual-multi-form.js +0 -283
- package/dist/server/migrations/20230612021134-manual-collection-block.d.ts +0 -13
- package/dist/server/migrations/20230612021134-manual-collection-block.js +0 -152
- package/dist/server/migrations/20230710115902-manual-action-values.d.ts +0 -13
- package/dist/server/migrations/20230710115902-manual-action-values.js +0 -101
- package/dist/server/migrations/20230809113132-workflow-options.d.ts +0 -13
- package/dist/server/migrations/20230809113132-workflow-options.js +0 -64
- package/dist/server/migrations/20231024172342-add-node-key.d.ts +0 -13
- package/dist/server/migrations/20231024172342-add-node-key.js +0 -90
- package/dist/server/migrations/20231122143143-split-to-plugins.d.ts +0 -13
- package/dist/server/migrations/20231122143143-split-to-plugins.js +0 -67
- package/dist/server/migrations/20240115220721-add-node-key-to-job.d.ts +0 -14
- package/dist/server/migrations/20240115220721-add-node-key-to-job.js +0 -63
- package/dist/server/migrations/20240613222612-fix-assign-field-config.d.ts +0 -13
- package/dist/server/migrations/20240613222612-fix-assign-field-config.js +0 -62
- package/dist/server/triggers/CollectionTrigger.d.ts +0 -22
- package/dist/server/triggers/CollectionTrigger.js +0 -184
- package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.d.ts +0 -39
- package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.js +0 -356
- package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.d.ts +0 -21
- package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.js +0 -152
- package/dist/server/triggers/ScheduleTrigger/index.d.ts +0 -18
- package/dist/server/triggers/ScheduleTrigger/index.js +0 -84
- package/dist/server/triggers/ScheduleTrigger/utils.d.ts +0 -13
- package/dist/server/triggers/ScheduleTrigger/utils.js +0 -44
- package/dist/server/triggers/index.d.ts +0 -21
- package/dist/server/triggers/index.js +0 -46
- package/dist/server/types/Execution.d.ts +0 -25
- package/dist/server/types/Execution.js +0 -34
- package/dist/server/types/FlowNode.d.ts +0 -24
- package/dist/server/types/FlowNode.js +0 -34
- package/dist/server/types/Job.d.ts +0 -22
- package/dist/server/types/Job.js +0 -34
- package/dist/server/types/Workflow.d.ts +0 -35
- package/dist/server/types/Workflow.js +0 -34
- package/dist/server/types/index.d.ts +0 -12
- package/dist/server/types/index.js +0 -24
- package/dist/server/utils.d.ts +0 -9
- package/dist/server/utils.js +0 -51
- package/dist/swagger/index.d.ts +0 -762
- package/dist/swagger/index.js +0 -807
package/dist/swagger/index.js
DELETED
|
@@ -1,807 +0,0 @@
|
|
|
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 swagger_exports = {};
|
|
28
|
-
__export(swagger_exports, {
|
|
29
|
-
default: () => swagger_default
|
|
30
|
-
});
|
|
31
|
-
module.exports = __toCommonJS(swagger_exports);
|
|
32
|
-
var swagger_default = {
|
|
33
|
-
openapi: "3.0.2",
|
|
34
|
-
info: {
|
|
35
|
-
title: "NocoBase API - Workflow plugin"
|
|
36
|
-
},
|
|
37
|
-
tags: [],
|
|
38
|
-
paths: {
|
|
39
|
-
"/workflows:list": {
|
|
40
|
-
get: {
|
|
41
|
-
tags: ["workflows"],
|
|
42
|
-
description: "",
|
|
43
|
-
parameters: [
|
|
44
|
-
{
|
|
45
|
-
$ref: "#/components/schemas/workflow/filter"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
responses: {
|
|
49
|
-
200: {
|
|
50
|
-
description: "OK",
|
|
51
|
-
content: {
|
|
52
|
-
"application/json": {
|
|
53
|
-
schema: {
|
|
54
|
-
type: "array",
|
|
55
|
-
items: {
|
|
56
|
-
$ref: "#/components/schemas/workflow/model"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"/workflows:get": {
|
|
66
|
-
get: {
|
|
67
|
-
tags: ["workflows"],
|
|
68
|
-
description: "Get single workflow",
|
|
69
|
-
parameters: [
|
|
70
|
-
{
|
|
71
|
-
$ref: "#/components/schemas/workflow/filterByTk"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
$ref: "#/components/schemas/workflow/filter"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
responses: {
|
|
78
|
-
200: {
|
|
79
|
-
description: "OK",
|
|
80
|
-
content: {
|
|
81
|
-
"application/json": {
|
|
82
|
-
schema: {
|
|
83
|
-
allOf: [
|
|
84
|
-
{
|
|
85
|
-
$ref: "#/components/schemas/workflow/model"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
type: "object",
|
|
89
|
-
properties: {
|
|
90
|
-
nodes: {
|
|
91
|
-
type: "array",
|
|
92
|
-
items: {
|
|
93
|
-
$ref: "#/components/schemas/node"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"/workflows:create": {
|
|
107
|
-
post: {
|
|
108
|
-
tags: ["workflows"],
|
|
109
|
-
description: "Create new workflow",
|
|
110
|
-
parameters: [],
|
|
111
|
-
requestBody: {
|
|
112
|
-
content: {
|
|
113
|
-
"application/json": {
|
|
114
|
-
schema: {
|
|
115
|
-
type: "object",
|
|
116
|
-
properties: {
|
|
117
|
-
title: {
|
|
118
|
-
$ref: "#/components/schemas/workflow/model/properties/title"
|
|
119
|
-
},
|
|
120
|
-
type: {
|
|
121
|
-
$ref: "#/components/schemas/workflow/model/properties/type"
|
|
122
|
-
},
|
|
123
|
-
description: {
|
|
124
|
-
$ref: "#/components/schemas/workflow/model/properties/description"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
responses: {
|
|
132
|
-
200: {
|
|
133
|
-
description: "OK",
|
|
134
|
-
content: {
|
|
135
|
-
"application/json": {
|
|
136
|
-
schema: {
|
|
137
|
-
allOf: [
|
|
138
|
-
{
|
|
139
|
-
$ref: "#/components/schemas/workflow"
|
|
140
|
-
}
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"/workflows:update": {
|
|
150
|
-
post: {
|
|
151
|
-
tags: ["workflows"],
|
|
152
|
-
description: "Update a workflow",
|
|
153
|
-
parameters: [],
|
|
154
|
-
requestBody: {
|
|
155
|
-
content: {
|
|
156
|
-
"application/json": {
|
|
157
|
-
schema: {
|
|
158
|
-
type: "object",
|
|
159
|
-
properties: {
|
|
160
|
-
title: {
|
|
161
|
-
$ref: "#/components/schemas/workflow/model/properties/title"
|
|
162
|
-
},
|
|
163
|
-
enabled: {
|
|
164
|
-
$ref: "#/components/schemas/workflow/model/properties/enabled"
|
|
165
|
-
},
|
|
166
|
-
description: {
|
|
167
|
-
$ref: "#/components/schemas/workflow/model/properties/description"
|
|
168
|
-
},
|
|
169
|
-
config: {
|
|
170
|
-
$ref: "#/components/schemas/workflow/model/properties/config"
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
responses: {
|
|
178
|
-
200: {
|
|
179
|
-
description: "OK"
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"/workflows:destroy": {
|
|
185
|
-
post: {
|
|
186
|
-
tags: ["workflows"],
|
|
187
|
-
description: "Delete workflows. Also will delete all nodes and executions of the workflow.",
|
|
188
|
-
parameters: [
|
|
189
|
-
{
|
|
190
|
-
name: "filterByTk",
|
|
191
|
-
in: "query",
|
|
192
|
-
description: "Primary key of a record",
|
|
193
|
-
schema: {
|
|
194
|
-
type: "integer",
|
|
195
|
-
description: "ID. The only workflow with ID will be deleted."
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
name: "filter",
|
|
200
|
-
in: "query",
|
|
201
|
-
description: "Filter",
|
|
202
|
-
schema: {
|
|
203
|
-
type: "object",
|
|
204
|
-
properties: {
|
|
205
|
-
key: {
|
|
206
|
-
type: "string",
|
|
207
|
-
description: "Key. If provided, all workflow with same key will be deleted."
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
responses: {
|
|
214
|
-
200: {
|
|
215
|
-
description: "OK"
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
"/workflows:revision": {
|
|
221
|
-
post: {
|
|
222
|
-
tags: ["workflows"],
|
|
223
|
-
description: "Duplicate a workflow to a new version or a new workflow. All nodes will be duplicated too.",
|
|
224
|
-
parameters: [
|
|
225
|
-
{
|
|
226
|
-
name: "filterByTk",
|
|
227
|
-
in: "query",
|
|
228
|
-
description: "Primary key of a record",
|
|
229
|
-
schema: {
|
|
230
|
-
type: "integer",
|
|
231
|
-
description: "ID. The workflow to duplicate."
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
name: "filter",
|
|
236
|
-
in: "query",
|
|
237
|
-
description: "Filter",
|
|
238
|
-
schema: {
|
|
239
|
-
type: "object",
|
|
240
|
-
properties: {
|
|
241
|
-
key: {
|
|
242
|
-
type: "string",
|
|
243
|
-
description: "Key. If provided, only duplicate to a new version. Or will be duplicated to a new workflow."
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
],
|
|
249
|
-
responses: {
|
|
250
|
-
200: {
|
|
251
|
-
description: "OK"
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
"/workflows:trigger": {
|
|
257
|
-
post: {
|
|
258
|
-
tags: ["workflows"],
|
|
259
|
-
description: "",
|
|
260
|
-
parameters: [
|
|
261
|
-
{
|
|
262
|
-
name: "triggerWorkflows",
|
|
263
|
-
in: "query",
|
|
264
|
-
description: "A combined string to describe workflows to trigger and context data to use. e.g. `?triggerWorkflows=1,2!category`. Each comma separated part is a trigger pair, as `1` and `2!category`. The number part is the ID of workflow, exclamation means the path of association to use in form data. If ignored, will trigger with the full form data object.",
|
|
265
|
-
schema: {
|
|
266
|
-
type: "string"
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
],
|
|
270
|
-
responses: {
|
|
271
|
-
202: {
|
|
272
|
-
description: "Accepted"
|
|
273
|
-
},
|
|
274
|
-
400: {
|
|
275
|
-
description: "Bad Request"
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
"/workflows/{workflowId}/nodes:create": {
|
|
281
|
-
post: {
|
|
282
|
-
tags: ["workflows.nodes"],
|
|
283
|
-
description: "Create a new node in workflow",
|
|
284
|
-
parameters: [],
|
|
285
|
-
requestBody: {
|
|
286
|
-
content: {
|
|
287
|
-
"application/json": {
|
|
288
|
-
schema: {
|
|
289
|
-
type: "object",
|
|
290
|
-
properties: {
|
|
291
|
-
title: {
|
|
292
|
-
$ref: "#/components/schemas/node/properties/title"
|
|
293
|
-
},
|
|
294
|
-
type: {
|
|
295
|
-
$ref: "#/components/schemas/node/properties/type"
|
|
296
|
-
},
|
|
297
|
-
upstreamId: {
|
|
298
|
-
$ref: "#/components/schemas/node/properties/upstreamId"
|
|
299
|
-
},
|
|
300
|
-
branchIndex: {
|
|
301
|
-
$ref: "#/components/schemas/node/properties/branchIndex"
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
responses: {
|
|
309
|
-
200: {
|
|
310
|
-
description: "OK",
|
|
311
|
-
content: {
|
|
312
|
-
"application/json": {
|
|
313
|
-
schema: {
|
|
314
|
-
allOf: [
|
|
315
|
-
{
|
|
316
|
-
$ref: "#/components/schemas/node"
|
|
317
|
-
}
|
|
318
|
-
]
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
"/flow_nodes:update": {
|
|
327
|
-
post: {
|
|
328
|
-
tags: ["flow_nodes"],
|
|
329
|
-
description: "Update node properties.",
|
|
330
|
-
parameters: [
|
|
331
|
-
{
|
|
332
|
-
name: "filterByTk",
|
|
333
|
-
in: "query",
|
|
334
|
-
description: "Primary key of a record",
|
|
335
|
-
schema: {
|
|
336
|
-
type: "integer",
|
|
337
|
-
description: "ID"
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
],
|
|
341
|
-
requestBody: {
|
|
342
|
-
content: {
|
|
343
|
-
"application/json": {
|
|
344
|
-
schema: {
|
|
345
|
-
type: "object",
|
|
346
|
-
properties: {
|
|
347
|
-
title: {
|
|
348
|
-
$ref: "#/components/schemas/node/properties/title"
|
|
349
|
-
},
|
|
350
|
-
config: {
|
|
351
|
-
$ref: "#/components/schemas/node/properties/config"
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
responses: {
|
|
359
|
-
200: {
|
|
360
|
-
description: "OK"
|
|
361
|
-
},
|
|
362
|
-
400: {
|
|
363
|
-
description: "Bad Request. Node in exected workflow cannot be updated."
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
"/flow_nodes:destroy": {
|
|
369
|
-
post: {
|
|
370
|
-
tags: ["flow_nodes"],
|
|
371
|
-
description: "Delete a node. All nodes in sub-branches will also be deleted.",
|
|
372
|
-
parameters: [
|
|
373
|
-
{
|
|
374
|
-
name: "filterByTk",
|
|
375
|
-
in: "query",
|
|
376
|
-
description: "Primary key of a record",
|
|
377
|
-
schema: {
|
|
378
|
-
type: "integer",
|
|
379
|
-
description: "ID"
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
responses: {
|
|
384
|
-
200: {
|
|
385
|
-
description: "OK"
|
|
386
|
-
},
|
|
387
|
-
400: {
|
|
388
|
-
description: "Bad Request. Node in exected workflow cannot be deleted."
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
"/executions:list": {
|
|
394
|
-
get: {
|
|
395
|
-
tags: ["executions"],
|
|
396
|
-
description: "Get list of executions",
|
|
397
|
-
parameters: [],
|
|
398
|
-
responses: {
|
|
399
|
-
200: {
|
|
400
|
-
description: "OK",
|
|
401
|
-
content: {
|
|
402
|
-
"application/json": {
|
|
403
|
-
schema: {
|
|
404
|
-
type: "array",
|
|
405
|
-
description: "List of executions",
|
|
406
|
-
items: {
|
|
407
|
-
$ref: "#/components/schemas/execution",
|
|
408
|
-
type: "object",
|
|
409
|
-
not: {
|
|
410
|
-
$ref: "#/components/schemas/execution/properties/jobs"
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
"/executions:get": {
|
|
421
|
-
get: {
|
|
422
|
-
tags: ["executions"],
|
|
423
|
-
description: "Get single execution",
|
|
424
|
-
parameters: [
|
|
425
|
-
{
|
|
426
|
-
name: "filterByTk",
|
|
427
|
-
in: "query",
|
|
428
|
-
description: "Primary key of a record",
|
|
429
|
-
schema: {
|
|
430
|
-
type: "integer",
|
|
431
|
-
description: "ID"
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
],
|
|
435
|
-
responses: {
|
|
436
|
-
200: {
|
|
437
|
-
description: "OK",
|
|
438
|
-
content: {
|
|
439
|
-
"application/json": {
|
|
440
|
-
schema: {
|
|
441
|
-
$ref: "#/components/schemas/execution"
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
"/users_jobs:list": {
|
|
450
|
-
get: {
|
|
451
|
-
tags: ["users_jobs"],
|
|
452
|
-
description: "List manual jobs",
|
|
453
|
-
parameters: [],
|
|
454
|
-
responses: {
|
|
455
|
-
200: {
|
|
456
|
-
description: "OK",
|
|
457
|
-
content: {
|
|
458
|
-
"application/json": {
|
|
459
|
-
schema: {
|
|
460
|
-
type: "array",
|
|
461
|
-
description: "List of manual jobs",
|
|
462
|
-
items: {
|
|
463
|
-
$ref: "#/components/schemas/user_job"
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
"/users_jobs:get": {
|
|
473
|
-
get: {
|
|
474
|
-
tags: ["users_jobs"],
|
|
475
|
-
description: "Single user job",
|
|
476
|
-
parameters: [],
|
|
477
|
-
responses: {
|
|
478
|
-
200: {
|
|
479
|
-
description: "OK",
|
|
480
|
-
content: {
|
|
481
|
-
"application/json": {
|
|
482
|
-
schema: {
|
|
483
|
-
allOf: [
|
|
484
|
-
{
|
|
485
|
-
$ref: "#/components/schemas/user_job"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
type: "object",
|
|
489
|
-
properties: {
|
|
490
|
-
execution: {
|
|
491
|
-
$ref: "#/components/schemas/execution"
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
]
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
"/users_jobs:submit": {
|
|
504
|
-
post: {
|
|
505
|
-
tags: ["users_jobs"],
|
|
506
|
-
description: "",
|
|
507
|
-
parameters: [
|
|
508
|
-
{
|
|
509
|
-
name: "filterByTk",
|
|
510
|
-
in: "query",
|
|
511
|
-
description: "Primary key of a record",
|
|
512
|
-
schema: {
|
|
513
|
-
type: "integer",
|
|
514
|
-
description: "ID"
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
],
|
|
518
|
-
requestBody: {
|
|
519
|
-
content: {
|
|
520
|
-
"application/json": {
|
|
521
|
-
schema: {
|
|
522
|
-
type: "object",
|
|
523
|
-
properties: {
|
|
524
|
-
result: {
|
|
525
|
-
type: "object",
|
|
526
|
-
properties: {
|
|
527
|
-
$formKey: {
|
|
528
|
-
type: "object"
|
|
529
|
-
},
|
|
530
|
-
_: {
|
|
531
|
-
type: "string"
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
responses: {
|
|
541
|
-
202: {
|
|
542
|
-
description: "Accepted"
|
|
543
|
-
},
|
|
544
|
-
400: {
|
|
545
|
-
description: "Bad Request. Status of the job is not 0."
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
components: {
|
|
552
|
-
schemas: {
|
|
553
|
-
workflow: {
|
|
554
|
-
model: {
|
|
555
|
-
type: "object",
|
|
556
|
-
description: "Workflow",
|
|
557
|
-
properties: {
|
|
558
|
-
id: {
|
|
559
|
-
type: "integer",
|
|
560
|
-
description: "ID"
|
|
561
|
-
},
|
|
562
|
-
key: {
|
|
563
|
-
type: "string",
|
|
564
|
-
description: "Key. Variant versions of the same workflow share the same key."
|
|
565
|
-
},
|
|
566
|
-
title: {
|
|
567
|
-
type: "string",
|
|
568
|
-
description: "Title"
|
|
569
|
-
},
|
|
570
|
-
description: {
|
|
571
|
-
type: "string",
|
|
572
|
-
description: "Description"
|
|
573
|
-
},
|
|
574
|
-
current: {
|
|
575
|
-
type: "boolean",
|
|
576
|
-
description: "Current version"
|
|
577
|
-
},
|
|
578
|
-
enabled: {
|
|
579
|
-
type: "boolean",
|
|
580
|
-
description: "Enabled"
|
|
581
|
-
},
|
|
582
|
-
type: {
|
|
583
|
-
type: "string",
|
|
584
|
-
description: "Event type"
|
|
585
|
-
},
|
|
586
|
-
config: {
|
|
587
|
-
type: "object",
|
|
588
|
-
description: "Configuration JSON object"
|
|
589
|
-
},
|
|
590
|
-
nodes: {
|
|
591
|
-
type: "array",
|
|
592
|
-
description: "Workflow nodes"
|
|
593
|
-
},
|
|
594
|
-
executions: {
|
|
595
|
-
type: "array",
|
|
596
|
-
description: "Executions"
|
|
597
|
-
},
|
|
598
|
-
revisions: {
|
|
599
|
-
type: "array",
|
|
600
|
-
description: "Revisions"
|
|
601
|
-
},
|
|
602
|
-
executed: {
|
|
603
|
-
type: "integer",
|
|
604
|
-
description: "Executed count for a single version"
|
|
605
|
-
},
|
|
606
|
-
allExecuted: {
|
|
607
|
-
type: "integer",
|
|
608
|
-
description: "Executed count for all versions of the same workflow"
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
filterByTk: {
|
|
613
|
-
name: "filterByTk",
|
|
614
|
-
in: "query",
|
|
615
|
-
description: "Primary key of a record",
|
|
616
|
-
schema: {
|
|
617
|
-
type: "integer",
|
|
618
|
-
description: "ID"
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
filter: {
|
|
622
|
-
name: "filter",
|
|
623
|
-
in: "query",
|
|
624
|
-
description: "Filter parameters in JSON format",
|
|
625
|
-
schema: {
|
|
626
|
-
type: "object",
|
|
627
|
-
properties: {
|
|
628
|
-
id: {
|
|
629
|
-
$ref: "#/components/schemas/workflow/model/properties/id"
|
|
630
|
-
},
|
|
631
|
-
title: {
|
|
632
|
-
$ref: "#/components/schemas/workflow/model/properties/title"
|
|
633
|
-
},
|
|
634
|
-
type: {
|
|
635
|
-
$ref: "#/components/schemas/workflow/model/properties/type"
|
|
636
|
-
},
|
|
637
|
-
enabled: {
|
|
638
|
-
$ref: "#/components/schemas/workflow/model/properties/enabled"
|
|
639
|
-
},
|
|
640
|
-
current: {
|
|
641
|
-
$ref: "#/components/schemas/workflow/model/properties/current"
|
|
642
|
-
},
|
|
643
|
-
key: {
|
|
644
|
-
$ref: "#/components/schemas/workflow/model/properties/key"
|
|
645
|
-
},
|
|
646
|
-
executed: {
|
|
647
|
-
$ref: "#/components/schemas/workflow/model/properties/executed"
|
|
648
|
-
},
|
|
649
|
-
allExecuted: {
|
|
650
|
-
$ref: "#/components/schemas/workflow/model/properties/allExecuted"
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
node: {
|
|
657
|
-
type: "object",
|
|
658
|
-
description: "Workflow node",
|
|
659
|
-
properties: {
|
|
660
|
-
id: {
|
|
661
|
-
type: "integer",
|
|
662
|
-
description: "ID"
|
|
663
|
-
},
|
|
664
|
-
title: {
|
|
665
|
-
type: "string",
|
|
666
|
-
description: "Title"
|
|
667
|
-
},
|
|
668
|
-
workflowId: {
|
|
669
|
-
type: "integer",
|
|
670
|
-
description: "Workflow ID"
|
|
671
|
-
},
|
|
672
|
-
upstreamId: {
|
|
673
|
-
type: "integer",
|
|
674
|
-
description: "Upstream node ID"
|
|
675
|
-
},
|
|
676
|
-
upstream: {
|
|
677
|
-
type: "object",
|
|
678
|
-
description: "Upstream node",
|
|
679
|
-
$ref: "#/components/schemas/node"
|
|
680
|
-
},
|
|
681
|
-
downstreamId: {
|
|
682
|
-
type: "integer",
|
|
683
|
-
description: "Downstream node ID in flow, not in sub-branches",
|
|
684
|
-
$ref: "#/components/schemas/node"
|
|
685
|
-
},
|
|
686
|
-
downstream: {
|
|
687
|
-
type: "object",
|
|
688
|
-
description: "Downstream node",
|
|
689
|
-
$ref: "#/components/schemas/node"
|
|
690
|
-
},
|
|
691
|
-
type: {
|
|
692
|
-
type: "string",
|
|
693
|
-
description: "Node type"
|
|
694
|
-
},
|
|
695
|
-
config: {
|
|
696
|
-
type: "object",
|
|
697
|
-
description: "Configuration JSON object"
|
|
698
|
-
},
|
|
699
|
-
branchIndex: {
|
|
700
|
-
type: "integer",
|
|
701
|
-
description: "Non-null if the node is a branch node of upstream"
|
|
702
|
-
},
|
|
703
|
-
branches: {
|
|
704
|
-
type: "array",
|
|
705
|
-
description: "Branch nodes under the node",
|
|
706
|
-
items: {
|
|
707
|
-
$ref: "#/components/schemas/node"
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
execution: {
|
|
713
|
-
type: "object",
|
|
714
|
-
description: "Execution record of workflow",
|
|
715
|
-
properties: {
|
|
716
|
-
id: {
|
|
717
|
-
type: "integer",
|
|
718
|
-
description: "ID"
|
|
719
|
-
},
|
|
720
|
-
key: {
|
|
721
|
-
type: "string",
|
|
722
|
-
description: "Workflow key"
|
|
723
|
-
},
|
|
724
|
-
workflowId: {
|
|
725
|
-
type: "integer",
|
|
726
|
-
description: "Workflow ID"
|
|
727
|
-
},
|
|
728
|
-
context: {
|
|
729
|
-
type: "object",
|
|
730
|
-
description: "Context data"
|
|
731
|
-
},
|
|
732
|
-
status: {
|
|
733
|
-
type: "integer",
|
|
734
|
-
description: "Status of execution"
|
|
735
|
-
},
|
|
736
|
-
jobs: {
|
|
737
|
-
type: "array",
|
|
738
|
-
description: "Results of executed nodes",
|
|
739
|
-
items: {
|
|
740
|
-
$ref: "#/components/schemas/job"
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
},
|
|
745
|
-
job: {
|
|
746
|
-
type: "object",
|
|
747
|
-
description: "Job record of exected node",
|
|
748
|
-
properties: {
|
|
749
|
-
id: {
|
|
750
|
-
type: "integer",
|
|
751
|
-
description: "ID"
|
|
752
|
-
},
|
|
753
|
-
executionId: {
|
|
754
|
-
type: "integer",
|
|
755
|
-
description: "Execution ID"
|
|
756
|
-
},
|
|
757
|
-
nodeId: {
|
|
758
|
-
type: "integer",
|
|
759
|
-
description: "Node ID"
|
|
760
|
-
},
|
|
761
|
-
status: {
|
|
762
|
-
type: "integer",
|
|
763
|
-
description: "Status of job"
|
|
764
|
-
},
|
|
765
|
-
result: {
|
|
766
|
-
type: "object",
|
|
767
|
-
description: "Result data of job"
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
user_job: {
|
|
772
|
-
type: "object",
|
|
773
|
-
description: "User job",
|
|
774
|
-
properties: {
|
|
775
|
-
id: {
|
|
776
|
-
type: "integer",
|
|
777
|
-
description: "ID"
|
|
778
|
-
},
|
|
779
|
-
executionId: {
|
|
780
|
-
type: "integer",
|
|
781
|
-
description: "Execution ID"
|
|
782
|
-
},
|
|
783
|
-
nodeId: {
|
|
784
|
-
type: "integer",
|
|
785
|
-
description: "Node ID"
|
|
786
|
-
},
|
|
787
|
-
workflowId: {
|
|
788
|
-
type: "integer",
|
|
789
|
-
description: "Workflow ID"
|
|
790
|
-
},
|
|
791
|
-
userId: {
|
|
792
|
-
type: "integer",
|
|
793
|
-
description: "User ID"
|
|
794
|
-
},
|
|
795
|
-
status: {
|
|
796
|
-
type: "integer",
|
|
797
|
-
description: "Status of job"
|
|
798
|
-
},
|
|
799
|
-
result: {
|
|
800
|
-
type: "object",
|
|
801
|
-
description: "Result data of job"
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
};
|