@acorex-platform/module-system-insight-client 0.0.30 → 0.0.33

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 (87) 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-local-entities.mjs +42 -0
  69. package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs.map +1 -0
  70. package/package.json +65 -1
  71. package/types/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.d.ts +5 -0
  72. package/types/acorex-platform-module-system-insight-client-contracts-entities-audit-log.d.ts +5 -0
  73. package/types/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.d.ts +5 -0
  74. package/types/acorex-platform-module-system-insight-client-contracts-entities-error-event.d.ts +5 -0
  75. package/types/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.d.ts +5 -0
  76. package/types/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.d.ts +5 -0
  77. package/types/acorex-platform-module-system-insight-client-contracts-entities-log-entry.d.ts +5 -0
  78. package/types/acorex-platform-module-system-insight-client-contracts-entities-metric-point.d.ts +5 -0
  79. package/types/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.d.ts +5 -0
  80. package/types/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.d.ts +5 -0
  81. package/types/acorex-platform-module-system-insight-client-contracts-entities-saved-view.d.ts +5 -0
  82. package/types/acorex-platform-module-system-insight-client-contracts-entities-slow-request.d.ts +5 -0
  83. package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.d.ts +5 -0
  84. package/types/acorex-platform-module-system-insight-client-contracts-entities-trace-span.d.ts +5 -0
  85. package/types/acorex-platform-module-system-insight-client-contracts-entity-catalog.d.ts +10 -0
  86. package/types/acorex-platform-module-system-insight-client-contracts.d.ts +2 -0
  87. package/types/acorex-platform-module-system-insight-client-local-entities.d.ts +12 -0
