@nocobase/plugin-workflow-test 2.1.0-alpha.19 → 2.1.0-alpha.20

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.
@@ -8,11 +8,11 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.1.0-alpha.19",
12
- "@nocobase/utils": "2.1.0-alpha.19",
11
+ "@nocobase/client": "2.1.0-alpha.20",
12
+ "@nocobase/utils": "2.1.0-alpha.20",
13
13
  "lodash": "4.18.1",
14
- "@nocobase/test": "2.1.0-alpha.19",
15
- "@nocobase/server": "2.1.0-alpha.19",
16
- "@nocobase/data-source-manager": "2.1.0-alpha.19",
17
- "@nocobase/database": "2.1.0-alpha.19"
14
+ "@nocobase/test": "2.1.0-alpha.20",
15
+ "@nocobase/server": "2.1.0-alpha.20",
16
+ "@nocobase/data-source-manager": "2.1.0-alpha.20",
17
+ "@nocobase/database": "2.1.0-alpha.20"
18
18
  };
@@ -79,5 +79,12 @@ declare const _default: {
79
79
  status: number;
80
80
  };
81
81
  };
82
+ log: {
83
+ run({ config }: any, input: any, processor: any): {
84
+ status: number;
85
+ result: any;
86
+ log: any;
87
+ };
88
+ };
82
89
  };
83
90
  export default _default;
@@ -164,5 +164,14 @@ var instructions_default = {
164
164
  status: -100
165
165
  };
166
166
  }
167
+ },
168
+ log: {
169
+ run({ config = {} }, input, processor) {
170
+ return {
171
+ status: 1,
172
+ result: config.result ?? null,
173
+ log: config.log ?? null
174
+ };
175
+ }
167
176
  }
168
177
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "displayName": "Workflow: test kit",
4
4
  "displayName.ru-RU": "Рабочий процесс: Набор тестов",
5
5
  "displayName.zh-CN": "工作流:测试工具包",
6
- "version": "2.1.0-alpha.19",
6
+ "version": "2.1.0-alpha.20",
7
7
  "license": "Apache-2.0",
8
8
  "main": "dist/server/index.js",
9
9
  "types": "./dist/server/index.d.ts",
@@ -15,5 +15,5 @@
15
15
  "nocobase": {
16
16
  "internal": true
17
17
  },
18
- "gitHead": "3d13700360eac1c0f9dbf6a5f167ed396a294a3c"
18
+ "gitHead": "3d1535db6bf93ca23257faf474afee0d565f54c6"
19
19
  }