rez_core 2.2.133 → 2.2.134

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "2.2.133",
3
+ "version": "2.2.134",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
package/src/app.module.ts CHANGED
@@ -15,6 +15,7 @@ import { LeadModule } from './module/lead/lead.module';
15
15
  import { LayoutPreferenceModule } from './module/layout_preference/layout_preference.module';
16
16
  import { WorkflowModule } from './module/workflow/workflow.module';
17
17
  import { IcsMeetingModule } from './module/ics/ics.module';
18
+ import { DashboardModule } from './module/dashboard/dashboard.module';
18
19
 
19
20
  @Module({
20
21
  imports: [
@@ -34,6 +35,7 @@ import { IcsMeetingModule } from './module/ics/ics.module';
34
35
  LayoutPreferenceModule,
35
36
  WorkflowModule,
36
37
  IcsMeetingModule,
38
+ DashboardModule,
37
39
  ],
38
40
  })
39
41
  export class AppModule {}
@@ -15,7 +15,7 @@ export class MySqlConfiguration implements TypeOrmOptionsFactory {
15
15
  password: this.configService.get('DB_PASS') || 'Rezolut@123',
16
16
  database: this.configService.get('DB_NAME') || 'core',
17
17
  entities: [__dirname + '/../module/**/*.entity.{ts,js}'],
18
- synchronize: false,
18
+ synchronize: true,
19
19
  autoLoadEntities: true,
20
20
  poolSize: 5,
21
21
  };
@@ -0,0 +1,15 @@
1
+ import { Module } from '@nestjs/common';
2
+ import { EntityModule } from '../meta/entity.module';
3
+ import { TypeOrmModule } from '@nestjs/typeorm';
4
+ import { WidgetMaster } from './entity/widget_master.entity';
5
+ import { DashboardPageData } from './entity/dashboard_page_data.entity';
6
+
7
+ @Module({
8
+ imports: [
9
+ EntityModule,
10
+ TypeOrmModule.forFeature([WidgetMaster, DashboardPageData]),
11
+ ],
12
+ controllers: [],
13
+ providers: [],
14
+ })
15
+ export class DashboardModule {}
@@ -0,0 +1,17 @@
1
+ import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
+ import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
3
+
4
+ @Entity({ name: 'cr_dashboard_page_data' })
5
+ export class DashboardPageData extends BaseEntity {
6
+ @Column({ type: 'int', nullable: true })
7
+ page_sequence: number;
8
+
9
+ @Column({ type: 'varchar', nullable: true })
10
+ applicable_type: string;
11
+
12
+ @Column({ type: 'boolean', nullable: true })
13
+ is_hidden: boolean;
14
+
15
+ @Column({ type: 'json', nullable: true })
16
+ layout_json: any;
17
+ }
@@ -0,0 +1,14 @@
1
+ import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
+ import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
3
+
4
+ @Entity({ name: 'cr_widget_master' })
5
+ export class WidgetMaster extends BaseEntity {
6
+ @Column({ type: 'varchar', nullable: true })
7
+ api_url: string;
8
+
9
+ @Column({ type: 'varchar', nullable: true })
10
+ function_name: string;
11
+
12
+ @Column({ type: 'varchar', nullable: true })
13
+ view_type: string;
14
+ }