@venturialstd/workflow 0.1.57 → 0.1.58

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.
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const generateUuidAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=generate-uuid.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-uuid.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/toolbox/actions/generate-uuid.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,kBAAkB,EAAE,qBAgBhC,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateUuidAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const generate_uuid_service_1 = require("../services/generate-uuid.service");
6
+ exports.generateUuidAction = {
7
+ key: 'generate-uuid',
8
+ name: 'Generate UUID',
9
+ description: 'Generate a unique UUID (v4)',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '🆔',
12
+ serviceClass: generate_uuid_service_1.GenerateUuidService,
13
+ inputs: [],
14
+ outputs: [
15
+ {
16
+ id: 'uuid',
17
+ name: 'UUID',
18
+ description: 'The generated UUID (v4)',
19
+ type: types_1.FIELD_TYPE.STRING,
20
+ },
21
+ ],
22
+ };
23
+ //# sourceMappingURL=generate-uuid.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-uuid.action.js","sourceRoot":"","sources":["../../../../src/modules/toolbox/actions/generate-uuid.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,6EAAwE;AAE3D,QAAA,kBAAkB,GAA0B;IACvD,GAAG,EAAE,eAAe;IACpB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,2CAAyE;IACvF,MAAM,EAAE,EAAE;IACV,OAAO,EAAE;QACP;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './generate-shortcode.action';
2
+ export * from './generate-uuid.action';
2
3
  export * from './resolve-shortcode.action';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/toolbox/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/toolbox/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./generate-shortcode.action"), exports);
