@acorex-platform/module-system-insight-client 0.0.32 → 0.0.37

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 (91) hide show
  1. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs +163 -0
  2. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs +741 -0
  4. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs +161 -0
  6. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs +365 -0
  8. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs +439 -0
  10. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs +445 -0
  12. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs +730 -0
  14. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs +290 -0
  16. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs +161 -0
  18. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs +182 -0
  20. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs +162 -0
  22. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs +312 -0
  24. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs +539 -0
  26. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs +304 -0
  28. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs +135 -0
  30. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs +43 -0
  32. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs +638 -0
  34. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs +20 -0
  36. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs +58 -0
  38. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs +203 -0
  40. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs +277 -0
  42. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs +283 -0
  44. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs +533 -0
  46. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs +128 -0
  48. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs +58 -0
  50. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs +45 -0
  52. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs +79 -0
  54. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs +59 -0
  56. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs +38 -0
  58. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs +150 -0
  60. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs +342 -0
  62. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs +142 -0
  64. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs +2 -0
  66. package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs.map +1 -0
  67. package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs.map +1 -1
  68. package/fesm2022/{acorex-platform-module-system-insight-client-index-D-Sy2f4K.mjs → acorex-platform-module-system-insight-client-index-CeO40uWE.mjs} +2 -2
  69. package/fesm2022/{acorex-platform-module-system-insight-client-index-D-Sy2f4K.mjs.map → acorex-platform-module-system-insight-client-index-CeO40uWE.mjs.map} +1 -1
  70. package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs +42 -0
  71. package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs.map +1 -0
  72. package/fesm2022/acorex-platform-module-system-insight-client-open-trace-timeline.command-DPbr-AYZ.mjs.map +1 -1
  73. package/fesm2022/acorex-platform-module-system-insight-client.mjs +2 -2
  74. package/fesm2022/acorex-platform-module-system-insight-client.mjs.map +1 -1
  75. package/package.json +65 -1
  76. package/types/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.d.ts +5 -0
  77. package/types/acorex-platform-module-system-insight-client-contracts-entities-audit-log.d.ts +5 -0
  78. package/types/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.d.ts +5 -0
  79. package/types/acorex-platform-module-system-insight-client-contracts-entities-error-event.d.ts +5 -0
  80. package/types/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.d.ts +5 -0
  81. package/types/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.d.ts +5 -0
  82. package/types/acorex-platform-module-system-insight-client-contracts-entities-log-entry.d.ts +5 -0
  83. package/types/acorex-platform-module-system-insight-client-contracts-entities-metric-point.d.ts +5 -0
  84. package/types/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.d.ts +5 -0
  85. package/types/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.d.ts +5 -0
  86. package/types/acorex-platform-module-system-insight-client-contracts-entities-saved-view.d.ts +5 -0
  87. package/types/acorex-platform-module-system-insight-client-contracts-entities-slow-request.d.ts +5 -0
  88. package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.d.ts +5 -0
  89. package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-span.d.ts +5 -0
  90. package/types/acorex-platform-module-system-insight-client-contracts-entity-catalog.d.ts +10 -0
  91. package/types/acorex-platform-module-system-insight-client-local-entities.d.ts +12 -0
