rez_core 5.0.85 → 5.0.86
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/.idea/250218_nodejs_core.iml +12 -0
- package/.idea/codeStyles/Project.xml +59 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +6 -0
- package/.idea/vcs.xml +6 -0
- package/dist/module/auth/services/auth.service.d.ts +3 -3
- package/dist/module/auth/services/auth.service.js +18 -7
- package/dist/module/auth/services/auth.service.js.map +1 -1
- package/dist/module/dashboard/controller/dashboard.controller.d.ts +1 -1
- package/dist/module/dashboard/repository/dashboard.repository.d.ts +5 -4
- package/dist/module/dashboard/repository/dashboard.repository.js +31 -18
- package/dist/module/dashboard/repository/dashboard.repository.js.map +1 -1
- package/dist/module/dashboard/service/dashboard.service.d.ts +1 -1
- package/dist/module/filter/filter.module.js +2 -0
- package/dist/module/filter/filter.module.js.map +1 -1
- package/dist/module/filter/repository/saved-filter.repository.d.ts +4 -3
- package/dist/module/filter/repository/saved-filter.repository.js +11 -8
- package/dist/module/filter/repository/saved-filter.repository.js.map +1 -1
- package/dist/module/filter/repository/saved.filter-detail.repository.d.ts +7 -0
- package/dist/module/filter/repository/saved.filter-detail.repository.js +38 -0
- package/dist/module/filter/repository/saved.filter-detail.repository.js.map +1 -0
- package/dist/module/filter/service/filter-evaluator.service.d.ts +3 -3
- package/dist/module/filter/service/filter-evaluator.service.js +6 -9
- package/dist/module/filter/service/filter-evaluator.service.js.map +1 -1
- package/dist/module/filter/service/filter.service.d.ts +5 -3
- package/dist/module/filter/service/filter.service.js +27 -17
- package/dist/module/filter/service/filter.service.js.map +1 -1
- package/dist/module/integration/service/wrapper.service.d.ts +3 -7
- package/dist/module/integration/service/wrapper.service.js +71 -69
- package/dist/module/integration/service/wrapper.service.js.map +1 -1
- package/dist/module/listmaster/repository/list-master.repository.d.ts +1 -0
- package/dist/module/listmaster/repository/list-master.repository.js +9 -0
- package/dist/module/listmaster/repository/list-master.repository.js.map +1 -1
- package/dist/module/listmaster/service/list-master-item.service.d.ts +2 -1
- package/dist/module/listmaster/service/list-master-item.service.js +3 -5
- package/dist/module/listmaster/service/list-master-item.service.js.map +1 -1
- package/dist/module/meta/repository/attribute-master.repository.d.ts +5 -3
- package/dist/module/meta/repository/attribute-master.repository.js +28 -8
- package/dist/module/meta/repository/attribute-master.repository.js.map +1 -1
- package/dist/module/meta/service/entity-dynamic.service.d.ts +3 -5
- package/dist/module/meta/service/entity-dynamic.service.js +42 -48
- package/dist/module/meta/service/entity-dynamic.service.js.map +1 -1
- package/dist/module/meta/service/media-data.service.d.ts +3 -3
- package/dist/module/meta/service/media-data.service.js +37 -16
- package/dist/module/meta/service/media-data.service.js.map +1 -1
- package/dist/module/module/repository/menu.repository.d.ts +3 -1
- package/dist/module/module/repository/menu.repository.js +33 -31
- package/dist/module/module/repository/menu.repository.js.map +1 -1
- package/dist/module/workflow/repository/comm-template.repository.d.ts +3 -1
- package/dist/module/workflow/repository/comm-template.repository.js +12 -6
- package/dist/module/workflow/repository/comm-template.repository.js.map +1 -1
- package/dist/module/workflow/service/workflow-meta.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/auth/services/auth.service.ts +17 -11
- package/src/module/dashboard/repository/dashboard.repository.ts +28 -19
- package/src/module/filter/filter.module.ts +2 -0
- package/src/module/filter/repository/saved-filter.repository.ts +22 -22
- package/src/module/filter/repository/saved.filter-detail.repository.ts +20 -0
- package/src/module/filter/service/filter-evaluator.service.ts +6 -10
- package/src/module/filter/service/filter.service.ts +24 -19
- package/src/module/integration/service/wrapper.service.ts +81 -103
- package/src/module/listmaster/repository/list-master.repository.ts +10 -0
- package/src/module/listmaster/service/list-master-item.service.ts +4 -15
- package/src/module/meta/repository/attribute-master.repository.ts +30 -12
- package/src/module/meta/service/entity-dynamic.service.ts +58 -69
- package/src/module/meta/service/media-data.service.ts +43 -40
- package/src/module/module/repository/menu.repository.ts +33 -40
- package/src/module/workflow/repository/comm-template.repository.ts +10 -8
- package/src/module/workflow/service/workflow-meta.service.ts +0 -21
- package/.vscode/extensions.json +0 -5
- package/dist/module/dev/dev.module.d.ts +0 -2
- package/dist/module/dev/dev.module.js +0 -25
- package/dist/module/dev/dev.module.js.map +0 -1
- package/dist/module/dev/service/dev.service.d.ts +0 -5
- package/dist/module/dev/service/dev.service.js +0 -25
- package/dist/module/dev/service/dev.service.js.map +0 -1
- package/src/module/dev/dev.module.ts +0 -12
- package/src/module/dev/service/dev.service.ts +0 -7
|
@@ -2,12 +2,9 @@ import { Injectable } from '@nestjs/common';
|
|
|
2
2
|
import { ConfigService } from '@nestjs/config';
|
|
3
3
|
import { S3 } from 'aws-sdk';
|
|
4
4
|
import axios from 'axios';
|
|
5
|
-
import {
|
|
5
|
+
import { EntityManager } from 'typeorm';
|
|
6
6
|
import { v4 as uuidv4 } from 'uuid';
|
|
7
|
-
import {
|
|
8
|
-
ENTITYTYPE_MEDIA,
|
|
9
|
-
STATUS_PENDING,
|
|
10
|
-
} from '../../../constant/global.constant';
|
|
7
|
+
import { ENTITYTYPE_MEDIA, STATUS_PENDING } from '../../../constant/global.constant';
|
|
11
8
|
import { MediaData } from '../entity/media-data.entity';
|
|
12
9
|
import { MediaDataRepository } from '../repository/media-data.repository';
|
|
13
10
|
import { EntityServiceImpl } from './entity-service-impl.service';
|
|
@@ -17,7 +14,7 @@ export class MediaDataService extends EntityServiceImpl {
|
|
|
17
14
|
constructor(
|
|
18
15
|
private readonly configService: ConfigService,
|
|
19
16
|
private readonly mediaRepository: MediaDataRepository,
|
|
20
|
-
private
|
|
17
|
+
private entityManager: EntityManager,
|
|
21
18
|
) {
|
|
22
19
|
super();
|
|
23
20
|
}
|
|
@@ -197,11 +194,14 @@ export class MediaDataService extends EntityServiceImpl {
|
|
|
197
194
|
const replacements: Record<string, string | null> = {};
|
|
198
195
|
|
|
199
196
|
// --- ORG ---
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
197
|
+
const organizationRepo = this.reflectionHelper.getRepoService('OrganizationData');
|
|
198
|
+
let organizationData = await organizationRepo.findOne({
|
|
199
|
+
where: {
|
|
200
|
+
id: loggedInUser.organization_id,
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
replacements['org_code'] = organizationData.code;
|
|
205
205
|
|
|
206
206
|
// --- LEVEL CODE ---
|
|
207
207
|
// Priority: If parent is provided, use parent for level_code; otherwise use normal logic
|
|
@@ -221,14 +221,13 @@ export class MediaDataService extends EntityServiceImpl {
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
// Get entity data for level_code
|
|
224
|
-
const getEntityData = await this.
|
|
225
|
-
`SELECT * FROM cr_entity_master WHERE mapped_entity_type = $1 and organization_id = $2`,
|
|
226
|
-
[levelEntityType, loggedInUser.organization_id],
|
|
227
|
-
);
|
|
224
|
+
const getEntityData = await this.entityMasterService.getEntityData(levelEntityType, loggedInUser);
|
|
228
225
|
|
|
229
|
-
if (getEntityData
|
|
230
|
-
const levelEntityDataResult = await this.
|
|
231
|
-
`SELECT *
|
|
226
|
+
if (!getEntityData) return null;
|
|
227
|
+
const levelEntityDataResult = await this.entityManager.query(
|
|
228
|
+
`SELECT *
|
|
229
|
+
FROM ${getEntityData?.db_table_name}
|
|
230
|
+
WHERE id = $1`,
|
|
232
231
|
[levelEntityId],
|
|
233
232
|
);
|
|
234
233
|
|
|
@@ -269,14 +268,13 @@ export class MediaDataService extends EntityServiceImpl {
|
|
|
269
268
|
// );
|
|
270
269
|
|
|
271
270
|
// Get entity data for level_code
|
|
272
|
-
const getEntityData = await this.
|
|
273
|
-
`SELECT * FROM cr_entity_master WHERE mapped_entity_type = $1 and organization_id = $2`,
|
|
274
|
-
[mappedEntityType, loggedInUser.organization_id],
|
|
275
|
-
);
|
|
271
|
+
const getEntityData = await this.entityMasterService.getEntityData(mappedEntityType, loggedInUser);
|
|
276
272
|
|
|
277
|
-
if (getEntityData
|
|
278
|
-
const levelEntityDataResult = await this.
|
|
279
|
-
`SELECT *
|
|
273
|
+
if (!getEntityData) return null;
|
|
274
|
+
const levelEntityDataResult = await this.entityManager.query(
|
|
275
|
+
`SELECT *
|
|
276
|
+
FROM ${getEntityData?.db_table_name}
|
|
277
|
+
WHERE id = $1`,
|
|
280
278
|
[mappedEntityId],
|
|
281
279
|
);
|
|
282
280
|
|
|
@@ -289,14 +287,13 @@ export class MediaDataService extends EntityServiceImpl {
|
|
|
289
287
|
// If we have parent template, modify the path to include it
|
|
290
288
|
pathTemplate = '${org_code}/template/${template_code}';
|
|
291
289
|
} else {
|
|
292
|
-
const getEntityData = await this.
|
|
293
|
-
`SELECT * FROM cr_entity_master WHERE mapped_entity_type = $1 and organization_id = $2`,
|
|
294
|
-
[mappedEntityType, loggedInUser.organization_id],
|
|
295
|
-
);
|
|
290
|
+
const getEntityData = await this.entityMasterService.getEntityData(mappedEntityType, loggedInUser);
|
|
296
291
|
|
|
297
|
-
if (getEntityData
|
|
298
|
-
const levelEntityDataResult = await this.
|
|
299
|
-
`SELECT *
|
|
292
|
+
if (!getEntityData) return null;
|
|
293
|
+
const levelEntityDataResult = await this.entityManager.query(
|
|
294
|
+
`SELECT *
|
|
295
|
+
FROM ${getEntityData?.db_table_name}
|
|
296
|
+
WHERE id = $1`,
|
|
300
297
|
[mappedEntityId],
|
|
301
298
|
);
|
|
302
299
|
|
|
@@ -417,14 +414,20 @@ export class MediaDataService extends EntityServiceImpl {
|
|
|
417
414
|
return null;
|
|
418
415
|
});
|
|
419
416
|
} else {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
);
|
|
417
|
+
const organizationProfileRepo = this.reflectionHelper.getRepoService('OrganizationProfile');
|
|
418
|
+
organizationData = await organizationProfileRepo.find({
|
|
419
|
+
where: {
|
|
420
|
+
id: loggedInUser.organization_id,
|
|
421
|
+
},
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
const schoolProfileRepo = this.reflectionHelper.getRepoService('School');
|
|
425
|
+
|
|
426
|
+
levelData = await schoolProfileRepo.find({
|
|
427
|
+
where: {
|
|
428
|
+
id: loggedInUser.level_id,
|
|
429
|
+
},
|
|
430
|
+
});
|
|
428
431
|
}
|
|
429
432
|
|
|
430
433
|
console.log(levelData);
|
|
@@ -2,10 +2,7 @@ import { Injectable } from '@nestjs/common';
|
|
|
2
2
|
import { DataSource, Repository } from 'typeorm';
|
|
3
3
|
import { MenuData } from '../entity/menu.entity';
|
|
4
4
|
import { ModuleAccess } from '../entity/module-access.entity';
|
|
5
|
-
import { UserRoleMapping } from 'src/module/user/entity/user-role-mapping.entity';
|
|
6
|
-
import { Role } from 'src/module/user/entity/role.entity';
|
|
7
5
|
import { InjectRepository } from '@nestjs/typeorm';
|
|
8
|
-
import { get } from 'http';
|
|
9
6
|
import { ReflectionHelper } from '../../../utils/service/reflection-helper.service';
|
|
10
7
|
|
|
11
8
|
@Injectable()
|
|
@@ -14,16 +11,18 @@ export class MenuRepository extends Repository<MenuData> {
|
|
|
14
11
|
private readonly dataSource: DataSource,
|
|
15
12
|
@InjectRepository(MenuData) private readonly menuData: Repository<MenuData>,
|
|
16
13
|
private readonly reflectionHelper: ReflectionHelper,
|
|
14
|
+
@InjectRepository(ModuleAccess) private readonly moduleAccessRepo: Repository<ModuleAccess>,
|
|
17
15
|
) {
|
|
18
16
|
super(MenuData, dataSource.createEntityManager());
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
async getUserRoles(userId: number, appcode: string): Promise<number[]> {
|
|
22
|
-
const
|
|
23
|
-
|
|
20
|
+
const userRoleMappingRepo = this.reflectionHelper.getRepoService('UserRoleMapping');
|
|
21
|
+
|
|
22
|
+
const roles = await userRoleMappingRepo
|
|
24
23
|
.createQueryBuilder('urm')
|
|
25
24
|
.innerJoin('sso_role', 'role', 'role.id = urm.role_id')
|
|
26
|
-
.select('urm.role_id')
|
|
25
|
+
.select('urm.role_id', 'role_id')
|
|
27
26
|
.where('urm.user_id = :userId', { userId })
|
|
28
27
|
.andWhere('role.appcode = :appcode', { appcode })
|
|
29
28
|
.getRawMany();
|
|
@@ -35,18 +34,20 @@ export class MenuRepository extends Repository<MenuData> {
|
|
|
35
34
|
roleIds: number[],
|
|
36
35
|
appCode: string,
|
|
37
36
|
): Promise<string[]> {
|
|
38
|
-
const
|
|
39
|
-
|
|
37
|
+
const roleRepo = this.reflectionHelper.getRepoService('Role');
|
|
38
|
+
|
|
39
|
+
const roleCodes = await roleRepo
|
|
40
40
|
.createQueryBuilder('role')
|
|
41
|
-
.select('role.code')
|
|
41
|
+
.select('role.code', 'code')
|
|
42
42
|
.where('role.id IN (:...roleIds)', { roleIds })
|
|
43
|
-
.
|
|
43
|
+
.getRawMany();
|
|
44
|
+
|
|
45
|
+
const codes = roleCodes.map(r => r.code);
|
|
44
46
|
|
|
45
|
-
const codes = roleCodes.map((role) => role.code);
|
|
46
47
|
if (codes.length === 0) return [];
|
|
47
48
|
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
|
|
50
|
+
const modules = await this.moduleAccessRepo
|
|
50
51
|
.createQueryBuilder('moduleAccess')
|
|
51
52
|
.select('moduleAccess.module_code')
|
|
52
53
|
.where('moduleAccess.role_code IN (:...codes)', { codes })
|
|
@@ -101,32 +102,26 @@ export class MenuRepository extends Repository<MenuData> {
|
|
|
101
102
|
|
|
102
103
|
if (userId) {
|
|
103
104
|
// Check if user has any role mappings for the given appcode
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
[userId],
|
|
111
|
-
);
|
|
105
|
+
const userRepo = this.reflectionHelper.getRepoService('User');
|
|
106
|
+
const getUserDetails = await userRepo.findOne({
|
|
107
|
+
where: {
|
|
108
|
+
id: userId,
|
|
109
|
+
},
|
|
110
|
+
});
|
|
112
111
|
|
|
113
112
|
// get user role from urm
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
and appcode = $2
|
|
121
|
-
`,
|
|
122
|
-
[userId, appcode],
|
|
123
|
-
);
|
|
113
|
+
const getUserUrm = await repo.findOne({
|
|
114
|
+
where: {
|
|
115
|
+
user_id: userId,
|
|
116
|
+
appcode: appcode,
|
|
117
|
+
},
|
|
118
|
+
});
|
|
124
119
|
|
|
125
120
|
if (
|
|
126
121
|
getUserDetails.length > 0 &&
|
|
127
122
|
getUserDetails[0].organization_id === 1
|
|
128
123
|
) {
|
|
129
|
-
return [Number(getUserUrm
|
|
124
|
+
return [Number(getUserUrm.role_id)];
|
|
130
125
|
}
|
|
131
126
|
}
|
|
132
127
|
|
|
@@ -145,14 +140,12 @@ export class MenuRepository extends Repository<MenuData> {
|
|
|
145
140
|
|
|
146
141
|
// 2. If SCH fallback → BRN → ORG
|
|
147
142
|
if (levelType === 'SCH') {
|
|
148
|
-
const
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
[levelId],
|
|
155
|
-
);
|
|
143
|
+
const schoolRepo = this.reflectionHelper.getRepoService('SSOSchool');
|
|
144
|
+
const sch = await schoolRepo.findOne({
|
|
145
|
+
where: {
|
|
146
|
+
id: levelId,
|
|
147
|
+
},
|
|
148
|
+
});
|
|
156
149
|
|
|
157
150
|
const brandId = sch?.brand_id;
|
|
158
151
|
const orgId = sch?.organization_id;
|
|
@@ -4,6 +4,7 @@ import { DataSource, Repository } from 'typeorm';
|
|
|
4
4
|
import { CommTemplate } from '../entity/comm-template.entity';
|
|
5
5
|
import { TemplateAttach } from '../entity/template-attach-mapper.entity';
|
|
6
6
|
import { MediaDataService } from 'src/module/meta/service/media-data.service';
|
|
7
|
+
import { ReflectionHelper } from '../../../utils/service/reflection-helper.service';
|
|
7
8
|
|
|
8
9
|
@Injectable()
|
|
9
10
|
export class CommTemplateRepository {
|
|
@@ -14,6 +15,7 @@ export class CommTemplateRepository {
|
|
|
14
15
|
private readonly templateAttachEntity: Repository<TemplateAttach>,
|
|
15
16
|
private readonly mediaDataService: MediaDataService,
|
|
16
17
|
private readonly dataSource: DataSource,
|
|
18
|
+
private readonly reflectionHelper: ReflectionHelper,
|
|
17
19
|
) {}
|
|
18
20
|
|
|
19
21
|
async getAllCommTemplate(
|
|
@@ -27,20 +29,20 @@ export class CommTemplateRepository {
|
|
|
27
29
|
|
|
28
30
|
// 1️⃣ Only check action_id if provided
|
|
29
31
|
if (action_id) {
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
const actionRepo = this.reflectionHelper.getRepoService('ActionEntity');
|
|
33
|
+
|
|
34
|
+
const actionResult = await actionRepo.findOne({
|
|
35
|
+
where: {
|
|
36
|
+
id: action_id,
|
|
37
|
+
organization_id: organization_id,
|
|
38
|
+
}
|
|
39
|
+
})
|
|
37
40
|
|
|
38
41
|
if (!actionResult) {
|
|
39
42
|
throw new Error('Invalid action_id');
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
is_template = actionResult.is_template;
|
|
43
|
-
|
|
44
46
|
await this.dataSource.query(
|
|
45
47
|
`UPDATE frm_wf_comm_template
|
|
46
48
|
SET is_template = $1
|
|
@@ -547,27 +547,6 @@ export class WorkflowMetaService extends EntityServiceImpl {
|
|
|
547
547
|
): Promise<number> {
|
|
548
548
|
const { organization_id, level_id, level_type } = loggedInUser;
|
|
549
549
|
|
|
550
|
-
// 1) Get eligible owners (distinct + stable ordering) // axios call
|
|
551
|
-
// const owners: Array<{ id: number }> = await this.dataSource.query(
|
|
552
|
-
// `
|
|
553
|
-
// SELECT DISTINCT u.id
|
|
554
|
-
// FROM sso_user u
|
|
555
|
-
// JOIN sso_user_role_mapping urm ON u.id = urm.user_id
|
|
556
|
-
// JOIN sso_role r ON urm.role_id = r.id
|
|
557
|
-
// JOIN sso_module_access ma ON ma.role_code = r.code
|
|
558
|
-
// WHERE urm.organization_id = ?
|
|
559
|
-
// AND urm.level_id = ?
|
|
560
|
-
// AND urm.level_type = ?
|
|
561
|
-
// AND urm.appcode = 'CRM'
|
|
562
|
-
// AND ma.appcode = 'CRM'
|
|
563
|
-
// AND ma.module_code = 'lead_crm_sch'
|
|
564
|
-
// AND ma.access_flag = 1
|
|
565
|
-
// AND ma.action_type = 'LEAD_OWNER'
|
|
566
|
-
// ORDER BY u.id ASC
|
|
567
|
-
// `,
|
|
568
|
-
// [organization_id, Number(level_id), level_type],
|
|
569
|
-
// );
|
|
570
|
-
|
|
571
550
|
let owners = [] as any;
|
|
572
551
|
|
|
573
552
|
try {
|
package/.vscode/extensions.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.DevModule = void 0;
|
|
10
|
-
const common_1 = require("@nestjs/common");
|
|
11
|
-
const entity_module_1 = require("../meta/entity.module");
|
|
12
|
-
const user_module_1 = require("../user/user.module");
|
|
13
|
-
const module_module_1 = require("../module/module.module");
|
|
14
|
-
const dev_service_1 = require("./service/dev.service");
|
|
15
|
-
let DevModule = class DevModule {
|
|
16
|
-
};
|
|
17
|
-
exports.DevModule = DevModule;
|
|
18
|
-
exports.DevModule = DevModule = __decorate([
|
|
19
|
-
(0, common_1.Module)({
|
|
20
|
-
imports: [entity_module_1.EntityModule, user_module_1.UserModule, module_module_1.ModuleModule],
|
|
21
|
-
controllers: [],
|
|
22
|
-
providers: [dev_service_1.DevService],
|
|
23
|
-
})
|
|
24
|
-
], DevModule);
|
|
25
|
-
//# sourceMappingURL=dev.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev.module.js","sourceRoot":"","sources":["../../../src/module/dev/dev.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,yDAAqD;AACrD,qDAAiD;AACjD,2DAAuD;AACvD,uDAAmD;AAO5C,IAAM,SAAS,GAAf,MAAM,SAAS;CAAG,CAAA;AAAZ,8BAAS;oBAAT,SAAS;IALrB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,4BAAY,EAAE,wBAAU,EAAE,4BAAY,CAAC;QACjD,WAAW,EAAE,EAAE;QACf,SAAS,EAAE,CAAC,wBAAU,CAAC;KACxB,CAAC;GACW,SAAS,CAAG"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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.DevService = void 0;
|
|
13
|
-
const common_1 = require("@nestjs/common");
|
|
14
|
-
const user_service_1 = require("../../user/service/user.service");
|
|
15
|
-
let DevService = class DevService {
|
|
16
|
-
constructor(userService) {
|
|
17
|
-
this.userService = userService;
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
exports.DevService = DevService;
|
|
21
|
-
exports.DevService = DevService = __decorate([
|
|
22
|
-
(0, common_1.Injectable)(),
|
|
23
|
-
__metadata("design:paramtypes", [user_service_1.UserService])
|
|
24
|
-
], DevService);
|
|
25
|
-
//# sourceMappingURL=dev.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev.service.js","sourceRoot":"","sources":["../../../../src/module/dev/service/dev.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,kEAA8D;AAGvD,IAAM,UAAU,GAAhB,MAAM,UAAU;IACrB,YAA6B,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IAAG,CAAC;CAC1D,CAAA;AAFY,gCAAU;qBAAV,UAAU;IADtB,IAAA,mBAAU,GAAE;qCAE+B,0BAAW;GAD1C,UAAU,CAEtB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Module } from '@nestjs/common';
|
|
2
|
-
import { EntityModule } from '../meta/entity.module';
|
|
3
|
-
import { UserModule } from '../user/user.module';
|
|
4
|
-
import { ModuleModule } from '../module/module.module';
|
|
5
|
-
import { DevService } from './service/dev.service';
|
|
6
|
-
|
|
7
|
-
@Module({
|
|
8
|
-
imports: [EntityModule, UserModule, ModuleModule],
|
|
9
|
-
controllers: [],
|
|
10
|
-
providers: [DevService],
|
|
11
|
-
})
|
|
12
|
-
export class DevModule {}
|