18
+ __exportStar(require("./generate-uuid.action"), exports);
18
19
  __exportStar(require("./resolve-shortcode.action"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/toolbox/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/toolbox/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,yDAAuC;AACvC,6DAA2C"}
@@ -0,0 +1,6 @@
1
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
2
+ export declare class GenerateUuidService implements IWorkflowActionService {
3
+ constructor();
4
+ perform(_inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
5
+ }
6
+ //# sourceMappingURL=generate-uuid.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-uuid.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/toolbox/services/generate-uuid.service.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,mBAAoB,YAAW,sBAAsB;;IAG1D,OAAO,CACX,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,QAAQ,EAAE,qBAAqB,GAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAOpC"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GenerateUuidService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const uuid_1 = require("uuid");
15
+ let GenerateUuidService = class GenerateUuidService {
16
+ constructor() { }
17
+ async perform(_inputs, _context) {
18
+ const uuid = (0, uuid_1.v4)();
19
+ return {
20
+ uuid,
21
+ };
22
+ }
23
+ };
24
+ exports.GenerateUuidService = GenerateUuidService;
25
+ exports.GenerateUuidService = GenerateUuidService = __decorate([
26
+ (0, common_1.Injectable)(),
27
+ __metadata("design:paramtypes", [])
28
+ ], GenerateUuidService);
29
+ //# sourceMappingURL=generate-uuid.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-uuid.service.js","sourceRoot":"","sources":["../../../../src/modules/toolbox/services/generate-uuid.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+BAAoC;AAK7B,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,gBAAe,CAAC;IAEhB,KAAK,CAAC,OAAO,CACX,OAAgC,EAChC,QAA+B;QAE/B,MAAM,IAAI,GAAG,IAAA,SAAM,GAAE,CAAC;QAEtB,OAAO;YACL,IAAI;SACL,CAAC;IACJ,CAAC;CACF,CAAA;AAbY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;;GACA,mBAAmB,CAa/B"}
@@ -1,3 +1,4 @@
1
1
  export * from './generate-shortcode.service';
2
+ export * from './generate-uuid.service';
2
3
  export * from './resolve-shortcode.service';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/toolbox/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/toolbox/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC"}
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./generate-shortcode.service"), exports);
18
+ __exportStar(require("./generate-uuid.service"), exports);
18
19
  __exportStar(require("./resolve-shortcode.service"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/toolbox/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/toolbox/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C"}
@@ -1 +1 @@
1
- {"version":3,"file":"toolbox-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox-nest.module.ts"],"names":[],"mappings":"AAKA,qBAKa,iBAAiB;CAAG"}
1
+ {"version":3,"file":"toolbox-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox-nest.module.ts"],"names":[],"mappings":"AASA,qBAKa,iBAAiB;CAAG"}
@@ -16,8 +16,8 @@ exports.ToolboxNestModule = ToolboxNestModule;
16
16
  exports.ToolboxNestModule = ToolboxNestModule = __decorate([
17
17
  (0, common_1.Module)({
18
18
  imports: [toolbox_1.ToolboxModule],
19
- providers: [services_1.GenerateShortcodeService, services_1.ResolveShortcodeService],
20
- exports: [services_1.GenerateShortcodeService, services_1.ResolveShortcodeService],
19
+ providers: [services_1.GenerateShortcodeService, services_1.GenerateUuidService, services_1.ResolveShortcodeService],
20
+ exports: [services_1.GenerateShortcodeService, services_1.GenerateUuidService, services_1.ResolveShortcodeService],
21
21
  })
22
22
  ], ToolboxNestModule);
23
23
  //# sourceMappingURL=toolbox-nest.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolbox-nest.module.js","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mDAAsD;AAEtD,yCAA+E;AAOxE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAAG,CAAA;AAApB,8CAAiB;4BAAjB,iBAAiB;IAL7B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,uBAAa,CAAC;QACxB,SAAS,EAAE,CAAC,mCAAwB,EAAE,kCAAuB,CAAC;QAC9D,OAAO,EAAE,CAAC,mCAAwB,EAAE,kCAAuB,CAAC;KAC7D,CAAC;GACW,iBAAiB,CAAG"}
1
+ {"version":3,"file":"toolbox-nest.module.js","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mDAAsD;AAEtD,yCAIoB;AAOb,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAAG,CAAA;AAApB,8CAAiB;4BAAjB,iBAAiB;IAL7B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,uBAAa,CAAC;QACxB,SAAS,EAAE,CAAC,mCAAwB,EAAE,8BAAmB,EAAE,kCAAuB,CAAC;QACnF,OAAO,EAAE,CAAC,mCAAwB,EAAE,8BAAmB,EAAE,kCAAuB,CAAC;KAClF,CAAC;GACW,iBAAiB,CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"toolbox.module.d.ts","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAGpD,eAAO,MAAM,aAAa,EAAE,wBAQ3B,CAAC"}
1
+ {"version":3,"file":"toolbox.module.d.ts","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAOpD,eAAO,MAAM,aAAa,EAAE,wBAQ3B,CAAC"}
@@ -5,10 +5,10 @@ const actions_1 = require("./actions");
5
5
  exports.toolboxModule = {
6
6
  key: 'toolbox',
7
7
  name: 'Toolbox',
8
- description: 'Generate and resolve shortcodes for storing and retrieving data',
8
+ description: 'Generate and resolve shortcodes, UUIDs, and other utility functions',
9
9
  icon: '🔧',
10
10
  version: '1.0.0',
11
- actions: [actions_1.generateShortcodeAction, actions_1.resolveShortcodeAction],
11
+ actions: [actions_1.generateShortcodeAction, actions_1.generateUuidAction, actions_1.resolveShortcodeAction],
12
12
  triggers: [],
13
13
  };
14
14
  //# sourceMappingURL=toolbox.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolbox.module.js","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox.module.ts"],"names":[],"mappings":";;;AACA,uCAA4E;AAE/D,QAAA,aAAa,GAA6B;IACrD,GAAG,EAAE,SAAS;IACd,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,iEAAiE;IAC9E,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,iCAAuB,EAAE,gCAAsB,CAAC;IAC1D,QAAQ,EAAE,EAAE;CACb,CAAC"}
1
+ {"version":3,"file":"toolbox.module.js","sourceRoot":"","sources":["../../../src/modules/toolbox/toolbox.module.ts"],"names":[],"mappings":";;;AACA,uCAImB;AAEN,QAAA,aAAa,GAA6B;IACrD,GAAG,EAAE,SAAS;IACd,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,qEAAqE;IAClF,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,iCAAuB,EAAE,4BAAkB,EAAE,gCAAsB,CAAC;IAC9E,QAAQ,EAAE,EAAE;CACb,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venturialstd/workflow",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "description": "Workflow Module for Venturial",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",