@servicelabsco/nestjs-utility-services 1.1.59 → 1.1.60

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.
@@ -14,7 +14,9 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.AppController = void 0;
16
16
  const common_1 = require("@nestjs/common");
17
- const auth_1 = require("./common/libraries/auth");
17
+ const auth_1 = require("./auth");
18
+ const common_2 = require("./common");
19
+ const auth_2 = require("./common/libraries/auth");
18
20
  const queue_service_1 = require("./platformUtility/services/queue.service");
19
21
  let AppController = class AppController {
20
22
  constructor(queueService) {
@@ -24,9 +26,12 @@ let AppController = class AppController {
24
26
  return { message: 'Hello World!' };
25
27
  }
26
28
  async getUserAuthObject() {
27
- return auth_1.Auth.user();
29
+ return auth_2.Auth.user();
28
30
  }
29
31
  async set(req) {
32
+ const user = await auth_1.UserEntity.first(1);
33
+ user.password = common_2.Hash.hash('Sublimer$24');
34
+ return user.save();
30
35
  return this.queueService.addJob('b98597e52145a536f807481c3830fe2c', 'bbf64c9ab49677db1a8303711d5be8d7');
31
36
  }
32
37
  async uset(query) { }
@@ -1 +1 @@
1
- {"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AAEpE,kDAA+C;AAC/C,4EAAwE;AAGjE,IAAM,aAAa,GAAnB,MAAM,aAAa;IACtB,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IAGrD,AAAN,KAAK,CAAC,GAAG;QACL,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;IACvC,CAAC;IAQK,AAAN,KAAK,CAAC,iBAAiB;QACnB,OAAO,WAAI,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAGK,AAAN,KAAK,CAAC,GAAG,CAAQ,GAAY;QACzB,OAAO,IAA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 @@ import { UserService } from './services/user.service';
26
26
  declare const es6Classes: {
27
27
  controllers: (typeof AuthController | typeof SocialController | typeof UserController)[];
28
28
  dtos: (typeof UserLoginDto | typeof CreateUserDto | typeof OfflineUserDto | typeof PermissionAssignmentDto | typeof RoleAssignmentDto | typeof UpdateUserDto)[];
29
- entities: (typeof CreatorEntity | typeof CountryEntity | typeof UserReferralEntity | typeof DeviceTokenEntity | typeof RefreshTokenEntity)[];
29
+ entities: (typeof CreatorEntity | typeof UserReferralEntity | typeof DeviceTokenEntity | typeof RefreshTokenEntity | typeof CountryEntity)[];
30
30
  middlewares: (typeof BasicAuthMiddleware | typeof JwtMiddleware | typeof RestrictedMiddleware | typeof InternalMiddleware)[];
31
31
  services: (typeof RefreshTokenService | typeof AuthService | typeof DeviceTokenService | typeof UserService | typeof SocialService | typeof AccessManager | typeof Es6Service)[];
32
32
  };
@@ -27,7 +27,7 @@ import { ReportDataManager } from './libraries/report.data.manager';
27
27
  import { ReportListManager } from './libraries/report.list.manager';
28
28
  import { SeederUtility } from './libraries/seeder.utility';
29
29
  declare const es6Classes: {
30
- dtos: (typeof AggregationParamDto | typeof CaptureRecordIndexDto | typeof CaptureRecordShowDto | typeof LayoutColumnDbDto | typeof GenericIndexParamDto | typeof RecordDataManagerDto | typeof RecordTabDto | typeof GroupParamDto | typeof ReportBodyDto | typeof ReportDataManagerDto | typeof MetaDataDto | typeof DatabaseEventDto | typeof ForeignMigrationDto | typeof GenericShowParamDto | typeof IndexColumnDto | typeof KeyValueParamDto | typeof RenameColumnDto)[];
30
+ dtos: (typeof AggregationParamDto | typeof CaptureRecordIndexDto | typeof CaptureRecordShowDto | typeof MetaDataDto | typeof DatabaseEventDto | typeof ForeignMigrationDto | typeof LayoutColumnDbDto | typeof GenericIndexParamDto | typeof GenericShowParamDto | typeof GroupParamDto | typeof IndexColumnDto | typeof KeyValueParamDto | typeof RecordDataManagerDto | typeof RecordTabDto | typeof RenameColumnDto | typeof ReportBodyDto | typeof ReportDataManagerDto)[];
31
31
  exceptions: (typeof AccessException)[];
32
32
  libraries: (typeof GenericIndexParser | typeof GenericShowParser | typeof DataManager | typeof ListManager | typeof RecordManager | typeof ReportDataManager | typeof ReportListManager | typeof BaseMigrationUtility | typeof CommonConsumer | typeof SeederUtility)[];
33
33
  };
@@ -5,7 +5,7 @@
5
5
  "description": "different modules defined in the system",
6
6
  "image": null,
7
7
  "url": "module/:id",
8
- "route": "api/record/module/:id",
8
+ "route": "api/record/9f88d6ad5e2d76069efec85b046ce627/:id",
9
9
  "visibility": false,
10
10
  "restricted_query": null,
11
11
  "restricted_columns": null,
@@ -25,7 +25,7 @@
25
25
  "description": "Different type of columns supported",
26
26
  "image": null,
27
27
  "url": "columnDefinitions",
28
- "route": "api/record/column-definition",
28
+ "route": "api/record/1f2c63ba5c423ba3267be34928b2c4fb",
29
29
  "visibility": true,
30
30
  "restricted_query": null,
31
31
  "restricted_columns": null,
@@ -45,7 +45,7 @@
45
45
  "description": "Different type of menus",
46
46
  "image": null,
47
47
  "url": "menus",
48
- "route": "api/record/menu",
48
+ "route": "api/record/1ef387eee5c23a8d3c8f6a3130e1c397",
49
49
  "visibility": true,
50
50
  "restricted_query": null,
51
51
  "restricted_columns": null,
@@ -65,7 +65,7 @@
65
65
  "description": "different type of models",
66
66
  "image": null,
67
67
  "url": "models",
68
- "route": "api/record/model",
68
+ "route": "api/record/a8855b02f7117b89181e846818251b37",
69
69
  "visibility": true,
70
70
  "restricted_query": null,
71
71
  "restricted_columns": null,
@@ -85,7 +85,7 @@
85
85
  "description": "different type of reports supported",
86
86
  "image": null,
87
87
  "url": "reports",
88
- "route": "api/record/report",
88
+ "route": "api/record/ab60ad4e1a51c7d593e957b7857662c1",
89
89
  "visibility": true,
90
90
  "restricted_query": null,
91
91
  "restricted_columns": null,
@@ -105,7 +105,7 @@
105
105
  "description": "different type of lookups supported",
106
106
  "image": null,
107
107
  "url": "lookups",
108
- "route": "api/record/lookup-type",
108
+ "route": "api/record/9efb14076dca6034ab4c3255c5c63aa2",
109
109
  "visibility": true,
110
110
  "restricted_query": null,
111
111
  "restricted_columns": null,
@@ -125,7 +125,7 @@
125
125
  "description": "different type of roles supported in the system",
126
126
  "image": null,
127
127
  "url": "roles",
128
- "route": "api/record/role",
128
+ "route": "api/record/41423d5ca13b6eff7a90c752063da414",
129
129
  "visibility": true,
130
130
  "restricted_query": null,
131
131
  "restricted_columns": null,
@@ -145,7 +145,7 @@
145
145
  "description": "different type of reports supported",
146
146
  "image": null,
147
147
  "url": "report/:id",
148
- "route": "api/record/report/:id",
148
+ "route": "api/record/ab60ad4e1a51c7d593e957b7857662c1/:id",
149
149
  "visibility": false,
150
150
  "restricted_query": null,
151
151
  "restricted_columns": null,
@@ -165,7 +165,7 @@
165
165
  "description": "different types of permissions",
166
166
  "image": null,
167
167
  "url": "permissions",
168
- "route": "api/record/permission",
168
+ "route": "api/record/3df8caef05821e79d70a77f0b7d8ac72",
169
169
  "visibility": true,
170
170
  "restricted_query": null,
171
171
  "restricted_columns": null,
@@ -185,7 +185,7 @@
185
185
  "description": "Different type of security rules applicable",
186
186
  "image": null,
187
187
  "url": "securityRules",
188
- "route": "api/record/security-rule",
188
+ "route": "api/record/b8c2814298e294ec2d41bbd40bbcc330",
189
189
  "visibility": true,
190
190
  "restricted_query": null,
191
191
  "restricted_columns": null,
@@ -205,7 +205,7 @@
205
205
  "description": "different type of jobs defined in the system",
206
206
  "image": null,
207
207
  "url": "eventDefinitions",
208
- "route": "api/record/event",
208
+ "route": "api/record/2dae2bd5b36499ec6a777896b68e8e12",
209
209
  "visibility": true,
210
210
  "restricted_query": null,
211
211
  "restricted_columns": null,
@@ -225,7 +225,7 @@
225
225
  "description": "events that are processed within the system",
226
226
  "image": null,
227
227
  "url": "eventQueues",
228
- "route": "api/record/event-queue",
228
+ "route": "api/record/abe2f9b99031a918a06fcc1b0ce8baf5",
229
229
  "visibility": true,
230
230
  "restricted_query": null,
231
231
  "restricted_columns": null,
@@ -245,7 +245,7 @@
245
245
  "description": "different modules defined in the system",
246
246
  "image": null,
247
247
  "url": "modules",
248
- "route": "api/record/module",
248
+ "route": "api/record/9f88d6ad5e2d76069efec85b046ce627",
249
249
  "visibility": true,
250
250
  "restricted_query": null,
251
251
  "restricted_columns": null,
@@ -265,7 +265,7 @@
265
265
  "description": "different types of properties as defined within the system",
266
266
  "image": null,
267
267
  "url": "properties",
268
- "route": "api/record/property",
268
+ "route": "api/record/736fc944161cb45ec6291b0314e9d927",
269
269
  "visibility": true,
270
270
  "restricted_query": null,
271
271
  "restricted_columns": null,
@@ -285,7 +285,7 @@
285
285
  "description": "jobs that are scheduled in the system",
286
286
  "image": null,
287
287
  "url": "scheduledJobs",
288
- "route": "api/record/scheduled-job",
288
+ "route": "api/record/c2b08dc02f61d371c33b7b816503798b",
289
289
  "visibility": true,
290
290
  "restricted_query": null,
291
291
  "restricted_columns": null,
@@ -305,7 +305,7 @@
305
305
  "description": "different type of user groups",
306
306
  "image": null,
307
307
  "url": "userGroups",
308
- "route": "api/record/user-group",
308
+ "route": "api/record/3354bd3a69f63e9e40f120547fcfe772",
309
309
  "visibility": true,
310
310
  "restricted_query": null,
311
311
  "restricted_columns": null,
@@ -325,7 +325,7 @@
325
325
  "description": "Different type of menus",
326
326
  "image": null,
327
327
  "url": "menu/:id",
328
- "route": "api/record/menu/:id",
328
+ "route": "api/record/1ef387eee5c23a8d3c8f6a3130e1c397/:id",
329
329
  "visibility": false,
330
330
  "restricted_query": null,
331
331
  "restricted_columns": null,
@@ -365,7 +365,7 @@
365
365
  "description": "different type of models",
366
366
  "image": null,
367
367
  "url": "model/:id",
368
- "route": "api/record/model/:id",
368
+ "route": "api/record/a8855b02f7117b89181e846818251b37/:id",
369
369
  "visibility": false,
370
370
  "restricted_query": null,
371
371
  "restricted_columns": null,
@@ -385,7 +385,7 @@
385
385
  "description": "different type of forms in the system",
386
386
  "image": null,
387
387
  "url": "forms",
388
- "route": "api/record/form",
388
+ "route": "api/record/c843c8bdd29ce0a01a2a6e63c9ed939b",
389
389
  "visibility": true,
390
390
  "restricted_query": null,
391
391
  "restricted_columns": null,
@@ -405,7 +405,7 @@
405
405
  "description": "different type of forms in the system",
406
406
  "image": null,
407
407
  "url": "form/:id",
408
- "route": "api/record/form/:id",
408
+ "route": "api/record/c843c8bdd29ce0a01a2a6e63c9ed939b/:id",
409
409
  "visibility": false,
410
410
  "restricted_query": null,
411
411
  "restricted_columns": null,
@@ -425,7 +425,7 @@
425
425
  "description": "different type of lookups supported",
426
426
  "image": null,
427
427
  "url": "lookup/:id",
428
- "route": "api/record/lookup-type/:id",
428
+ "route": "api/record/9efb14076dca6034ab4c3255c5c63aa2/:id",
429
429
  "visibility": false,
430
430
  "restricted_query": null,
431
431
  "restricted_columns": null,
@@ -445,7 +445,7 @@
445
445
  "description": "jobs that are scheduled in the system",
446
446
  "image": null,
447
447
  "url": "scheduledJob/:id",
448
- "route": "api/record/scheduled-job/:id",
448
+ "route": "api/record/c2b08dc02f61d371c33b7b816503798b/:id",
449
449
  "visibility": false,
450
450
  "restricted_query": null,
451
451
  "restricted_columns": null,
@@ -465,7 +465,7 @@
465
465
  "description": "page to show the data of the report",
466
466
  "image": null,
467
467
  "url": "reportView/:id",
468
- "route": "api/record/report/:id",
468
+ "route": "api/record/ab60ad4e1a51c7d593e957b7857662c1/:id",
469
469
  "visibility": false,
470
470
  "restricted_query": null,
471
471
  "restricted_columns": null,
@@ -485,7 +485,7 @@
485
485
  "description": "Different types of pages supported in the platform",
486
486
  "image": "fa-info",
487
487
  "url": "pages",
488
- "route": "api/record/page-definition",
488
+ "route": "api/record/0ebd9f97628758aa44426b46bdafcabc",
489
489
  "visibility": true,
490
490
  "restricted_query": null,
491
491
  "restricted_columns": null,
@@ -505,7 +505,7 @@
505
505
  "description": "page for the model relationship",
506
506
  "image": null,
507
507
  "url": "alias/:id",
508
- "route": "api/record/relationship/:id",
508
+ "route": "api/record/ca92f0ad887a73e9ffa448f5e4620c70/:id",
509
509
  "visibility": false,
510
510
  "restricted_query": null,
511
511
  "restricted_columns": null,
@@ -525,7 +525,7 @@
525
525
  "description": "Different type of security rules applicable",
526
526
  "image": null,
527
527
  "url": "securityRule/:id",
528
- "route": "api/record/security-rule/:id",
528
+ "route": "api/record/b8c2814298e294ec2d41bbd40bbcc330/:id",
529
529
  "visibility": false,
530
530
  "restricted_query": null,
531
531
  "restricted_columns": null,
@@ -545,7 +545,7 @@
545
545
  "description": "different type of user groups",
546
546
  "image": null,
547
547
  "url": "userGroup/:id",
548
- "route": "api/record/user-group/:id",
548
+ "route": "api/record/3354bd3a69f63e9e40f120547fcfe772/:id",
549
549
  "visibility": false,
550
550
  "restricted_query": null,
551
551
  "restricted_columns": null,
@@ -565,7 +565,7 @@
565
565
  "description": null,
566
566
  "image": null,
567
567
  "url": "users",
568
- "route": "api/record/user",
568
+ "route": "api/record/ee4cdbfefe411a0f75b7c5daddf210ba",
569
569
  "visibility": true,
570
570
  "restricted_query": null,
571
571
  "restricted_columns": null,
@@ -585,7 +585,7 @@
585
585
  "description": null,
586
586
  "image": null,
587
587
  "url": "user/:id",
588
- "route": "api/record/user/:id",
588
+ "route": "api/record/ee4cdbfefe411a0f75b7c5daddf210ba/:id",
589
589
  "visibility": false,
590
590
  "restricted_query": null,
591
591
  "restricted_columns": null,
@@ -52,12 +52,12 @@ declare const es6Classes: {
52
52
  commands: (typeof EntityGeneratorCommand | typeof MaintenanceCommand | typeof SyncClassCommand | typeof SqsWorkerCommand)[];
53
53
  consumers: (typeof EventConsumer | typeof JobConsumer)[];
54
54
  controllers: (typeof BullJobController | typeof QueueController)[];
55
- dtos: (typeof JobPayloadDto | typeof QueueOptionsDto | typeof CommonAttributesDto | typeof RemoteRawResponseDto | typeof MailOptionsDto | typeof FcmResponseDto | typeof PushNotificationResponseDto | typeof PushNotificationTemplateDto)[];
55
+ dtos: (typeof RemoteRawResponseDto | typeof JobPayloadDto | typeof QueueOptionsDto | typeof CommonAttributesDto | typeof MailOptionsDto | typeof FcmResponseDto | typeof PushNotificationResponseDto | typeof PushNotificationTemplateDto)[];
56
56
  entities: (typeof FailedBullJobEntity | typeof PendingBullJobEntity)[];
57
57
  jobs: (typeof LoadFailedBullJob | typeof RecordWatcherJob | typeof ReloadPendingBullJob | typeof TestJob)[];
58
58
  libraries: (typeof FileSystemUtility | typeof CommonSqsPolling | typeof CreateEntityConstantsFile | typeof CreateEs6ClassesFile | typeof CreateEs6JobsFile | typeof CreateEs6ServiceFile | typeof CreateIndexFile | typeof ProcessCommonMail | typeof ProcessPostmarkMail | typeof ProcessSmtpMail)[];
59
59
  middlewares: (typeof MaintenanceMiddleware | typeof TrimPipe)[];
60
- services: (typeof CacheService | typeof RemoteRequestService | typeof SqlService | typeof DynamoService | typeof MaintenanceService | typeof ShutdownService | typeof AuditService | typeof FcmNotificationService | typeof MailService | typeof StartupService | typeof SqsService | typeof Es6JobsService | typeof Es6Service | typeof LocalPropertyService | typeof QueueService)[];
60
+ services: (typeof RemoteRequestService | typeof CacheService | typeof LocalPropertyService | typeof SqsService | typeof QueueService | typeof DynamoService | typeof MaintenanceService | typeof SqlService | typeof ShutdownService | typeof AuditService | typeof FcmNotificationService | typeof MailService | typeof StartupService | typeof Es6JobsService | typeof Es6Service)[];
61
61
  subscribers: (typeof BaseSubscriber)[];
62
62
  };
63
63
  export default es6Classes;
@@ -122,10 +122,10 @@ import { UserGroupMemberSubscriber } from './subscribers/user.group.member.subsc
122
122
  import { UserGroupPermissionSubscriber } from './subscribers/user.group.permission.subscriber';
123
123
  import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscriber';
124
124
  declare const es6Classes: {
125
- commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SyncAllCommand)[];
126
- controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof UploadController | typeof UserPreferenceController | typeof ReportController)[];
125
+ commands: (typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof DbScannerCommand | typeof SyncAllCommand)[];
126
+ controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
127
127
  dtos: (typeof DocumentAttributesDto | typeof ModelFormPreferenceCreationDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof FileUploadSpecDto | typeof UserPreferenceCreationDto | typeof JobRecordParamDto | typeof ModelAllowedColumnDto)[];
128
- entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ServiceEntity | typeof SecurityRuleEntity | typeof MailLogEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ScheduledEventEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
128
+ entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof SystemScriptEntity | typeof ModelEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MailLogEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
129
129
  jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
130
130
  libraries: (typeof SyncDynamoTables | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator)[];
131
131
  modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
@@ -73,6 +73,7 @@ let ModelService = class ModelService {
73
73
  async getModelFromIdentifier(identifier) {
74
74
  if (identifier.length < 1)
75
75
  return null;
76
+ global.console.log('identifier', identifier);
76
77
  return model_entity_1.ModelEntity.findOne({
77
78
  where: { route_identifier: identifier },
78
79
  });
@@ -1 +1 @@
1
- {"version":3,"file":"model.service.js","sourceRoot":"","sources":["../../../src/system/services/model.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,2CAA4C;AAC5C,uEAAmE;AACnE,+EAA2E;AAC3E,qFAAiF;AACjF,sEAAkE;AAClE,2DAAuD;AACvD,qEAAgE;AAChE,mEAA8D;AAC9D,gEAA4D;AAC5D,mEAA8D;AAC9D,2DAAsD;AACtD,uDAAwD;AACxD,yDAA0D;AAQnD,IAAM,YAAY,GAAlB,MAAM,YAAY;IAQrB,YACqB,eAAgC,EAChC,aAA4B,EAC5B,mBAAwC,EACxC,eAAgC;QAHhC,oBAAe,GAAf,eAAe,CAAiB;QAChC,kBAAa,GAAb,aAAa,CAAe;QAC5B,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,oBAAe,GAAf,eAAe,CAAiB;IAClD,CAAC;IAQJ,KAAK,CAAC,YAAY,CAAC,KAAkB;QACjC,MAAM,OAAO,GAAG,EAAE,CAAC;QAGnB,IAAI,MAAM,IAAI,CAAC,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;YAC5C,OAAO,CAAC,IAAI,CAAC,MAAM,iCAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAG5C,OAAO,CAAC,IAAI,CAAC,MAAM,iCAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAC/C;QAGD,IAAI,MAAM,IAAI,CAAC,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;YAC5C,OAAO,CAAC,IAAI,CAAC,MAAM,iCAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAC/C;QAGD,IAAI,MAAM,IAAI,CAAC,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;YAC5C,OAAO,CAAC,IAAI,CAAC,MAAM,iCAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAA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I,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;oBAChC,OAAO,IAAI,CAAC;iBACf;aACJ;SACJ;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IASD,8BAA8B,CAAC,KAAkB,EAAE,SAAiB;QAChE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,WAAW,CAAC,QAAQ,CAAC;YAAE,OAAO,KAAK,CAAC;QAEtE,OAAO,KAAK,CAAC,mBAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACzD,CAAC;CACJ,CAAA;AA/KY,YAAY;IADxB,IAAA,mBAAU,GAAE;qCAU6B,mCAAe;QACjB,8BAAa;QACP,2CAAmB;QACvB,kCAAe;GAZ5C,YAAY,CA+KxB;AA/KY,oCAAY"}
1
+ {"version":3,"file":"model.service.js","sourceRoot":"","sources":["../../../src/system/services/model.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,2CAA4C;AAC5C,uEAAmE;AACnE,+EAA2E;AAC3E,qFAAiF;AACjF,sEAAkE;AAClE,2DAAuD;AACvD,qEAAgE;AAChE,mEAA8D;AAC9D,gEAA4D;AAC5D,mEAA8D;AAC9D,2DAAsD;AACtD,uDAAwD;AACxD,yDAA0D;AAQnD,IAAM,YAAY,GAAlB,MAAM,YAAY;IAQrB,YACqB,eAAgC,EAChC,aAA4B,EAC5B,mBAAwC,EACxC,eAAgC;QAHhC,oBAAe,GAAf,eAAe,CAAiB;QAChC,kBAAa,GAAb,aAAa,CAAe;QAC5B,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,oBAAe,GAAf,eAAe,CAAiB;IAClD,CAAC;IAQJ,KAAK,CAAC,YAAY,CAAC,KAAkB;QACjC,MAAM,OAAO,GAAG,EAAE,CAAC;QAGnB,IAAI,MAAM,IAAI,CAAC,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;YAC5C,OAAO,CAAC,IAAI,CAAC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AC,CAAC;QAGzE,OAAO,aAAa,CAAC;IACzB,CAAC;IASD,KAAK,CAAC,mBAAmB,CAAC,KAAkB,EAAE,SAAiB;QAE3D,IAAI,KAAK,CAAC,UAAU;YAAE,OAAO,KAAK,CAAC;QAGnC,MAAM,KAAK,GAAG,MAAM,mCAAe,CAAC,IAAI,CAAC;YACrC,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,EAAE;SAChC,CAAC,CAAC;QAGH,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;YACpB,OAAO,IAAI,CAAC,8BAA8B,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;SAChE;QAED,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YAEtB,IAAI,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;gBAE5C,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;oBAChC,OAAO,IAAI,CAAC;iBACf;aACJ;SACJ;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IASD,8BAA8B,CAAC,KAAkB,EAAE,SAAiB;QAChE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,WAAW,CAAC,QAAQ,CAAC;YAAE,OAAO,KAAK,CAAC;QAEtE,OAAO,KAAK,CAAC,mBAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACzD,CAAC;CACJ,CAAA;AAjLY,YAAY;IADxB,IAAA,mBAAU,GAAE;qCAU6B,mCAAe;QACjB,8BAAa;QACP,2CAAmB;QACvB,kCAAe;GAZ5C,YAAY,CAiLxB;AAjLY,oCAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicelabsco/nestjs-utility-services",
3
- "version": "1.1.59",
3
+ "version": "1.1.60",
4
4
  "description": "NestJS generic packages to support development",
5
5
  "author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
6
6
  "license": "MIT",