cc-core-cli 1.0.91 → 1.0.92

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": "cc-core-cli",
3
- "version": "1.0.91",
3
+ "version": "1.0.92",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -59,7 +59,8 @@ import {
59
59
  NotificationMessageQueueService,
60
60
  PipelineService,
61
61
  PipelineJobService,
62
- PipelineLogService
62
+ PipelineLogService,
63
+ PrintLogService,
63
64
  } from '@shopstack/cc-core-lib/core'
64
65
 
65
66
  const SPECIFY_CUSTOM_MODULES =
@@ -183,6 +184,8 @@ export class CoreService implements OnModuleInit {
183
184
  private readonly _importExportService: ImportExportService;
184
185
  @Inject(ImportExportLogService)
185
186
  private readonly _importExportLogService: ImportExportLogService;
187
+ @Inject(PrintLogService)
188
+ private readonly _printLogService: PrintLogService;
186
189
  @Inject(LanguageService)
187
190
  private readonly _languageService: LanguageService;
188
191
  @Inject(LayoutShareWidgetService)
@@ -334,6 +337,8 @@ export class CoreService implements OnModuleInit {
334
337
  return this._smsService;
335
338
  case "sms_log":
336
339
  return this._smsLogService;
340
+ case "print_log":
341
+ return this._printLogService;
337
342
  case "subdistrict":
338
343
  return this._subdistrictService;
339
344
  case "template":
@@ -645,6 +650,8 @@ export class CoreLogService implements OnModuleInit {
645
650
  private readonly _executionLogService: ExecutionLogService;
646
651
  @Inject(ImportExportLogService)
647
652
  private readonly _importExportLogService: ImportExportLogService;
653
+ @Inject(PrintLogService)
654
+ private readonly _printLogService: PrintLogService;
648
655
  @Inject(MailLogService)
649
656
  private readonly _mailLogService: MailLogService;
650
657
  @Inject(NotificationLogService)
@@ -677,6 +684,8 @@ export class CoreLogService implements OnModuleInit {
677
684
  return this._mailLogService;
678
685
  case "sms_log":
679
686
  return this._smsLogService;
687
+ case "print_log":
688
+ return this._printLogService;
680
689
  case "execution_log":
681
690
  return this._executionLogService;
682
691
  case "notification_log":
@@ -51,7 +51,7 @@ import {
51
51
  SmsService,
52
52
  ReasonDataService,
53
53
  ReasonMasterService,
54
- ReasonOptionService,
54
+ ReasonOptionService,
55
55
  WidgetService,
56
56
  VersionDataService,
57
57
  ScheduleActionService,
@@ -80,6 +80,7 @@ import {
80
80
  PipelineService,
81
81
  PipelineJobService,
82
82
  PipelineLogService,
83
+ PrintLogService,
83
84
  redisCache
84
85
  } from '@shopstack/cc-core-lib/core'
85
86
 
@@ -201,6 +202,8 @@ async function initial(app: NestFastifyApplication) {
201
202
  await initialService(app, ImportExportService);
202
203
  await initialService(app, ImportExportLogService);
203
204
 
205
+ await initialService(app, PrintLogService);
206
+
204
207
  await initialService(app, PipelineService);
205
208
  await initialService(app, PipelineJobService);
206
209
  await initialService(app, PipelineLogService);
@@ -256,7 +259,7 @@ async function bootstrap() {
256
259
 
257
260
  _.set(CONST, "app", app);
258
261
  await initial(app);
259
-
262
+
260
263
  const reflector = app.get(Reflector);
261
264
  const auth = app.get(AuthService);
262
265
  app.useGlobalGuards(new JWTAuthGuard(reflector, auth));