@ldsg/workflow-node-type 0.3.24 → 0.3.26

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-present Sebastian McKenzie and other contributors
3
+ Copyright (c) 2014-present Wanxger and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,sDAAsD,EAAE,uBAGpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uDAAuD,EAAE,+BAOrE,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,uBAG3D,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,0CAG5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kDAAkD,EAAE,uBAGhE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mDAAmD,EAAE,+BAkBjE,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,sDAAsD,EAAE,uBAGpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uDAAuD,EAAE,+BAOrE,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,uBAG3D,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,0CAE5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kDAAkD,EAAE,uBAGhE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mDAAmD,EAAE,+BAkBjE,CAAC"}
package/dist/constants.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_EXTENDED_HANDLER_SPECIFIC_RESOURCE_SETTINGS = exports.DEFAULT_EXTENDED_HANDLER_GENERAL_RESOURCE_SETTINGS = exports.RESOURCE_DEFINITION_SPECIFIC_RESOURCE_SETTINGS = exports.RESOURCE_DEFINITION_GENERAL_RESOURCE_SETTINGS = exports.INSTANTIATE_RESOURCE_HANDLER_SPECIFIC_RESOURCE_SETTINGS = exports.INSTANTIATE_RESOURCE_HANDLER_GENERAL_RESOURCE_SETTINGS = void 0;
4
- const constants_1 = require("@ldsg/constants");
5
4
  /**
6
5
  * Instantiate Resource Handler General Resource Settings
7
6
  * 实例化资源处理程序普通资源配置
@@ -28,8 +27,7 @@ exports.RESOURCE_DEFINITION_GENERAL_RESOURCE_SETTINGS = {
28
27
  description: ''
29
28
  };
30
29
  exports.RESOURCE_DEFINITION_SPECIFIC_RESOURCE_SETTINGS = {
31
- kind: 'workflow_node_type',
32
- parentKind: constants_1.ROOT_RESOURCE_KIND
30
+ kind: 'workflow_node_type'
33
31
  };
34
32
  /**
35
33
  * Default Extended Handler General Resource Settings
@@ -1,4 +1,6 @@
1
1
  export * from './end';
2
2
  export * from './start';
3
- export declare const WORKFLOW_NODE_TYPE_RESOURCE_RECORDS: import("@ldsg/types").ResourceRecord<import("..").WorkflowNodeTypeSpecificResourceSettings>[];
3
+ export declare const WORKFLOW_NODE_TYPE_RESOURCE_RECORDS: import("@ldsg/types").ResourceRecord<{
4
+ [x: string]: any;
5
+ }>[];
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resource-records/index.ts"],"names":[],"mappings":"AAGA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,mCAAmC,+FAK/C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resource-records/index.ts"],"names":[],"mappings":"AAGA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,mCAAmC;;IAK/C,CAAC"}
@@ -1,4 +1,5 @@
1
- import { SpecificResourceSettings } from '@ldsg/types';
2
- export interface WorkflowNodeTypeSpecificResourceSettings extends SpecificResourceSettings {
3
- }
1
+ import { z } from 'zod';
2
+ export declare const WorkflowNodeTypeSpecificResourceSettingsSchema: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
3
+ export declare const SpecificResourceSettingsSchema: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
4
+ export type WorkflowNodeTypeSpecificResourceSettings = z.infer<typeof WorkflowNodeTypeSpecificResourceSettingsSchema>;
4
5
  //# 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;AAEvD,MAAM,WAAW,wCAAyC,SAAQ,wBAAwB;CAAG"}
1
+ {"version":3,"file":"specific-resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/specific-resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,8CAA8C,6CAAiC,CAAC;AAE7F,eAAO,MAAM,8BAA8B,6CAAiD,CAAC;AAC7F,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,8CAA8C,CACtD,CAAC"}
@@ -1,2 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpecificResourceSettingsSchema = exports.WorkflowNodeTypeSpecificResourceSettingsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.WorkflowNodeTypeSpecificResourceSettingsSchema = zod_1.z.object({}).catchall(zod_1.z.any());
6
+ exports.SpecificResourceSettingsSchema = exports.WorkflowNodeTypeSpecificResourceSettingsSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/workflow-node-type",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,11 +14,12 @@
14
14
  "json-schema": "0.4.0",
15
15
  "jsonata": "^2.0.6",
16
16
  "lodash": "^4.17.21",
17
- "@ldsg/constants": "0.3.24",
18
- "@ldsg/resource": "0.3.24",
19
- "@ldsg/resource-definition": "0.3.24",
20
- "@ldsg/workflow": "0.3.24",
21
- "@ldsg/handler": "0.3.24"
17
+ "zod": "^4.1.11",
18
+ "@ldsg/constants": "0.3.26",
19
+ "@ldsg/handler": "0.3.26",
20
+ "@ldsg/resource": "0.3.26",
21
+ "@ldsg/resource-definition": "0.3.26",
22
+ "@ldsg/workflow": "0.3.26"
22
23
  },
23
24
  "devDependencies": {
24
25
  "@types/jest": "^29.5.2",
@@ -29,7 +30,7 @@
29
30
  "ts-jest": "^29.1.5",
30
31
  "ts-node": "^10.9.2",
31
32
  "typescript": "^5.8.3",
32
- "@ldsg/types": "0.3.24"
33
+ "@ldsg/types": "0.3.26"
33
34
  },
34
35
  "publishConfig": {
35
36
  "access": "public"