rez_core 2.2.8 → 2.2.10
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/constant/global.constant.d.ts +2 -1
- package/dist/constant/global.constant.js +3 -2
- package/dist/constant/global.constant.js.map +1 -1
- package/dist/module/filter/controller/filter.controller.d.ts +1 -1
- package/dist/module/filter/controller/filter.controller.js +7 -4
- package/dist/module/filter/controller/filter.controller.js.map +1 -1
- package/dist/module/filter/dto/filter-request.dto.d.ts +1 -0
- package/dist/module/filter/service/filter.service.js +25 -3
- package/dist/module/filter/service/filter.service.js.map +1 -1
- package/dist/module/layout_preference/controller/layout_preference.controller.js +4 -4
- package/dist/module/layout_preference/controller/layout_preference.controller.js.map +1 -1
- package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +2 -0
- package/dist/module/layout_preference/entity/layout_preference.entity.js +13 -0
- package/dist/module/layout_preference/entity/layout_preference.entity.js.map +1 -1
- package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +1 -1
- package/dist/module/layout_preference/repository/layout_preference.repository.js +4 -2
- package/dist/module/layout_preference/repository/layout_preference.repository.js.map +1 -1
- package/dist/module/layout_preference/service/layout_preference.service.d.ts +1 -1
- package/dist/module/layout_preference/service/layout_preference.service.js +17 -4
- package/dist/module/layout_preference/service/layout_preference.service.js.map +1 -1
- package/dist/module/listmaster/entity/list-master-items.entity.js +5 -5
- package/dist/module/listmaster/entity/list-master-items.entity.js.map +1 -1
- package/dist/module/meta/controller/media.controller.d.ts +1 -1
- package/dist/module/meta/controller/media.controller.js +1 -1
- package/dist/module/meta/controller/media.controller.js.map +1 -1
- package/dist/module/meta/entity/base-entity.entity.js.map +1 -1
- package/dist/module/module/controller/module-access.controller.d.ts +1 -1
- package/dist/module/module/controller/module-access.controller.js +6 -6
- package/dist/module/module/controller/module-access.controller.js.map +1 -1
- package/dist/module/module/service/module-access.service.d.ts +2 -1
- package/dist/module/module/service/module-access.service.js +5 -3
- package/dist/module/module/service/module-access.service.js.map +1 -1
- package/dist/module/workflow/controller/action-category.controller.d.ts +8 -0
- package/dist/module/workflow/controller/action-category.controller.js +45 -0
- package/dist/module/workflow/controller/action-category.controller.js.map +1 -0
- package/dist/module/workflow/controller/action.controller.d.ts +28 -0
- package/dist/module/workflow/controller/action.controller.js +88 -0
- package/dist/module/workflow/controller/action.controller.js.map +1 -0
- package/dist/module/workflow/controller/comm-template.controller.d.ts +11 -0
- package/dist/module/workflow/controller/comm-template.controller.js +44 -0
- package/dist/module/workflow/controller/comm-template.controller.js.map +1 -0
- package/dist/module/workflow/controller/entity-modification.controller.d.ts +8 -0
- package/dist/module/workflow/controller/entity-modification.controller.js +44 -0
- package/dist/module/workflow/controller/entity-modification.controller.js.map +1 -0
- package/dist/module/workflow/controller/stage-group.controller.d.ts +10 -0
- package/dist/module/workflow/controller/stage-group.controller.js +43 -0
- package/dist/module/workflow/controller/stage-group.controller.js.map +1 -0
- package/dist/module/workflow/controller/stage.controller.d.ts +13 -0
- package/dist/module/workflow/controller/stage.controller.js +56 -0
- package/dist/module/workflow/controller/stage.controller.js.map +1 -0
- package/dist/module/workflow/controller/task.controller.d.ts +21 -0
- package/dist/module/workflow/controller/task.controller.js +58 -0
- package/dist/module/workflow/controller/task.controller.js.map +1 -0
- package/dist/module/workflow/controller/workflow-meta.controller.d.ts +15 -0
- package/dist/module/workflow/controller/workflow-meta.controller.js +70 -0
- package/dist/module/workflow/controller/workflow-meta.controller.js.map +1 -0
- package/dist/module/workflow/controller/workflow.controller.d.ts +25 -10
- package/dist/module/workflow/controller/workflow.controller.js +32 -15
- package/dist/module/workflow/controller/workflow.controller.js.map +1 -1
- package/dist/module/workflow/entity/action-category.entity.d.ts +1 -0
- package/dist/module/workflow/entity/action-category.entity.js +4 -0
- package/dist/module/workflow/entity/action-category.entity.js.map +1 -1
- package/dist/module/workflow/entity/action-data.entity.d.ts +15 -0
- package/dist/module/workflow/entity/action-data.entity.js +70 -0
- package/dist/module/workflow/entity/action-data.entity.js.map +1 -0
- package/dist/module/workflow/entity/action.entity.d.ts +7 -2
- package/dist/module/workflow/entity/action.entity.js +30 -10
- package/dist/module/workflow/entity/action.entity.js.map +1 -1
- package/dist/module/workflow/entity/comm-template.entity.d.ts +5 -0
- package/dist/module/workflow/entity/comm-template.entity.js +21 -1
- package/dist/module/workflow/entity/comm-template.entity.js.map +1 -1
- package/dist/module/workflow/entity/entity-modification.entity.d.ts +13 -0
- package/dist/module/workflow/entity/entity-modification.entity.js +63 -0
- package/dist/module/workflow/entity/entity-modification.entity.js.map +1 -0
- package/dist/module/workflow/entity/stage-group.entity.d.ts +1 -1
- package/dist/module/workflow/entity/stage-group.entity.js +1 -1
- package/dist/module/workflow/entity/stage-group.entity.js.map +1 -1
- package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +4 -0
- package/dist/module/workflow/entity/stage-movement-data.entity.js +16 -0
- package/dist/module/workflow/entity/stage-movement-data.entity.js.map +1 -1
- package/dist/module/workflow/entity/stage.entity.d.ts +2 -2
- package/dist/module/workflow/entity/stage.entity.js +5 -5
- package/dist/module/workflow/entity/stage.entity.js.map +1 -1
- package/dist/module/workflow/entity/task-data.entity.d.ts +25 -0
- package/dist/module/workflow/entity/task-data.entity.js +110 -0
- package/dist/module/workflow/entity/task-data.entity.js.map +1 -0
- package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +11 -0
- package/dist/module/workflow/entity/template-attach-mapper.entity.js +54 -0
- package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +1 -0
- package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +7 -0
- package/dist/module/workflow/entity/workflow-level-mapping.entity.js +38 -0
- package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +1 -0
- package/dist/module/workflow/entity/workflow.entity.d.ts +2 -0
- package/dist/module/workflow/entity/workflow.entity.js +8 -0
- package/dist/module/workflow/entity/workflow.entity.js.map +1 -1
- package/dist/module/workflow/repository/action-data.repository.d.ts +10 -0
- package/dist/module/workflow/repository/action-data.repository.js +85 -0
- package/dist/module/workflow/repository/action-data.repository.js.map +1 -0
- package/dist/module/workflow/repository/action.repository.d.ts +17 -0
- package/dist/module/workflow/repository/action.repository.js +97 -0
- package/dist/module/workflow/repository/action.repository.js.map +1 -0
- package/dist/module/workflow/repository/comm-template.repository.d.ts +14 -0
- package/dist/module/workflow/repository/comm-template.repository.js +87 -0
- package/dist/module/workflow/repository/comm-template.repository.js.map +1 -0
- package/dist/module/workflow/repository/stage-group.repository.d.ts +7 -0
- package/dist/module/workflow/repository/stage-group.repository.js +50 -0
- package/dist/module/workflow/repository/stage-group.repository.js.map +1 -0
- package/dist/module/workflow/repository/stage-movement.repository.d.ts +23 -0
- package/dist/module/workflow/repository/stage-movement.repository.js +142 -0
- package/dist/module/workflow/repository/stage-movement.repository.js.map +1 -0
- package/dist/module/workflow/repository/stage.repository.d.ts +7 -0
- package/dist/module/workflow/repository/stage.repository.js +50 -0
- package/dist/module/workflow/repository/stage.repository.js.map +1 -0
- package/dist/module/workflow/repository/task.repository.d.ts +10 -0
- package/dist/module/workflow/repository/task.repository.js +77 -0
- package/dist/module/workflow/repository/task.repository.js.map +1 -0
- package/dist/module/workflow/repository/workflow.repository.d.ts +9 -1
- package/dist/module/workflow/repository/workflow.repository.js +38 -6
- package/dist/module/workflow/repository/workflow.repository.js.map +1 -1
- package/dist/module/workflow/service/action-category.service.d.ts +5 -0
- package/dist/module/workflow/service/action-category.service.js +23 -1
- package/dist/module/workflow/service/action-category.service.js.map +1 -1
- package/dist/module/workflow/service/action-data.service.d.ts +11 -0
- package/dist/module/workflow/service/action-data.service.js +36 -0
- package/dist/module/workflow/service/action-data.service.js.map +1 -0
- package/dist/module/workflow/service/action.service.d.ts +19 -1
- package/dist/module/workflow/service/action.service.js +159 -10
- package/dist/module/workflow/service/action.service.js.map +1 -1
- package/dist/module/workflow/service/comm-template.service.d.ts +11 -0
- package/dist/module/workflow/service/comm-template.service.js +59 -1
- package/dist/module/workflow/service/comm-template.service.js.map +1 -1
- package/dist/module/workflow/service/entity-modification.service.d.ts +8 -0
- package/dist/module/workflow/service/entity-modification.service.js +52 -0
- package/dist/module/workflow/service/entity-modification.service.js.map +1 -0
- package/dist/module/workflow/service/populate-workflow.service.d.ts +21 -0
- package/dist/module/workflow/service/populate-workflow.service.js +124 -0
- package/dist/module/workflow/service/populate-workflow.service.js.map +1 -0
- package/dist/module/workflow/service/stage-group.service.d.ts +13 -0
- package/dist/module/workflow/service/stage-group.service.js +39 -1
- package/dist/module/workflow/service/stage-group.service.js.map +1 -1
- package/dist/module/workflow/service/stage.service.d.ts +14 -4
- package/dist/module/workflow/service/stage.service.js +57 -13
- package/dist/module/workflow/service/stage.service.js.map +1 -1
- package/dist/module/workflow/service/task.service.d.ts +18 -0
- package/dist/module/workflow/service/task.service.js +63 -0
- package/dist/module/workflow/service/task.service.js.map +1 -0
- package/dist/module/workflow/service/workflow-list-master.service.js +4 -4
- package/dist/module/workflow/service/workflow-meta.service.d.ts +20 -0
- package/dist/module/workflow/service/workflow-meta.service.js +137 -0
- package/dist/module/workflow/service/workflow-meta.service.js.map +1 -0
- package/dist/module/workflow/service/workflow.service.d.ts +28 -5
- package/dist/module/workflow/service/workflow.service.js +108 -41
- package/dist/module/workflow/service/workflow.service.js.map +1 -1
- package/dist/module/workflow/workflow.module.js +82 -15
- package/dist/module/workflow/workflow.module.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/constant/global.constant.ts +3 -1
- package/src/module/filter/controller/filter.controller.ts +10 -4
- package/src/module/filter/dto/filter-request.dto.ts +1 -0
- package/src/module/filter/service/filter.service.ts +38 -4
- package/src/module/layout_preference/controller/layout_preference.controller.ts +6 -4
- package/src/module/layout_preference/entity/layout_preference.entity.ts +11 -0
- package/src/module/layout_preference/repository/layout_preference.repository.ts +6 -2
- package/src/module/layout_preference/service/layout_preference.service.ts +31 -6
- package/src/module/listmaster/entity/list-master-items.entity.ts +5 -5
- package/src/module/meta/controller/media.controller.ts +5 -7
- package/src/module/meta/entity/base-entity.entity.ts +1 -1
- package/src/module/module/controller/module-access.controller.ts +9 -4
- package/src/module/module/service/module-access.service.ts +15 -8
- package/src/module/workflow/controller/action-category.controller.ts +35 -0
- package/src/module/workflow/controller/action.controller.ts +73 -0
- package/src/module/workflow/controller/comm-template.controller.ts +32 -0
- package/src/module/workflow/controller/entity-modification.controller.ts +35 -0
- package/src/module/workflow/controller/stage-group.controller.ts +33 -0
- package/src/module/workflow/controller/stage.controller.ts +50 -0
- package/src/module/workflow/controller/task.controller.ts +57 -0
- package/src/module/workflow/controller/workflow-meta.controller.ts +76 -0
- package/src/module/workflow/controller/workflow.controller.ts +32 -12
- package/src/module/workflow/entity/action-category.entity.ts +3 -0
- package/src/module/workflow/entity/action-data.entity.ts +43 -0
- package/src/module/workflow/entity/action.entity.ts +18 -3
- package/src/module/workflow/entity/comm-template.entity.ts +18 -1
- package/src/module/workflow/entity/entity-modification.entity.ts +38 -0
- package/src/module/workflow/entity/stage-group.entity.ts +1 -1
- package/src/module/workflow/entity/stage-movement-data.entity.ts +12 -0
- package/src/module/workflow/entity/stage.entity.ts +4 -4
- package/src/module/workflow/entity/task-data.entity.ts +73 -0
- package/src/module/workflow/entity/template-attach-mapper.entity.ts +30 -0
- package/src/module/workflow/entity/workflow-level-mapping.entity.ts +18 -0
- package/src/module/workflow/entity/workflow.entity.ts +6 -0
- package/src/module/workflow/repository/action-data.repository.ts +93 -0
- package/src/module/workflow/repository/action.repository.ts +104 -0
- package/src/module/workflow/repository/comm-template.repository.ts +102 -0
- package/src/module/workflow/repository/stage-group.repository.ts +46 -0
- package/src/module/workflow/repository/stage-movement.repository.ts +219 -0
- package/src/module/workflow/repository/stage.repository.ts +47 -0
- package/src/module/workflow/repository/task.repository.ts +85 -0
- package/src/module/workflow/repository/workflow.repository.ts +40 -2
- package/src/module/workflow/service/action-category.service.ts +26 -1
- package/src/module/workflow/service/action-data.service.ts +45 -0
- package/src/module/workflow/service/action-template-mapping.service.ts +1 -1
- package/src/module/workflow/service/action.service.ts +279 -19
- package/src/module/workflow/service/comm-template.service.ts +90 -1
- package/src/module/workflow/service/entity-modification.service.ts +67 -0
- package/src/module/workflow/service/populate-workflow.service.ts +189 -0
- package/src/module/workflow/service/stage-group.service.ts +67 -2
- package/src/module/workflow/service/stage.service.ts +104 -28
- package/src/module/workflow/service/task.service.ts +95 -0
- package/src/module/workflow/service/workflow-list-master.service.ts +4 -4
- package/src/module/workflow/service/workflow-meta.service.ts +231 -0
- package/src/module/workflow/service/workflow.service.ts +181 -50
- package/src/module/workflow/workflow.module.ts +82 -15
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-meta.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/workflow-meta.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAQwB;AACxB,4EAAuE;AAEvE,2DAAgE;AAIzD,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACjC,YAA6B,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAMnE,AAAN,KAAK,CAAC,eAAe,CACE,kBAA0B,EAC5B,gBAAwB,EACpC,GAA4B;QAEnC,IAAI,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAErC,OAAO,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAC7C,kBAAkB,EAClB,MAAM,CAAC,gBAAgB,CAAC,EACxB,YAAY,CACb,CAAC;IACJ,CAAC;IAMK,AAAN,KAAK,CAAC,YAAY,CACK,kBAA0B,EAC5B,gBAAwB,EACpC,GAA4B;QAEnC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAC5D,kBAAkB,EAClB,MAAM,CAAC,gBAAgB,CAAC,EACxB,YAAY,CACb,CAAC;QACF,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACzE,CAAC;IAWK,AAAN,KAAK,CAAC,eAAe,CACC,kBAA0B,EAC5B,gBAAwB,EACnC,GAA4B;QAEnC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,OAAO,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAC7C,kBAAkB,EAClB,MAAM,CAAC,gBAAgB,CAAC,EACxB,YAAY,CACb,CAAC;IACJ,CAAC;CACF,CAAA;AA5DY,wDAAsB;AAO3B;IADL,IAAA,YAAG,EAAC,eAAe,CAAC;IAElB,WAAA,IAAA,cAAK,EAAC,YAAY,CAAC,CAAA;IACnB,WAAA,IAAA,cAAK,EAAC,UAAU,CAAC,CAAA;IACjB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;6DASP;AAMK;IADL,IAAA,YAAG,EAAC,YAAY,CAAC;IAEf,WAAA,IAAA,cAAK,EAAC,YAAY,CAAC,CAAA;IACnB,WAAA,IAAA,cAAK,EAAC,UAAU,CAAC,CAAA;IACjB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;0DASP;AAWK;IADL,IAAA,aAAI,EAAC,iBAAiB,CAAC;IAErB,WAAA,IAAA,aAAI,EAAC,YAAY,CAAC,CAAA;IAClB,WAAA,IAAA,aAAI,EAAC,UAAU,CAAC,CAAA;IAChB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;6DAQP;iCA3DU,sBAAsB;IAFlC,IAAA,mBAAU,EAAC,eAAe,CAAC;IAC3B,IAAA,kBAAS,EAAC,wBAAY,CAAC;qCAE4B,2CAAmB;GAD1D,sBAAsB,CA4DlC"}
|
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
import { WorkflowService } from '../service/workflow.service';
|
|
2
|
-
import {
|
|
2
|
+
import { PopulateWorkflowService } from '../service/populate-workflow.service';
|
|
3
3
|
export declare class WorkflowController {
|
|
4
4
|
private readonly workflowService;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}, req: Request & {
|
|
5
|
+
private readonly populateWorkflowService;
|
|
6
|
+
constructor(workflowService: WorkflowService, populateWorkflowService: PopulateWorkflowService);
|
|
7
|
+
getAllWorkflows(req: Request & {
|
|
9
8
|
user: any;
|
|
10
|
-
}
|
|
9
|
+
}, body: {
|
|
10
|
+
entity_type: string;
|
|
11
|
+
}): Promise<import("../entity/workflow.entity").Workflow[]>;
|
|
11
12
|
getWorkflowById(id: number): Promise<any>;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}): Promise<
|
|
13
|
+
SS: any;
|
|
14
|
+
updateSequence(body: any, req: Request & {
|
|
15
|
+
user: any;
|
|
16
|
+
}): Promise<{
|
|
17
|
+
updated: number;
|
|
18
|
+
results: {
|
|
19
|
+
id: any;
|
|
20
|
+
success: boolean;
|
|
21
|
+
result?: any;
|
|
22
|
+
error?: string;
|
|
23
|
+
}[];
|
|
24
|
+
}>;
|
|
25
|
+
populateWorkflow(body: any, req: Request & {
|
|
26
|
+
user: any;
|
|
27
|
+
}): Promise<{
|
|
28
|
+
message: string;
|
|
29
|
+
status: string;
|
|
30
|
+
}>;
|
|
16
31
|
}
|
|
@@ -16,32 +16,38 @@ exports.WorkflowController = void 0;
|
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const jwt_guard_1 = require("../../auth/guards/jwt.guard");
|
|
18
18
|
const workflow_service_1 = require("../service/workflow.service");
|
|
19
|
+
const populate_workflow_service_1 = require("../service/populate-workflow.service");
|
|
19
20
|
let WorkflowController = class WorkflowController {
|
|
20
|
-
constructor(workflowService) {
|
|
21
|
+
constructor(workflowService, populateWorkflowService) {
|
|
21
22
|
this.workflowService = workflowService;
|
|
23
|
+
this.populateWorkflowService = populateWorkflowService;
|
|
22
24
|
}
|
|
23
|
-
async
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
return result;
|
|
25
|
+
async getAllWorkflows(req, body) {
|
|
26
|
+
const { level_id, level_type } = req.user.userData;
|
|
27
|
+
return this.workflowService.getAllWorkflows(body.entity_type, level_id, level_type);
|
|
27
28
|
}
|
|
28
29
|
async getWorkflowById(id) {
|
|
29
30
|
return this.workflowService.getWorkflowById(id);
|
|
30
31
|
}
|
|
31
|
-
async
|
|
32
|
-
|
|
32
|
+
async updateSequence(body, req) {
|
|
33
|
+
const loggedInUser = req.user?.userData;
|
|
34
|
+
return this.workflowService.updateSequence(body, loggedInUser);
|
|
35
|
+
}
|
|
36
|
+
async populateWorkflow(body, req) {
|
|
37
|
+
const loggedInUser = req.user?.userData;
|
|
38
|
+
return this.populateWorkflowService.populateWorkflowData(body.organization_id, loggedInUser);
|
|
33
39
|
}
|
|
34
40
|
};
|
|
35
41
|
exports.WorkflowController = WorkflowController;
|
|
36
42
|
__decorate([
|
|
37
|
-
(0, common_1.Post)('/
|
|
43
|
+
(0, common_1.Post)('/getAllWorkflows'),
|
|
38
44
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
39
|
-
__param(0, (0, common_1.
|
|
40
|
-
__param(1, (0, common_1.
|
|
45
|
+
__param(0, (0, common_1.Req)()),
|
|
46
|
+
__param(1, (0, common_1.Body)()),
|
|
41
47
|
__metadata("design:type", Function),
|
|
42
48
|
__metadata("design:paramtypes", [Object, Object]),
|
|
43
49
|
__metadata("design:returntype", Promise)
|
|
44
|
-
], WorkflowController.prototype, "
|
|
50
|
+
], WorkflowController.prototype, "getAllWorkflows", null);
|
|
45
51
|
__decorate([
|
|
46
52
|
(0, common_1.Get)('/getWorkflowById/:id'),
|
|
47
53
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
@@ -51,16 +57,27 @@ __decorate([
|
|
|
51
57
|
__metadata("design:returntype", Promise)
|
|
52
58
|
], WorkflowController.prototype, "getWorkflowById", null);
|
|
53
59
|
__decorate([
|
|
54
|
-
(0, common_1.Post)('/
|
|
60
|
+
(0, common_1.Post)('/updateSequence'),
|
|
55
61
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
56
62
|
__param(0, (0, common_1.Body)()),
|
|
63
|
+
__param(1, (0, common_1.Req)()),
|
|
57
64
|
__metadata("design:type", Function),
|
|
58
|
-
__metadata("design:paramtypes", [Object]),
|
|
65
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
66
|
+
__metadata("design:returntype", Promise)
|
|
67
|
+
], WorkflowController.prototype, "updateSequence", null);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, common_1.Post)('/populateWorkflow'),
|
|
70
|
+
__param(0, (0, common_1.Body)()),
|
|
71
|
+
__param(1, (0, common_1.Req)()),
|
|
72
|
+
__metadata("design:type", Function),
|
|
73
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
59
74
|
__metadata("design:returntype", Promise)
|
|
60
|
-
], WorkflowController.prototype, "
|
|
75
|
+
], WorkflowController.prototype, "populateWorkflow", null);
|
|
61
76
|
exports.WorkflowController = WorkflowController = __decorate([
|
|
62
77
|
(0, common_1.Controller)('/workflow'),
|
|
63
78
|
(0, common_1.UseGuards)(jwt_guard_1.JwtAuthGuard),
|
|
64
|
-
|
|
79
|
+
__param(0, (0, common_1.Inject)('WorkflowService')),
|
|
80
|
+
__metadata("design:paramtypes", [workflow_service_1.WorkflowService,
|
|
81
|
+
populate_workflow_service_1.PopulateWorkflowService])
|
|
65
82
|
], WorkflowController);
|
|
66
83
|
//# sourceMappingURL=workflow.controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/workflow.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"workflow.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/workflow.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAawB;AACxB,2DAAgE;AAChE,kEAA8D;AAC9D,oFAA+E;AAIxE,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,YAEmB,eAAgC,EAChC,uBAAgD;QADhD,oBAAe,GAAf,eAAe,CAAiB;QAChC,4BAAuB,GAAvB,uBAAuB,CAAyB;IAChE,CAAC;IAIE,AAAN,KAAK,CAAC,eAAe,CACZ,GAA4B,EAC3B,IAA6B;QAErC,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACnD,OAAO,IAAI,CAAC,eAAe,CAAC,eAAe,CACzC,IAAI,CAAC,WAAW,EAChB,QAAQ,EACR,UAAU,CACX,CAAC;IACJ,CAAC;IAIK,AAAN,KAAK,CAAC,eAAe,CAAc,EAAU;QAC3C,OAAO,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IAKK,AAAN,KAAK,CAAC,cAAc,CAAS,IAAS,EAAS,GAA4B;QACzE,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC;QACxC,OAAO,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IACjE,CAAC;IAGK,AAAN,KAAK,CAAC,gBAAgB,CACZ,IAAS,EACV,GAA4B;QAEnC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC;QACxC,OAAO,IAAI,CAAC,uBAAuB,CAAC,oBAAoB,CACtD,IAAI,CAAC,eAAe,EACpB,YAAY,CACb,CAAC;IACJ,CAAC;CACF,CAAA;AA9CY,gDAAkB;AASvB;IAFL,IAAA,aAAI,EAAC,kBAAkB,CAAC;IACxB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,GAAE,CAAA;;;;yDAQR;AAIK;IAFL,IAAA,YAAG,EAAC,sBAAsB,CAAC;IAC3B,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACD,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;yDAEjC;AAKK;IAFL,IAAA,aAAI,EAAC,iBAAiB,CAAC;IACvB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACF,WAAA,IAAA,aAAI,GAAE,CAAA;IAAa,WAAA,IAAA,YAAG,GAAE,CAAA;;;;wDAG7C;AAGK;IADL,IAAA,aAAI,EAAC,mBAAmB,CAAC;IAEvB,WAAA,IAAA,aAAI,GAAE,CAAA;IACN,WAAA,IAAA,YAAG,GAAE,CAAA;;;;0DAOP;6BA7CU,kBAAkB;IAF9B,IAAA,mBAAU,EAAC,WAAW,CAAC;IACvB,IAAA,kBAAS,EAAC,wBAAY,CAAC;IAGnB,WAAA,IAAA,eAAM,EAAC,iBAAiB,CAAC,CAAA;qCACQ,kCAAe;QACP,mDAAuB;GAJxD,kBAAkB,CA8C9B"}
|
|
@@ -28,6 +28,10 @@ __decorate([
|
|
|
28
28
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], ActionCategory.prototype, "modalName", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], ActionCategory.prototype, "mapped_entity_type", void 0);
|
|
31
35
|
exports.ActionCategory = ActionCategory = __decorate([
|
|
32
36
|
(0, typeorm_1.Entity)({ name: 'cr_wf_action_category' }),
|
|
33
37
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-category.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA+D;AAC/D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,+BAAU;IAC5C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,iCAAe,CAAC;IACrC,CAAC;
|
|
1
|
+
{"version":3,"file":"action-category.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA+D;AAC/D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,+BAAU;IAC5C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,iCAAe,CAAC;IACrC,CAAC;CAUF,CAAA;AAdY,wCAAc;AAOzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC/B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC1B;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACjB;yBAbhB,cAAc;IAD1B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;;GAC7B,cAAc,CAc1B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
|
|
2
|
+
export declare class ActionDataEntity extends BaseEntity {
|
|
3
|
+
constructor();
|
|
4
|
+
action_id: number;
|
|
5
|
+
user_id: number;
|
|
6
|
+
stage_id: number;
|
|
7
|
+
start_time: Date;
|
|
8
|
+
end_time: Date;
|
|
9
|
+
is_mandatory: boolean;
|
|
10
|
+
mapped_entity_id: number;
|
|
11
|
+
mapped_entity_type: string;
|
|
12
|
+
sequence: number;
|
|
13
|
+
is_done: boolean;
|
|
14
|
+
is_current: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.ActionDataEntity = void 0;
|
|
13
|
+
const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
let ActionDataEntity = class ActionDataEntity extends base_entity_entity_1.BaseEntity {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.entity_type = 'ACTION_DATA';
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
exports.ActionDataEntity = ActionDataEntity;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], ActionDataEntity.prototype, "action_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], ActionDataEntity.prototype, "user_id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], ActionDataEntity.prototype, "stage_id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
36
|
+
__metadata("design:type", Date)
|
|
37
|
+
], ActionDataEntity.prototype, "start_time", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", Date)
|
|
41
|
+
], ActionDataEntity.prototype, "end_time", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], ActionDataEntity.prototype, "is_mandatory", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], ActionDataEntity.prototype, "mapped_entity_id", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], ActionDataEntity.prototype, "mapped_entity_type", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], ActionDataEntity.prototype, "sequence", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ default: 0 }),
|
|
60
|
+
__metadata("design:type", Boolean)
|
|
61
|
+
], ActionDataEntity.prototype, "is_done", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], ActionDataEntity.prototype, "is_current", void 0);
|
|
66
|
+
exports.ActionDataEntity = ActionDataEntity = __decorate([
|
|
67
|
+
(0, typeorm_1.Entity)({ name: 'cr_wf_action_data' }),
|
|
68
|
+
__metadata("design:paramtypes", [])
|
|
69
|
+
], ActionDataEntity);
|
|
70
|
+
//# sourceMappingURL=action-data.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-data.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action-data.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,+BAAU;IAC9C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC;IACnC,CAAC;CAkCF,CAAA;AAtCY,4CAAgB;AAO3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACX;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,IAAI;oDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;kDAAC;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACL;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACF;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;iDACN;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACzB;2BArCR,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;;GACzB,gBAAgB,CAsC5B"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class ActionEntity extends BaseEntity {
|
|
3
3
|
constructor();
|
|
4
4
|
workflow_id: number;
|
|
5
|
-
|
|
5
|
+
action_category: string;
|
|
6
6
|
action_requirement: string;
|
|
7
|
+
sequence: string;
|
|
8
|
+
reason_code: string;
|
|
9
|
+
default_reason_code: string;
|
|
10
|
+
default_value: boolean;
|
|
11
|
+
user_id: number;
|
|
7
12
|
}
|
|
@@ -9,31 +9,51 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.ActionEntity = void 0;
|
|
13
13
|
const global_constant_1 = require("../../../constant/global.constant");
|
|
14
14
|
const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
|
|
15
15
|
const typeorm_1 = require("typeorm");
|
|
16
|
-
let
|
|
16
|
+
let ActionEntity = class ActionEntity extends base_entity_entity_1.BaseEntity {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
19
19
|
this.entity_type = global_constant_1.ACTION;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
exports.
|
|
22
|
+
exports.ActionEntity = ActionEntity;
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
25
25
|
__metadata("design:type", Number)
|
|
26
|
-
],
|
|
26
|
+
], ActionEntity.prototype, "workflow_id", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: '
|
|
29
|
-
__metadata("design:type",
|
|
30
|
-
],
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ActionEntity.prototype, "action_category", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], ActionEntity.prototype, "action_requirement", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], ActionEntity.prototype, "sequence", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], ActionEntity.prototype, "reason_code", void 0);
|
|
31
43
|
__decorate([
|
|
32
44
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
33
45
|
__metadata("design:type", String)
|
|
34
|
-
],
|
|
35
|
-
|
|
46
|
+
], ActionEntity.prototype, "default_reason_code", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ default: 0, type: 'boolean' }),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], ActionEntity.prototype, "default_value", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], ActionEntity.prototype, "user_id", void 0);
|
|
55
|
+
exports.ActionEntity = ActionEntity = __decorate([
|
|
36
56
|
(0, typeorm_1.Entity)({ name: 'cr_wf_action' }),
|
|
37
57
|
__metadata("design:paramtypes", [])
|
|
38
|
-
],
|
|
58
|
+
], ActionEntity);
|
|
39
59
|
//# sourceMappingURL=action.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAsD;AACtD,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,
|
|
1
|
+
{"version":3,"file":"action.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAsD;AACtD,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAU;IAC1C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,wBAAM,CAAC;IAC5B,CAAC;CAyBF,CAAA;AA7BY,oCAAY;AAOvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACpB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACpB;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC3B;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACxB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAChB;AAG5B;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACjB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACX;uBA5BL,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;GACpB,YAAY,CA6BxB"}
|
|
@@ -2,4 +2,9 @@ import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
|
|
|
2
2
|
export declare class CommTemplate extends BaseEntity {
|
|
3
3
|
constructor();
|
|
4
4
|
mode: string;
|
|
5
|
+
mapped_entity_type: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
format_type: string;
|
|
8
|
+
rich_text: string;
|
|
9
|
+
markup_id: number;
|
|
5
10
|
}
|
|
@@ -21,9 +21,29 @@ let CommTemplate = class CommTemplate extends base_entity_entity_1.BaseEntity {
|
|
|
21
21
|
};
|
|
22
22
|
exports.CommTemplate = CommTemplate;
|
|
23
23
|
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({
|
|
24
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], CommTemplate.prototype, "mode", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CommTemplate.prototype, "mapped_entity_type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CommTemplate.prototype, "subject", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CommTemplate.prototype, "format_type", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'longtext', nullable: true }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CommTemplate.prototype, "rich_text", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], CommTemplate.prototype, "markup_id", void 0);
|
|
27
47
|
exports.CommTemplate = CommTemplate = __decorate([
|
|
28
48
|
(0, typeorm_1.Entity)({ name: 'cr_wf_comm_template' }),
|
|
29
49
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comm-template.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/comm-template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA6D;AAC7D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAU;IAC1C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,+BAAa,CAAC;IACnC,CAAC;
|
|
1
|
+
{"version":3,"file":"comm-template.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/comm-template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA6D;AAC7D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAU;IAC1C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,+BAAa,CAAC;IACnC,CAAC;CAqBF,CAAA;AAzBY,oCAAY;AAOvB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACd;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACX;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACP;AAIpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC3B;AAIlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;uBAxBP,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;;GAC3B,YAAY,CAyBxB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
|
|
2
|
+
export declare class EntityModification extends BaseEntity {
|
|
3
|
+
constructor();
|
|
4
|
+
mapped_entity_id: number;
|
|
5
|
+
mapped_entity_type: string;
|
|
6
|
+
mode: string;
|
|
7
|
+
stage_id: number;
|
|
8
|
+
action_id: number;
|
|
9
|
+
attribute_key: string;
|
|
10
|
+
current_value: string;
|
|
11
|
+
new_value: string;
|
|
12
|
+
reason_code: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.EntityModification = void 0;
|
|
13
|
+
const global_constant_1 = require("../../../constant/global.constant");
|
|
14
|
+
const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
let EntityModification = class EntityModification extends base_entity_entity_1.BaseEntity {
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
this.entity_type = global_constant_1.ENTITY_MODIFICATION;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.EntityModification = EntityModification;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], EntityModification.prototype, "mapped_entity_id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], EntityModification.prototype, "mapped_entity_type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], EntityModification.prototype, "mode", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], EntityModification.prototype, "stage_id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], EntityModification.prototype, "action_id", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], EntityModification.prototype, "attribute_key", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], EntityModification.prototype, "current_value", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], EntityModification.prototype, "new_value", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], EntityModification.prototype, "reason_code", void 0);
|
|
59
|
+
exports.EntityModification = EntityModification = __decorate([
|
|
60
|
+
(0, typeorm_1.Entity)({ name: 'cr_wf_entity_modification' }),
|
|
61
|
+
__metadata("design:paramtypes", [])
|
|
62
|
+
], EntityModification);
|
|
63
|
+
//# sourceMappingURL=entity-modification.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-modification.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/entity-modification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAmE;AACnE,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAAU;IAChD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,qCAAmB,CAAC;IACzC,CAAC;CA4BF,CAAA;AAhCY,gDAAkB;AAO7B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACf;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC/B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACvB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACtB;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACtB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACtB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAC1B;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACxB;6BA/BT,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;;GACjC,kBAAkB,CAgC9B"}
|
|
@@ -27,7 +27,7 @@ __decorate([
|
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
29
|
__metadata("design:type", Number)
|
|
30
|
-
], StageGroup.prototype, "
|
|
30
|
+
], StageGroup.prototype, "sequence", void 0);
|
|
31
31
|
exports.StageGroup = StageGroup = __decorate([
|
|
32
32
|
(0, typeorm_1.Entity)({ name: 'cr_wf_stage_group' }),
|
|
33
33
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stage-group.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA2D;AAC3D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAU;IACxC;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,6BAAW,CAAC;IACjC,CAAC;CAOF,CAAA;AAXY,gCAAU;AAOrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACpB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;
|
|
1
|
+
{"version":3,"file":"stage-group.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA2D;AAC3D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAU;IACxC;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,6BAAW,CAAC;IACjC,CAAC;CAOF,CAAA;AAXY,gCAAU;AAOrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACpB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACvB;qBAVN,UAAU;IADtB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;;GACzB,UAAU,CAWtB"}
|
|
@@ -3,7 +3,11 @@ export declare class StageMovementData extends BaseEntity {
|
|
|
3
3
|
constructor();
|
|
4
4
|
current_user_id: number;
|
|
5
5
|
stage_action_mapping_id: number;
|
|
6
|
+
stage_group_id: number;
|
|
7
|
+
stage_id: number;
|
|
6
8
|
start_date: Date;
|
|
7
9
|
end_date: Date;
|
|
8
10
|
is_current: string;
|
|
11
|
+
mapped_entity_type: string;
|
|
12
|
+
mapped_entity_id: number;
|
|
9
13
|
}
|
|
@@ -28,6 +28,14 @@ __decorate([
|
|
|
28
28
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
29
|
__metadata("design:type", Number)
|
|
30
30
|
], StageMovementData.prototype, "stage_action_mapping_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], StageMovementData.prototype, "stage_group_id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], StageMovementData.prototype, "stage_id", void 0);
|
|
31
39
|
__decorate([
|
|
32
40
|
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
33
41
|
__metadata("design:type", Date)
|
|
@@ -40,6 +48,14 @@ __decorate([
|
|
|
40
48
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
41
49
|
__metadata("design:type", String)
|
|
42
50
|
], StageMovementData.prototype, "is_current", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], StageMovementData.prototype, "mapped_entity_type", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
57
|
+
__metadata("design:type", Number)
|
|
58
|
+
], StageMovementData.prototype, "mapped_entity_id", void 0);
|
|
43
59
|
exports.StageMovementData = StageMovementData = __decorate([
|
|
44
60
|
(0, typeorm_1.Entity)({ name: 'cr_wf_stage_movement_data' }),
|
|
45
61
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stage-movement-data.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage-movement-data.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAmE;AACnE,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAU;IAC/C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,qCAAmB,CAAC;IACzC,CAAC;
|
|
1
|
+
{"version":3,"file":"stage-movement-data.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage-movement-data.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAmE;AACnE,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAU;IAC/C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,qCAAmB,CAAC;IACzC,CAAC;CA4BF,CAAA;AAhCY,8CAAiB;AAO5B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DAChB;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACR;AAGhC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACjB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACvB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC7B,IAAI;qDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/B,IAAI;mDAAC;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACzB;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACf;4BA/Bd,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;;GACjC,iBAAiB,CAgC7B"}
|
|
@@ -24,14 +24,14 @@ __decorate([
|
|
|
24
24
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
25
25
|
__metadata("design:type", Number)
|
|
26
26
|
], Stage.prototype, "stage_group_id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], Stage.prototype, "full_name", void 0);
|
|
31
27
|
__decorate([
|
|
32
28
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
29
|
__metadata("design:type", Number)
|
|
34
|
-
], Stage.prototype, "
|
|
30
|
+
], Stage.prototype, "sequence", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], Stage.prototype, "description", void 0);
|
|
35
35
|
exports.Stage = Stage = __decorate([
|
|
36
36
|
(0, typeorm_1.Entity)({ name: 'cr_wf_stage' }),
|
|
37
37
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stage.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAqD;AACrD,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,+BAAU;IACnC;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,uBAAK,CAAC;IAC3B,CAAC;CAUF,CAAA;AAdY,sBAAK;AAOhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACjB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"stage.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAqD;AACrD,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,+BAAU;IACnC;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,uBAAK,CAAC;IAC3B,CAAC;CAUF,CAAA;AAdY,sBAAK;AAOhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACjB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACvB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACxB;gBAbT,KAAK;IADjB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;;GACnB,KAAK,CAcjB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
|
|
2
|
+
export declare class TaskDataEntity extends BaseEntity {
|
|
3
|
+
constructor();
|
|
4
|
+
task_id: string;
|
|
5
|
+
user_id: string;
|
|
6
|
+
stage_id: string;
|
|
7
|
+
action_id: string;
|
|
8
|
+
start_time: Date;
|
|
9
|
+
end_time: Date;
|
|
10
|
+
is_completed: boolean;
|
|
11
|
+
is_system: boolean;
|
|
12
|
+
is_mandatory: boolean;
|
|
13
|
+
mapped_entity_id: number;
|
|
14
|
+
mapped_entity_type: string;
|
|
15
|
+
sequence: number;
|
|
16
|
+
is_done: boolean;
|
|
17
|
+
task_status: string;
|
|
18
|
+
task_name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
task_owner: string;
|
|
21
|
+
due_date: Date;
|
|
22
|
+
due_time: string;
|
|
23
|
+
type: string;
|
|
24
|
+
mode: string;
|
|
25
|
+
}
|