cc-core-cli 1.0.39 → 1.0.40

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.39",
3
+ "version": "1.0.40",
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": {
@@ -50,7 +50,7 @@ import {
50
50
  SmsService,
51
51
  ReasonDataService,
52
52
  ReasonMasterService,
53
- ReasonOptionService,
53
+ ReasonOptionService,
54
54
  WidgetService,
55
55
  VersionDataService,
56
56
  ScheduleActionService,
@@ -76,7 +76,9 @@ import {
76
76
  CsrfGuard,
77
77
  CacheInterceptor,
78
78
  FilterInterceptor,
79
- AuditLogService
79
+ AuditLogService,
80
+ PipelineService,
81
+ PipelineJobService
80
82
  } from '@shopstack/cc-core-lib/core'
81
83
 
82
84
  import { CUSTOM_MODULES } from "src/modules/modules";
@@ -188,6 +190,12 @@ async function initial(app: NestFastifyApplication) {
188
190
 
189
191
  await initialService(app, LayoutShareWidgetService);
190
192
 
193
+ await initialProvider(ImportPipelineProvider, "pipeline", "import");
194
+ await initialProvider(ExportPipelineProvider, "pipeline", "export");
195
+ await initialProvider(ReportPipelineProvider, "pipeline", "report");
196
+ await initialProvider(EmailPipelineProvider, "pipeline", "email");
197
+ await initialProvider(SmsPipelineProvider, "pipeline", "sms");
198
+
191
199
  await initialCustomModules();
192
200
  await initialCustomProviders();
193
201
  await initialSettingLayouts();
@@ -197,10 +205,14 @@ async function initial(app: NestFastifyApplication) {
197
205
  await initialService(app, ImportExportService);
198
206
  await initialService(app, ImportExportLogService);
199
207
 
208
+ await initialService(app, PipelineService);
209
+ await initialService(app, PipelineJobService);
210
+
200
211
  await initialService(app, EntitiesService);
201
212
  await refreshService(app, EntitiesService);
202
213
  await refreshService(app, ScheduleActionService);
203
214
  await refreshService(app, SettingService);
215
+
204
216
  }
205
217
 
206
218
  async function bootstrap() {