cc-core-cli 1.0.38 → 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 +1 -1
- package/template/core/src/main.ts +15 -2
package/package.json
CHANGED
|
@@ -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,
|
|
@@ -75,7 +75,10 @@ import {
|
|
|
75
75
|
JWTAuthGuard,
|
|
76
76
|
CsrfGuard,
|
|
77
77
|
CacheInterceptor,
|
|
78
|
-
|
|
78
|
+
FilterInterceptor,
|
|
79
|
+
AuditLogService,
|
|
80
|
+
PipelineService,
|
|
81
|
+
PipelineJobService
|
|
79
82
|
} from '@shopstack/cc-core-lib/core'
|
|
80
83
|
|
|
81
84
|
import { CUSTOM_MODULES } from "src/modules/modules";
|
|
@@ -187,6 +190,12 @@ async function initial(app: NestFastifyApplication) {
|
|
|
187
190
|
|
|
188
191
|
await initialService(app, LayoutShareWidgetService);
|
|
189
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
|
+
|
|
190
199
|
await initialCustomModules();
|
|
191
200
|
await initialCustomProviders();
|
|
192
201
|
await initialSettingLayouts();
|
|
@@ -196,10 +205,14 @@ async function initial(app: NestFastifyApplication) {
|
|
|
196
205
|
await initialService(app, ImportExportService);
|
|
197
206
|
await initialService(app, ImportExportLogService);
|
|
198
207
|
|
|
208
|
+
await initialService(app, PipelineService);
|
|
209
|
+
await initialService(app, PipelineJobService);
|
|
210
|
+
|
|
199
211
|
await initialService(app, EntitiesService);
|
|
200
212
|
await refreshService(app, EntitiesService);
|
|
201
213
|
await refreshService(app, ScheduleActionService);
|
|
202
214
|
await refreshService(app, SettingService);
|
|
215
|
+
|
|
203
216
|
}
|
|
204
217
|
|
|
205
218
|
async function bootstrap() {
|