cc-core-cli 1.0.133 → 1.0.136

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.
Files changed (75) hide show
  1. package/bin/index.js +4 -4
  2. package/package.json +1 -1
  3. package/template/admin_v3/src/pages/api/database/[type]/index.ts +23 -0
  4. package/template/admin_v3/src/pages/api/layout_chart_widget/[name]/index.ts +18 -0
  5. package/template/admin_v3/src/pages/api/layout_chart_widget/compare_matrix.ts +17 -0
  6. package/template/admin_v3/src/pages/api/redis/[type]/[connect]/index.ts +20 -0
  7. package/template/admin_v3/src/pages/api/redis/custom.ts +10 -0
  8. package/template/admin_v3/src/pages/api/setting/module/[code].ts +34 -0
  9. package/template/admin_v3/src/pages/api/template/[type].ts +21 -0
  10. package/template/admin_v3/src/pages/api/template/bulk_print/[id].ts +15 -0
  11. package/template/admin_v3/src/pages/api/template/print/[id]/[doc_ref].ts +11 -0
  12. package/template/core/src/main.ts +4 -1
  13. package/template/core_v3/Dockerfile +60 -0
  14. package/template/core_v3/_env +12 -0
  15. package/template/core_v3/_gitignore +52 -0
  16. package/template/core_v3/_npmrc +1 -0
  17. package/template/core_v3/buildspec.yml +29 -0
  18. package/template/core_v3/docker-compose.yml +11 -0
  19. package/template/core_v3/jest.config.js +43 -0
  20. package/template/core_v3/newrelic.sh +15 -0
  21. package/template/core_v3/package.json +54 -0
  22. package/template/core_v3/post-install.js +34 -0
  23. package/template/core_v3/sonar-project.properties +27 -0
  24. package/template/core_v3/src/app.controller.ts +39 -0
  25. package/template/core_v3/src/app.module.ts +174 -0
  26. package/template/core_v3/src/app.service.ts +21 -0
  27. package/template/core_v3/src/app_cluster.service.ts +61 -0
  28. package/template/core_v3/src/core/core.controller.ts +444 -0
  29. package/template/core_v3/src/core/core.module.ts +90 -0
  30. package/template/core_v3/src/core/core.service.ts +737 -0
  31. package/template/core_v3/src/core/setting/_settings/about.layout.json +105 -0
  32. package/template/core_v3/src/core/setting/_settings/cache.layout.json +309 -0
  33. package/template/core_v3/src/core/setting/_settings/global_login.json +299 -0
  34. package/template/core_v3/src/core/setting/_settings/header_footer.json +83 -0
  35. package/template/core_v3/src/core/setting/_settings/import_export.layout.json +69 -0
  36. package/template/core_v3/src/core/setting/_settings/list_detail.json +685 -0
  37. package/template/core_v3/src/core/setting/_settings/logs.layout.json +39 -0
  38. package/template/core_v3/src/core/setting/_settings/queue.layout.json +63 -0
  39. package/template/core_v3/src/core/setting/_settings/schedule.layout.json +132 -0
  40. package/template/core_v3/src/core/setting/_settings/security.layout.json +1110 -0
  41. package/template/core_v3/src/core/setting/_settings/storage.layout.json +158 -0
  42. package/template/core_v3/src/core/setting/_settings/swagger.layout.json +128 -0
  43. package/template/core_v3/src/core/setting/_settings/toast.json +344 -0
  44. package/template/core_v3/src/main.ts +308 -0
  45. package/template/core_v3/src/modules/modules.ts +16 -0
  46. package/template/core_v3/src/private.controller.ts +18 -0
  47. package/template/core_v3/storage/documents/index.html +14 -0
  48. package/template/core_v3/storage/public/system/menu/icons/company.svg +1 -0
  49. package/template/core_v3/storage/public/system/menu/icons/deploy.svg +2 -0
  50. package/template/core_v3/storage/public/system/menu/icons/entities.svg +55 -0
  51. package/template/core_v3/storage/public/system/menu/icons/files.svg +1 -0
  52. package/template/core_v3/storage/public/system/menu/icons/gateway.svg +1 -0
  53. package/template/core_v3/storage/public/system/menu/icons/import-export.svg +41 -0
  54. package/template/core_v3/storage/public/system/menu/icons/integration.svg +1 -0
  55. package/template/core_v3/storage/public/system/menu/icons/master_data.svg +53 -0
  56. package/template/core_v3/storage/public/system/menu/icons/modules.svg +79 -0
  57. package/template/core_v3/storage/public/system/menu/icons/monitoring.svg +114 -0
  58. package/template/core_v3/storage/public/system/menu/icons/pipeline.svg +1 -0
  59. package/template/core_v3/storage/public/system/menu/icons/provider.svg +1 -0
  60. package/template/core_v3/storage/public/system/menu/icons/report.svg +69 -0
  61. package/template/core_v3/storage/public/system/menu/icons/schedule.svg +1 -0
  62. package/template/core_v3/storage/public/system/menu/icons/security.svg +1 -0
  63. package/template/core_v3/storage/public/system/menu/icons/storage.svg +1 -0
  64. package/template/core_v3/storage/public/system/menu/icons/template.svg +44 -0
  65. package/template/core_v3/storage/public/system/menu/icons/theme-layout.svg +1 -0
  66. package/template/core_v3/test/__mocks__/cc-core-lib.d.ts +161 -0
  67. package/template/core_v3/test/__mocks__/cc-core-lib.js +311 -0
  68. package/template/core_v3/test/__mocks__/pdf-img-convert.js +5 -0
  69. package/template/core_v3/test/jest.setup.ts +25 -0
  70. package/template/core_v3/tsconfig.build.json +4 -0
  71. package/template/core_v3/tsconfig.json +22 -0
  72. package/template/core_v3/tsconfig.test.json +17 -0
  73. package/template/core_v3/version.json +5 -0
  74. package/template/admin_v3/src/pages/api/redis/[connect]/index.ts +0 -0
  75. package/template/admin_v3/src/pages/api/redis/index.ts +0 -0
