@venturialstd/workflow 0.1.10 → 0.1.12
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/controllers/workflow-node-execution.controller.d.ts +9 -0
- package/dist/controllers/workflow-node-execution.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-node-execution.controller.js +49 -0
- package/dist/controllers/workflow-node-execution.controller.js.map +1 -0
- package/dist/dtos/create-workflow-node-execution.dto.d.ts +15 -0
- package/dist/dtos/create-workflow-node-execution.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-node-execution.dto.js +79 -0
- package/dist/dtos/create-workflow-node-execution.dto.js.map +1 -0
- package/dist/dtos/index.d.ts +1 -0
- package/dist/dtos/index.d.ts.map +1 -1
- package/dist/dtos/index.js +1 -0
- package/dist/dtos/index.js.map +1 -1
- package/dist/entities/workflow-execution.entity.d.ts +2 -0
- package/dist/entities/workflow-execution.entity.d.ts.map +1 -1
- package/dist/entities/workflow-execution.entity.js +6 -0
- package/dist/entities/workflow-execution.entity.js.map +1 -1
- package/dist/entities/workflow-node-execution.entity.d.ts +22 -0
- package/dist/entities/workflow-node-execution.entity.d.ts.map +1 -0
- package/dist/entities/workflow-node-execution.entity.js +131 -0
- package/dist/entities/workflow-node-execution.entity.js.map +1 -0
- package/dist/entities/workflow-node.entity.d.ts +2 -0
- package/dist/entities/workflow-node.entity.d.ts.map +1 -1
- package/dist/entities/workflow-node.entity.js +6 -0
- package/dist/entities/workflow-node.entity.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/modules/twilio/actions/extract-phone-number.action.d.ts.map +1 -1
- package/dist/modules/twilio/actions/extract-phone-number.action.js.map +1 -1
- package/dist/modules/twilio/services/extract-phone-number.service.js +1 -1
- package/dist/modules/twilio/services/extract-phone-number.service.js.map +1 -1
- package/dist/modules/user/actions/get-user-by-phone.action.d.ts.map +1 -1
- package/dist/modules/user/actions/get-user-by-phone.action.js.map +1 -1
- package/dist/modules/user/services/get-user-by-phone.service.d.ts +1 -1
- package/dist/modules/user/services/get-user-by-phone.service.d.ts.map +1 -1
- package/dist/modules/user/services/get-user-by-phone.service.js +5 -3
- package/dist/modules/user/services/get-user-by-phone.service.js.map +1 -1
- package/dist/modules/webhook/services/webhook-received.service.d.ts.map +1 -1
- package/dist/modules/webhook/services/webhook-received.service.js.map +1 -1
- package/dist/services/workflow-execution.service.d.ts +7 -1
- package/dist/services/workflow-execution.service.d.ts.map +1 -1
- package/dist/services/workflow-execution.service.js +129 -37
- package/dist/services/workflow-execution.service.js.map +1 -1
- package/dist/services/workflow-node-execution.service.d.ts +9 -0
- package/dist/services/workflow-node-execution.service.d.ts.map +1 -0
- package/dist/services/workflow-node-execution.service.js +40 -0
- package/dist/services/workflow-node-execution.service.js.map +1 -0
- package/dist/services/workflow.service.d.ts.map +1 -1
- package/dist/services/workflow.service.js +4 -1
- package/dist/services/workflow.service.js.map +1 -1
- package/dist/utils/variable-resolver.util.d.ts +2 -0
- package/dist/utils/variable-resolver.util.d.ts.map +1 -0
- package/dist/utils/variable-resolver.util.js +46 -0
- package/dist/utils/variable-resolver.util.js.map +1 -0
- package/dist/workflow-core.module.d.ts.map +1 -1
- package/dist/workflow-core.module.js +11 -1
- package/dist/workflow-core.module.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CrudController } from '@dataui/crud';
|
|
2
|
+
import { WorkflowNodeExecution } from '../entities/workflow-node-execution.entity';
|
|
3
|
+
import { WorkflowNodeExecutionService } from '../services/workflow-node-execution.service';
|
|
4
|
+
export declare class WorkflowNodeExecutionController implements CrudController<WorkflowNodeExecution> {
|
|
5
|
+
readonly service: WorkflowNodeExecutionService;
|
|
6
|
+
constructor(service: WorkflowNodeExecutionService);
|
|
7
|
+
get base(): CrudController<WorkflowNodeExecution>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=workflow-node-execution.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-node-execution.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/workflow-node-execution.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,cAAc,CAAC;AAMpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAE3F,qBAgBa,+BAAgC,YAAW,cAAc,CAAC,qBAAqB,CAAC;aAC/D,OAAO,EAAE,4BAA4B;gBAArC,OAAO,EAAE,4BAA4B;IAEjE,IAAI,IAAI,IAAI,cAAc,CAAC,qBAAqB,CAAC,CAEhD;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.WorkflowNodeExecutionController = void 0;
|
|
13
|
+
const crud_1 = require("@dataui/crud");
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const core_1 = require("@venturialstd/core");
|
|
17
|
+
const create_workflow_node_execution_dto_1 = require("../dtos/create-workflow-node-execution.dto");
|
|
18
|
+
const workflow_node_execution_entity_1 = require("../entities/workflow-node-execution.entity");
|
|
19
|
+
const workflow_node_execution_service_1 = require("../services/workflow-node-execution.service");
|
|
20
|
+
let WorkflowNodeExecutionController = class WorkflowNodeExecutionController {
|
|
21
|
+
service;
|
|
22
|
+
constructor(service) {
|
|
23
|
+
this.service = service;
|
|
24
|
+
}
|
|
25
|
+
get base() {
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
exports.WorkflowNodeExecutionController = WorkflowNodeExecutionController;
|
|
30
|
+
exports.WorkflowNodeExecutionController = WorkflowNodeExecutionController = __decorate([
|
|
31
|
+
(0, crud_1.Crud)({
|
|
32
|
+
model: {
|
|
33
|
+
type: workflow_node_execution_entity_1.WorkflowNodeExecution,
|
|
34
|
+
},
|
|
35
|
+
params: core_1.CRUD_BASE_CONFIG.params,
|
|
36
|
+
routes: {
|
|
37
|
+
only: ['getManyBase', 'getOneBase'],
|
|
38
|
+
...core_1.CRUD_BASE_CONFIG.routes,
|
|
39
|
+
},
|
|
40
|
+
dto: {
|
|
41
|
+
create: create_workflow_node_execution_dto_1.CreateWorkflowNodeExecutionDto,
|
|
42
|
+
update: (0, swagger_1.PartialType)(create_workflow_node_execution_dto_1.CreateWorkflowNodeExecutionDto),
|
|
43
|
+
},
|
|
44
|
+
}),
|
|
45
|
+
(0, swagger_1.ApiTags)('workflow/workflow-node-execution'),
|
|
46
|
+
(0, common_1.Controller)('workflow/workflow-node-execution'),
|
|
47
|
+
__metadata("design:paramtypes", [workflow_node_execution_service_1.WorkflowNodeExecutionService])
|
|
48
|
+
], WorkflowNodeExecutionController);
|
|
49
|
+
//# sourceMappingURL=workflow-node-execution.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-node-execution.controller.js","sourceRoot":"","sources":["../../src/controllers/workflow-node-execution.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAoD;AACpD,2CAA4C;AAC5C,6CAAuD;AACvD,6CAAsD;AAEtD,mGAA4F;AAC5F,+FAAmF;AACnF,iGAA2F;AAkBpF,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IACd;IAA5B,YAA4B,OAAqC;QAArC,YAAO,GAAP,OAAO,CAA8B;IAAG,CAAC;IAErE,IAAI,IAAI;QACN,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAA;AANY,0EAA+B;0CAA/B,+BAA+B;IAhB3C,IAAA,WAAI,EAAC;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,sDAAqB;SAC5B;QACD,MAAM,EAAE,uBAAgB,CAAC,MAAM;QAC/B,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;YACnC,GAAG,uBAAgB,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,MAAM,EAAE,mEAA8B;YACtC,MAAM,EAAE,IAAA,qBAAW,EAAC,mEAA8B,CAAC;SACpD;KACF,CAAC;IACD,IAAA,iBAAO,EAAC,kCAAkC,CAAC;IAC3C,IAAA,mBAAU,EAAC,kCAAkC,CAAC;qCAER,8DAA4B;GADtD,+BAA+B,CAM3C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EXECUTION_STATUS } from '../constants/workflow.constant';
|
|
2
|
+
export declare class CreateWorkflowNodeExecutionDto {
|
|
3
|
+
workflowExecutionId: string;
|
|
4
|
+
workflowNodeId: string;
|
|
5
|
+
nodeId: string;
|
|
6
|
+
status?: EXECUTION_STATUS;
|
|
7
|
+
executionOrder: number;
|
|
8
|
+
inputData?: Record<string, unknown>;
|
|
9
|
+
outputData?: Record<string, unknown>;
|
|
10
|
+
errorData?: Record<string, unknown> | null;
|
|
11
|
+
errorMessage?: string;
|
|
12
|
+
startedAt?: Date;
|
|
13
|
+
completedAt?: Date;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=create-workflow-node-execution.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-workflow-node-execution.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-workflow-node-execution.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,qBAAa,8BAA8B;IAGzC,mBAAmB,EAAE,MAAM,CAAC;IAI5B,cAAc,EAAE,MAAM,CAAC;IAIvB,MAAM,EAAE,MAAM,CAAC;IAIf,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAI1B,cAAc,EAAE,MAAM,CAAC;IAGvB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGpC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGrC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAI3C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.CreateWorkflowNodeExecutionDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const workflow_constant_1 = require("../constants/workflow.constant");
|
|
15
|
+
class CreateWorkflowNodeExecutionDto {
|
|
16
|
+
workflowExecutionId;
|
|
17
|
+
workflowNodeId;
|
|
18
|
+
nodeId;
|
|
19
|
+
status;
|
|
20
|
+
executionOrder;
|
|
21
|
+
inputData;
|
|
22
|
+
outputData;
|
|
23
|
+
errorData;
|
|
24
|
+
errorMessage;
|
|
25
|
+
startedAt;
|
|
26
|
+
completedAt;
|
|
27
|
+
}
|
|
28
|
+
exports.CreateWorkflowNodeExecutionDto = CreateWorkflowNodeExecutionDto;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CreateWorkflowNodeExecutionDto.prototype, "workflowExecutionId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateWorkflowNodeExecutionDto.prototype, "workflowNodeId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateWorkflowNodeExecutionDto.prototype, "nodeId", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsEnum)(workflow_constant_1.EXECUTION_STATUS),
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], CreateWorkflowNodeExecutionDto.prototype, "status", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsNumber)(),
|
|
51
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], CreateWorkflowNodeExecutionDto.prototype, "executionOrder", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
__metadata("design:type", Object)
|
|
57
|
+
], CreateWorkflowNodeExecutionDto.prototype, "inputData", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], CreateWorkflowNodeExecutionDto.prototype, "outputData", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], CreateWorkflowNodeExecutionDto.prototype, "errorData", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], CreateWorkflowNodeExecutionDto.prototype, "errorMessage", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], CreateWorkflowNodeExecutionDto.prototype, "startedAt", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
__metadata("design:type", Date)
|
|
78
|
+
], CreateWorkflowNodeExecutionDto.prototype, "completedAt", void 0);
|
|
79
|
+
//# sourceMappingURL=create-workflow-node-execution.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-workflow-node-execution.dto.js","sourceRoot":"","sources":["../../src/dtos/create-workflow-node-execution.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqF;AAErF,sEAAkE;AAElE,MAAa,8BAA8B;IAGzC,mBAAmB,CAAS;IAI5B,cAAc,CAAS;IAIvB,MAAM,CAAS;IAIf,MAAM,CAAoB;IAI1B,cAAc,CAAS;IAGvB,SAAS,CAA2B;IAGpC,UAAU,CAA2B;IAGrC,SAAS,CAAkC;IAI3C,YAAY,CAAU;IAGtB,SAAS,CAAQ;IAGjB,WAAW,CAAQ;CACpB;AAvCD,wEAuCC;AApCC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2EACe;AAI5B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sEACU;AAIvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACE;AAIf;IAFC,IAAA,wBAAM,EAAC,oCAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;8DACa;AAI1B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sEACU;AAGvB;IADC,IAAA,4BAAU,GAAE;;iEACuB;AAGpC;IADC,IAAA,4BAAU,GAAE;;kEACwB;AAGrC;IADC,IAAA,4BAAU,GAAE;;iEAC8B;AAI3C;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oEACS;AAGtB;IADC,IAAA,4BAAU,GAAE;8BACD,IAAI;iEAAC;AAGjB;IADC,IAAA,4BAAU,GAAE;8BACC,IAAI;mEAAC"}
|
package/dist/dtos/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './create-workflow-execution.dto';
|
|
|
4
4
|
export * from './create-workflow-module.dto';
|
|
5
5
|
export * from './create-workflow-module-credential.dto';
|
|
6
6
|
export * from './create-workflow-node.dto';
|
|
7
|
+
export * from './create-workflow-node-execution.dto';
|
|
7
8
|
export * from './create-workflow-session.dto';
|
|
8
9
|
export * from './create-workflow-webhook.dto';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dtos/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
|
package/dist/dtos/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./create-workflow-execution.dto"), exports);
|
|
|
20
20
|
__exportStar(require("./create-workflow-module.dto"), exports);
|
|
21
21
|
__exportStar(require("./create-workflow-module-credential.dto"), exports);
|
|
22
22
|
__exportStar(require("./create-workflow-node.dto"), exports);
|
|
23
|
+
__exportStar(require("./create-workflow-node-execution.dto"), exports);
|
|
23
24
|
__exportStar(require("./create-workflow-session.dto"), exports);
|
|
24
25
|
__exportStar(require("./create-workflow-webhook.dto"), exports);
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
package/dist/dtos/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,6DAA2C;AAC3C,kEAAgD;AAChD,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,gEAA8C;AAC9C,gEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,6DAA2C;AAC3C,kEAAgD;AAChD,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,uEAAqD;AACrD,gEAA8C;AAC9C,gEAA8C"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EXECUTION_STATUS } from '../constants/workflow.constant';
|
|
2
2
|
import { Workflow } from './workflow.entity';
|
|
3
|
+
import { WorkflowNodeExecution } from './workflow-node-execution.entity';
|
|
3
4
|
export declare class WorkflowExecution {
|
|
4
5
|
id: string;
|
|
5
6
|
workflowId: string;
|
|
@@ -14,6 +15,7 @@ export declare class WorkflowExecution {
|
|
|
14
15
|
errorMessage?: string;
|
|
15
16
|
startedAt?: Date;
|
|
16
17
|
completedAt?: Date;
|
|
18
|
+
nodeExecutions: WorkflowNodeExecution[];
|
|
17
19
|
createdAt: Date;
|
|
18
20
|
updatedAt: Date;
|
|
19
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,iBAAiB;IAE5B,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,MAAM,CAAC;IAGnB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,MAAM,EAAE,gBAAgB,CAAC;IAKzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGpC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAKnC,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,IAAI,CAAC;IAGnB,cAAc,EAAE,qBAAqB,EAAE,CAAC;IAQxC,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -14,6 +14,7 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const workflow_constant_1 = require("../constants/workflow.constant");
|
|
16
16
|
const workflow_entity_1 = require("./workflow.entity");
|
|
17
|
+
const workflow_node_execution_entity_1 = require("./workflow-node-execution.entity");
|
|
17
18
|
let WorkflowExecution = class WorkflowExecution {
|
|
18
19
|
id;
|
|
19
20
|
workflowId;
|
|
@@ -28,6 +29,7 @@ let WorkflowExecution = class WorkflowExecution {
|
|
|
28
29
|
errorMessage;
|
|
29
30
|
startedAt;
|
|
30
31
|
completedAt;
|
|
32
|
+
nodeExecutions;
|
|
31
33
|
createdAt;
|
|
32
34
|
updatedAt;
|
|
33
35
|
};
|
|
@@ -99,6 +101,10 @@ __decorate([
|
|
|
99
101
|
(0, typeorm_1.Column)({ type: 'timestamptz', nullable: true }),
|
|
100
102
|
__metadata("design:type", Date)
|
|
101
103
|
], WorkflowExecution.prototype, "completedAt", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, typeorm_1.OneToMany)(() => workflow_node_execution_entity_1.WorkflowNodeExecution, (nodeExecution) => nodeExecution.workflowExecution),
|
|
106
|
+
__metadata("design:type", Array)
|
|
107
|
+
], WorkflowExecution.prototype, "nodeExecutions", void 0);
|
|
102
108
|
__decorate([
|
|
103
109
|
(0, typeorm_1.CreateDateColumn)({
|
|
104
110
|
name: 'createdAt',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-execution.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,qCAQiB;AAEjB,sEAAkE;AAClE,uDAA6C;AAC7C,qFAAyE;AAGlE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAE5B,EAAE,CAAS;IAKX,UAAU,CAAS;IAGnB,QAAQ,CAAW;IAKnB,SAAS,CAAU;IAQnB,MAAM,CAAmB;IAKzB,WAAW,CAAU;IAKrB,aAAa,CAAU;IAGvB,SAAS,CAA0B;IAGnC,UAAU,CAA0B;IAGpC,SAAS,CAA0B;IAKnC,YAAY,CAAU;IAGtB,SAAS,CAAQ;IAGjB,WAAW,CAAQ;IAGnB,cAAc,CAA0B;IAQxC,SAAS,CAAO;IAQhB,SAAS,CAAO;CACjB,CAAA;AAzEY,8CAAiB;AAE5B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;6CACpB;AAKX;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,gBAAM,GAAE;;qDACU;AAGnB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0BAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC5E,0BAAQ;mDAA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AAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAqB,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC;;yDACnD;AAQxC;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;oDAAC;AAQhB;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;oDAAC;4BAxEL,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,iBAAiB,CAyE7B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EXECUTION_STATUS } from '../constants/workflow.constant';
|
|
2
|
+
import { WorkflowExecution } from './workflow-execution.entity';
|
|
3
|
+
import { WorkflowNode } from './workflow-node.entity';
|
|
4
|
+
export declare class WorkflowNodeExecution {
|
|
5
|
+
id: string;
|
|
6
|
+
workflowExecutionId: string;
|
|
7
|
+
workflowExecution: WorkflowExecution;
|
|
8
|
+
workflowNodeId: string;
|
|
9
|
+
workflowNode: WorkflowNode;
|
|
10
|
+
nodeId: string;
|
|
11
|
+
status: EXECUTION_STATUS;
|
|
12
|
+
executionOrder: number;
|
|
13
|
+
inputData: Record<string, unknown>;
|
|
14
|
+
outputData: Record<string, unknown>;
|
|
15
|
+
errorData?: Record<string, unknown> | null;
|
|
16
|
+
errorMessage?: string;
|
|
17
|
+
startedAt?: Date;
|
|
18
|
+
completedAt?: Date;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=workflow-node-execution.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-node-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-node-execution.entity.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,qBACa,qBAAqB;IAEhC,EAAE,EAAE,MAAM,CAAC;IAKX,mBAAmB,EAAE,MAAM,CAAC;IAK5B,iBAAiB,EAAE,iBAAiB,CAAC;IAKrC,cAAc,EAAE,MAAM,CAAC;IAGvB,YAAY,EAAE,YAAY,CAAC;IAK3B,MAAM,EAAE,MAAM,CAAC;IAQf,MAAM,EAAE,gBAAgB,CAAC;IAKzB,cAAc,EAAE,MAAM,CAAC;IAGvB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGpC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAK3C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,IAAI,CAAC;IAQnB,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -0,0 +1,131 @@
|
|
|
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.WorkflowNodeExecution = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const workflow_constant_1 = require("../constants/workflow.constant");
|
|
16
|
+
const workflow_execution_entity_1 = require("./workflow-execution.entity");
|
|
17
|
+
const workflow_node_entity_1 = require("./workflow-node.entity");
|
|
18
|
+
let WorkflowNodeExecution = class WorkflowNodeExecution {
|
|
19
|
+
id;
|
|
20
|
+
workflowExecutionId;
|
|
21
|
+
workflowExecution;
|
|
22
|
+
workflowNodeId;
|
|
23
|
+
workflowNode;
|
|
24
|
+
nodeId;
|
|
25
|
+
status;
|
|
26
|
+
executionOrder;
|
|
27
|
+
inputData;
|
|
28
|
+
outputData;
|
|
29
|
+
errorData;
|
|
30
|
+
errorMessage;
|
|
31
|
+
startedAt;
|
|
32
|
+
completedAt;
|
|
33
|
+
createdAt;
|
|
34
|
+
updatedAt;
|
|
35
|
+
};
|
|
36
|
+
exports.WorkflowNodeExecution = WorkflowNodeExecution;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], WorkflowNodeExecution.prototype, "id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
+
(0, typeorm_1.Column)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], WorkflowNodeExecution.prototype, "workflowExecutionId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.ManyToOne)(() => workflow_execution_entity_1.WorkflowExecution, (execution) => execution.nodeExecutions, {
|
|
49
|
+
onDelete: 'CASCADE',
|
|
50
|
+
}),
|
|
51
|
+
__metadata("design:type", workflow_execution_entity_1.WorkflowExecution)
|
|
52
|
+
], WorkflowNodeExecution.prototype, "workflowExecution", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
(0, typeorm_1.Column)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], WorkflowNodeExecution.prototype, "workflowNodeId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.ManyToOne)(() => workflow_node_entity_1.WorkflowNode, (node) => node.executions, { onDelete: 'CASCADE' }),
|
|
61
|
+
__metadata("design:type", workflow_node_entity_1.WorkflowNode)
|
|
62
|
+
], WorkflowNodeExecution.prototype, "workflowNode", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsString)(),
|
|
65
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
66
|
+
(0, typeorm_1.Column)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], WorkflowNodeExecution.prototype, "nodeId", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsEnum)(workflow_constant_1.EXECUTION_STATUS),
|
|
71
|
+
(0, typeorm_1.Column)({
|
|
72
|
+
type: 'enum',
|
|
73
|
+
enum: workflow_constant_1.EXECUTION_STATUS,
|
|
74
|
+
default: workflow_constant_1.EXECUTION_STATUS.PENDING,
|
|
75
|
+
}),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], WorkflowNodeExecution.prototype, "status", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsNumber)(),
|
|
80
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
81
|
+
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], WorkflowNodeExecution.prototype, "executionOrder", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], WorkflowNodeExecution.prototype, "inputData", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
90
|
+
__metadata("design:type", Object)
|
|
91
|
+
], WorkflowNodeExecution.prototype, "outputData", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
94
|
+
__metadata("design:type", Object)
|
|
95
|
+
], WorkflowNodeExecution.prototype, "errorData", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_validator_1.IsString)(),
|
|
98
|
+
(0, class_validator_1.IsOptional)(),
|
|
99
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], WorkflowNodeExecution.prototype, "errorMessage", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, typeorm_1.Column)({ type: 'timestamptz', nullable: true }),
|
|
104
|
+
__metadata("design:type", Date)
|
|
105
|
+
], WorkflowNodeExecution.prototype, "startedAt", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, typeorm_1.Column)({ type: 'timestamptz', nullable: true }),
|
|
108
|
+
__metadata("design:type", Date)
|
|
109
|
+
], WorkflowNodeExecution.prototype, "completedAt", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.CreateDateColumn)({
|
|
112
|
+
name: 'createdAt',
|
|
113
|
+
nullable: false,
|
|
114
|
+
type: 'timestamptz',
|
|
115
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
116
|
+
}),
|
|
117
|
+
__metadata("design:type", Date)
|
|
118
|
+
], WorkflowNodeExecution.prototype, "createdAt", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, typeorm_1.UpdateDateColumn)({
|
|
121
|
+
name: 'updatedAt',
|
|
122
|
+
nullable: false,
|
|
123
|
+
type: 'timestamptz',
|
|
124
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
125
|
+
}),
|
|
126
|
+
__metadata("design:type", Date)
|
|
127
|
+
], WorkflowNodeExecution.prototype, "updatedAt", void 0);
|
|
128
|
+
exports.WorkflowNodeExecution = WorkflowNodeExecution = __decorate([
|
|
129
|
+
(0, typeorm_1.Entity)('workflow_node_execution')
|
|
130
|
+
], WorkflowNodeExecution);
|
|
131
|
+
//# sourceMappingURL=workflow-node-execution.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-node-execution.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-node-execution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqF;AACrF,qCAOiB;AAEjB,sEAAkE;AAClE,2EAAgE;AAChE,iEAAsD;AAG/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAEhC,EAAE,CAAS;IAKX,mBAAmB,CAAS;IAK5B,iBAAiB,CAAoB;IAKrC,cAAc,CAAS;IAGvB,YAAY,CAAe;IAK3B,MAAM,CAAS;IAQf,MAAM,CAAmB;IAKzB,cAAc,CAAS;IAGvB,SAAS,CAA0B;IAGnC,UAAU,CAA0B;IAGpC,SAAS,CAAkC;IAK3C,YAAY,CAAU;IAGtB,SAAS,CAAQ;IAGjB,WAAW,CAAQ;IAQnB,SAAS,CAAO;IAQhB,SAAS,CAAO;CACjB,CAAA;AA3EY,sDAAqB;AAEhC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;iDACpB;AAKX;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,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IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACL;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,IAAI;wDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;0DAAC;AAQnB;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;wDAAC;AAQhB;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;wDAAC;gCA1EL,qBAAqB;IADjC,IAAA,gBAAM,EAAC,yBAAyB,CAAC;GACrB,qBAAqB,CA2EjC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NODE_TYPE } from '../constants/workflow.constant';
|
|
2
2
|
import { Workflow } from './workflow.entity';
|
|
3
|
+
import { WorkflowNodeExecution } from './workflow-node-execution.entity';
|
|
3
4
|
export declare class WorkflowNode {
|
|
4
5
|
id: string;
|
|
5
6
|
workflowId: string;
|
|
@@ -14,6 +15,7 @@ export declare class WorkflowNode {
|
|
|
14
15
|
y: number;
|
|
15
16
|
};
|
|
16
17
|
data: Record<string, unknown>;
|
|
18
|
+
executions: WorkflowNodeExecution[];
|
|
17
19
|
createdAt: Date;
|
|
18
20
|
updatedAt: Date;
|
|
19
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-node.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-node.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-node.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-node.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,YAAY;IAEvB,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,MAAM,CAAC;IAGnB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,MAAM,EAAE,MAAM,CAAC;IAKf,KAAK,EAAE,MAAM,CAAC;IAOd,IAAI,EAAE,SAAS,CAAC;IAKhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGpC,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAGnC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAG9B,UAAU,EAAE,qBAAqB,EAAE,CAAC;IAQpC,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -14,6 +14,7 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const workflow_constant_1 = require("../constants/workflow.constant");
|
|
16
16
|
const workflow_entity_1 = require("./workflow.entity");
|
|
17
|
+
const workflow_node_execution_entity_1 = require("./workflow-node-execution.entity");
|
|
17
18
|
let WorkflowNode = class WorkflowNode {
|
|
18
19
|
id;
|
|
19
20
|
workflowId;
|
|
@@ -25,6 +26,7 @@ let WorkflowNode = class WorkflowNode {
|
|
|
25
26
|
properties;
|
|
26
27
|
position;
|
|
27
28
|
data;
|
|
29
|
+
executions;
|
|
28
30
|
createdAt;
|
|
29
31
|
updatedAt;
|
|
30
32
|
};
|
|
@@ -81,6 +83,10 @@ __decorate([
|
|
|
81
83
|
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
82
84
|
__metadata("design:type", Object)
|
|
83
85
|
], WorkflowNode.prototype, "data", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.OneToMany)(() => workflow_node_execution_entity_1.WorkflowNodeExecution, (nodeExecution) => nodeExecution.workflowNode),
|
|
88
|
+
__metadata("design:type", Array)
|
|
89
|
+
], WorkflowNode.prototype, "executions", void 0);
|
|
84
90
|
__decorate([
|
|
85
91
|
(0, typeorm_1.CreateDateColumn)({
|
|
86
92
|
name: 'createdAt',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-node.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-node.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,
|
|
1
|
+
{"version":3,"file":"workflow-node.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-node.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,qCAQiB;AAEjB,sEAA2D;AAC3D,uDAA6C;AAC7C,qFAAyE;AAGlE,IAAM,YAAY,GAAlB,MAAM,YAAY;IAEvB,EAAE,CAAS;IAKX,UAAU,CAAS;IAGnB,QAAQ,CAAW;IAKnB,MAAM,CAAS;IAKf,KAAK,CAAS;IAOd,IAAI,CAAY;IAKhB,UAAU,CAAU;IAGpB,UAAU,CAA0B;IAGpC,QAAQ,CAA2B;IAGnC,IAAI,CAA0B;IAG9B,UAAU,CAA0B;IAQpC,SAAS,CAAO;IAQhB,SAAS,CAAO;CACjB,CAAA;AA7DY,oCAAY;AAEvB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACpB;AAKX;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;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BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;+CAAC;uBA5DL,YAAY;IADxB,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,YAAY,CA6DxB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,16 +6,19 @@ export * from './entities/workflow-execution.entity';
|
|
|
6
6
|
export { WorkflowModule as WorkflowModuleEntity } from './entities/workflow-module.entity';
|
|
7
7
|
export * from './entities/workflow-module-credential.entity';
|
|
8
8
|
export * from './entities/workflow-node.entity';
|
|
9
|
+
export * from './entities/workflow-node-execution.entity';
|
|
9
10
|
export * from './entities/workflow-session.entity';
|
|
10
11
|
export * from './entities/workflow-webhook.entity';
|
|
11
12
|
export * from './controllers/workflow-module-credential.controller';
|
|
12
13
|
export * from './controllers/workflow-node.controller';
|
|
14
|
+
export * from './controllers/workflow-node-execution.controller';
|
|
13
15
|
export * from './services/workflow.service';
|
|
14
16
|
export * from './services/workflow-edge.service';
|
|
15
17
|
export * from './services/workflow-execution.service';
|
|
16
18
|
export * from './services/workflow-module.service';
|
|
17
19
|
export * from './services/workflow-module-credential.service';
|
|
18
20
|
export * from './services/workflow-node.service';
|
|
21
|
+
export * from './services/workflow-node-execution.service';
|
|
19
22
|
export * from './services/workflow-session.service';
|
|
20
23
|
export * from './services/workflow-webhook.service';
|
|
21
24
|
export * from './modules';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAG9C,cAAc,QAAQ,CAAC;AAGvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC3F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AAGnD,cAAc,qDAAqD,CAAC;AACpE,cAAc,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAG9C,cAAc,QAAQ,CAAC;AAGvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC3F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AAGnD,cAAc,qDAAqD,CAAC;AACpE,cAAc,wCAAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AAGjE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,WAAW,CAAC;AAG1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -24,16 +24,19 @@ var workflow_module_entity_1 = require("./entities/workflow-module.entity");
|
|
|
24
24
|
Object.defineProperty(exports, "WorkflowModuleEntity", { enumerable: true, get: function () { return workflow_module_entity_1.WorkflowModule; } });
|
|
25
25
|
__exportStar(require("./entities/workflow-module-credential.entity"), exports);
|
|
26
26
|
__exportStar(require("./entities/workflow-node.entity"), exports);
|
|
27
|
+
__exportStar(require("./entities/workflow-node-execution.entity"), exports);
|
|
27
28
|
__exportStar(require("./entities/workflow-session.entity"), exports);
|
|
28
29
|
__exportStar(require("./entities/workflow-webhook.entity"), exports);
|
|
29
30
|
__exportStar(require("./controllers/workflow-module-credential.controller"), exports);
|
|
30
31
|
__exportStar(require("./controllers/workflow-node.controller"), exports);
|
|
32
|
+
__exportStar(require("./controllers/workflow-node-execution.controller"), exports);
|
|
31
33
|
__exportStar(require("./services/workflow.service"), exports);
|
|
32
34
|
__exportStar(require("./services/workflow-edge.service"), exports);
|
|
33
35
|
__exportStar(require("./services/workflow-execution.service"), exports);
|
|
34
36
|
__exportStar(require("./services/workflow-module.service"), exports);
|
|
35
37
|
__exportStar(require("./services/workflow-module-credential.service"), exports);
|
|
36
38
|
__exportStar(require("./services/workflow-node.service"), exports);
|
|
39
|
+
__exportStar(require("./services/workflow-node-execution.service"), exports);
|
|
37
40
|
__exportStar(require("./services/workflow-session.service"), exports);
|
|
38
41
|
__exportStar(require("./services/workflow-webhook.service"), exports);
|
|
39
42
|
__exportStar(require("./modules"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,gEAA8C;AAG9C,yCAAuB;AAGvB,6DAA2C;AAC3C,kEAAgD;AAChD,uEAAqD;AACrD,4EAA2F;AAAlF,8HAAA,cAAc,OAAwB;AAC/C,+EAA6D;AAC7D,kEAAgD;AAChD,qEAAmD;AACnD,qEAAmD;AAGnD,sFAAoE;AACpE,yEAAuD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,gEAA8C;AAG9C,yCAAuB;AAGvB,6DAA2C;AAC3C,kEAAgD;AAChD,uEAAqD;AACrD,4EAA2F;AAAlF,8HAAA,cAAc,OAAwB;AAC/C,+EAA6D;AAC7D,kEAAgD;AAChD,4EAA0D;AAC1D,qEAAmD;AACnD,qEAAmD;AAGnD,sFAAoE;AACpE,yEAAuD;AACvD,mFAAiE;AAGjE,8DAA4C;AAC5C,mEAAiD;AACjD,wEAAsD;AACtD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AACjD,6EAA2D;AAC3D,sEAAoD;AACpD,sEAAoD;AAGpD,4CAA0B;AAG1B,8DAA4C;AAC5C,wEAAsD;AACtD,gFAA8D;AAC9D,sEAAoD;AACpD,wEAAsD;AACtD,oDAAkC;AAClC,yDAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract-phone-number.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/extract-phone-number.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,wBAAwB,EAAE,
|
|
1
|
+
{"version":3,"file":"extract-phone-number.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/extract-phone-number.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,wBAAwB,EAAE,qBAoDtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract-phone-number.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/extract-phone-number.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,2FAAqF;AAExE,QAAA,wBAAwB,GAA0B;IAC7D,GAAG,EAAE,sBAAsB;IAC3B,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,oFAAoF;IACjG,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,wDAA+E;IAC7F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,
|
|
1
|
+
{"version":3,"file":"extract-phone-number.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/extract-phone-number.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,2FAAqF;AAExE,QAAA,wBAAwB,GAA0B;IAC7D,GAAG,EAAE,sBAAsB;IAC3B,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,oFAAoF;IACjG,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,wDAA+E;IAC7F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EACT,mFAAmF;YACrF,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,wBAAwB;SACtC;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,oBAAoB;YACxB,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract-phone-number.service.js","sourceRoot":"","sources":["../../../../src/modules/twilio/services/extract-phone-number.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAC5C,yDAAkF;AAK3E,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACpC,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,QAA+B;QAE/B,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAqB,CAAC;QAEtD,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAGD,IAAI,WAAW,GAAG,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC1C,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC5C,IAAI,UAAU,GAAG,CAAC,EAAE,CAAC;YAEnB,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC;QACtD,CAAC;QAGD,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,IAAA,sCAAkB,EAAC,WAAW,CAAC,CAAC;YAEhD,IAAI,CAAC,OAAO,EAAE,CAAC;gBAEb,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,IAAI;oBACb,kBAAkB,EAAE,IAAI;oBACxB,cAAc,EAAE,IAAI;oBACpB,UAAU,EAAE,WAAW;iBACxB,CAAC;YACJ,CAAC;YAGD,MAAM,MAAM,GAAG,IAAA,6CAAyB,EAAC,WAAW,CAAC,CAAC;YAEtD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,IAAI;gBAC/B,kBAAkB,EAAE,IAAI,MAAM,CAAC,kBAAkB,EAAE;gBACnD,cAAc,EAAE,MAAM,CAAC,cAAc;gBACrC,UAAU,EAAE,MAAM,CAAC,MAAM;aAC1B,CAAC;QACJ,CAAC;QAAC,
|
|
1
|
+
{"version":3,"file":"extract-phone-number.service.js","sourceRoot":"","sources":["../../../../src/modules/twilio/services/extract-phone-number.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAC5C,yDAAkF;AAK3E,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACpC,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,QAA+B;QAE/B,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAqB,CAAC;QAEtD,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAGD,IAAI,WAAW,GAAG,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC1C,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC5C,IAAI,UAAU,GAAG,CAAC,EAAE,CAAC;YAEnB,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC;QACtD,CAAC;QAGD,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,IAAA,sCAAkB,EAAC,WAAW,CAAC,CAAC;YAEhD,IAAI,CAAC,OAAO,EAAE,CAAC;gBAEb,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,IAAI;oBACb,kBAAkB,EAAE,IAAI;oBACxB,cAAc,EAAE,IAAI;oBACpB,UAAU,EAAE,WAAW;iBACxB,CAAC;YACJ,CAAC;YAGD,MAAM,MAAM,GAAG,IAAA,6CAAyB,EAAC,WAAW,CAAC,CAAC;YAEtD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,IAAI;gBAC/B,kBAAkB,EAAE,IAAI,MAAM,CAAC,kBAAkB,EAAE;gBACnD,cAAc,EAAE,MAAM,CAAC,cAAc;gBACrC,UAAU,EAAE,MAAM,CAAC,MAAM;aAC1B,CAAC;QACJ,CAAC;QAAC,MAAM,CAAC;YAEP,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,IAAI;gBACb,kBAAkB,EAAE,IAAI;gBACxB,cAAc,EAAE,IAAI;gBACpB,UAAU,EAAE,WAAW;aACxB,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AAvDY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,mBAAU,GAAE;GACA,yBAAyB,CAuDrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-phone.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/user/actions/get-user-by-phone.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"get-user-by-phone.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/user/actions/get-user-by-phone.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,oBAAoB,EAAE,qBAgIlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-by-phone.action.js","sourceRoot":"","sources":["../../../../src/modules/user/actions/get-user-by-phone.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,qFAA8E;AAEjE,QAAA,oBAAoB,GAA0B;IACzD,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,iDAA2E;IACzF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,kBAAU,CAAC,KAAK;YACtB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,aAAa;SAC3B;QACD;YACE,EAAE,EAAE,oBAAoB;YACxB,IAAI,EAAE,sBAAsB;YAC5B,WAAW,
|
|
1
|
+
{"version":3,"file":"get-user-by-phone.action.js","sourceRoot":"","sources":["../../../../src/modules/user/actions/get-user-by-phone.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,qFAA8E;AAEjE,QAAA,oBAAoB,GAA0B;IACzD,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,iDAA2E;IACzF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,kBAAU,CAAC,KAAK;YACtB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,aAAa;SAC3B;QACD;YACE,EAAE,EAAE,oBAAoB;YACxB,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EACT,kFAAkF;YACpF,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,KAAK;SACnB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iBAAiB;Y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,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;QACD;YACE,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;KACF;CACF,CAAC"}
|
|
@@ -3,6 +3,6 @@ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
|
3
3
|
export declare class GetUserByPhoneService implements IWorkflowActionService {
|
|
4
4
|
private readonly userService;
|
|
5
5
|
constructor(userService: UserService);
|
|
6
|
-
perform(inputs: Record<string, unknown>,
|
|
6
|
+
perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=get-user-by-phone.service.d.ts.map
|