@nocobase/plugin-workflow 2.0.33 → 2.0.35
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/externalVersion.js +12 -12
- package/dist/node_modules/cron-parser/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/swagger/index.d.ts +44 -75
- package/dist/swagger/index.js +36 -67
- package/package.json +2 -2
package/dist/externalVersion.js
CHANGED
|
@@ -11,8 +11,8 @@ 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.0.
|
|
15
|
-
"@nocobase/utils": "2.0.
|
|
14
|
+
"@nocobase/client": "2.0.35",
|
|
15
|
+
"@nocobase/utils": "2.0.35",
|
|
16
16
|
"antd": "5.24.2",
|
|
17
17
|
"@ant-design/icons": "5.6.1",
|
|
18
18
|
"react-router-dom": "6.30.1",
|
|
@@ -20,20 +20,20 @@ module.exports = {
|
|
|
20
20
|
"lodash": "4.17.21",
|
|
21
21
|
"@dnd-kit/core": "6.1.0",
|
|
22
22
|
"@formily/shared": "2.3.7",
|
|
23
|
-
"@nocobase/flow-engine": "2.0.
|
|
24
|
-
"@nocobase/plugin-mobile": "2.0.
|
|
23
|
+
"@nocobase/flow-engine": "2.0.35",
|
|
24
|
+
"@nocobase/plugin-mobile": "2.0.35",
|
|
25
25
|
"sequelize": "6.35.2",
|
|
26
|
-
"@nocobase/server": "2.0.
|
|
27
|
-
"@nocobase/database": "2.0.
|
|
28
|
-
"@nocobase/data-source-manager": "2.0.
|
|
29
|
-
"@nocobase/logger": "2.0.
|
|
30
|
-
"@nocobase/evaluators": "2.0.
|
|
26
|
+
"@nocobase/server": "2.0.35",
|
|
27
|
+
"@nocobase/database": "2.0.35",
|
|
28
|
+
"@nocobase/data-source-manager": "2.0.35",
|
|
29
|
+
"@nocobase/logger": "2.0.35",
|
|
30
|
+
"@nocobase/evaluators": "2.0.35",
|
|
31
31
|
"@formily/antd-v5": "1.2.3",
|
|
32
32
|
"@formily/reactive": "2.3.7",
|
|
33
33
|
"@emotion/css": "11.13.0",
|
|
34
34
|
"@formily/json-schema": "2.3.7",
|
|
35
|
-
"@nocobase/actions": "2.0.
|
|
35
|
+
"@nocobase/actions": "2.0.35",
|
|
36
36
|
"dayjs": "1.11.13",
|
|
37
|
-
"@nocobase/plugin-workflow-test": "2.0.
|
|
38
|
-
"@nocobase/test": "2.0.
|
|
37
|
+
"@nocobase/plugin-workflow-test": "2.0.35",
|
|
38
|
+
"@nocobase/test": "2.0.35"
|
|
39
39
|
};
|
|
@@ -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-04-
|
|
1
|
+
{"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2026-04-09T15:03:03.936Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"8.0.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","preprepare":"rm -rf dist","prepare":"tsc -p tsconfig.json && tsc -p tsconfig-esm.json","postprepare":"bash fixup.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"c8 tap","snap":"c8 tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig tsconfig-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"},"main":"./dist/cjs/index-cjs.js","module":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","exports":{"./min":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.min.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.min.js"}},".":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index-cjs.js"}}},"repository":"git://github.com/isaacs/node-lru-cache.git","devDependencies":{"@size-limit/preset-small-lib":"^7.0.8","@types/node":"^17.0.31","@types/tap":"^15.0.6","benchmark":"^2.1.4","c8":"^7.11.2","clock-mock":"^1.0.6","esbuild":"^0.17.11","eslint-config-prettier":"^8.5.0","marked":"^4.2.12","mkdirp":"^2.1.5","prettier":"^2.6.2","size-limit":"^7.0.8","tap":"^16.3.4","ts-node":"^10.7.0","tslib":"^2.4.0","typedoc":"^0.23.24","typescript":"^4.6.4"},"license":"ISC","files":["dist"],"engines":{"node":">=16.14"},"prettier":{"semi":false,"printWidth":70,"tabWidth":2,"useTabs":false,"singleQuote":true,"jsxSingleQuote":false,"bracketSameLine":true,"arrowParens":"avoid","endOfLine":"lf"},"tap":{"coverage":false,"node-arg":["--expose-gc","--no-warnings","--loader","ts-node/esm"],"ts":false},"size-limit":[{"path":"./dist/mjs/index.js"}],"_lastModified":"2026-04-
|
|
1
|
+
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"8.0.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","preprepare":"rm -rf dist","prepare":"tsc -p tsconfig.json && tsc -p tsconfig-esm.json","postprepare":"bash fixup.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"c8 tap","snap":"c8 tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig tsconfig-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"},"main":"./dist/cjs/index-cjs.js","module":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","exports":{"./min":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.min.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.min.js"}},".":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index-cjs.js"}}},"repository":"git://github.com/isaacs/node-lru-cache.git","devDependencies":{"@size-limit/preset-small-lib":"^7.0.8","@types/node":"^17.0.31","@types/tap":"^15.0.6","benchmark":"^2.1.4","c8":"^7.11.2","clock-mock":"^1.0.6","esbuild":"^0.17.11","eslint-config-prettier":"^8.5.0","marked":"^4.2.12","mkdirp":"^2.1.5","prettier":"^2.6.2","size-limit":"^7.0.8","tap":"^16.3.4","ts-node":"^10.7.0","tslib":"^2.4.0","typedoc":"^0.23.24","typescript":"^4.6.4"},"license":"ISC","files":["dist"],"engines":{"node":">=16.14"},"prettier":{"semi":false,"printWidth":70,"tabWidth":2,"useTabs":false,"singleQuote":true,"jsxSingleQuote":false,"bracketSameLine":true,"arrowParens":"avoid","endOfLine":"lf"},"tap":{"coverage":false,"node-arg":["--expose-gc","--no-warnings","--loader","ts-node/esm"],"ts":false},"size-limit":[{"path":"./dist/mjs/index.js"}],"_lastModified":"2026-04-09T15:03:03.601Z"}
|
|
@@ -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-04-
|
|
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-04-09T15:03:03.404Z"}
|
package/dist/swagger/index.d.ts
CHANGED
|
@@ -329,24 +329,19 @@ declare const _default: {
|
|
|
329
329
|
'application/json': {
|
|
330
330
|
schema: {
|
|
331
331
|
type: string;
|
|
332
|
+
description: string;
|
|
332
333
|
properties: {
|
|
333
|
-
|
|
334
|
+
title: {
|
|
335
|
+
type: string;
|
|
336
|
+
description: string;
|
|
337
|
+
};
|
|
338
|
+
enabled: {
|
|
339
|
+
type: string;
|
|
340
|
+
description: string;
|
|
341
|
+
};
|
|
342
|
+
current: {
|
|
334
343
|
type: string;
|
|
335
344
|
description: string;
|
|
336
|
-
properties: {
|
|
337
|
-
title: {
|
|
338
|
-
type: string;
|
|
339
|
-
description: string;
|
|
340
|
-
};
|
|
341
|
-
enabled: {
|
|
342
|
-
type: string;
|
|
343
|
-
description: string;
|
|
344
|
-
};
|
|
345
|
-
current: {
|
|
346
|
-
type: string;
|
|
347
|
-
description: string;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
345
|
};
|
|
351
346
|
};
|
|
352
347
|
};
|
|
@@ -417,13 +412,8 @@ declare const _default: {
|
|
|
417
412
|
'application/json': {
|
|
418
413
|
schema: {
|
|
419
414
|
type: string;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
values: {
|
|
423
|
-
type: string;
|
|
424
|
-
description: string;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
415
|
+
description: string;
|
|
416
|
+
additionalProperties: boolean;
|
|
427
417
|
};
|
|
428
418
|
};
|
|
429
419
|
};
|
|
@@ -704,21 +694,16 @@ declare const _default: {
|
|
|
704
694
|
'application/json': {
|
|
705
695
|
schema: {
|
|
706
696
|
type: string;
|
|
697
|
+
description: string;
|
|
707
698
|
properties: {
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
$ref: string;
|
|
717
|
-
};
|
|
718
|
-
config: {
|
|
719
|
-
$ref: string;
|
|
720
|
-
};
|
|
721
|
-
};
|
|
699
|
+
upstreamId: {
|
|
700
|
+
$ref: string;
|
|
701
|
+
};
|
|
702
|
+
branchIndex: {
|
|
703
|
+
$ref: string;
|
|
704
|
+
};
|
|
705
|
+
config: {
|
|
706
|
+
$ref: string;
|
|
722
707
|
};
|
|
723
708
|
};
|
|
724
709
|
};
|
|
@@ -764,22 +749,17 @@ declare const _default: {
|
|
|
764
749
|
'application/json': {
|
|
765
750
|
schema: {
|
|
766
751
|
type: string;
|
|
752
|
+
description: string;
|
|
767
753
|
properties: {
|
|
768
|
-
|
|
754
|
+
upstreamId: {
|
|
769
755
|
type: string;
|
|
756
|
+
nullable: boolean;
|
|
757
|
+
description: string;
|
|
758
|
+
};
|
|
759
|
+
branchIndex: {
|
|
760
|
+
type: string;
|
|
761
|
+
nullable: boolean;
|
|
770
762
|
description: string;
|
|
771
|
-
properties: {
|
|
772
|
-
upstreamId: {
|
|
773
|
-
type: string;
|
|
774
|
-
nullable: boolean;
|
|
775
|
-
description: string;
|
|
776
|
-
};
|
|
777
|
-
branchIndex: {
|
|
778
|
-
type: string;
|
|
779
|
-
nullable: boolean;
|
|
780
|
-
description: string;
|
|
781
|
-
};
|
|
782
|
-
};
|
|
783
763
|
};
|
|
784
764
|
};
|
|
785
765
|
};
|
|
@@ -820,17 +800,11 @@ declare const _default: {
|
|
|
820
800
|
type: string;
|
|
821
801
|
required: string[];
|
|
822
802
|
properties: {
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
$ref: string;
|
|
829
|
-
};
|
|
830
|
-
config: {
|
|
831
|
-
$ref: string;
|
|
832
|
-
};
|
|
833
|
-
};
|
|
803
|
+
type: {
|
|
804
|
+
$ref: string;
|
|
805
|
+
};
|
|
806
|
+
config: {
|
|
807
|
+
$ref: string;
|
|
834
808
|
};
|
|
835
809
|
};
|
|
836
810
|
};
|
|
@@ -1116,24 +1090,19 @@ declare const _default: {
|
|
|
1116
1090
|
'application/json': {
|
|
1117
1091
|
schema: {
|
|
1118
1092
|
type: string;
|
|
1093
|
+
description: string;
|
|
1119
1094
|
properties: {
|
|
1120
|
-
|
|
1095
|
+
status: {
|
|
1096
|
+
type: string;
|
|
1097
|
+
description: string;
|
|
1098
|
+
};
|
|
1099
|
+
result: {
|
|
1100
|
+
type: string;
|
|
1101
|
+
description: string;
|
|
1102
|
+
};
|
|
1103
|
+
meta: {
|
|
1121
1104
|
type: string;
|
|
1122
1105
|
description: string;
|
|
1123
|
-
properties: {
|
|
1124
|
-
status: {
|
|
1125
|
-
type: string;
|
|
1126
|
-
description: string;
|
|
1127
|
-
};
|
|
1128
|
-
result: {
|
|
1129
|
-
type: string;
|
|
1130
|
-
description: string;
|
|
1131
|
-
};
|
|
1132
|
-
meta: {
|
|
1133
|
-
type: string;
|
|
1134
|
-
description: string;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
1106
|
};
|
|
1138
1107
|
};
|
|
1139
1108
|
};
|
package/dist/swagger/index.js
CHANGED
|
@@ -327,16 +327,11 @@ var swagger_default = {
|
|
|
327
327
|
"application/json": {
|
|
328
328
|
schema: {
|
|
329
329
|
type: "object",
|
|
330
|
+
description: "Override fields for the new workflow/version",
|
|
330
331
|
properties: {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
properties: {
|
|
335
|
-
title: { type: "string", description: "Override title" },
|
|
336
|
-
enabled: { type: "boolean", description: "Override enabled state" },
|
|
337
|
-
current: { type: "boolean", description: "Set as current version" }
|
|
338
|
-
}
|
|
339
|
-
}
|
|
332
|
+
title: { type: "string", description: "Override title" },
|
|
333
|
+
enabled: { type: "boolean", description: "Override enabled state" },
|
|
334
|
+
current: { type: "boolean", description: "Set as current version" }
|
|
340
335
|
}
|
|
341
336
|
}
|
|
342
337
|
}
|
|
@@ -394,7 +389,7 @@ var swagger_default = {
|
|
|
394
389
|
"",
|
|
395
390
|
"**Requirements:**",
|
|
396
391
|
"- `filterByTk` (query param) is required.",
|
|
397
|
-
"-
|
|
392
|
+
"- Request body is required \u2014 the **entire JSON body** is treated as trigger context/input.",
|
|
398
393
|
"",
|
|
399
394
|
"**autoRevision:** When set to `1`, if the workflow has never been executed",
|
|
400
395
|
"(`executed === 0`), a new revision is created automatically after execution.",
|
|
@@ -422,13 +417,8 @@ var swagger_default = {
|
|
|
422
417
|
"application/json": {
|
|
423
418
|
schema: {
|
|
424
419
|
type: "object",
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
values: {
|
|
428
|
-
type: "object",
|
|
429
|
-
description: "Context/input data for the workflow trigger. Structure depends on the trigger type."
|
|
430
|
-
}
|
|
431
|
-
}
|
|
420
|
+
description: "Trigger context/input data. The body itself is mapped to `params.values` on the server. Structure depends on trigger type.",
|
|
421
|
+
additionalProperties: true
|
|
432
422
|
}
|
|
433
423
|
}
|
|
434
424
|
}
|
|
@@ -459,7 +449,7 @@ var swagger_default = {
|
|
|
459
449
|
}
|
|
460
450
|
},
|
|
461
451
|
400: {
|
|
462
|
-
description: "Bad Request.
|
|
452
|
+
description: "Bad Request. Request body or `filterByTk` is missing/invalid, or workflow not triggered."
|
|
463
453
|
},
|
|
464
454
|
404: { description: "Not Found. Workflow does not exist." }
|
|
465
455
|
}
|
|
@@ -713,16 +703,11 @@ var swagger_default = {
|
|
|
713
703
|
"application/json": {
|
|
714
704
|
schema: {
|
|
715
705
|
type: "object",
|
|
706
|
+
description: "Target position and optional config override for the new node",
|
|
716
707
|
properties: {
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
properties: {
|
|
721
|
-
upstreamId: { $ref: "#/components/schemas/node/properties/upstreamId" },
|
|
722
|
-
branchIndex: { $ref: "#/components/schemas/node/properties/branchIndex" },
|
|
723
|
-
config: { $ref: "#/components/schemas/node/properties/config" }
|
|
724
|
-
}
|
|
725
|
-
}
|
|
708
|
+
upstreamId: { $ref: "#/components/schemas/node/properties/upstreamId" },
|
|
709
|
+
branchIndex: { $ref: "#/components/schemas/node/properties/branchIndex" },
|
|
710
|
+
config: { $ref: "#/components/schemas/node/properties/config" }
|
|
726
711
|
}
|
|
727
712
|
}
|
|
728
713
|
}
|
|
@@ -773,22 +758,17 @@ var swagger_default = {
|
|
|
773
758
|
"application/json": {
|
|
774
759
|
schema: {
|
|
775
760
|
type: "object",
|
|
761
|
+
description: "Target position descriptor",
|
|
776
762
|
properties: {
|
|
777
|
-
|
|
778
|
-
type: "
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
branchIndex: {
|
|
787
|
-
type: "integer",
|
|
788
|
-
nullable: true,
|
|
789
|
-
description: "Branch index at the target upstream. `null` = main chain."
|
|
790
|
-
}
|
|
791
|
-
}
|
|
763
|
+
upstreamId: {
|
|
764
|
+
type: "integer",
|
|
765
|
+
nullable: true,
|
|
766
|
+
description: "Target upstream node ID. `null` = move to head position."
|
|
767
|
+
},
|
|
768
|
+
branchIndex: {
|
|
769
|
+
type: "integer",
|
|
770
|
+
nullable: true,
|
|
771
|
+
description: "Branch index at the target upstream. `null` = main chain."
|
|
792
772
|
}
|
|
793
773
|
}
|
|
794
774
|
}
|
|
@@ -828,16 +808,10 @@ var swagger_default = {
|
|
|
828
808
|
"application/json": {
|
|
829
809
|
schema: {
|
|
830
810
|
type: "object",
|
|
831
|
-
required: ["
|
|
811
|
+
required: ["type", "config"],
|
|
832
812
|
properties: {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
required: ["type"],
|
|
836
|
-
properties: {
|
|
837
|
-
type: { $ref: "#/components/schemas/node/properties/type" },
|
|
838
|
-
config: { $ref: "#/components/schemas/node/properties/config" }
|
|
839
|
-
}
|
|
840
|
-
}
|
|
813
|
+
type: { $ref: "#/components/schemas/node/properties/type" },
|
|
814
|
+
config: { $ref: "#/components/schemas/node/properties/config" }
|
|
841
815
|
}
|
|
842
816
|
}
|
|
843
817
|
}
|
|
@@ -1154,24 +1128,19 @@ var swagger_default = {
|
|
|
1154
1128
|
"application/json": {
|
|
1155
1129
|
schema: {
|
|
1156
1130
|
type: "object",
|
|
1131
|
+
description: "Fields to update on the job before resuming",
|
|
1157
1132
|
properties: {
|
|
1158
|
-
|
|
1133
|
+
status: {
|
|
1134
|
+
type: "integer",
|
|
1135
|
+
description: "Job status: 1=RESOLVED, -1=FAILED, -3=ABORTED, -4=CANCELED, -5=REJECTED"
|
|
1136
|
+
},
|
|
1137
|
+
result: {
|
|
1159
1138
|
type: "object",
|
|
1160
|
-
description: "
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
},
|
|
1166
|
-
result: {
|
|
1167
|
-
type: "object",
|
|
1168
|
-
description: "Result data to store on the job"
|
|
1169
|
-
},
|
|
1170
|
-
meta: {
|
|
1171
|
-
type: "object",
|
|
1172
|
-
description: "Metadata to store on the job"
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1139
|
+
description: "Result data to store on the job"
|
|
1140
|
+
},
|
|
1141
|
+
meta: {
|
|
1142
|
+
type: "object",
|
|
1143
|
+
description: "Metadata to store on the job"
|
|
1175
1144
|
}
|
|
1176
1145
|
}
|
|
1177
1146
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.",
|
|
7
7
|
"description.zh-CN": "一个强大的 BPM 工具,为业务自动化提供基础支持,并且可任意扩展更多的触发器和节点。",
|
|
8
8
|
"description.ru-RU": "Мощный инструмент BPM, обеспечивающий базовую поддержку автоматизации бизнес-процессов с возможностью неограниченного расширения триггеров и узлов.",
|
|
9
|
-
"version": "2.0.
|
|
9
|
+
"version": "2.0.35",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "./dist/server/index.js",
|
|
12
12
|
"homepage": "https://docs.nocobase.com/handbook/workflow",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@nocobase/test": "2.x",
|
|
49
49
|
"@nocobase/utils": "2.x"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "724e9b28057c9033b9d57bdbeda5a331c9dcc646",
|
|
52
52
|
"keywords": [
|
|
53
53
|
"Workflow"
|
|
54
54
|
]
|