rez_core 6.5.16 → 6.5.18
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/enterprise/controller/meta.controller.d.ts +9 -0
- package/dist/module/enterprise/controller/meta.controller.js +43 -0
- package/dist/module/enterprise/controller/meta.controller.js.map +1 -0
- package/dist/module/enterprise/enterprise.module.js +5 -2
- package/dist/module/enterprise/enterprise.module.js.map +1 -1
- package/dist/module/enterprise/service/populate-meta.service.d.ts +9 -0
- package/dist/module/{meta → enterprise}/service/populate-meta.service.js +2 -8
- package/dist/module/enterprise/service/populate-meta.service.js.map +1 -0
- package/dist/module/entity_json/service/entity_json.service.d.ts +3 -2
- package/dist/module/entity_json/service/entity_json.service.js +12 -6
- package/dist/module/entity_json/service/entity_json.service.js.map +1 -1
- package/dist/module/meta/controller/meta.controller.d.ts +1 -6
- package/dist/module/meta/controller/meta.controller.js +1 -19
- package/dist/module/meta/controller/meta.controller.js.map +1 -1
- package/dist/module/meta/entity.module.js +1 -4
- package/dist/module/meta/entity.module.js.map +1 -1
- package/dist/module/meta/service/entity-service-impl.service.js +6 -6
- package/dist/module/meta/service/entity-service-impl.service.js.map +1 -1
- package/dist/module/meta/service/resolver.service.js +1 -0
- package/dist/module/meta/service/resolver.service.js.map +1 -1
- package/dist/module/user/controller/login.controller.d.ts +1 -3
- package/dist/module/user/controller/login.controller.js +2 -6
- package/dist/module/user/controller/login.controller.js.map +1 -1
- package/dist/module/user/user.module.js +1 -3
- package/dist/module/user/user.module.js.map +1 -1
- package/dist/module/workflow/service/populate-workflow.service.d.ts +1 -1
- package/dist/module/workflow/service/populate-workflow.service.js +1 -1
- package/dist/module/workflow/service/populate-workflow.service.js.map +1 -1
- package/dist/module/workflow/workflow.module.js +2 -0
- package/dist/module/workflow/workflow.module.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/enterprise/controller/meta.controller.ts +23 -0
- package/src/module/enterprise/enterprise.module.ts +5 -2
- package/src/module/{meta → enterprise}/service/populate-meta.service.ts +2 -5
- package/src/module/entity_json/service/entity_json.service.ts +8 -7
- package/src/module/meta/controller/meta.controller.ts +3 -25
- package/src/module/meta/entity.module.ts +4 -6
- package/src/module/meta/service/entity-service-impl.service.ts +16 -6
- package/src/module/meta/service/resolver.service.ts +2 -1
- package/src/module/user/controller/login.controller.ts +7 -8
- package/src/module/user/user.module.ts +1 -2
- package/src/module/workflow/service/populate-workflow.service.ts +1 -1
- package/src/module/workflow/workflow.module.ts +2 -0
- package/dist/module/meta/service/populate-meta.service.d.ts +0 -13
- package/dist/module/meta/service/populate-meta.service.js.map +0 -1
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Controller, HttpCode, HttpStatus, Post, Query, Req, Res } from '@nestjs/common';
|
|
2
|
+
import { Response } from 'express';
|
|
3
|
+
import { PopulateMetaService } from '../service/populate-meta.service';
|
|
4
|
+
|
|
5
|
+
@Controller('meta')
|
|
6
|
+
export class MetaController {
|
|
7
|
+
|
|
8
|
+
constructor(private readonly populateMetaService: PopulateMetaService) {
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@Post('populate')
|
|
12
|
+
@HttpCode(HttpStatus.OK)
|
|
13
|
+
async populateMetaData(
|
|
14
|
+
@Query('organization_id') organizationId: number,
|
|
15
|
+
@Res() response: Response,
|
|
16
|
+
@Req() req: Request & { user: any },
|
|
17
|
+
) {
|
|
18
|
+
const loggedInUser = req.user.userData;
|
|
19
|
+
const result =
|
|
20
|
+
await this.populateMetaService.populateMetaData(organizationId);
|
|
21
|
+
return response.status(HttpStatus.OK).json(result);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -15,6 +15,8 @@ import { EnterpriseService } from './service/enterprise.service';
|
|
|
15
15
|
import { EnterpriseRepository } from './repository/enterprise.repository';
|
|
16
16
|
import { EnterpriseData } from './entity/enterprise.entity';
|
|
17
17
|
import { EnterpriseController } from './controller/enterprise.controller';
|
|
18
|
+
import { PopulateMetaService } from './service/populate-meta.service';
|
|
19
|
+
import { MetaController } from './controller/meta.controller';
|
|
18
20
|
|
|
19
21
|
@Module({
|
|
20
22
|
imports: [
|
|
@@ -25,7 +27,7 @@ import { EnterpriseController } from './controller/enterprise.controller';
|
|
|
25
27
|
]),
|
|
26
28
|
UtilsModule,
|
|
27
29
|
],
|
|
28
|
-
controllers: [OrganizationController, EnterpriseController],
|
|
30
|
+
controllers: [OrganizationController, EnterpriseController, MetaController],
|
|
29
31
|
providers: [
|
|
30
32
|
OrganizationService,
|
|
31
33
|
OrganizationAppMappingService,
|
|
@@ -33,8 +35,9 @@ import { EnterpriseController } from './controller/enterprise.controller';
|
|
|
33
35
|
OrganizationRepository,
|
|
34
36
|
EnterpriseService,
|
|
35
37
|
EnterpriseRepository,
|
|
38
|
+
PopulateMetaService
|
|
36
39
|
],
|
|
37
|
-
exports: [OrganizationService, OrganizationRepository, EnterpriseService, EnterpriseRepository],
|
|
40
|
+
exports: [OrganizationService, OrganizationRepository, EnterpriseService, EnterpriseRepository, PopulateMetaService],
|
|
38
41
|
})
|
|
39
42
|
export class EnterpriseModule {
|
|
40
43
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { Injectable } from '@nestjs/common';
|
|
2
|
-
import { DataSource } from 'typeorm';
|
|
3
|
-
import { EntityServiceImpl } from './entity-service-impl.service';
|
|
4
2
|
import { ReflectionHelper } from 'src/utils/service/reflection-helper.service';
|
|
5
3
|
|
|
6
4
|
@Injectable()
|
|
7
5
|
export class PopulateMetaService {
|
|
8
6
|
constructor(
|
|
9
|
-
private readonly dataSource: DataSource,
|
|
10
|
-
private readonly entityServiceImpl: EntityServiceImpl,
|
|
11
7
|
private readonly reflectionHelper: ReflectionHelper,
|
|
12
|
-
) {
|
|
8
|
+
) {
|
|
9
|
+
}
|
|
13
10
|
|
|
14
11
|
async populateMetaData(organization_id: number) {
|
|
15
12
|
const metadataTables = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injectable } from '@nestjs/common';
|
|
1
|
+
import { Inject, Injectable, forwardRef } from '@nestjs/common';
|
|
2
2
|
import { LinkedAttributes } from 'src/module/linked_attributes/entity/linked_attribute.entity';
|
|
3
3
|
import { AttributeMaster } from 'src/module/meta/entity/attribute-master.entity';
|
|
4
4
|
import { EntityRelation } from 'src/module/meta/entity/entity-relation.entity';
|
|
@@ -9,15 +9,16 @@ import { EntityJSONRepository } from './entityJson.repository';
|
|
|
9
9
|
import { FilterService } from '../../filter/service/filter.service';
|
|
10
10
|
|
|
11
11
|
@Injectable()
|
|
12
|
-
export class EntityJSONService
|
|
12
|
+
export class EntityJSONService {
|
|
13
13
|
constructor(
|
|
14
14
|
private readonly dataSource: DataSource,
|
|
15
15
|
private readonly loggerService: LoggingService,
|
|
16
16
|
private readonly EntityJSONRepository: EntityJSONRepository,
|
|
17
|
+
@Inject(forwardRef(() => FilterService))
|
|
17
18
|
private readonly filterService: FilterService,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
19
|
+
@Inject(forwardRef(() => EntityServiceImpl))
|
|
20
|
+
private readonly entityServiceImpl: EntityServiceImpl,
|
|
21
|
+
) {}
|
|
21
22
|
|
|
22
23
|
async getAttributeForFlatJSON(
|
|
23
24
|
entityType: string,
|
|
@@ -138,7 +139,7 @@ export class EntityJSONService extends EntityServiceImpl {
|
|
|
138
139
|
if (attr.attribute_key) attrMap[attr.attribute_key] = attr.flat_json_key || attr.attribute_key;
|
|
139
140
|
});
|
|
140
141
|
|
|
141
|
-
const mainData = await this.getResolvedEntityData(entityType, entityId, loggedInUser);
|
|
142
|
+
const mainData = await this.entityServiceImpl.getResolvedEntityData(entityType, entityId, loggedInUser);
|
|
142
143
|
this.mergeEntityDataIntoFlatJson(flatJson, mainData, attrMap);
|
|
143
144
|
|
|
144
145
|
const relations = await this.dataSource
|
|
@@ -151,7 +152,7 @@ export class EntityJSONService extends EntityServiceImpl {
|
|
|
151
152
|
.getRawMany();
|
|
152
153
|
|
|
153
154
|
for (const rel of relations) {
|
|
154
|
-
const relatedData = await this.getResolvedEntityData(rel.target_entity_type, rel.target_entity_id, loggedInUser);
|
|
155
|
+
const relatedData = await this.entityServiceImpl.getResolvedEntityData(rel.target_entity_type, rel.target_entity_id, loggedInUser);
|
|
155
156
|
this.mergeEntityDataIntoFlatJson(flatJson, relatedData, attrMap);
|
|
156
157
|
}
|
|
157
158
|
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Body,
|
|
3
|
-
Controller, HttpCode,
|
|
4
|
-
HttpStatus,
|
|
5
|
-
Post,
|
|
6
|
-
Query,
|
|
7
|
-
Req,
|
|
8
|
-
Res,
|
|
9
|
-
UseGuards,
|
|
10
|
-
} from '@nestjs/common';
|
|
1
|
+
import { Body, Controller, HttpCode, HttpStatus, Post, Query, Req, Res, UseGuards } from '@nestjs/common';
|
|
11
2
|
import { EntityTableService } from '../service/entity-table.service';
|
|
12
3
|
import { Response } from 'express';
|
|
13
4
|
import { JwtAuthGuard } from '../../auth/guards/jwt.guard';
|
|
14
|
-
import { PopulateMetaService } from '../service/populate-meta.service';
|
|
15
5
|
import { EntityMasterService } from '../service/entity-master.service';
|
|
16
6
|
|
|
17
7
|
@Controller('meta')
|
|
@@ -19,9 +9,9 @@ import { EntityMasterService } from '../service/entity-master.service';
|
|
|
19
9
|
export class MetaController {
|
|
20
10
|
constructor(
|
|
21
11
|
private readonly entityTableService: EntityTableService,
|
|
22
|
-
private readonly populateMetaService: PopulateMetaService,
|
|
23
12
|
private readonly entityMaster: EntityMasterService,
|
|
24
|
-
) {
|
|
13
|
+
) {
|
|
14
|
+
}
|
|
25
15
|
|
|
26
16
|
@Post('get-table-data')
|
|
27
17
|
@HttpCode(HttpStatus.OK)
|
|
@@ -64,18 +54,6 @@ export class MetaController {
|
|
|
64
54
|
});
|
|
65
55
|
}
|
|
66
56
|
|
|
67
|
-
@Post('populate')
|
|
68
|
-
@HttpCode(HttpStatus.OK)
|
|
69
|
-
async populateMetaData(
|
|
70
|
-
@Query('organization_id') organizationId: number,
|
|
71
|
-
@Res() response: Response,
|
|
72
|
-
@Req() req: Request & { user: any },
|
|
73
|
-
) {
|
|
74
|
-
const loggedInUser = req.user.userData;
|
|
75
|
-
const result =
|
|
76
|
-
await this.populateMetaService.populateMetaData(organizationId);
|
|
77
|
-
return response.status(HttpStatus.OK).json(result);
|
|
78
|
-
}
|
|
79
57
|
|
|
80
58
|
@Post('operation-list')
|
|
81
59
|
@HttpCode(HttpStatus.OK)
|
|
@@ -44,7 +44,6 @@ import { UserRoleMapping } from '../user/entity/user-role-mapping.entity';
|
|
|
44
44
|
import { AppMasterService } from './service/app-master.service';
|
|
45
45
|
import { AppMasterRespository } from './repository/app-master.repository';
|
|
46
46
|
import { AppMaster } from './entity/app-master.entity';
|
|
47
|
-
import { PopulateMetaService } from './service/populate-meta.service';
|
|
48
47
|
import { AttributeMasterController } from './controller/attribute-master.controller';
|
|
49
48
|
import { EntityDynamicController } from './controller/entity-dynamic.controller';
|
|
50
49
|
import { EntityDynamicService } from './service/entity-dynamic.service';
|
|
@@ -82,7 +81,7 @@ import { EntityRelationRepository } from './repository/entity-relation.repositor
|
|
|
82
81
|
forwardRef(() => FilterModule),
|
|
83
82
|
UtilsModule,
|
|
84
83
|
forwardRef(() => WorkflowAutomationModule),
|
|
85
|
-
|
|
84
|
+
|
|
86
85
|
],
|
|
87
86
|
providers: [
|
|
88
87
|
EntityMasterService,
|
|
@@ -96,7 +95,6 @@ import { EntityRelationRepository } from './repository/entity-relation.repositor
|
|
|
96
95
|
MasterService,
|
|
97
96
|
EntityTableRepository,
|
|
98
97
|
EntityTableService,
|
|
99
|
-
PopulateMetaService,
|
|
100
98
|
EntityTableColumnRepository,
|
|
101
99
|
EntityTableColumnService,
|
|
102
100
|
MediaDataRepository,
|
|
@@ -129,7 +127,6 @@ import { EntityRelationRepository } from './repository/entity-relation.repositor
|
|
|
129
127
|
PreferenceService,
|
|
130
128
|
EntityValidationService,
|
|
131
129
|
EntityTableService,
|
|
132
|
-
PopulateMetaService,
|
|
133
130
|
EntityTableColumnService,
|
|
134
131
|
MediaDataService,
|
|
135
132
|
EntityUpdateService,
|
|
@@ -146,7 +143,7 @@ import { EntityRelationRepository } from './repository/entity-relation.repositor
|
|
|
146
143
|
EntityDynamicService,
|
|
147
144
|
'CommonService',
|
|
148
145
|
'EntityRelationService',
|
|
149
|
-
AppMasterRespository
|
|
146
|
+
AppMasterRespository,
|
|
150
147
|
],
|
|
151
148
|
controllers: [
|
|
152
149
|
EntityController,
|
|
@@ -163,4 +160,5 @@ import { EntityRelationRepository } from './repository/entity-relation.repositor
|
|
|
163
160
|
|
|
164
161
|
],
|
|
165
162
|
})
|
|
166
|
-
export class EntityModule {
|
|
163
|
+
export class EntityModule {
|
|
164
|
+
}
|
|
@@ -14,14 +14,24 @@ import { ResolverService } from './resolver.service';
|
|
|
14
14
|
|
|
15
15
|
@Injectable()
|
|
16
16
|
export class EntityServiceImpl implements EntityService<BaseEntity> {
|
|
17
|
-
@Inject()
|
|
18
|
-
|
|
17
|
+
@Inject(forwardRef(() => EntityMasterService))
|
|
18
|
+
protected readonly entityMasterService: EntityMasterService;
|
|
19
|
+
|
|
20
|
+
@Inject(forwardRef(() => EntityTableColumnService))
|
|
19
21
|
protected readonly entityTableColumnService: EntityTableColumnService;
|
|
20
|
-
|
|
21
|
-
@Inject()
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
|
|
23
|
+
@Inject(forwardRef(() => EntityTableService))
|
|
24
|
+
protected readonly entityTableService: EntityTableService;
|
|
25
|
+
|
|
26
|
+
@Inject(forwardRef(() => ReflectionHelper))
|
|
27
|
+
protected readonly reflectionHelper: ReflectionHelper;
|
|
28
|
+
|
|
29
|
+
@Inject(forwardRef(() => LoggingService))
|
|
30
|
+
protected readonly loggingService: LoggingService;
|
|
31
|
+
|
|
32
|
+
@Inject(forwardRef(() => EntityValidationService))
|
|
24
33
|
protected readonly entityValidationService: EntityValidationService;
|
|
34
|
+
|
|
25
35
|
@Inject(forwardRef(() => ResolverService))
|
|
26
36
|
protected readonly resolverService: ResolverService;
|
|
27
37
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Inject, Injectable } from '@nestjs/common';
|
|
1
|
+
import { Inject, Injectable, forwardRef } from '@nestjs/common';
|
|
2
2
|
import { UserData } from '../../user/entity/user.entity';
|
|
3
3
|
import * as moment from 'moment';
|
|
4
4
|
import { ListMasterService } from 'src/module/listmaster/service/list-master.service';
|
|
@@ -18,6 +18,7 @@ export class ResolverService {
|
|
|
18
18
|
private readonly moduleRef: ModuleRef,
|
|
19
19
|
private readonly attributeMasterRepo: AttributeMasterRepository,
|
|
20
20
|
private readonly reflectionHelper: ReflectionHelper,
|
|
21
|
+
@Inject(forwardRef(() => EntityMasterRepository))
|
|
21
22
|
private readonly entityMasterRepo: EntityMasterRepository,
|
|
22
23
|
private readonly entityManger: EntityManager,
|
|
23
24
|
) {
|
|
@@ -22,8 +22,7 @@ export class LoginController {
|
|
|
22
22
|
constructor(
|
|
23
23
|
private loginService: LoginService,
|
|
24
24
|
private userSessionService: UserSessionService,
|
|
25
|
-
private configService: ConfigService
|
|
26
|
-
private integrationService: IntegrationService,
|
|
25
|
+
private configService: ConfigService
|
|
27
26
|
) {}
|
|
28
27
|
|
|
29
28
|
@Post('login')
|
|
@@ -86,12 +85,12 @@ export class LoginController {
|
|
|
86
85
|
const actualState = state.replace('gmail_config:', '');
|
|
87
86
|
|
|
88
87
|
// Forward to communication service for Gmail config handling using already exchanged tokens
|
|
89
|
-
const result = await this.integrationService.handleGmailTokensCallback(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
);
|
|
88
|
+
// const result = await this.integrationService.handleGmailTokensCallback(
|
|
89
|
+
// email,
|
|
90
|
+
// googleAccessToken,
|
|
91
|
+
// googleRefreshToken,
|
|
92
|
+
// actualState,
|
|
93
|
+
// );
|
|
95
94
|
|
|
96
95
|
return res.send(
|
|
97
96
|
`<html><body><script>
|
|
@@ -36,8 +36,7 @@ import { EnterpriseData } from '../enterprise/entity/enterprise.entity';
|
|
|
36
36
|
]),
|
|
37
37
|
forwardRef(() => AuthModule),
|
|
38
38
|
UtilsModule,
|
|
39
|
-
forwardRef(() => EnterpriseModule)
|
|
40
|
-
IntegrationModule
|
|
39
|
+
forwardRef(() => EnterpriseModule)
|
|
41
40
|
],
|
|
42
41
|
providers: [
|
|
43
42
|
{ provide: 'UserService', useClass: UserService },
|
|
@@ -2,7 +2,7 @@ import { create } from 'domain';
|
|
|
2
2
|
import { CommTemplate } from './../entity/comm-template.entity';
|
|
3
3
|
import { ActionCategory } from './../entity/action-category.entity';
|
|
4
4
|
import { DataSource } from 'typeorm';
|
|
5
|
-
import { PopulateMetaService } from '
|
|
5
|
+
import { PopulateMetaService } from '../../enterprise/service/populate-meta.service';
|
|
6
6
|
import { Inject, Injectable } from '@nestjs/common';
|
|
7
7
|
import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service';
|
|
8
8
|
import { WorkflowService } from './workflow.service';
|
|
@@ -65,6 +65,7 @@ import { MapperModule } from '../mapper/mapper.module';
|
|
|
65
65
|
import { WorkflowAutomationModule } from '../workflow-automation/workflow-automation.module';
|
|
66
66
|
import { ListMasterData } from '../listmaster/entity/list-master.entity';
|
|
67
67
|
import { ListMasterItems } from '../listmaster/entity/list-master-items.entity';
|
|
68
|
+
import { EnterpriseModule } from '../enterprise/enterprise.module';
|
|
68
69
|
|
|
69
70
|
@Module({
|
|
70
71
|
imports: [
|
|
@@ -93,6 +94,7 @@ import { ListMasterItems } from '../listmaster/entity/list-master-items.entity';
|
|
|
93
94
|
NotificationModule,
|
|
94
95
|
MapperModule,
|
|
95
96
|
WorkflowAutomationModule,
|
|
97
|
+
EnterpriseModule
|
|
96
98
|
],
|
|
97
99
|
providers: [
|
|
98
100
|
{ provide: 'ActionCategoryService', useClass: ActionCategoryService },
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DataSource } from 'typeorm';
|
|
2
|
-
import { EntityServiceImpl } from './entity-service-impl.service';
|
|
3
|
-
import { ReflectionHelper } from 'src/utils/service/reflection-helper.service';
|
|
4
|
-
export declare class PopulateMetaService {
|
|
5
|
-
private readonly dataSource;
|
|
6
|
-
private readonly entityServiceImpl;
|
|
7
|
-
private readonly reflectionHelper;
|
|
8
|
-
constructor(dataSource: DataSource, entityServiceImpl: EntityServiceImpl, reflectionHelper: ReflectionHelper);
|
|
9
|
-
populateMetaData(organization_id: number): Promise<{
|
|
10
|
-
message: string;
|
|
11
|
-
status: string;
|
|
12
|
-
} | undefined>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"populate-meta.service.js","sourceRoot":"","sources":["../../../../src/module/meta/service/populate-meta.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qCAAqC;AACrC,+EAAkE;AAClE,gGAA+E;AAGxE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YACmB,UAAsB,EACtB,iBAAoC,EACpC,gBAAkC;QAFlC,eAAU,GAAV,UAAU,CAAY;QACtB,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,qBAAgB,GAAhB,gBAAgB,CAAkB;IAClD,CAAC;IAEJ,KAAK,CAAC,gBAAgB,CAAC,eAAuB;QAC5C,MAAM,cAAc,GAAG;YACrB,mBAAmB;YACnB,sBAAsB;YACtB,iBAAiB;YACjB,qBAAqB;SACtB,CAAC;QAEF,MAAM,QAAQ,GAAG;YACf,cAAc;YACd,iBAAiB;YACjB,YAAY;YACZ,oBAAoB;SACrB,CAAC;QAEF,MAAM,mBAAmB,GACvB,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;QAC1D,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;QAC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