@ldsg/forms 0.2.6 → 0.2.9
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.
|
@@ -167,6 +167,8 @@ test("forms", () => {
|
|
|
167
167
|
settings: {
|
|
168
168
|
title: "测试工作流1",
|
|
169
169
|
description: "",
|
|
170
|
+
startWorkflowNodeResourceId: "",
|
|
171
|
+
endWorkflowNodeResourceId: "",
|
|
170
172
|
},
|
|
171
173
|
});
|
|
172
174
|
new workflow_1.WorkflowResource({
|
|
@@ -176,6 +178,8 @@ test("forms", () => {
|
|
|
176
178
|
settings: {
|
|
177
179
|
title: "测试工作流2",
|
|
178
180
|
description: "",
|
|
181
|
+
startWorkflowNodeResourceId: "",
|
|
182
|
+
endWorkflowNodeResourceId: "",
|
|
179
183
|
},
|
|
180
184
|
});
|
|
181
185
|
new MockFormResource({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/get-new-fields/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EACL,0CAA0C,EAE3C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,UAAU,kBAAmB,SAAQ,oBAAoB;IACvD,YAAY,EAAE,QAAQ,EAAE,CAAC;CAC1B;AAED,UAAU,eAAe;IACvB,SAAS,EAAE,0CAA0C,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;CACjE;AAED,KAAK,YAAY,GAAG,CAAC,MAAM,EAAE,kBAAkB,KAAK,eAAe,CAAC;AAEpE,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/get-new-fields/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EACL,0CAA0C,EAE3C,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,UAAU,kBAAmB,SAAQ,oBAAoB;IACvD,YAAY,EAAE,QAAQ,EAAE,CAAC;CAC1B;AAED,UAAU,eAAe;IACvB,SAAS,EAAE,0CAA0C,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;CACjE;AAED,KAAK,YAAY,GAAG,CAAC,MAAM,EAAE,kBAAkB,KAAK,eAAe,CAAC;AAEpE,eAAO,MAAM,YAAY,EAAE,YA+C1B,CAAC"}
|
|
@@ -20,8 +20,9 @@ const getNewFields = (params) => {
|
|
|
20
20
|
type: outputOTC,
|
|
21
21
|
args: inputITC.getFields(),
|
|
22
22
|
resolve: async (resolveParams) => {
|
|
23
|
+
const { args } = resolveParams;
|
|
23
24
|
const { endNodeOutputVariables } = await workflowInfo.execute({
|
|
24
|
-
startNodeInputVariables:
|
|
25
|
+
startNodeInputVariables: args,
|
|
25
26
|
});
|
|
26
27
|
return endNodeOutputVariables;
|
|
27
28
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/forms",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"@ldsg/handler": "0.2.
|
|
19
|
-
"@ldsg/resource": "0.2.
|
|
20
|
-
"@ldsg/resource-definition": "0.2.
|
|
18
|
+
"@ldsg/handler": "0.2.9",
|
|
19
|
+
"@ldsg/resource": "0.2.9",
|
|
20
|
+
"@ldsg/resource-definition": "0.2.9"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/lodash": "^4.14.202",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"graphql": "16.11.0",
|
|
26
26
|
"graphql-compose": "^9.1.0",
|
|
27
27
|
"supertest": "^6.3.4",
|
|
28
|
-
"@ldsg/application": "0.2.
|
|
29
|
-
"@ldsg/
|
|
30
|
-
"@ldsg/
|
|
31
|
-
"@ldsg/object": "0.2.
|
|
32
|
-
"@ldsg/
|
|
33
|
-
"@ldsg/types": "0.2.
|
|
34
|
-
"@ldsg/workflow": "0.2.
|
|
28
|
+
"@ldsg/application": "0.2.9",
|
|
29
|
+
"@ldsg/object": "0.2.9",
|
|
30
|
+
"@ldsg/field-type": "0.2.9",
|
|
31
|
+
"@ldsg/object-field": "0.2.9",
|
|
32
|
+
"@ldsg/graphql": "0.2.9",
|
|
33
|
+
"@ldsg/types": "0.2.9",
|
|
34
|
+
"@ldsg/workflow": "0.2.9"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsc --project tsconfig.build.json",
|