rez_core 4.0.191 → 4.0.192
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/core.module.d.ts +1 -1
- package/dist/core.module.js +6 -3
- package/dist/core.module.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module/filter/service/filter.service.js +1 -1
- package/dist/module/filter/service/filter.service.js.map +1 -1
- package/dist/module/workflow-automation/workflow-automation.module.js.map +1 -1
- package/dist/table.config.js +5 -1
- package/dist/table.config.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -3
- package/src/core.module.ts +10 -3
- package/src/module/filter/service/filter.service.ts +1 -1
- package/src/module/workflow-automation/workflow-automation.module.ts +0 -1
- package/src/table.config.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rez_core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.192",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"private": false,
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
"passport-google-oauth20": "^2.0.0",
|
|
63
63
|
"passport-jwt": "^4.0.1",
|
|
64
64
|
"passport-local": "^1.0.0",
|
|
65
|
-
"pg": "^8.16.3",
|
|
66
65
|
"redis": "^4.7.1",
|
|
67
66
|
"reflect-metadata": "^0.2.2",
|
|
68
67
|
"rxjs": "^7.8.1",
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
"@types/cron": "^2.0.1",
|
|
86
85
|
"@types/express": "^5.0.0",
|
|
87
86
|
"@types/jest": "^29.5.14",
|
|
88
|
-
"@types/multer": "^1.4.
|
|
87
|
+
"@types/multer": "^1.4.13",
|
|
89
88
|
"@types/node": "^22.10.7",
|
|
90
89
|
"@types/nodemailer": "^6.4.17",
|
|
91
90
|
"@types/supertest": "^6.0.2",
|
package/src/core.module.ts
CHANGED
|
@@ -16,11 +16,16 @@ import { LayoutPreferenceModule } from './module/layout_preference/layout_prefer
|
|
|
16
16
|
import { WorkflowModule } from './module/workflow/workflow.module';
|
|
17
17
|
import { WorkflowAutomationModule } from './module/workflow-automation/workflow-automation.module';
|
|
18
18
|
import { MapperModule } from './module/mapper/mapper.module';
|
|
19
|
+
import { WorkflowScheduleModule } from './module/workflow-schedule/workflow-schedule.module';
|
|
19
20
|
|
|
20
21
|
@Global()
|
|
21
22
|
@Module({})
|
|
22
23
|
export class CoreModule {
|
|
23
|
-
static forRootAsync(
|
|
24
|
+
static forRootAsync(
|
|
25
|
+
dbModule: DynamicModule,
|
|
26
|
+
isSso: boolean,
|
|
27
|
+
isWorkflow?: boolean,
|
|
28
|
+
): DynamicModule {
|
|
24
29
|
if (!dbModule) {
|
|
25
30
|
throw new Error('Database module must be provided.');
|
|
26
31
|
}
|
|
@@ -38,7 +43,8 @@ export class CoreModule {
|
|
|
38
43
|
LayoutPreferenceModule,
|
|
39
44
|
WorkflowModule,
|
|
40
45
|
WorkflowAutomationModule,
|
|
41
|
-
|
|
46
|
+
WorkflowScheduleModule.forRoot({ is_workflow: isWorkflow }),
|
|
47
|
+
MapperModule,
|
|
42
48
|
];
|
|
43
49
|
|
|
44
50
|
const exportsArray = [
|
|
@@ -52,9 +58,10 @@ export class CoreModule {
|
|
|
52
58
|
FilterModule,
|
|
53
59
|
LeadModule,
|
|
54
60
|
LayoutPreferenceModule,
|
|
61
|
+
MapperModule,
|
|
55
62
|
WorkflowModule,
|
|
56
63
|
WorkflowAutomationModule,
|
|
57
|
-
|
|
64
|
+
WorkflowScheduleModule.forRoot({ is_workflow: isWorkflow }),
|
|
58
65
|
];
|
|
59
66
|
|
|
60
67
|
if (isSso) {
|
|
@@ -12,7 +12,6 @@ import { ActionRegistryService } from './service/action-registery.service';
|
|
|
12
12
|
import { ScheduleHandlerService } from './service/schedule-handler.service';
|
|
13
13
|
import { ScheduledWorkflow } from '../workflow-schedule/entities/scheduled-workflow.entity';
|
|
14
14
|
import { WorkflowExecutionLog } from '../workflow-schedule/entities/workflow-execution-log.entity';
|
|
15
|
-
import { WorkflowScheduleModule } from '../workflow-schedule/workflow-schedule.module';
|
|
16
15
|
|
|
17
16
|
@Module({
|
|
18
17
|
imports: [
|
package/src/table.config.ts
CHANGED
|
@@ -39,6 +39,8 @@ import { UserSession } from "./module/user/entity/user-session.entity";
|
|
|
39
39
|
import { UserData } from "./module/user/entity/user.entity";
|
|
40
40
|
import { WorkflowAutomationActionEntity } from "./module/workflow-automation/entity/workflow-automation-action.entity";
|
|
41
41
|
import { WorkflowAutomation } from "./module/workflow-automation/entity/workflow-automation.entity";
|
|
42
|
+
import { ScheduledWorkflow } from "./module/workflow-schedule/entities/scheduled-workflow.entity";
|
|
43
|
+
import { WorkflowExecutionLog } from "./module/workflow-schedule/entities/workflow-execution-log.entity";
|
|
42
44
|
import { ActionCategory } from "./module/workflow/entity/action-category.entity";
|
|
43
45
|
import { ActionDataEntity } from "./module/workflow/entity/action-data.entity";
|
|
44
46
|
import { ActionResourcesMapping } from "./module/workflow/entity/action-resources-mapping.entity";
|
|
@@ -105,7 +107,9 @@ export const workflowTables = [
|
|
|
105
107
|
WorkflowAutomation,
|
|
106
108
|
WorkflowAutomationActionEntity,
|
|
107
109
|
WorkflowLevelMappingEntity,
|
|
108
|
-
WorkFlowData
|
|
110
|
+
WorkFlowData,
|
|
111
|
+
WorkflowExecutionLog,
|
|
112
|
+
ScheduledWorkflow
|
|
109
113
|
]
|
|
110
114
|
|
|
111
115
|
export const SSOTables = [
|