@ldsg/workflow-node-type 0.3.7 → 0.3.8
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/__tests__/unit.js +0 -10
- package/dist/resource-records/end/index.d.ts.map +1 -1
- package/dist/resource-records/end/index.js +0 -15
- package/dist/resource-records/index.d.ts +1 -1
- package/dist/resource-records/index.d.ts.map +1 -1
- package/dist/resource-records/start/index.d.ts.map +1 -1
- package/dist/resource-records/start/index.js +0 -15
- package/dist/types/specific-resource-settings.d.ts +0 -5
- package/dist/types/specific-resource-settings.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/__tests__/unit.js
CHANGED
|
@@ -29,16 +29,6 @@ test("field type", async () => {
|
|
|
29
29
|
settings: {
|
|
30
30
|
title: "文本",
|
|
31
31
|
description: "可用来存储各种文本",
|
|
32
|
-
workflowNodePropertiesSchema: {
|
|
33
|
-
type: "object",
|
|
34
|
-
properties: {
|
|
35
|
-
name: {
|
|
36
|
-
type: "string",
|
|
37
|
-
title: "名称",
|
|
38
|
-
description: "",
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
32
|
handlerResourceId: "test-handler",
|
|
43
33
|
},
|
|
44
34
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resource-records/end/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAGvE,cAAc,WAAW,CAAC;AAE1B,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,wCAAwC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resource-records/end/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAGvE,cAAc,WAAW,CAAC;AAE1B,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,wCAAwC,CAUpG,CAAC"}
|
|
@@ -27,21 +27,6 @@ exports.endWorkflowNodeTypeResourceRecord = {
|
|
|
27
27
|
settings: {
|
|
28
28
|
title: "结束工作流节点类型",
|
|
29
29
|
description: "",
|
|
30
|
-
workflowNodePropertiesSchema: {
|
|
31
|
-
type: "object",
|
|
32
|
-
properties: {
|
|
33
|
-
input: {
|
|
34
|
-
type: "object",
|
|
35
|
-
properties: {},
|
|
36
|
-
additionalItems: true,
|
|
37
|
-
},
|
|
38
|
-
output: {
|
|
39
|
-
type: "object",
|
|
40
|
-
properties: {},
|
|
41
|
-
additionalItems: true,
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
30
|
handlerResourceId: constants_3.END_WORKFLOW_NODE_TYPE_HANDLER_RESOURCE_ID,
|
|
46
31
|
},
|
|
47
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from "./end";
|
|
2
2
|
export * from "./start";
|
|
3
|
-
export declare const WORKFLOW_NODE_TYPE_RESOURCE_RECORDS:
|
|
3
|
+
export declare const WORKFLOW_NODE_TYPE_RESOURCE_RECORDS: import("@ldsg/types").ResourceRecord<import("..").WorkflowNodeTypeSpecificResourceSettings>[];
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resource-records/index.ts"],"names":[],"mappings":"AASA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resource-records/index.ts"],"names":[],"mappings":"AASA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,mCAAmC,+FAK/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resource-records/start/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAGvE,cAAc,WAAW,CAAC;AAE1B,eAAO,MAAM,mCAAmC,EAAE,cAAc,CAAC,wCAAwC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resource-records/start/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAGvE,cAAc,WAAW,CAAC;AAE1B,eAAO,MAAM,mCAAmC,EAAE,cAAc,CAAC,wCAAwC,CAUtG,CAAC"}
|
|
@@ -27,21 +27,6 @@ exports.startWorkflowNodeTypeResourceRecord = {
|
|
|
27
27
|
settings: {
|
|
28
28
|
title: "开始",
|
|
29
29
|
description: "",
|
|
30
|
-
workflowNodePropertiesSchema: {
|
|
31
|
-
type: "object",
|
|
32
|
-
properties: {
|
|
33
|
-
input: {
|
|
34
|
-
type: "object",
|
|
35
|
-
properties: {},
|
|
36
|
-
additionalItems: true,
|
|
37
|
-
},
|
|
38
|
-
output: {
|
|
39
|
-
type: "object",
|
|
40
|
-
properties: {},
|
|
41
|
-
additionalItems: true,
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
30
|
handlerResourceId: constants_3.START_WORKFLOW_NODE_TYPE_HANDLER_RESOURCE_ID,
|
|
46
31
|
},
|
|
47
32
|
};
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { SpecificResourceSettings } from "@ldsg/types";
|
|
2
|
-
import { JSONSchemaWithExpressionExtension } from "@ldsg/workflow";
|
|
3
2
|
export interface WorkflowNodeTypeSpecificResourceSettings extends SpecificResourceSettings {
|
|
4
|
-
/**
|
|
5
|
-
* Workflow Node Properties Schema
|
|
6
|
-
*/
|
|
7
|
-
workflowNodePropertiesSchema: JSONSchemaWithExpressionExtension;
|
|
8
3
|
}
|
|
9
4
|
//# sourceMappingURL=specific-resource-settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specific-resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/specific-resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"specific-resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/specific-resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,wCACf,SAAQ,wBAAwB;CAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/workflow-node-type",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"json-schema": "0.4.0",
|
|
18
18
|
"jsonata": "^2.0.6",
|
|
19
19
|
"lodash": "^4.17.21",
|
|
20
|
-
"@ldsg/handler": "0.3.
|
|
21
|
-
"@ldsg/resource": "0.3.
|
|
22
|
-
"@ldsg/
|
|
23
|
-
"@ldsg/
|
|
20
|
+
"@ldsg/handler": "0.3.8",
|
|
21
|
+
"@ldsg/resource-definition": "0.3.8",
|
|
22
|
+
"@ldsg/workflow": "0.3.8",
|
|
23
|
+
"@ldsg/resource": "0.3.8"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/json-schema": "^7.0.15",
|
|
27
27
|
"@types/lodash": "^4.14.202",
|
|
28
|
-
"@ldsg/types": "0.3.
|
|
28
|
+
"@ldsg/types": "0.3.8"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "tsc --project tsconfig.build.json",
|