@@ -0,0 +1,105 @@
1
+ {
2
+ "name": "About",
3
+ "code": "about",
4
+ "type": [
5
+ "form"
6
+ ],
7
+ "detail": {
8
+ "title": {},
9
+ "blocks": [
10
+ {
11
+ "key": "491de1323dfe4a081997",
12
+ "type": "column",
13
+ "layout": {
14
+ "num_of_col": 1,
15
+ "fields": [
16
+ [
17
+ {
18
+ "field": "label",
19
+ "type": "standard_component",
20
+ "unique_key": "standard_component_label_203ab8c2d511e0ed02ee",
21
+ "label": "Software Version",
22
+ "entity": "about_page",
23
+ "format": "<h3><strong style=\"font-size: 18px;\">Software Version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.software_version }</span></h3>\n<p>Last date of deployment:&nbsp;${ api_version.0.deploy_date }</p>",
24
+ "hide_label": true,
25
+ "show_empty": false,
26
+ "_translates": {
27
+ "en-US": {
28
+ "label": "Software Version",
29
+ "placeholder": "",
30
+ "description": "",
31
+ "format": "<h3><strong style=\"font-size: 18px;\">Software Version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.software_version }</span></h3>\n<p>Last date of deployment:&nbsp;${ api_version.0.deploy_date }</p>"
32
+ }
33
+ }
34
+ }
35
+ ]
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "key": "54657c709517706a4d8b",
41
+ "type": "column",
42
+ "layout": {
43
+ "num_of_col": 1,
44
+ "fields": [
45
+ [
46
+ {
47
+ "field": "label",
48
+ "type": "standard_component",
49
+ "unique_key": "standard_component_label_fdb28af5a8f03706e22c",
50
+ "label": "CORE Lib version",
51
+ "entity": "about_page",
52
+ "format": "<p><span style=\"font-size: 18px;\"><strong>CORE Lib version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.lib_version }</span></span></p>\n<table style=\"border-collapse: collapse; width: 54.8747%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 40%;\">\n <div><span style=\"font-size: 18px;\">NODE VERSION</span></div>\n </td>\n <td style=\"width: 60%;\"><span style=\"font-size: 18px;\">${ api_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">LOOP_BACK_IP</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.loop_back_ip }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MONGO_DB</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.mongo_db }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SESSION_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.session_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">CACHE_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.cache_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_REDIS_URL<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MAX_WORKER</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.max_worker }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_CONCURRENCY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_concurrency }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>",
53
+ "hide_label": true,
54
+ "show_empty": false,
55
+ "_translates": {
56
+ "en-US": {
57
+ "label": "CORE Lib version",
58
+ "placeholder": "",
59
+ "description": "",
60
+ "format": "<p><span style=\"font-size: 18px;\"><strong>CORE Lib version:&nbsp;</strong><span style=\"background-color: #e4eef5; border: 2px solid #337cab; border-radius: 10px; padding: 5px; font-size: 14px; color: #337cab;\">${ api_version.0.lib_version }</span></span></p>\n<table style=\"border-collapse: collapse; width: 54.8747%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 40%;\">\n <div><span style=\"font-size: 18px;\">NODE VERSION</span></div>\n </td>\n <td style=\"width: 60%;\"><span style=\"font-size: 18px;\">${ api_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">LOOP_BACK_IP</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.loop_back_ip }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MONGO_DB</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.mongo_db }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SESSION_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.session_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">CACHE_REDIS_URL</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.cache_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_REDIS_URL<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_redis_url }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">MAX_WORKER</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.max_worker }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">QUEUE_CONCURRENCY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ api_version.0.queue_concurrency }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>"
61
+ }
62
+ }
63
+ }
64
+ ]
65
+ ]
66
+ }
67
+ },
68
+ {
69
+ "key": "aa2eb7a84ccc190d7fc2",
70
+ "type": "column",
71
+ "layout": {
72
+ "num_of_col": 1,
73
+ "fields": [
74
+ [
75
+ {
76
+ "field": "label",
77
+ "type": "standard_component",
78
+ "unique_key": "standard_component_label_b4883aefd3589ce3d1da",
79
+ "label": "ADMIN Lib version",
80
+ "entity": "about_page",
81
+ "format": "<h3><span style=\"font-size: 18px;\"><strong>ADMIN Lib version:&nbsp;</strong><span style=\"background-color: rgb(228, 238, 245); border: 2px solid rgb(51, 124, 171); border-radius: 10px; padding: 5px; color: rgb(51, 124, 171); font-size: 14px;\">${ admin_version.0.lib_version }</span></span></h3>\n<table style=\"border-collapse: collapse; width: 56.8245%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 38.7255%;\"><span style=\"font-size: 18px;\">NODE VERSION<br></span></td>\n <td style=\"width: 61.1111%;\"><span style=\"font-size: 18px;\"> ${ admin_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SECURE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_secure }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_HTTP_ONLY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_http_only }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SAME_SITE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_same_stie }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_APP_KEY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_app_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_SECRET_KEY<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_secret_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">API_GATEWAY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.api_gateway }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>",
82
+ "hide_label": true,
83
+ "show_empty": false,
84
+ "_translates": {
85
+ "en-US": {
86
+ "label": "ADMIN Lib version",
87
+ "placeholder": "",
88
+ "description": "",
89
+ "format": "<h3><span style=\"font-size: 18px;\"><strong>ADMIN Lib version:&nbsp;</strong><span style=\"background-color: rgb(228, 238, 245); border: 2px solid rgb(51, 124, 171); border-radius: 10px; padding: 5px; color: rgb(51, 124, 171); font-size: 14px;\">${ admin_version.0.lib_version }</span></span></h3>\n<table style=\"border-collapse: collapse; width: 56.8245%; height: 301px;\">\n <tbody>\n <tr>\n <td style=\"width: 38.7255%;\"><span style=\"font-size: 18px;\">NODE VERSION<br></span></td>\n <td style=\"width: 61.1111%;\"><span style=\"font-size: 18px;\"> ${ admin_version.0.node_version }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">NODE ENV<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.node_env }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SECURE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_secure }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_HTTP_ONLY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_http_only }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">COOKIE_SAME_SITE</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.cookie_same_stie }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_APP_KEY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_app_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">SYSTEM_SECRET_KEY<br></span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.system_secret_key }<br></span></td>\n </tr>\n <tr>\n <td><span style=\"font-size: 18px;\">API_GATEWAY</span></td>\n <td><span style=\"font-size: 18px;\"> ${ admin_version.0.api_gateway }<br></span></td>\n </tr>\n </tbody>\n</table>\n<p><br></p>"
90
+ }
91
+ }
92
+ }
93
+ ]
94
+ ]
95
+ }
96
+ }
97
+ ],
98
+ "redirect_mode": "redirect"
99
+ },
100
+ "allow_actions": [],
101
+ "restriction": [],
102
+ "hide_activity_log": true,
103
+ "hide_save": true,
104
+ "show_refresh": false
105
+ }
@@ -0,0 +1,309 @@
1
+ {
2
+ "detail": {
3
+ "title": {
4
+ "format": "Cache Management"
5
+ },
6
+ "blocks": [
7
+ {
8
+ "key": "556f6c43e6de0b7df89d",
9
+ "type": "tabs",
10
+ "tabs": [
11
+ {
12
+ "title": "Global",
13
+ "key": "d79ed9ded02e576344cc",
14
+ "blocks": [
15
+ {
16
+ "key": "36fb55222440b23479ac",
17
+ "type": "column",
18
+ "layout": {
19
+ "num_of_col": 2,
20
+ "fields": [
21
+ [
22
+ {
23
+ "field": "switch",
24
+ "type": "standard_component",
25
+ "unique_key": "standard_component_switch_15b446df73392024de30",
26
+ "key": "enabled",
27
+ "label": "Enabled Cache",
28
+ "description": "Global Cache enable / disable",
29
+ "default_value": true,
30
+ "link_type": "key",
31
+ "yes_label": "Yes",
32
+ "no_label": "No",
33
+ "trigger": []
34
+ }
35
+ ],
36
+ [
37
+ {
38
+ "field": "input_number",
39
+ "type": "standard_component",
40
+ "unique_key": "standard_component_input_number_71b3f3d6d929456955c3",
41
+ "key": "warmup_interval",
42
+ "label": "Warmup Interval",
43
+ "link_type": "key",
44
+ "suffix": "Minutes",
45
+ "trigger": [],
46
+ "decimal_place": 0
47
+ }
48
+ ]
49
+ ]
50
+ }
51
+ }
52
+ ],
53
+ "actions": [
54
+ {
55
+ "enable": true,
56
+ "type": "action",
57
+ "icon": "Trash2",
58
+ "color": "#ff0000ff",
59
+ "label": "Flush Cache",
60
+ "tooltip": "Flush All Cache",
61
+ "method": "patch",
62
+ "url": "/cache/flush",
63
+ "params": []
64
+ },
65
+ {
66
+ "enable": true,
67
+ "type": "action",
68
+ "color": "list_detail.primary_color",
69
+ "label": "Force Warmup",
70
+ "method": "patch",
71
+ "url": "/cache/warmup",
72
+ "params": [],
73
+ "icon": "Loader"
74
+ }
75
+ ],
76
+ "extra_data": []
77
+ },
78
+ {
79
+ "title": "Modules",
80
+ "key": "d57730d5d7af85524db4",
81
+ "blocks": [
82
+ {
83
+ "key": "e9d5bbb4bc119ca75b02",
84
+ "type": "items_list",
85
+ "field": "items_list",
86
+ "layout_detail": [
87
+ {
88
+ "title": "Items List",
89
+ "key": "5b957f07d4765d5de698",
90
+ "blocks": [
91
+ {
92
+ "key": "7137f5f4a12786a20c94",
93
+ "type": "column",
94
+ "layout": {
95
+ "num_of_col": 2,
96
+ "fields": [
97
+ [
98
+ {
99
+ "field": "switch",
100
+ "type": "standard_component",
101
+ "unique_key": "standard_component_switch_bb67f01b855fa1f66929",
102
+ "key": "enabled",
103
+ "label": "Enabled Cache",
104
+ "description": "Enabled Cache in module level",
105
+ "link_type": "key",
106
+ "yes_label": "Yes",
107
+ "no_label": "No",
108
+ "trigger": []
109
+ }
110
+ ],
111
+ [
112
+ {
113
+ "field": "input_number",
114
+ "type": "standard_component",
115
+ "unique_key": "standard_component_input_number_687ac12d52e65ac0f52e",
116
+ "key": "ttl",
117
+ "label": "Cache TTL",
118
+ "link_type": "key",
119
+ "suffix": "Minutes",
120
+ "trigger": [],
121
+ "decimal_place": 0
122
+ }
123
+ ]
124
+ ]
125
+ }
126
+ },
127
+ {
128
+ "key": "2abb9ae89cc05349f04c",
129
+ "type": "column",
130
+ "layout": {
131
+ "num_of_col": 1,
132
+ "fields": [
133
+ [
134
+ {
135
+ "field": "edit_table",
136
+ "type": "advanced_component",
137
+ "label": "Warmup List",
138
+ "unique_key": "advanced_component_edit_table_77ba27364da306851c1f",
139
+ "key": "warmup_list",
140
+ "link_type": "key",
141
+ "entity": "custom",
142
+ "filters": [
143
+ null
144
+ ],
145
+ "hide_label": false,
146
+ "list": [
147
+ {
148
+ "type": "adjust",
149
+ "field": "name",
150
+ "label": "Name",
151
+ "read_only": [],
152
+ "validate": {},
153
+ "field_type": "string",
154
+ "use_function": false,
155
+ "entity": "not_use"
156
+ },
157
+ {
158
+ "type": "adjust",
159
+ "field": "path",
160
+ "label": "Path",
161
+ "read_only": [],
162
+ "validate": {},
163
+ "field_type": "string",
164
+ "use_function": false,
165
+ "entity": "not_use"
166
+ },
167
+ {
168
+ "type": "adjust",
169
+ "field": "query",
170
+ "label": "Query",
171
+ "read_only": [],
172
+ "validate": {},
173
+ "field_type": "string",
174
+ "use_function": false,
175
+ "entity": "not_use"
176
+ }
177
+ ],
178
+ "use_currency": false
179
+ }
180
+ ]
181
+ ]
182
+ }
183
+ },
184
+ {
185
+ "key": "26aa7fbfec6d413e94bb",
186
+ "type": "column",
187
+ "layout": {
188
+ "num_of_col": 1,
189
+ "fields": [
190
+ [
191
+ {
192
+ "field": "input",
193
+ "type": "standard_component",
194
+ "unique_key": "standard_component_input_3de949b61e2d4e7d831e",
195
+ "key": "name",
196
+ "label": "Name",
197
+ "link_type": "key",
198
+ "entity": "not_use",
199
+ "input_type": "single_line",
200
+ "hidden": true,
201
+ "trigger": []
202
+ }
203
+ ]
204
+ ]
205
+ }
206
+ }
207
+ ]
208
+ }
209
+ ],
210
+ "static_layout_detail": [
211
+ {
212
+ "key": "92ae137a22e9370dc6db",
213
+ "blocks": []
214
+ }
215
+ ],
216
+ "keyData": "modules",
217
+ "link_type": "key",
218
+ "entity": "current_entity",
219
+ "list_template": "<p><strong>${ name }</strong></p>\n",
220
+ "items_list_mode": "dynamic",
221
+ "use_data_from_source": true,
222
+ "actions": [
223
+ {
224
+ "system": true,
225
+ "enable": true,
226
+ "label": "Save",
227
+ "type": "action",
228
+ "color": "#1ac0f5",
229
+ "need_confirm": true,
230
+ "save_items_list": true,
231
+ "confirm_message": "Would you like to save this item?"
232
+ },
233
+ {
234
+ "system": true,
235
+ "enable": true,
236
+ "icon": "Trash2",
237
+ "type": "action",
238
+ "color": "#ff4d4fff",
239
+ "need_confirm": true,
240
+ "remove_items_list": true,
241
+ "confirm_message": "Are you sure you want to delete?"
242
+ },
243
+ {
244
+ "enable": true,
245
+ "type": "action",
246
+ "label": "Flush Cache",
247
+ "tooltip": "Flush all cache for module",
248
+ "method": "patch",
249
+ "url": "/cache/flush/:module",
250
+ "params": [
251
+ {
252
+ "key": "module",
253
+ "value": "${ name }"
254
+ }
255
+ ],
256
+ "icon": "Trash2"
257
+ },
258
+ {
259
+ "enable": true,
260
+ "type": "action",
261
+ "icon": "Loader",
262
+ "color": "list_detail.primary_color",
263
+ "label": "Force Warmup",
264
+ "method": "patch",
265
+ "url": "/cache/warmup/:module",
266
+ "params": [
267
+ {
268
+ "key": "module",
269
+ "value": "${ name }"
270
+ }
271
+ ]
272
+ }
273
+ ]
274
+ }
275
+ ]
276
+ }
277
+ ]
278
+ }
279
+ ],
280
+ "is_popup": false,
281
+ "redirect_mode": "not_redirect"
282
+ },
283
+ "list": {
284
+ "allow_search": false,
285
+ "allow_sort": false,
286
+ "allow_filter": false,
287
+ "allow_bulk": false,
288
+ "entries_per_page": 10,
289
+ "default_sort": "_translates",
290
+ "columns": []
291
+ },
292
+ "name": "Cache",
293
+ "code": "cache",
294
+ "type": [
295
+ "form"
296
+ ],
297
+ "allow_actions": [
298
+ {
299
+ "action": "create",
300
+ "role_restrictions": []
301
+ },
302
+ {
303
+ "action": "update",
304
+ "role_restrictions": []
305
+ }
306
+ ],
307
+ "restriction": [],
308
+ "allow_workflow_actions": false
309
+ }