@@ -0,0 +1,638 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, createQueryView, AXPEntityCommandScope } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs';
4
+
5
+ const listFieldOptions = {
6
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
7
+ sort: { enabled: true },
8
+ };
9
+ const readOnlyCrud = async () => {
10
+ throw new Error('Audit logs are read-only');
11
+ };
12
+ async function auditLogFactory() {
13
+ const scope = RootConfig.config.i18n;
14
+ const entityScope = `@${scope}:logs.entities.audit-log`;
15
+ const groupTitle = (key) => `${entityScope}.groups.${key}`;
16
+ const fieldTitle = (key) => `${entityScope}.fields.${key}.title`;
17
+ const viewTitle = (key) => `${entityScope}.views.${key}.title`;
18
+ const entityDef = {
19
+ module: RootConfig.module.name,
20
+ name: RootConfig.entities.auditLog.name,
21
+ title: RootConfig.entities.auditLog.title,
22
+ icon: RootConfig.entities.auditLog.icon,
23
+ formats: {
24
+ individual: RootConfig.entities.auditLog.title,
25
+ plural: RootConfig.entities.auditLog.titlePlural,
26
+ searchResult: {
27
+ title: '{{ applicationName }}',
28
+ description: `${entityScope}.formats.search-result.description`,
29
+ },
30
+ },
31
+ relatedEntities: [],
32
+ commands: {
33
+ create: { execute: readOnlyCrud },
34
+ update: { execute: readOnlyCrud },
35
+ delete: { execute: readOnlyCrud },
36
+ },
37
+ groups: [
38
+ { id: 'general', title: groupTitle('general') },
39
+ { id: 'user', title: groupTitle('user') },
40
+ { id: 'client', title: groupTitle('client') },
41
+ { id: 'impersonator', title: groupTitle('impersonator') },
42
+ { id: 'actions', title: groupTitle('actions') },
43
+ { id: 'entityChanges', title: groupTitle('entity-changes') },
44
+ { id: 'extra', title: groupTitle('extra') },
45
+ ],
46
+ properties: [
47
+ // General
48
+ {
49
+ name: 'id',
50
+ title: fieldTitle('id'),
51
+ groupId: 'general',
52
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
53
+ },
54
+ {
55
+ name: 'applicationName',
56
+ title: fieldTitle('application-name'),
57
+ groupId: 'general',
58
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
59
+ options: listFieldOptions,
60
+ },
61
+ {
62
+ name: 'executionTime',
63
+ title: fieldTitle('execution-time'),
64
+ groupId: 'general',
65
+ schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },
66
+ options: listFieldOptions,
67
+ },
68
+ {
69
+ name: 'executionDuration',
70
+ title: fieldTitle('execution-duration'),
71
+ groupId: 'general',
72
+ schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },
73
+ },
74
+ {
75
+ name: 'comments',
76
+ title: fieldTitle('comments'),
77
+ groupId: 'general',
78
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
79
+ },
80
+ // User
81
+ {
82
+ name: 'tenantId',
83
+ title: fieldTitle('tenant-id'),
84
+ groupId: 'user',
85
+ schema: {
86
+ dataType: 'string',
87
+ nullable: true,
88
+ readonly: true,
89
+ interface: {
90
+ type: AXPWidgetsList.Editors.LookupBox,
91
+ options: {
92
+ entity: 'TenantManagement.Tenant',
93
+ textField: 'title',
94
+ valueField: 'id',
95
+ look: 'select',
96
+ readonly: true,
97
+ disabled: true,
98
+ expose: [
99
+ { source: 'id', target: 'tenant.id' },
100
+ { source: 'title', target: 'tenant.title' },
101
+ ],
102
+ },
103
+ },
104
+ },
105
+ options: listFieldOptions,
106
+ },
107
+ {
108
+ name: 'tenantName',
109
+ title: fieldTitle('tenant-name'),
110
+ groupId: 'user',
111
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox }, visible: false },
112
+ },
113
+ {
114
+ name: 'userId',
115
+ title: fieldTitle('user-id'),
116
+ groupId: 'user',
117
+ schema: {
118
+ dataType: 'string',
119
+ nullable: true,
120
+ readonly: true,
121
+ interface: {
122
+ type: AXPWidgetsList.Editors.LookupBox,
123
+ options: {
124
+ entity: 'SecurityManagement.User',
125
+ textField: 'displayName',
126
+ valueField: 'id',
127
+ look: 'select',
128
+ readonly: true,
129
+ disabled: true,
130
+ expose: [
131
+ { source: 'id', target: 'user.id' },
132
+ { source: 'displayName', target: 'user.displayName' },
133
+ ],
134
+ },
135
+ },
136
+ },
137
+ options: listFieldOptions,
138
+ },
139
+ {
140
+ name: 'userName',
141
+ title: fieldTitle('user-name'),
142
+ groupId: 'user',
143
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
144
+ },
145
+ // Client
146
+ {
147
+ name: 'clientIpAddress',
148
+ title: fieldTitle('client-ip-address'),
149
+ groupId: 'client',
150
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
151
+ options: listFieldOptions,
152
+ },
153
+ {
154
+ name: 'clientName',
155
+ title: fieldTitle('client-name'),
156
+ groupId: 'client',
157
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
158
+ },
159
+ {
160
+ name: 'clientId',
161
+ title: fieldTitle('client-id'),
162
+ groupId: 'client',
163
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
164
+ },
165
+ {
166
+ name: 'browserInfo',
167
+ title: fieldTitle('browser-info'),
168
+ groupId: 'client',
169
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
170
+ },
171
+ {
172
+ name: 'httpMethod',
173
+ title: fieldTitle('http-method'),
174
+ groupId: 'client',
175
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
176
+ options: listFieldOptions,
177
+ },
178
+ {
179
+ name: 'url',
180
+ title: fieldTitle('url'),
181
+ groupId: 'client',
182
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
183
+ options: listFieldOptions,
184
+ },
185
+ {
186
+ name: 'httpStatusCode',
187
+ title: fieldTitle('http-status-code'),
188
+ groupId: 'client',
189
+ schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },
190
+ options: listFieldOptions,
191
+ },
192
+ {
193
+ name: 'httpStatus',
194
+ title: fieldTitle('http-status'),
195
+ groupId: 'client',
196
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
197
+ options: listFieldOptions,
198
+ },
199
+ // Correlation
200
+ {
201
+ name: 'correlationId',
202
+ title: fieldTitle('correlation-id'),
203
+ groupId: 'general',
204
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
205
+ },
206
+ // Exception
207
+ {
208
+ name: 'exceptions',
209
+ title: fieldTitle('exceptions'),
210
+ groupId: 'general',
211
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
212
+ },
213
+ // Impersonator
214
+ {
215
+ name: 'impersonatorUserId',
216
+ title: fieldTitle('impersonator-user-id'),
217
+ groupId: 'impersonator',
218
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
219
+ },
220
+ {
221
+ name: 'impersonatorUserName',
222
+ title: fieldTitle('impersonator-user-name'),
223
+ groupId: 'impersonator',
224
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
225
+ },
226
+ {
227
+ name: 'impersonatorTenantId',
228
+ title: fieldTitle('impersonator-tenant-id'),
229
+ groupId: 'impersonator',
230
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
231
+ },
232
+ {
233
+ name: 'impersonatorTenantName',
234
+ title: fieldTitle('impersonator-tenant-name'),
235
+ groupId: 'impersonator',
236
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
237
+ },
238
+ // Actions
239
+ {
240
+ name: 'actions',
241
+ title: fieldTitle('actions'),
242
+ groupId: 'actions',
243
+ schema: { dataType: 'array', interface: { type: AXPWidgetsList.Editors.TextBox } },
244
+ },
245
+ // EntityChanges
246
+ {
247
+ name: 'entityChanges',
248
+ title: fieldTitle('entity-changes'),
249
+ groupId: 'entityChanges',
250
+ schema: { dataType: 'array', interface: { type: AXPWidgetsList.Editors.TextBox } },
251
+ },
252
+ ],
253
+ columns: [
254
+ { name: 'applicationName' },
255
+ { name: 'userName' },
256
+ { name: 'executionTime' },
257
+ { name: 'clientIpAddress' },
258
+ { name: 'httpMethod' },
259
+ { name: 'url' },
260
+ { name: 'httpStatusCode' },
261
+ { name: 'httpStatus' },
262
+ ],
263
+ interfaces: {
264
+ master: {
265
+ single: {
266
+ title: viewTitle('single'),
267
+ sections: [
268
+ {
269
+ id: 'general',
270
+ layout: {
271
+ positions: {
272
+ lg: {
273
+ colSpan: 12,
274
+ },
275
+ },
276
+ },
277
+ },
278
+ {
279
+ id: 'user',
280
+ layout: {
281
+ positions: {
282
+ lg: {
283
+ colSpan: 12,
284
+ },
285
+ },
286
+ },
287
+ },
288
+ {
289
+ id: 'client',
290
+ layout: {
291
+ positions: {
292
+ lg: {
293
+ colSpan: 12,
294
+ },
295
+ },
296
+ },
297
+ },
298
+ {
299
+ id: 'impersonator',
300
+ layout: {
301
+ positions: {
302
+ lg: {
303
+ colSpan: 12,
304
+ },
305
+ },
306
+ },
307
+ },
308
+ {
309
+ id: 'actions',
310
+ layout: {
311
+ positions: {
312
+ lg: {
313
+ colSpan: 12,
314
+ },
315
+ },
316
+ },
317
+ },
318
+ {
319
+ id: 'entityChanges',
320
+ layout: {
321
+ positions: {
322
+ lg: {
323
+ colSpan: 12,
324
+ },
325
+ },
326
+ },
327
+ },
328
+ {
329
+ id: 'extra',
330
+ layout: {
331
+ positions: {
332
+ lg: {
333
+ colSpan: 12,
334
+ },
335
+ },
336
+ },
337
+ },
338
+ ],
339
+ properties: [
340
+ {
341
+ name: 'id',
342
+ layout: {
343
+ positions: {
344
+ lg: {
345
+ colSpan: 6,
346
+ },
347
+ },
348
+ },
349
+ },
350
+ {
351
+ name: 'applicationName',
352
+ layout: {
353
+ positions: {
354
+ lg: {
355
+ colSpan: 6,
356
+ },
357
+ },
358
+ },
359
+ },
360
+ {
361
+ name: 'executionTime',
362
+ layout: {
363
+ positions: {
364
+ lg: {
365
+ colSpan: 6,
366
+ },
367
+ },
368
+ },
369
+ },
370
+ {
371
+ name: 'executionDuration',
372
+ layout: {
373
+ positions: {
374
+ lg: {
375
+ colSpan: 6,
376
+ },
377
+ },
378
+ },
379
+ },
380
+ {
381
+ name: 'comments',
382
+ layout: {
383
+ positions: {
384
+ lg: {
385
+ colSpan: 6,
386
+ },
387
+ },
388
+ },
389
+ },
390
+ {
391
+ name: 'tenantId',
392
+ layout: {
393
+ positions: {
394
+ lg: {
395
+ colSpan: 6,
396
+ },
397
+ },
398
+ },
399
+ },
400
+ {
401
+ name: 'userId',
402
+ layout: {
403
+ positions: {
404
+ lg: {
405
+ colSpan: 6,
406
+ },
407
+ },
408
+ },
409
+ },
410
+ {
411
+ name: 'clientIpAddress',
412
+ layout: {
413
+ positions: {
414
+ lg: {
415
+ colSpan: 6,
416
+ },
417
+ },
418
+ },
419
+ },
420
+ {
421
+ name: 'clientName',
422
+ layout: {
423
+ positions: {
424
+ lg: {
425
+ colSpan: 6,
426
+ },
427
+ },
428
+ },
429
+ },
430
+ {
431
+ name: 'clientId',
432
+ layout: {
433
+ positions: {
434
+ lg: {
435
+ colSpan: 6,
436
+ },
437
+ },
438
+ },
439
+ },
440
+ {
441
+ name: 'browserInfo',
442
+ layout: {
443
+ positions: {
444
+ lg: {
445
+ colSpan: 6,
446
+ },
447
+ },
448
+ },
449
+ },
450
+ {
451
+ name: 'httpMethod',
452
+ layout: {
453
+ positions: {
454
+ lg: {
455
+ colSpan: 6,
456
+ },
457
+ },
458
+ },
459
+ },
460
+ {
461
+ name: 'url',
462
+ layout: {
463
+ positions: {
464
+ lg: {
465
+ colSpan: 6,
466
+ },
467
+ },
468
+ },
469
+ },
470
+ {
471
+ name: 'httpStatusCode',
472
+ layout: {
473
+ positions: {
474
+ lg: {
475
+ colSpan: 6,
476
+ },
477
+ },
478
+ },
479
+ },
480
+ {
481
+ name: 'httpStatus',
482
+ layout: {
483
+ positions: {
484
+ lg: {
485
+ colSpan: 6,
486
+ },
487
+ },
488
+ },
489
+ },
490
+ {
491
+ name: 'correlationId',
492
+ layout: {
493
+ positions: {
494
+ lg: {
495
+ colSpan: 6,
496
+ },
497
+ },
498
+ },
499
+ },
500
+ {
501
+ name: 'exceptions',
502
+ layout: {
503
+ positions: {
504
+ lg: {
505
+ colSpan: 6,
506
+ },
507
+ },
508
+ },
509
+ },
510
+ {
511
+ name: 'impersonatorUserId',
512
+ layout: {
513
+ positions: {
514
+ lg: {
515
+ colSpan: 6,
516
+ },
517
+ },
518
+ },
519
+ },
520
+ {
521
+ name: 'impersonatorUserName',
522
+ layout: {
523
+ positions: {
524
+ lg: {
525
+ colSpan: 6,
526
+ },
527
+ },
528
+ },
529
+ },
530
+ {
531
+ name: 'impersonatorTenantId',
532
+ layout: {
533
+ positions: {
534
+ lg: {
535
+ colSpan: 6,
536
+ },
537
+ },
538
+ },
539
+ },
540
+ {
541
+ name: 'impersonatorTenantName',
542
+ layout: {
543
+ positions: {
544
+ lg: {
545
+ colSpan: 6,
546
+ },
547
+ },
548
+ },
549
+ },
550
+ {
551
+ name: 'extraProperties',
552
+ layout: {
553
+ positions: {
554
+ lg: {
555
+ colSpan: 6,
556
+ },
557
+ },
558
+ },
559
+ },
560
+ {
561
+ name: 'actions',
562
+ layout: {
563
+ positions: {
564
+ lg: {
565
+ colSpan: 6,
566
+ },
567
+ },
568
+ },
569
+ },
570
+ {
571
+ name: 'entityChanges',
572
+ layout: {
573
+ positions: {
574
+ lg: {
575
+ colSpan: 6,
576
+ },
577
+ },
578
+ },
579
+ },
580
+ ],
581
+ actions: [],
582
+ },
583
+ list: {
584
+ actions: [
585
+ // {
586
+ // title: `t("create", { scope: "common" })`,
587
+ // command: 'create-entity',
588
+ // priority: 'primary',
589
+ // type: 'create',
590
+ // scope: AXPEntityCommandScope.TypeLevel,
591
+ // },
592
+ // {
593
+ // title: 't("deleteItems", { scope: "common" })',
594
+ // command: 'delete-entity',
595
+ // priority: 'primary',
596
+ // type: 'delete',
597
+ // scope: AXPEntityCommandScope.Selected,
598
+ // },
599
+ {
600
+ title: '@general:actions.detail.title',
601
+ command: 'Entity:OpenDetails',
602
+ priority: 'secondary',
603
+ type: 'view',
604
+ scope: AXPEntityCommandScope.Individual,
605
+ },
606
+ // {
607
+ // title: 't("delete", { scope: "common" })',
608
+ // command: 'delete-entity',
609
+ // priority: 'secondary',
610
+ // type: 'delete',
611
+ // scope: AXPEntityCommandScope.Individual,
612
+ // },
613
+ ],
614
+ views: [
615
+ createAllQueryView({
616
+ sorts: [{ name: 'applicationName', dir: 'asc' }],
617
+ }),
618
+ createQueryView('auth-logs', viewTitle('auth-logs'), true, {
619
+ conditions: [
620
+ {
621
+ name: 'type',
622
+ operator: {
623
+ type: 'equal',
624
+ },
625
+ value: 'auth',
626
+ },
627
+ ],
628
+ }),
629
+ ],
630
+ },
631
+ },
632
+ },
633
+ };
634
+ return entityDef;
635
+ }
636
+
637
+ export { auditLogFactory };
638
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs.map