@venturialstd/workflow 0.1.76 β†’ 0.1.78

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.
@@ -1,2 +1,3 @@
1
1
  export * from './evaluate-condition.action';
2
+ export * from './map-value.action';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC"}
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./evaluate-condition.action"), exports);
18
+ __exportStar(require("./map-value.action"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,qDAAmC"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const mapValueAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=map-value.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-value.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/map-value.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG/E,eAAO,MAAM,cAAc,EAAE,qBAiF5B,CAAC"}
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mapValueAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const map_value_service_1 = require("../services/map-value.service");
6
+ exports.mapValueAction = {
7
+ key: 'map-value',
8
+ name: 'Map Value',
9
+ description: 'Map an input value to a specific output value based on conditions',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: 'πŸ—ΊοΈ',
12
+ serviceClass: map_value_service_1.MapValueService,
13
+ inputs: [
14
+ {
15
+ id: 'inputValue',
16
+ name: 'Input Value',
17
+ description: 'The value to map (can be a variable reference)',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ },
22
+ placeholder: 'Enter value or {{variable}}',
23
+ },
24
+ {
25
+ id: 'mappings',
26
+ name: 'Value Mappings',
27
+ description: 'Array of mapping rules. Each rule needs: condition, value, mappedValue. Format: [{ condition: "equals", value: "input", mappedValue: "output" }]',
28
+ type: types_1.FIELD_TYPE.ARRAY,
29
+ validation: {
30
+ required: true,
31
+ },
32
+ defaultValue: [
33
+ {
34
+ condition: 'equals',
35
+ value: '',
36
+ mappedValue: '',
37
+ },
38
+ ],
39
+ },
40
+ {
41
+ id: 'defaultValue',
42
+ name: 'Default Value',
43
+ description: 'Value to return if no mapping matches',
44
+ type: types_1.FIELD_TYPE.STRING,
45
+ validation: {
46
+ required: false,
47
+ },
48
+ placeholder: 'Default value if no match',
49
+ },
50
+ {
51
+ id: 'caseSensitive',
52
+ name: 'Case Sensitive',
53
+ description: 'Whether string comparisons should be case sensitive',
54
+ type: types_1.FIELD_TYPE.BOOLEAN,
55
+ validation: {
56
+ required: false,
57
+ },
58
+ defaultValue: false,
59
+ },
60
+ ],
61
+ outputs: [
62
+ {
63
+ id: 'mappedValue',
64
+ name: 'Mapped Value',
65
+ description: 'The resulting mapped value',
66
+ type: types_1.FIELD_TYPE.STRING,
67
+ },
68
+ {
69
+ id: 'matched',
70
+ name: 'Matched',
71
+ description: 'Whether a mapping was found',
72
+ type: types_1.FIELD_TYPE.BOOLEAN,
73
+ },
74
+ {
75
+ id: 'originalValue',
76
+ name: 'Original Value',
77
+ description: 'The original input value',
78
+ type: types_1.FIELD_TYPE.STRING,
79
+ },
80
+ {
81
+ id: 'matchedCondition',
82
+ name: 'Matched Condition',
83
+ description: 'The condition that matched',
84
+ type: types_1.FIELD_TYPE.STRING,
85
+ },
86
+ ],
87
+ };
88
+ //# sourceMappingURL=map-value.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-value.action.js","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/map-value.action.ts"],"names":[],"mappings":";;;AAAA,uCAA+E;AAC/E,qEAAgE;AAEnD,QAAA,cAAc,GAA0B;IACnD,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,mEAAmE;IAChF,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,mCAAe;IAC7B,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,gDAAgD;YAC7D,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,6BAA6B;SAC3C;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,kJAAkJ;YAC/J,IAAI,EAAE,kBAAU,CAAC,KAAK;YACtB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,YAAY,EAAE;gBACZ;oBACE,SAAS,EAAE,QAAQ;oBACnB,KAAK,EAAE,EAAE;oBACT,WAAW,EAAE,EAAE;iBAChB;aACF;SACF;QACD;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,2BAA2B;SACzC;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,qDAAqD;YAClE,IAAI,EAAE,kBAAU,CAAC,OAAO;YACxB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,kBAAkB;YACtB,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"conditional-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":"AAIA,qBAIa,qBAAqB;CAAG"}
1
+ {"version":3,"file":"conditional-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":"AASA,qBAca,qBAAqB;CAAG"}
@@ -14,8 +14,18 @@ let ConditionalNestModule = class ConditionalNestModule {
14
14
  exports.ConditionalNestModule = ConditionalNestModule;
15
15
  exports.ConditionalNestModule = ConditionalNestModule = __decorate([
16
16
  (0, common_1.Module)({
17
- providers: [services_1.EvaluateConditionService, services_1.ConditionMetService, services_1.ConditionNotMetService],
18
- exports: [services_1.EvaluateConditionService, services_1.ConditionMetService, services_1.ConditionNotMetService],
17
+ providers: [
18
+ services_1.EvaluateConditionService,
19
+ services_1.ConditionMetService,
20
+ services_1.ConditionNotMetService,
21
+ services_1.MapValueService,
22
+ ],
23
+ exports: [
24
+ services_1.EvaluateConditionService,
25
+ services_1.ConditionMetService,
26
+ services_1.ConditionNotMetService,
27
+ services_1.MapValueService,
28
+ ],
19
29
  })
20
30
  ], ConditionalNestModule);
21
31
  //# sourceMappingURL=conditional-nest.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"conditional-nest.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,yCAAmG;AAM5F,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAAG,CAAA;AAAxB,sDAAqB;gCAArB,qBAAqB;IAJjC,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,mCAAwB,EAAE,8BAAmB,EAAE,iCAAsB,CAAC;QAClF,OAAO,EAAE,CAAC,mCAAwB,EAAE,8BAAmB,EAAE,iCAAsB,CAAC;KACjF,CAAC;GACW,qBAAqB,CAAG"}
1
+ {"version":3,"file":"conditional-nest.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,yCAKoB;AAgBb,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAAG,CAAA;AAAxB,sDAAqB;gCAArB,qBAAqB;IAdjC,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT,mCAAwB;YACxB,8BAAmB;YACnB,iCAAsB;YACtB,0BAAe;SAChB;QACD,OAAO,EAAE;YACP,mCAAwB;YACxB,8BAAmB;YACnB,iCAAsB;YACtB,0BAAe;SAChB;KACF,CAAC;GACW,qBAAqB,CAAG"}
@@ -11,7 +11,7 @@ exports.conditionalModule = {
11
11
  icon: 'πŸ”€',
12
12
  version: '1.0.0',
13
13
  credentialFields: credentials_1.conditionalCredentials,
14
- actions: [actions_1.evaluateConditionAction],
14
+ actions: [actions_1.evaluateConditionAction, actions_1.mapValueAction],
15
15
  triggers: [triggers_1.conditionMetTrigger, triggers_1.conditionNotMetTrigger],
16
16
  };
17
17
  //# sourceMappingURL=conditional.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"conditional.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional.module.ts"],"names":[],"mappings":";;;AACA,uCAAoD;AACpD,+CAAuD;AACvD,yCAAyE;AAE5D,QAAA,iBAAiB,GAA6B;IACzD,GAAG,EAAE,aAAa;IAClB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,qCAAqC;IAClD,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,oCAAsB;IACxC,OAAO,EAAE,CAAC,iCAAuB,CAAC;IAClC,QAAQ,EAAE,CAAC,8BAAmB,EAAE,iCAAsB,CAAC;CACxD,CAAC"}
1
+ {"version":3,"file":"conditional.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional.module.ts"],"names":[],"mappings":";;;AACA,uCAAoE;AACpE,+CAAuD;AACvD,yCAAyE;AAE5D,QAAA,iBAAiB,GAA6B;IACzD,GAAG,EAAE,aAAa;IAClB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,qCAAqC;IAClD,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,oCAAsB;IACxC,OAAO,EAAE,CAAC,iCAAuB,EAAE,wBAAc,CAAC;IAClD,QAAQ,EAAE,CAAC,8BAAmB,EAAE,iCAAsB,CAAC;CACxD,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './condition-met.service';
2
2
  export * from './condition-not-met.service';
3
3
  export * from './evaluate-condition.service';
4
+ export * from './map-value.service';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC"}
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./condition-met.service"), exports);
18
18
  __exportStar(require("./condition-not-met.service"), exports);
19
19
  __exportStar(require("./evaluate-condition.service"), exports);
20
+ __exportStar(require("./map-value.service"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,sDAAoC"}
@@ -0,0 +1,5 @@
1
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
2
+ export declare class MapValueService implements IWorkflowActionService {
3
+ perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
4
+ }
5
+ //# sourceMappingURL=map-value.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-value.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/services/map-value.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAwF5E,qBACa,eAAgB,YAAW,sBAAsB;IACtD,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CA8CpC"}
@@ -0,0 +1,108 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.MapValueService = void 0;
10
+ const common_1 = require("@nestjs/common");
11
+ function resolveVariableReference(value, context) {
12
+ if (!value)
13
+ return value;
14
+ let resolvedValue = value.trim();
15
+ if (resolvedValue.startsWith('{{') && resolvedValue.endsWith('}}')) {
16
+ resolvedValue = resolvedValue.slice(2, -2).trim();
17
+ const parts = resolvedValue.split('.');
18
+ let result = context.previousOutputs;
19
+ for (const part of parts) {
20
+ if (result && typeof result === 'object' && part in result) {
21
+ result = result[part];
22
+ }
23
+ else {
24
+ return value;
25
+ }
26
+ }
27
+ return String(result);
28
+ }
29
+ return value;
30
+ }
31
+ function evaluateCondition(inputValue, condition, compareValue, caseSensitive) {
32
+ const normalizedInput = caseSensitive ? inputValue : inputValue.toLowerCase();
33
+ const normalizedCompare = caseSensitive ? compareValue : compareValue.toLowerCase();
34
+ switch (condition) {
35
+ case 'equals':
36
+ return normalizedInput === normalizedCompare;
37
+ case 'not_equals':
38
+ return normalizedInput !== normalizedCompare;
39
+ case 'contains':
40
+ return normalizedInput.includes(normalizedCompare);
41
+ case 'not_contains':
42
+ return !normalizedInput.includes(normalizedCompare);
43
+ case 'starts_with':
44
+ return normalizedInput.startsWith(normalizedCompare);
45
+ case 'ends_with':
46
+ return normalizedInput.endsWith(normalizedCompare);
47
+ case 'greater_than':
48
+ return Number(inputValue) > Number(compareValue);
49
+ case 'less_than':
50
+ return Number(inputValue) < Number(compareValue);
51
+ case 'greater_than_or_equal':
52
+ return Number(inputValue) >= Number(compareValue);
53
+ case 'less_than_or_equal':
54
+ return Number(inputValue) <= Number(compareValue);
55
+ case 'regex':
56
+ try {
57
+ const regex = new RegExp(compareValue, caseSensitive ? '' : 'i');
58
+ return regex.test(inputValue);
59
+ }
60
+ catch (error) {
61
+ console.error('Invalid regex pattern:', compareValue, error);
62
+ return false;
63
+ }
64
+ case 'is_empty':
65
+ return !inputValue || inputValue.trim() === '';
66
+ case 'is_not_empty':
67
+ return !!inputValue && inputValue.trim() !== '';
68
+ default:
69
+ return false;
70
+ }
71
+ }
72
+ let MapValueService = class MapValueService {
73
+ async perform(inputs, context) {
74
+ let inputValue = inputs.inputValue;
75
+ if (!inputValue) {
76
+ inputValue = '';
77
+ }
78
+ const resolvedInput = resolveVariableReference(inputValue, context);
79
+ const mappings = inputs.mappings || [];
80
+ const defaultValue = inputs.defaultValue || '';
81
+ const caseSensitive = inputs.caseSensitive ?? false;
82
+ for (const mapping of mappings) {
83
+ const condition = mapping.condition || 'equals';
84
+ const compareValue = mapping.value || '';
85
+ const mappedValue = mapping.mappedValue || '';
86
+ const matches = evaluateCondition(resolvedInput, condition, compareValue, caseSensitive);
87
+ if (matches) {
88
+ return {
89
+ mappedValue,
90
+ matched: true,
91
+ originalValue: resolvedInput,
92
+ matchedCondition: condition,
93
+ };
94
+ }
95
+ }
96
+ return {
97
+ mappedValue: defaultValue,
98
+ matched: false,
99
+ originalValue: resolvedInput,
100
+ matchedCondition: null,
101
+ };
102
+ }
103
+ };
104
+ exports.MapValueService = MapValueService;
105
+ exports.MapValueService = MapValueService = __decorate([
106
+ (0, common_1.Injectable)()
107
+ ], MapValueService);
108
+ //# sourceMappingURL=map-value.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-value.service.js","sourceRoot":"","sources":["../../../../src/modules/conditional/services/map-value.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAO5C,SAAS,wBAAwB,CAAC,KAAa,EAAE,OAA8B;IAC7E,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAC;IAGzB,IAAI,aAAa,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IACjC,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACnE,aAAa,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAGlD,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACvC,IAAI,MAAM,GAAY,OAAO,CAAC,eAAe,CAAC;QAE9C,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,IAAI,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,IAAI,IAAI,MAAM,EAAE,CAAC;gBAC3D,MAAM,GAAI,MAAkC,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;iBAAM,CAAC;gBACN,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAKD,SAAS,iBAAiB,CACxB,UAAkB,EAClB,SAAiB,EACjB,YAAoB,EACpB,aAAsB;IAGtB,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;IAC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CAAC;YACJ,CAAC;QACH,CAAC;QAGD,OAAO;YACL,WAAW,EAAE,YAAY;YACzB,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,aAAa;YAC5B,gBAAgB,EAAE,IAAI;SACvB,CAAC;IACJ,CAAC;CACF,CAAA;AAlDY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;GACA,eAAe,CAkD3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venturialstd/workflow",
3
- "version": "0.1.76",
3
+ "version": "0.1.78",
4
4
  "description": "Workflow Module for Venturial",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",