@ldsg/workflow-node-type 0.3.7 → 0.3.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.
@@ -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,CAyBpG,CAAC"}
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: (import("@ldsg/types").ResourceRecord<import("@ldsg/handler").HandlerSpecificResourceSettings> | import("@ldsg/types").ResourceRecord<import("..").WorkflowNodeTypeSpecificResourceSettings>)[];
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,iMAK/C,CAAC"}
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,CAyBtG,CAAC"}
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;AACvD,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AAEnE,MAAM,WAAW,wCACf,SAAQ,wBAAwB;IAChC;;OAEG;IACH,4BAA4B,EAAE,iCAAiC,CAAC;CACjE"}
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.7",
3
+ "version": "0.3.9",
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.7",
21
- "@ldsg/resource": "0.3.7",
22
- "@ldsg/resource-definition": "0.3.7",
23
- "@ldsg/workflow": "0.3.7"
20
+ "@ldsg/handler": "0.3.9",
21
+ "@ldsg/resource": "0.3.9",
22
+ "@ldsg/resource-definition": "0.3.9",
23
+ "@ldsg/workflow": "0.3.9"
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.7"
28
+ "@ldsg/types": "0.3.9"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "tsc --project tsconfig.build.json",