rez_core 6.5.21 → 6.5.22
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/module/notification/entity/notification.entity.d.ts +17 -2
- package/dist/module/notification/entity/notification.entity.js +68 -2
- package/dist/module/notification/entity/notification.entity.js.map +1 -1
- package/dist/module/notification/notification.module.js +0 -2
- package/dist/module/notification/notification.module.js.map +1 -1
- package/dist/module/notification/service/notification.service.d.ts +1 -3
- package/dist/module/notification/service/notification.service.js +2 -5
- package/dist/module/notification/service/notification.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/notification/entity/notification.entity.ts +53 -3
- package/src/module/notification/notification.module.ts +0 -2
- package/src/module/notification/service/notification.service.ts +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Column, Entity } from 'typeorm';
|
|
1
|
+
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
3
2
|
|
|
4
3
|
@Entity({ name: 'frm_notification' })
|
|
5
|
-
export class NotificationData
|
|
4
|
+
export class NotificationData {
|
|
5
|
+
@PrimaryGeneratedColumn({ type: 'bigint' })
|
|
6
|
+
id: number;
|
|
7
|
+
|
|
8
|
+
@Column({ name: 'entity_type', type: 'varchar', length: 100, nullable: true })
|
|
9
|
+
entity_type: string;
|
|
10
|
+
|
|
11
|
+
@Column({ name: 'name', type: 'varchar', length: 100, nullable: true })
|
|
12
|
+
name: string;
|
|
13
|
+
|
|
14
|
+
@Column({ name: 'status', type: 'varchar', nullable: true, length: 100 })
|
|
15
|
+
status: string;
|
|
16
|
+
|
|
17
|
+
@Column({ name: 'parent_type', type: 'varchar', length: 100, nullable: true })
|
|
18
|
+
parent_type: string;
|
|
19
|
+
|
|
20
|
+
@Column({ name: 'parent_id', type: 'bigint', nullable: true })
|
|
21
|
+
parent_id: number;
|
|
22
|
+
|
|
23
|
+
@Column({ name: 'code', type: 'varchar', length: 100, nullable: true })
|
|
24
|
+
code: string;
|
|
25
|
+
|
|
26
|
+
@Column({ name: 'created_by', type: 'bigint', nullable: true })
|
|
27
|
+
created_by: number;
|
|
28
|
+
|
|
29
|
+
@Column({
|
|
30
|
+
name: 'created_date',
|
|
31
|
+
nullable: true,
|
|
32
|
+
})
|
|
33
|
+
created_date: Date;
|
|
34
|
+
|
|
35
|
+
@Column({ name: 'modified_by', type: 'bigint', nullable: true })
|
|
36
|
+
modified_by: number;
|
|
37
|
+
|
|
38
|
+
@Column({ name: 'modified_date', nullable: true })
|
|
39
|
+
modified_date: Date;
|
|
40
|
+
|
|
41
|
+
@Column({ name: 'enterprise_id', type: 'int', nullable: true })
|
|
42
|
+
enterprise_id: number;
|
|
43
|
+
|
|
44
|
+
@Column({ name: 'organization_id', type: 'int', nullable: true })
|
|
45
|
+
organization_id: number;
|
|
46
|
+
|
|
47
|
+
@Column({ name: 'appcode', type: 'varchar', length: 100, nullable: true })
|
|
48
|
+
appcode: string;
|
|
49
|
+
|
|
50
|
+
@Column({ name: 'level_id', type: 'varchar', length: 100, nullable: true })
|
|
51
|
+
level_id: string;
|
|
52
|
+
|
|
53
|
+
@Column({ name: 'level_type', type: 'varchar', length: 100, nullable: true })
|
|
54
|
+
level_type: string;
|
|
55
|
+
|
|
6
56
|
@Column({ name: 'user_id', type: 'int', nullable: true })
|
|
7
57
|
user_id: number | null;
|
|
8
58
|
|
|
@@ -15,7 +15,6 @@ import { IcsMeetingModule } from '../ics/ics.module';
|
|
|
15
15
|
import { NotificationData } from './entity/notification.entity';
|
|
16
16
|
import { NotificationsController } from './controller/notification.controller';
|
|
17
17
|
import { NotificationsService } from './service/notification.service';
|
|
18
|
-
import { EntityModule } from '../meta/entity.module';
|
|
19
18
|
import { FirebaseAdminProvider } from './firebase-admin.config';
|
|
20
19
|
|
|
21
20
|
@Module({
|
|
@@ -49,7 +48,6 @@ import { FirebaseAdminProvider } from './firebase-admin.config';
|
|
|
49
48
|
AuthModule,
|
|
50
49
|
UserModule,
|
|
51
50
|
IcsMeetingModule,
|
|
52
|
-
EntityModule,
|
|
53
51
|
],
|
|
54
52
|
providers: [
|
|
55
53
|
OtpService,
|
|
@@ -10,7 +10,6 @@ import { ReflectionHelper } from 'src/utils/service/reflection-helper.service';
|
|
|
10
10
|
export class NotificationsService {
|
|
11
11
|
constructor(
|
|
12
12
|
private readonly entityManager: EntityManager,
|
|
13
|
-
private readonly mediaDataService: MediaDataService,
|
|
14
13
|
private readonly configService: ConfigService,
|
|
15
14
|
private readonly reflectionHelper: ReflectionHelper,
|
|
16
15
|
@Inject('FIREBASE_ADMIN') private readonly firebaseAdmin: typeof admin,
|