@@ -0,0 +1,182 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'system-insight',
6
+ };
7
+ const RootConfig = {
8
+ config,
9
+ module: {
10
+ route: 'system-insight',
11
+ module: 'system-insight',
12
+ name: 'SystemInsight',
13
+ title: '@system-insight:module.title',
14
+ icon: 'fa-light fa-monitor-waveform',
15
+ },
16
+ entities: {
17
+ auditLog: {
18
+ name: 'AuditLog',
19
+ title: '@system-insight:logs.entities.audit-log.title',
20
+ titlePlural: '@system-insight:logs.entities.audit-log.plural',
21
+ icon: 'fa-light fa-file-code',
22
+ },
23
+ logEntry: {
24
+ name: 'LogEntry',
25
+ title: '@system-insight:entities.log-entry.title',
26
+ titlePlural: '@system-insight:entities.log-entry.plural',
27
+ icon: 'fa-light fa-file-lines',
28
+ },
29
+ httpRequestLog: {
30
+ name: 'HttpRequestLog',
31
+ title: '@system-insight:entities.http-request-log.title',
32
+ titlePlural: '@system-insight:entities.http-request-log.plural',
33
+ icon: 'fa-light fa-globe',
34
+ },
35
+ jobExecutionLog: {
36
+ name: 'JobExecutionLog',
37
+ title: '@system-insight:entities.job-execution-log.title',
38
+ titlePlural: '@system-insight:entities.job-execution-log.plural',
39
+ icon: 'fa-light fa-clock',
40
+ },
41
+ traceEntry: {
42
+ name: 'TraceEntry',
43
+ title: '@system-insight:entities.trace-entry.title',
44
+ titlePlural: '@system-insight:entities.trace-entry.plural',
45
+ icon: 'fa-light fa-route',
46
+ },
47
+ traceSpan: {
48
+ name: 'TraceSpan',
49
+ title: '@system-insight:entities.trace-span.title',
50
+ titlePlural: '@system-insight:entities.trace-span.plural',
51
+ icon: 'fa-light fa-diagram-project',
52
+ },
53
+ errorEvent: {
54
+ name: 'ErrorEvent',
55
+ title: '@system-insight:entities.error-event.title',
56
+ titlePlural: '@system-insight:entities.error-event.plural',
57
+ icon: 'fa-light fa-circle-exclamation',
58
+ },
59
+ slowRequest: {
60
+ name: 'SlowRequest',
61
+ title: '@system-insight:entities.slow-request.title',
62
+ titlePlural: '@system-insight:entities.slow-request.plural',
63
+ icon: 'fa-light fa-hourglass-half',
64
+ },
65
+ metricPoint: {
66
+ name: 'MetricPoint',
67
+ title: '@system-insight:entities.metric-point.title',
68
+ titlePlural: '@system-insight:entities.metric-point.plural',
69
+ icon: 'fa-light fa-chart-line',
70
+ },
71
+ savedView: {
72
+ name: 'SavedView',
73
+ title: '@system-insight:entities.saved-view.title',
74
+ titlePlural: '@system-insight:entities.saved-view.plural',
75
+ icon: 'fa-light fa-bookmark',
76
+ },
77
+ alertRule: {
78
+ name: 'AlertRule',
79
+ title: '@system-insight:entities.alert-rule.title',
80
+ titlePlural: '@system-insight:entities.alert-rule.plural',
81
+ icon: 'fa-light fa-bell',
82
+ },
83
+ observabilityDataSource: {
84
+ name: 'ObservabilityDataSource',
85
+ title: '@system-insight:entities.observability-data-source.title',
86
+ titlePlural: '@system-insight:entities.observability-data-source.plural',
87
+ icon: 'fa-light fa-database',
88
+ },
89
+ retentionPolicy: {
90
+ name: 'RetentionPolicy',
91
+ title: '@system-insight:entities.retention-policy.title',
92
+ titlePlural: '@system-insight:entities.retention-policy.plural',
93
+ icon: 'fa-light fa-calendar-clock',
94
+ },
95
+ dashboardWidgetConfig: {
96
+ name: 'DashboardWidgetConfig',
97
+ title: '@system-insight:entities.dashboard-widget-config.title',
98
+ titlePlural: '@system-insight:entities.dashboard-widget-config.plural',
99
+ icon: 'fa-light fa-grid-2',
100
+ },
101
+ },
102
+ };
103
+
104
+ async function retentionPolicyEntityFactory() {
105
+ return {
106
+ module: RootConfig.module.name,
107
+ name: RootConfig.entities.retentionPolicy.name,
108
+ title: RootConfig.entities.retentionPolicy.title,
109
+ icon: RootConfig.entities.retentionPolicy.icon,
110
+ formats: {
111
+ individual: RootConfig.entities.retentionPolicy.title,
112
+ plural: RootConfig.entities.retentionPolicy.titlePlural,
113
+ searchResult: { title: '{{ dataType }}', description: RootConfig.entities.retentionPolicy.title },
114
+ },
115
+ groups: [{ id: 'general', title: '@system-insight:groups.general' }],
116
+ properties: [
117
+ { name: 'dataType', title: '@system-insight:fields.data-type', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: ['logs', 'traces', 'metrics', 'audit'] } } } },
118
+ { name: 'retentionDays', title: '@system-insight:fields.retention-days', groupId: 'general', schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } } },
119
+ { name: 'enabled', title: '@system-insight:fields.enabled', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },
120
+ {
121
+ name: 'tenantId',
122
+ title: '@system-insight:fields.tenant-id',
123
+ groupId: 'general',
124
+ schema: {
125
+ dataType: 'string',
126
+ nullable: true,
127
+ interface: {
128
+ type: AXPWidgetsList.Editors.LookupBox,
129
+ options: {
130
+ entity: 'TenantManagement.Tenant',
131
+ textField: 'title',
132
+ valueField: 'id',
133
+ look: 'select',
134
+ expose: [
135
+ { source: 'id', target: 'tenant.id' },
136
+ { source: 'title', target: 'tenant.title' },
137
+ ],
138
+ },
139
+ },
140
+ },
141
+ },
142
+ {
143
+ name: 'applicationId',
144
+ title: '@system-insight:fields.application-id',
145
+ groupId: 'general',
146
+ schema: {
147
+ dataType: 'string',
148
+ nullable: true,
149
+ interface: {
150
+ type: AXPWidgetsList.Editors.LookupBox,
151
+ options: {
152
+ entity: 'ApplicationManagement.Application',
153
+ textField: 'title',
154
+ valueField: 'id',
155
+ look: 'select',
156
+ expose: [
157
+ { source: 'id', target: 'application.id' },
158
+ { source: 'title', target: 'application.title' },
159
+ ],
160
+ },
161
+ },
162
+ },
163
+ },
164
+ ],
165
+ columns: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],
166
+ interfaces: {
167
+ master: {
168
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },
169
+ single: { title: '{{ dataType }}', sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }], actions: [...entityMasterRecordActions()] },
170
+ create: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },
171
+ update: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },
172
+ },
173
+ },
174
+ };
175
+ }
176
+
177
+ /**
178
+ * Generated bundle index. Do not edit.
179
+ */
180
+
181
+ export { retentionPolicyEntityFactory };
182
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/entities/retention-policy/retention-policy.entity.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.ts"],"sourcesContent":["const config = {\n i18n: 'system-insight',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'system-insight',\n module: 'system-insight',\n name: 'SystemInsight',\n title: '@system-insight:module.title',\n icon: 'fa-light fa-monitor-waveform',\n },\n entities: {\n auditLog: {\n name: 'AuditLog',\n title: '@system-insight:logs.entities.audit-log.title',\n titlePlural: '@system-insight:logs.entities.audit-log.plural',\n icon: 'fa-light fa-file-code',\n },\n logEntry: {\n name: 'LogEntry',\n title: '@system-insight:entities.log-entry.title',\n titlePlural: '@system-insight:entities.log-entry.plural',\n icon: 'fa-light fa-file-lines',\n },\n httpRequestLog: {\n name: 'HttpRequestLog',\n title: '@system-insight:entities.http-request-log.title',\n titlePlural: '@system-insight:entities.http-request-log.plural',\n icon: 'fa-light fa-globe',\n },\n jobExecutionLog: {\n name: 'JobExecutionLog',\n title: '@system-insight:entities.job-execution-log.title',\n titlePlural: '@system-insight:entities.job-execution-log.plural',\n icon: 'fa-light fa-clock',\n },\n traceEntry: {\n name: 'TraceEntry',\n title: '@system-insight:entities.trace-entry.title',\n titlePlural: '@system-insight:entities.trace-entry.plural',\n icon: 'fa-light fa-route',\n },\n traceSpan: {\n name: 'TraceSpan',\n title: '@system-insight:entities.trace-span.title',\n titlePlural: '@system-insight:entities.trace-span.plural',\n icon: 'fa-light fa-diagram-project',\n },\n errorEvent: {\n name: 'ErrorEvent',\n title: '@system-insight:entities.error-event.title',\n titlePlural: '@system-insight:entities.error-event.plural',\n icon: 'fa-light fa-circle-exclamation',\n },\n slowRequest: {\n name: 'SlowRequest',\n title: '@system-insight:entities.slow-request.title',\n titlePlural: '@system-insight:entities.slow-request.plural',\n icon: 'fa-light fa-hourglass-half',\n },\n metricPoint: {\n name: 'MetricPoint',\n title: '@system-insight:entities.metric-point.title',\n titlePlural: '@system-insight:entities.metric-point.plural',\n icon: 'fa-light fa-chart-line',\n },\n savedView: {\n name: 'SavedView',\n title: '@system-insight:entities.saved-view.title',\n titlePlural: '@system-insight:entities.saved-view.plural',\n icon: 'fa-light fa-bookmark',\n },\n alertRule: {\n name: 'AlertRule',\n title: '@system-insight:entities.alert-rule.title',\n titlePlural: '@system-insight:entities.alert-rule.plural',\n icon: 'fa-light fa-bell',\n },\n observabilityDataSource: {\n name: 'ObservabilityDataSource',\n title: '@system-insight:entities.observability-data-source.title',\n titlePlural: '@system-insight:entities.observability-data-source.plural',\n icon: 'fa-light fa-database',\n },\n retentionPolicy: {\n name: 'RetentionPolicy',\n title: '@system-insight:entities.retention-policy.title',\n titlePlural: '@system-insight:entities.retention-policy.plural',\n icon: 'fa-light fa-calendar-clock',\n },\n dashboardWidgetConfig: {\n name: 'DashboardWidgetConfig',\n title: '@system-insight:entities.dashboard-widget-config.title',\n titlePlural: '@system-insight:entities.dashboard-widget-config.plural',\n icon: 'fa-light fa-grid-2',\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function retentionPolicyEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.retentionPolicy.name,\n title: RootConfig.entities.retentionPolicy.title,\n icon: RootConfig.entities.retentionPolicy.icon,\n formats: {\n individual: RootConfig.entities.retentionPolicy.title,\n plural: RootConfig.entities.retentionPolicy.titlePlural,\n searchResult: { title: '{{ dataType }}', description: RootConfig.entities.retentionPolicy.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'dataType', title: '@system-insight:fields.data-type', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: ['logs', 'traces', 'metrics', 'audit'] } } } },\n { name: 'retentionDays', title: '@system-insight:fields.retention-days', groupId: 'general', schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } } },\n { name: 'enabled', title: '@system-insight:fields.enabled', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n {\n name: 'applicationId',\n title: '@system-insight:fields.application-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'ApplicationManagement.Application',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'application.id' },\n { source: 'title', target: 'application.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ dataType }}', sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },\n },\n },\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.retention-policy';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,gBAAgB;CACvB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,gBAAgB;AACvB,QAAA,MAAM,EAAE,gBAAgB;AACxB,QAAA,IAAI,EAAE,eAAe;AACrB,QAAA,KAAK,EAAE,8BAA8B;AACrC,QAAA,IAAI,EAAE,8BAA8B;AACrC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,+CAA+C;AACtD,YAAA,WAAW,EAAE,gDAAgD;AAC7D,YAAA,IAAI,EAAE,uBAAuB;AAC9B,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,0CAA0C;AACjD,YAAA,WAAW,EAAE,2CAA2C;AACxD,YAAA,IAAI,EAAE,wBAAwB;AAC/B,SAAA;AACD,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,iDAAiD;AACxD,YAAA,WAAW,EAAE,kDAAkD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BAChF,MAAM,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC,EAAE;AACjM,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;AAC7H,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;AAC9H,aAAA;AACF,SAAA;KACF;AACH;;AC3EA;;AAEG;;"}
@@ -0,0 +1,162 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'system-insight',
6
+ };
7
+ const RootConfig = {
8
+ config,
9
+ module: {
10
+ route: 'system-insight',
11
+ module: 'system-insight',
12
+ name: 'SystemInsight',
13
+ title: '@system-insight:module.title',
14
+ icon: 'fa-light fa-monitor-waveform',
15
+ },
16
+ entities: {
17
+ auditLog: {
18
+ name: 'AuditLog',
19
+ title: '@system-insight:logs.entities.audit-log.title',
20
+ titlePlural: '@system-insight:logs.entities.audit-log.plural',
21
+ icon: 'fa-light fa-file-code',
22
+ },
23
+ logEntry: {
24
+ name: 'LogEntry',
25
+ title: '@system-insight:entities.log-entry.title',
26
+ titlePlural: '@system-insight:entities.log-entry.plural',
27
+ icon: 'fa-light fa-file-lines',
28
+ },
29
+ httpRequestLog: {
30
+ name: 'HttpRequestLog',
31
+ title: '@system-insight:entities.http-request-log.title',
32
+ titlePlural: '@system-insight:entities.http-request-log.plural',
33
+ icon: 'fa-light fa-globe',
34
+ },
35
+ jobExecutionLog: {
36
+ name: 'JobExecutionLog',
37
+ title: '@system-insight:entities.job-execution-log.title',
38
+ titlePlural: '@system-insight:entities.job-execution-log.plural',
39
+ icon: 'fa-light fa-clock',
40
+ },
41
+ traceEntry: {
42
+ name: 'TraceEntry',
43
+ title: '@system-insight:entities.trace-entry.title',
44
+ titlePlural: '@system-insight:entities.trace-entry.plural',
45
+ icon: 'fa-light fa-route',
46
+ },
47
+ traceSpan: {
48
+ name: 'TraceSpan',
49
+ title: '@system-insight:entities.trace-span.title',
50
+ titlePlural: '@system-insight:entities.trace-span.plural',
51
+ icon: 'fa-light fa-diagram-project',
52
+ },
53
+ errorEvent: {
54
+ name: 'ErrorEvent',
55
+ title: '@system-insight:entities.error-event.title',
56
+ titlePlural: '@system-insight:entities.error-event.plural',
57
+ icon: 'fa-light fa-circle-exclamation',
58
+ },
59
+ slowRequest: {
60
+ name: 'SlowRequest',
61
+ title: '@system-insight:entities.slow-request.title',
62
+ titlePlural: '@system-insight:entities.slow-request.plural',
63
+ icon: 'fa-light fa-hourglass-half',
64
+ },
65
+ metricPoint: {
66
+ name: 'MetricPoint',
67
+ title: '@system-insight:entities.metric-point.title',
68
+ titlePlural: '@system-insight:entities.metric-point.plural',
69
+ icon: 'fa-light fa-chart-line',
70
+ },
71
+ savedView: {
72
+ name: 'SavedView',
73
+ title: '@system-insight:entities.saved-view.title',
74
+ titlePlural: '@system-insight:entities.saved-view.plural',
75
+ icon: 'fa-light fa-bookmark',
76
+ },
77
+ alertRule: {
78
+ name: 'AlertRule',
79
+ title: '@system-insight:entities.alert-rule.title',
80
+ titlePlural: '@system-insight:entities.alert-rule.plural',
81
+ icon: 'fa-light fa-bell',
82
+ },
83
+ observabilityDataSource: {
84
+ name: 'ObservabilityDataSource',
85
+ title: '@system-insight:entities.observability-data-source.title',
86
+ titlePlural: '@system-insight:entities.observability-data-source.plural',
87
+ icon: 'fa-light fa-database',
88
+ },
89
+ retentionPolicy: {
90
+ name: 'RetentionPolicy',
91
+ title: '@system-insight:entities.retention-policy.title',
92
+ titlePlural: '@system-insight:entities.retention-policy.plural',
93
+ icon: 'fa-light fa-calendar-clock',
94
+ },
95
+ dashboardWidgetConfig: {
96
+ name: 'DashboardWidgetConfig',
97
+ title: '@system-insight:entities.dashboard-widget-config.title',
98
+ titlePlural: '@system-insight:entities.dashboard-widget-config.plural',
99
+ icon: 'fa-light fa-grid-2',
100
+ },
101
+ },
102
+ };
103
+
104
+ async function savedViewEntityFactory() {
105
+ return {
106
+ module: RootConfig.module.name,
107
+ name: RootConfig.entities.savedView.name,
108
+ title: RootConfig.entities.savedView.title,
109
+ icon: RootConfig.entities.savedView.icon,
110
+ formats: {
111
+ individual: RootConfig.entities.savedView.title,
112
+ plural: RootConfig.entities.savedView.titlePlural,
113
+ searchResult: { title: '{{ title }}', description: RootConfig.entities.savedView.title },
114
+ },
115
+ groups: [{ id: 'general', title: '@system-insight:groups.general' }],
116
+ properties: [
117
+ { name: 'title', title: '@system-insight:fields.title', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },
118
+ { name: 'description', title: '@system-insight:fields.description', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },
119
+ { name: 'entityFullName', title: '@system-insight:fields.entity-full-name', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },
120
+ { name: 'isDefault', title: '@system-insight:fields.is-default', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },
121
+ { name: 'isShared', title: '@system-insight:fields.is-shared', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },
122
+ {
123
+ name: 'tenantId',
124
+ title: '@system-insight:fields.tenant-id',
125
+ groupId: 'general',
126
+ schema: {
127
+ dataType: 'string',
128
+ nullable: true,
129
+ interface: {
130
+ type: AXPWidgetsList.Editors.LookupBox,
131
+ options: {
132
+ entity: 'TenantManagement.Tenant',
133
+ textField: 'title',
134
+ valueField: 'id',
135
+ look: 'select',
136
+ expose: [
137
+ { source: 'id', target: 'tenant.id' },
138
+ { source: 'title', target: 'tenant.title' },
139
+ ],
140
+ },
141
+ },
142
+ },
143
+ },
144
+ ],
145
+ columns: [{ name: 'title' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }],
146
+ interfaces: {
147
+ master: {
148
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },
149
+ single: { title: '{{ title }}', sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }], actions: [...entityMasterRecordActions()] },
150
+ create: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },
151
+ update: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },
152
+ },
153
+ },
154
+ };
155
+ }
156
+
157
+ /**
158
+ * Generated bundle index. Do not edit.
159
+ */
160
+
161
+ export { savedViewEntityFactory };
162
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/entities/saved-view/saved-view.entity.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts-entities-saved-view.ts"],"sourcesContent":["const config = {\n i18n: 'system-insight',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'system-insight',\n module: 'system-insight',\n name: 'SystemInsight',\n title: '@system-insight:module.title',\n icon: 'fa-light fa-monitor-waveform',\n },\n entities: {\n auditLog: {\n name: 'AuditLog',\n title: '@system-insight:logs.entities.audit-log.title',\n titlePlural: '@system-insight:logs.entities.audit-log.plural',\n icon: 'fa-light fa-file-code',\n },\n logEntry: {\n name: 'LogEntry',\n title: '@system-insight:entities.log-entry.title',\n titlePlural: '@system-insight:entities.log-entry.plural',\n icon: 'fa-light fa-file-lines',\n },\n httpRequestLog: {\n name: 'HttpRequestLog',\n title: '@system-insight:entities.http-request-log.title',\n titlePlural: '@system-insight:entities.http-request-log.plural',\n icon: 'fa-light fa-globe',\n },\n jobExecutionLog: {\n name: 'JobExecutionLog',\n title: '@system-insight:entities.job-execution-log.title',\n titlePlural: '@system-insight:entities.job-execution-log.plural',\n icon: 'fa-light fa-clock',\n },\n traceEntry: {\n name: 'TraceEntry',\n title: '@system-insight:entities.trace-entry.title',\n titlePlural: '@system-insight:entities.trace-entry.plural',\n icon: 'fa-light fa-route',\n },\n traceSpan: {\n name: 'TraceSpan',\n title: '@system-insight:entities.trace-span.title',\n titlePlural: '@system-insight:entities.trace-span.plural',\n icon: 'fa-light fa-diagram-project',\n },\n errorEvent: {\n name: 'ErrorEvent',\n title: '@system-insight:entities.error-event.title',\n titlePlural: '@system-insight:entities.error-event.plural',\n icon: 'fa-light fa-circle-exclamation',\n },\n slowRequest: {\n name: 'SlowRequest',\n title: '@system-insight:entities.slow-request.title',\n titlePlural: '@system-insight:entities.slow-request.plural',\n icon: 'fa-light fa-hourglass-half',\n },\n metricPoint: {\n name: 'MetricPoint',\n title: '@system-insight:entities.metric-point.title',\n titlePlural: '@system-insight:entities.metric-point.plural',\n icon: 'fa-light fa-chart-line',\n },\n savedView: {\n name: 'SavedView',\n title: '@system-insight:entities.saved-view.title',\n titlePlural: '@system-insight:entities.saved-view.plural',\n icon: 'fa-light fa-bookmark',\n },\n alertRule: {\n name: 'AlertRule',\n title: '@system-insight:entities.alert-rule.title',\n titlePlural: '@system-insight:entities.alert-rule.plural',\n icon: 'fa-light fa-bell',\n },\n observabilityDataSource: {\n name: 'ObservabilityDataSource',\n title: '@system-insight:entities.observability-data-source.title',\n titlePlural: '@system-insight:entities.observability-data-source.plural',\n icon: 'fa-light fa-database',\n },\n retentionPolicy: {\n name: 'RetentionPolicy',\n title: '@system-insight:entities.retention-policy.title',\n titlePlural: '@system-insight:entities.retention-policy.plural',\n icon: 'fa-light fa-calendar-clock',\n },\n dashboardWidgetConfig: {\n name: 'DashboardWidgetConfig',\n title: '@system-insight:entities.dashboard-widget-config.title',\n titlePlural: '@system-insight:entities.dashboard-widget-config.plural',\n icon: 'fa-light fa-grid-2',\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function savedViewEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.savedView.name,\n title: RootConfig.entities.savedView.title,\n icon: RootConfig.entities.savedView.icon,\n formats: {\n individual: RootConfig.entities.savedView.title,\n plural: RootConfig.entities.savedView.titlePlural,\n searchResult: { title: '{{ title }}', description: RootConfig.entities.savedView.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'title', title: '@system-insight:fields.title', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },\n { name: 'description', title: '@system-insight:fields.description', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },\n { name: 'entityFullName', title: '@system-insight:fields.entity-full-name', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },\n { name: 'isDefault', title: '@system-insight:fields.is-default', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n { name: 'isShared', title: '@system-insight:fields.is-shared', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ title }}', sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },\n },\n },\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.saved-view';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,gBAAgB;CACvB;AAEM,MAAM,UAAU,GAAG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