@nocobase/plugin-workflow-manual 2.4.0-alpha.13 → 2.4.0-alpha.15
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/README.md +4 -4
- package/dist/externalVersion.js +11 -11
- package/dist/node_modules/joi/package.json +1 -1
- package/dist/server/actions.d.ts +1 -0
- package/dist/server/actions.js +10 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Online Demo:
|
|
|
24
24
|
https://demo.nocobase.com/new
|
|
25
25
|
|
|
26
26
|
Documents:
|
|
27
|
-
https://docs.nocobase.com/
|
|
27
|
+
https://nocode.docs.nocobase.com/
|
|
28
28
|
|
|
29
29
|
Forum:
|
|
30
30
|
https://forum.nocobase.com/
|
|
@@ -80,15 +80,15 @@ Adding more no-code features will never cover every business case. NocoBase is b
|
|
|
80
80
|
|
|
81
81
|
NocoBase supports three installation methods:
|
|
82
82
|
|
|
83
|
-
- <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/docker-compose">Installing With Docker (👍Recommended)</a>
|
|
83
|
+
- <a target="_blank" href="https://nocode.docs.nocobase.com/welcome/getting-started/installation/docker-compose">Installing With Docker (👍Recommended)</a>
|
|
84
84
|
|
|
85
85
|
Suitable for no-code scenarios, no code to write. When upgrading, just download the latest image and reboot.
|
|
86
86
|
|
|
87
|
-
- <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/create-nocobase-app">Installing from create-nocobase-app CLI</a>
|
|
87
|
+
- <a target="_blank" href="https://nocode.docs.nocobase.com/welcome/getting-started/installation/create-nocobase-app">Installing from create-nocobase-app CLI</a>
|
|
88
88
|
|
|
89
89
|
The business code of the project is completely independent and supports low-code development.
|
|
90
90
|
|
|
91
|
-
- <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/git-clone">Installing from Git source code</a>
|
|
91
|
+
- <a target="_blank" href="https://nocode.docs.nocobase.com/welcome/getting-started/installation/git-clone">Installing from Git source code</a>
|
|
92
92
|
|
|
93
93
|
If you want to experience the latest unreleased version, or want to participate in the contribution, you need to make changes and debug on the source code, it is recommended to choose this installation method, which requires a high level of development skills, and if the code has been updated, you can git pull the latest code.
|
|
94
94
|
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.4.0-alpha.
|
|
11
|
+
"@nocobase/client": "2.4.0-alpha.15",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"react-router-dom": "6.30.1",
|
|
14
14
|
"@formily/react": "2.3.7",
|
|
@@ -19,16 +19,16 @@ module.exports = {
|
|
|
19
19
|
"dayjs": "1.11.13",
|
|
20
20
|
"react-i18next": "11.18.6",
|
|
21
21
|
"lodash": "4.18.1",
|
|
22
|
-
"@nocobase/plugin-workflow": "2.4.0-alpha.
|
|
23
|
-
"@nocobase/plugin-mobile": "2.4.0-alpha.
|
|
24
|
-
"@nocobase/flow-engine": "2.4.0-alpha.
|
|
25
|
-
"@nocobase/client-v2": "2.4.0-alpha.
|
|
26
|
-
"@nocobase/utils": "2.4.0-alpha.
|
|
27
|
-
"@nocobase/server": "2.4.0-alpha.
|
|
28
|
-
"@nocobase/database": "2.4.0-alpha.
|
|
29
|
-
"@nocobase/actions": "2.4.0-alpha.
|
|
30
|
-
"@nocobase/test": "2.4.0-alpha.
|
|
31
|
-
"@nocobase/plugin-workflow-test": "2.4.0-alpha.
|
|
22
|
+
"@nocobase/plugin-workflow": "2.4.0-alpha.15",
|
|
23
|
+
"@nocobase/plugin-mobile": "2.4.0-alpha.15",
|
|
24
|
+
"@nocobase/flow-engine": "2.4.0-alpha.15",
|
|
25
|
+
"@nocobase/client-v2": "2.4.0-alpha.15",
|
|
26
|
+
"@nocobase/utils": "2.4.0-alpha.15",
|
|
27
|
+
"@nocobase/server": "2.4.0-alpha.15",
|
|
28
|
+
"@nocobase/database": "2.4.0-alpha.15",
|
|
29
|
+
"@nocobase/actions": "2.4.0-alpha.15",
|
|
30
|
+
"@nocobase/test": "2.4.0-alpha.15",
|
|
31
|
+
"@nocobase/plugin-workflow-test": "2.4.0-alpha.15",
|
|
32
32
|
"@formily/core": "2.3.7",
|
|
33
33
|
"sequelize": "6.35.2"
|
|
34
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"joi","description":"Object schema validation","version":"17.13.8","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-10-
|
|
1
|
+
{"name":"joi","description":"Object schema validation","version":"17.13.8","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-10-29T15:41:21.568Z"}
|
package/dist/server/actions.d.ts
CHANGED
|
@@ -8,4 +8,5 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Context } from '@nocobase/actions';
|
|
10
10
|
export declare function submit(context: Context, next: any): Promise<never>;
|
|
11
|
+
export declare function get(context: Context, next: any): Promise<void>;
|
|
11
12
|
export declare function listMine(context: Context, next: any): Promise<void>;
|
package/dist/server/actions.js
CHANGED
|
@@ -36,6 +36,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
36
36
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
37
37
|
var actions_exports = {};
|
|
38
38
|
__export(actions_exports, {
|
|
39
|
+
get: () => get,
|
|
39
40
|
listMine: () => listMine,
|
|
40
41
|
submit: () => submit
|
|
41
42
|
});
|
|
@@ -227,7 +228,15 @@ async function submit(context, next) {
|
|
|
227
228
|
plugin.getLogger(task.execution.workflowId).info(`manual node (${task.nodeId}) action trigger execution (${task.execution.id}) to resume`);
|
|
228
229
|
plugin.resume(task.job).catch(() => void 0);
|
|
229
230
|
}
|
|
231
|
+
async function get(context, next) {
|
|
232
|
+
(0, import_plugin_workflow.sanitizeWorkflowTaskReadParams)(context);
|
|
233
|
+
context.action.mergeParams({
|
|
234
|
+
filter: { userId: context.state.currentUser.id }
|
|
235
|
+
});
|
|
236
|
+
return import_actions.default.get(context, next);
|
|
237
|
+
}
|
|
230
238
|
async function listMine(context, next) {
|
|
239
|
+
(0, import_plugin_workflow.sanitizeWorkflowTaskReadParams)(context);
|
|
231
240
|
context.action.mergeParams({
|
|
232
241
|
filter: {
|
|
233
242
|
$and: [
|
|
@@ -252,6 +261,7 @@ async function listMine(context, next) {
|
|
|
252
261
|
}
|
|
253
262
|
// Annotate the CommonJS export names for ESM import in node:
|
|
254
263
|
0 && (module.exports = {
|
|
264
|
+
get,
|
|
255
265
|
listMine,
|
|
256
266
|
submit
|
|
257
267
|
});
|
package/package.json
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"description": "Could be used for workflows which some of decisions are made by users.",
|
|
7
7
|
"description.ru-RU": "Может использоваться в рабочих процессах, где какие-то решения принимаются пользователями.",
|
|
8
8
|
"description.zh-CN": "用于人工控制部分决策的流程。",
|
|
9
|
-
"version": "2.4.0-alpha.
|
|
9
|
+
"version": "2.4.0-alpha.15",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "./dist/server/index.js",
|
|
12
|
-
"homepage": "https://docs.nocobase.com/handbook/workflow-manual",
|
|
12
|
+
"homepage": "https://nocode.docs.nocobase.com/handbook/workflow-manual",
|
|
13
13
|
"homepage.ru-RU": "https://docs-ru.nocobase.com/handbook/workflow-manual",
|
|
14
14
|
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/workflow-manual",
|
|
15
15
|
"devDependencies": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@nocobase/test": "2.x",
|
|
38
38
|
"@nocobase/utils": "2.x"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "3a53e97f8f63766c61f1b94928a3aa873524027b",
|
|
41
41
|
"keywords": [
|
|
42
42
|
"Workflow"
|
|
43
43
|
]
|