cc-core-cli 1.0.111 → 1.0.113
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
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
DistrictService,
|
|
25
25
|
SubdistrictService,
|
|
26
26
|
TimeZoneService,
|
|
27
|
+
CurrencyService,
|
|
27
28
|
DeployDestinationService,
|
|
28
29
|
DeployPackageService,
|
|
29
30
|
DeployLogService,
|
|
@@ -159,95 +160,55 @@ const CUSTOM_SETTING_SERVICES = _.reduce(
|
|
|
159
160
|
|
|
160
161
|
@Injectable()
|
|
161
162
|
export class CoreService implements OnModuleInit {
|
|
162
|
-
@Inject(ActivityLogService)
|
|
163
|
-
private readonly _activityLogService: ActivityLogService;
|
|
163
|
+
@Inject(ActivityLogService) private readonly _activityLogService: ActivityLogService;
|
|
164
164
|
@Inject(AddressService) private readonly _addressService: AddressService;
|
|
165
165
|
@Inject(ApiKeyService) private readonly _apiKeyService: ApiKeyService;
|
|
166
|
-
@Inject(AttachmentService)
|
|
167
|
-
private readonly
|
|
168
|
-
@Inject(CommentDataService)
|
|
169
|
-
private readonly _commentDataService: CommentDataService;
|
|
166
|
+
@Inject(AttachmentService) private readonly _attachmentService: AttachmentService;
|
|
167
|
+
@Inject(CommentDataService) private readonly _commentDataService: CommentDataService;
|
|
170
168
|
@Inject(CountryService) private readonly _countryService: CountryService;
|
|
171
169
|
@Inject(CompanyService) private readonly _companyService: CompanyService;
|
|
172
|
-
@Inject(CustomFunctionService)
|
|
173
|
-
private readonly
|
|
174
|
-
@Inject(
|
|
175
|
-
private readonly
|
|
176
|
-
@Inject(DeployLogService)
|
|
177
|
-
private readonly _deployLogService: DeployLogService;
|
|
178
|
-
@Inject(DeployPackageService)
|
|
179
|
-
private readonly _deployPackageService: DeployPackageService;
|
|
170
|
+
@Inject(CustomFunctionService) private readonly _customFunctionService: CustomFunctionService;
|
|
171
|
+
@Inject(DeployDestinationService) private readonly _deployDestinationService: DeployDestinationService;
|
|
172
|
+
@Inject(DeployLogService) private readonly _deployLogService: DeployLogService;
|
|
173
|
+
@Inject(DeployPackageService) private readonly _deployPackageService: DeployPackageService;
|
|
180
174
|
@Inject(DistrictService) private readonly _districtService: DistrictService;
|
|
181
|
-
@Inject(ExecutionLogService)
|
|
182
|
-
private readonly
|
|
183
|
-
@Inject(
|
|
184
|
-
private readonly
|
|
185
|
-
@Inject(
|
|
186
|
-
private readonly
|
|
187
|
-
@Inject(
|
|
188
|
-
private readonly
|
|
189
|
-
@Inject(
|
|
190
|
-
private readonly
|
|
191
|
-
@Inject(
|
|
192
|
-
private readonly
|
|
193
|
-
@Inject(
|
|
194
|
-
private readonly _mailService: MailSettingService;
|
|
195
|
-
@Inject(MailLogService)
|
|
196
|
-
private readonly _mailLogService: MailLogService;
|
|
197
|
-
@Inject(MapLocationService)
|
|
198
|
-
private readonly _mapLocationService: MapLocationService;
|
|
199
|
-
@Inject(NotificationSubscriptionService)
|
|
200
|
-
private readonly _notificationSubscriptionService: NotificationSubscriptionService;
|
|
201
|
-
@Inject(NotificationMessageService)
|
|
202
|
-
private readonly _notificationMessageService: NotificationMessageService;
|
|
203
|
-
@Inject(NotificationMessageQueueService)
|
|
204
|
-
private readonly _notificationMessageQueueService: NotificationMessageQueueService;
|
|
205
|
-
@Inject(NotificationLogService)
|
|
206
|
-
private readonly _notificationLogService: NotificationLogService;
|
|
175
|
+
@Inject(ExecutionLogService) private readonly _executionLogService: ExecutionLogService;
|
|
176
|
+
@Inject(ImportExportService) private readonly _importExportService: ImportExportService;
|
|
177
|
+
@Inject(ImportExportLogService) private readonly _importExportLogService: ImportExportLogService;
|
|
178
|
+
@Inject(PrintLogService) private readonly _printLogService: PrintLogService;
|
|
179
|
+
@Inject(LanguageService) private readonly _languageService: LanguageService;
|
|
180
|
+
@Inject(LayoutShareWidgetService) private readonly _layoutShareWidgetService: LayoutShareWidgetService;
|
|
181
|
+
@Inject(MailSettingService) private readonly _mailService: MailSettingService;
|
|
182
|
+
@Inject(MailLogService) private readonly _mailLogService: MailLogService;
|
|
183
|
+
@Inject(MapLocationService) private readonly _mapLocationService: MapLocationService;
|
|
184
|
+
@Inject(NotificationSubscriptionService) private readonly _notificationSubscriptionService: NotificationSubscriptionService;
|
|
185
|
+
@Inject(NotificationMessageService) private readonly _notificationMessageService: NotificationMessageService;
|
|
186
|
+
@Inject(NotificationMessageQueueService) private readonly _notificationMessageQueueService: NotificationMessageQueueService;
|
|
187
|
+
@Inject(NotificationLogService) private readonly _notificationLogService: NotificationLogService;
|
|
207
188
|
@Inject(ProvinceService) private readonly _provinceService: ProvinceService;
|
|
208
|
-
@Inject(ReasonDataService)
|
|
209
|
-
private readonly
|
|
210
|
-
@Inject(
|
|
211
|
-
private readonly
|
|
212
|
-
@Inject(
|
|
213
|
-
private readonly
|
|
214
|
-
@Inject(
|
|
215
|
-
private readonly
|
|
216
|
-
@Inject(
|
|
217
|
-
private readonly
|
|
218
|
-
@Inject(ShortlyUrlService)
|
|
219
|
-
private readonly _shortlyUrlService: ShortlyUrlService;
|
|
220
|
-
@Inject(SmsService)
|
|
221
|
-
private readonly _smsService: SmsService;
|
|
222
|
-
@Inject(SmsLogService)
|
|
223
|
-
private readonly _smsLogService: SmsLogService;
|
|
224
|
-
@Inject(SubdistrictService)
|
|
225
|
-
private readonly _subdistrictService: SubdistrictService;
|
|
226
|
-
@Inject(TemplateService)
|
|
227
|
-
private readonly _templateService: TemplateService;
|
|
189
|
+
@Inject(ReasonDataService) private readonly _reasonDataService: ReasonDataService;
|
|
190
|
+
@Inject(ReasonMasterService) private readonly _reasonMasterService: ReasonMasterService;
|
|
191
|
+
@Inject(ReasonOptionService) private readonly _reasonOptionService: ReasonOptionService;
|
|
192
|
+
@Inject(ScheduleActionService) private readonly _scheduleActionService: ScheduleActionService;
|
|
193
|
+
@Inject(ScheduleLogService) private readonly _scheduleLogService: ScheduleLogService;
|
|
194
|
+
@Inject(ShortlyUrlService) private readonly _shortlyUrlService: ShortlyUrlService;
|
|
195
|
+
@Inject(SmsService) private readonly _smsService: SmsService;
|
|
196
|
+
@Inject(SmsLogService) private readonly _smsLogService: SmsLogService;
|
|
197
|
+
@Inject(SubdistrictService) private readonly _subdistrictService: SubdistrictService;
|
|
198
|
+
@Inject(TemplateService) private readonly _templateService: TemplateService;
|
|
228
199
|
@Inject(TimeZoneService) private readonly _timeZoneService: TimeZoneService;
|
|
229
|
-
@Inject(
|
|
230
|
-
private readonly _translateService: TranslateService;
|
|
231
|
-
@Inject(UserFilterService)
|
|
232
|
-
private readonly
|
|
233
|
-
@Inject(
|
|
234
|
-
private readonly
|
|
235
|
-
@Inject(
|
|
236
|
-
private readonly
|
|
237
|
-
@Inject(
|
|
238
|
-
private readonly
|
|
239
|
-
@Inject(
|
|
240
|
-
private readonly
|
|
241
|
-
@Inject(WidgetService)
|
|
242
|
-
private readonly _widgetService: WidgetService;
|
|
243
|
-
@Inject(AuditLogService)
|
|
244
|
-
private readonly _auditLogService: AuditLogService;
|
|
245
|
-
@Inject(PipelineService)
|
|
246
|
-
private readonly _pipelineService: PipelineService;
|
|
247
|
-
@Inject(PipelineJobService)
|
|
248
|
-
private readonly _pipelineJobService: PipelineJobService;
|
|
249
|
-
@Inject(PipelineLogService)
|
|
250
|
-
private readonly _pipelineLogService: PipelineLogService;
|
|
200
|
+
@Inject(CurrencyService) private readonly _currencyService: CurrencyService;
|
|
201
|
+
@Inject(TranslateService) private readonly _translateService: TranslateService;
|
|
202
|
+
@Inject(UserFilterService) private readonly _userFilterService: UserFilterService;
|
|
203
|
+
@Inject(UserRoleService) private readonly _userRoleService: UserRoleService;
|
|
204
|
+
@Inject(UserRolePermissonService) private readonly _userRolePermissonService: UserRolePermissonService;
|
|
205
|
+
@Inject(UserService) private readonly _userService: UserService;
|
|
206
|
+
@Inject(VersionDataService) private readonly _versionDataService: VersionDataService;
|
|
207
|
+
@Inject(WidgetService) private readonly _widgetService: WidgetService;
|
|
208
|
+
@Inject(AuditLogService) private readonly _auditLogService: AuditLogService;
|
|
209
|
+
@Inject(PipelineService) private readonly _pipelineService: PipelineService;
|
|
210
|
+
@Inject(PipelineJobService) private readonly _pipelineJobService: PipelineJobService;
|
|
211
|
+
@Inject(PipelineLogService) private readonly _pipelineLogService: PipelineLogService;
|
|
251
212
|
|
|
252
213
|
|
|
253
214
|
private services: any = {};
|
|
@@ -345,6 +306,8 @@ export class CoreService implements OnModuleInit {
|
|
|
345
306
|
return this._templateService;
|
|
346
307
|
case "time_zone":
|
|
347
308
|
return this._timeZoneService;
|
|
309
|
+
case "currency":
|
|
310
|
+
return this._currencyService;
|
|
348
311
|
case "translate":
|
|
349
312
|
return this._translateService;
|
|
350
313
|
case "user":
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
AttachmentService,
|
|
40
40
|
CommentDataService,
|
|
41
41
|
AddressService,
|
|
42
|
+
CurrencyService,
|
|
42
43
|
CountryService,
|
|
43
44
|
DistrictService,
|
|
44
45
|
ProvinceService,
|
|
@@ -155,6 +156,7 @@ async function initial(app: NestFastifyApplication) {
|
|
|
155
156
|
await initialService(app, DistrictService);
|
|
156
157
|
await initialService(app, SubdistrictService);
|
|
157
158
|
await initialService(app, AddressService);
|
|
159
|
+
await initialService(app, CurrencyService);
|
|
158
160
|
await initialService(app, CompanyService);
|
|
159
161
|
|
|
160
162
|
await initialService(app, MailSettingService);
|