cc-core-cli 1.0.17 → 1.0.19
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
|
@@ -27,7 +27,6 @@ import {
|
|
|
27
27
|
TranslateModule,
|
|
28
28
|
AttachmentModule,
|
|
29
29
|
NotificationModule,
|
|
30
|
-
SFTPSettingModule,
|
|
31
30
|
RedisModule,
|
|
32
31
|
MailSettingModule,
|
|
33
32
|
SmsModule,
|
|
@@ -145,7 +144,6 @@ if (+process.env.MONGODB_MAX_POOL_SIZE) {
|
|
|
145
144
|
LanguageModule,
|
|
146
145
|
MailSettingModule,
|
|
147
146
|
ScheduleActionModule,
|
|
148
|
-
SFTPSettingModule,
|
|
149
147
|
SmsModule,
|
|
150
148
|
TemplateModule,
|
|
151
149
|
TranslateModule,
|
|
@@ -25,7 +25,6 @@ import {
|
|
|
25
25
|
ReportModule,
|
|
26
26
|
ReasonModule,
|
|
27
27
|
ScheduleActionModule,
|
|
28
|
-
SFTPSettingModule,
|
|
29
28
|
SmsModule,
|
|
30
29
|
TemplateModule,
|
|
31
30
|
TranslateModule,
|
|
@@ -67,7 +66,6 @@ const RUN_CUSTOM_MODULES =
|
|
|
67
66
|
ReportModule,
|
|
68
67
|
ReasonModule,
|
|
69
68
|
ScheduleActionModule,
|
|
70
|
-
SFTPSettingModule,
|
|
71
69
|
SmsModule,
|
|
72
70
|
TemplateModule,
|
|
73
71
|
TranslateModule,
|
|
@@ -38,8 +38,6 @@ import {
|
|
|
38
38
|
ReasonDataService,
|
|
39
39
|
ScheduleActionService,
|
|
40
40
|
ScheduleLogService,
|
|
41
|
-
SFTPSettingService,
|
|
42
|
-
SftpLogService,
|
|
43
41
|
SmsService,
|
|
44
42
|
SmsLogService,
|
|
45
43
|
TemplateService,
|
|
@@ -205,10 +203,6 @@ export class CoreService implements OnModuleInit {
|
|
|
205
203
|
private readonly _scheduleActionService: ScheduleActionService;
|
|
206
204
|
@Inject(ScheduleLogService)
|
|
207
205
|
private readonly _scheduleLogService: ScheduleLogService;
|
|
208
|
-
@Inject(SFTPSettingService)
|
|
209
|
-
private readonly _sftpService: SFTPSettingService;
|
|
210
|
-
@Inject(SftpLogService)
|
|
211
|
-
private readonly _sftpLogService: SftpLogService;
|
|
212
206
|
@Inject(ShortlyUrlService)
|
|
213
207
|
private readonly _shortlyUrlService: ShortlyUrlService;
|
|
214
208
|
@Inject(SmsService)
|
|
@@ -310,10 +304,6 @@ export class CoreService implements OnModuleInit {
|
|
|
310
304
|
return this._scheduleActionService;
|
|
311
305
|
case "schedule_log":
|
|
312
306
|
return this._scheduleLogService;
|
|
313
|
-
case "sftp_setting":
|
|
314
|
-
return this._sftpService;
|
|
315
|
-
case "sftp_log":
|
|
316
|
-
return this._sftpLogService;
|
|
317
307
|
case "shortly_url":
|
|
318
308
|
return this._shortlyUrlService;
|
|
319
309
|
case "sms":
|
|
@@ -606,8 +596,6 @@ export class CoreLogService implements OnModuleInit {
|
|
|
606
596
|
private readonly _notificationLogService: NotificationLogService;
|
|
607
597
|
@Inject(ScheduleLogService)
|
|
608
598
|
private readonly _scheduleLogService: ScheduleLogService;
|
|
609
|
-
@Inject(SftpLogService)
|
|
610
|
-
private readonly _sftpLogService: SftpLogService;
|
|
611
599
|
@Inject(SmsLogService)
|
|
612
600
|
private readonly _smsLogService: SmsLogService;
|
|
613
601
|
|
|
@@ -625,8 +613,6 @@ export class CoreLogService implements OnModuleInit {
|
|
|
625
613
|
return this._activityLogService;
|
|
626
614
|
case "import_export_log":
|
|
627
615
|
return this._importExportLogService;
|
|
628
|
-
case "sftp_log":
|
|
629
|
-
return this._sftpLogService;
|
|
630
616
|
case "mail_log":
|
|
631
617
|
return this._mailLogService;
|
|
632
618
|
case "sms_log":
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"detail": {
|
|
3
|
+
"title": {},
|
|
4
|
+
"blocks": [
|
|
5
|
+
{
|
|
6
|
+
"key": "7c0f1cf1dd32864afcf9",
|
|
7
|
+
"type": "column",
|
|
8
|
+
"layout": {
|
|
9
|
+
"num_of_col": 2,
|
|
10
|
+
"fields": [
|
|
11
|
+
[
|
|
12
|
+
{
|
|
13
|
+
"field": "input_number",
|
|
14
|
+
"type": "standard_component",
|
|
15
|
+
"unique_key": "standard_component_input_number_c835ed4c19182c15034d",
|
|
16
|
+
"key": "maximum_execute_time",
|
|
17
|
+
"label": "Maximum Execute Time",
|
|
18
|
+
"description": "",
|
|
19
|
+
"required": true,
|
|
20
|
+
"default_value": 30,
|
|
21
|
+
"link_type": "key",
|
|
22
|
+
"prefix": "",
|
|
23
|
+
"suffix": "minute",
|
|
24
|
+
"trigger": [],
|
|
25
|
+
"_translates": {
|
|
26
|
+
"en-US": {
|
|
27
|
+
"label": "Maximum Execute Time",
|
|
28
|
+
"placeholder": "",
|
|
29
|
+
"description": ""
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"decimal_place": 0
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
[]
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"redirect_mode": "not_redirect"
|
|
41
|
+
},
|
|
42
|
+
"name": "Queue",
|
|
43
|
+
"code": "queue",
|
|
44
|
+
"type": [
|
|
45
|
+
"form"
|
|
46
|
+
],
|
|
47
|
+
"allow_actions": [
|
|
48
|
+
{
|
|
49
|
+
"action": "create",
|
|
50
|
+
"role_restrictions": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"action": "update",
|
|
54
|
+
"role_restrictions": []
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"deploy_package_settings": [
|
|
58
|
+
"general"
|
|
59
|
+
],
|
|
60
|
+
"restriction": [],
|
|
61
|
+
"hide_activity_log": true,
|
|
62
|
+
"hide_refresh": true
|
|
63
|
+
}
|
|
@@ -47,8 +47,6 @@ import {
|
|
|
47
47
|
DeployDestinationService,
|
|
48
48
|
DeployPackageService,
|
|
49
49
|
CustomFunctionService,
|
|
50
|
-
SFTPSettingService,
|
|
51
|
-
SftpLogService,
|
|
52
50
|
SmsService,
|
|
53
51
|
ReasonDataService,
|
|
54
52
|
ReasonMasterService,
|
|
@@ -151,8 +149,6 @@ async function initial(app: NestFastifyApplication) {
|
|
|
151
149
|
await initialService(app, AddressService);
|
|
152
150
|
await initialService(app, CompanyService);
|
|
153
151
|
|
|
154
|
-
await initialService(app, SFTPSettingService);
|
|
155
|
-
await initialService(app, SftpLogService);
|
|
156
152
|
await initialService(app, MailSettingService);
|
|
157
153
|
await initialService(app, MailLogService);
|
|
158
154
|
await initialService(app, SmsLogService);
|