@nocobase/plugin-workflow-test 1.8.0-alpha.9 → 1.8.0-beta.10
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
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "1.8.0-
|
|
12
|
-
"@nocobase/utils": "1.8.0-
|
|
11
|
+
"@nocobase/client": "1.8.0-beta.10",
|
|
12
|
+
"@nocobase/utils": "1.8.0-beta.10",
|
|
13
13
|
"lodash": "4.17.21",
|
|
14
|
-
"@nocobase/test": "1.8.0-
|
|
15
|
-
"@nocobase/server": "1.8.0-
|
|
16
|
-
"@nocobase/data-source-manager": "1.8.0-
|
|
17
|
-
"@nocobase/database": "1.8.0-
|
|
14
|
+
"@nocobase/test": "1.8.0-beta.10",
|
|
15
|
+
"@nocobase/server": "1.8.0-beta.10",
|
|
16
|
+
"@nocobase/data-source-manager": "1.8.0-beta.10",
|
|
17
|
+
"@nocobase/database": "1.8.0-beta.10"
|
|
18
18
|
};
|
|
@@ -53,19 +53,6 @@ declare const _default: {
|
|
|
53
53
|
run(node: any, input: any, processor: any): Promise<any>;
|
|
54
54
|
resume(node: any, job: any, processor: any): any;
|
|
55
55
|
};
|
|
56
|
-
timeConsume: {
|
|
57
|
-
run({ config }: {
|
|
58
|
-
config: any;
|
|
59
|
-
}, input: any, processor: any): Promise<{
|
|
60
|
-
status: number;
|
|
61
|
-
}>;
|
|
62
|
-
};
|
|
63
|
-
recordAppName: {
|
|
64
|
-
run(node: any, input: any, processor: any): {
|
|
65
|
-
status: number;
|
|
66
|
-
result: any;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
56
|
customizedSuccess: {
|
|
70
57
|
run(node: any, input: any, processor: any): {
|
|
71
58
|
status: number;
|
|
@@ -29,7 +29,6 @@ __export(instructions_exports, {
|
|
|
29
29
|
default: () => instructions_default
|
|
30
30
|
});
|
|
31
31
|
module.exports = __toCommonJS(instructions_exports);
|
|
32
|
-
var import_test = require("@nocobase/test");
|
|
33
32
|
var import_utils = require("@nocobase/utils");
|
|
34
33
|
var instructions_default = {
|
|
35
34
|
echo: {
|
|
@@ -120,23 +119,6 @@ var instructions_default = {
|
|
|
120
119
|
return job;
|
|
121
120
|
}
|
|
122
121
|
},
|
|
123
|
-
timeConsume: {
|
|
124
|
-
async run({ config }, input, processor) {
|
|
125
|
-
const { duration = 1e3 } = config;
|
|
126
|
-
await (0, import_test.sleep)(duration);
|
|
127
|
-
return {
|
|
128
|
-
status: 1
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
recordAppName: {
|
|
133
|
-
run(node, input, processor) {
|
|
134
|
-
return {
|
|
135
|
-
status: 1,
|
|
136
|
-
result: processor.options.plugin.app.name
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
122
|
customizedSuccess: {
|
|
141
123
|
run(node, input, processor) {
|
|
142
124
|
return {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nocobase/plugin-workflow-test",
|
|
3
3
|
"displayName": "Workflow: test kit",
|
|
4
4
|
"displayName.zh-CN": "工作流:测试工具包",
|
|
5
|
-
"version": "1.8.0-
|
|
5
|
+
"version": "1.8.0-beta.10",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"main": "dist/server/index.js",
|
|
8
8
|
"types": "./dist/server/index.d.ts",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
"@nocobase/server": "1.x",
|
|
12
12
|
"@nocobase/test": "1.x"
|
|
13
13
|
},
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "09fe854edfc44f45422fa983093dd34694416c5a"
|
|
15
15
|
}
|