@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,142 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex-platform/framework-shared/entity';
3
+ import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs';
4
+ import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs';
5
+ 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';
6
+
7
+ const listFieldOptions = {
8
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
9
+ sort: { enabled: true },
10
+ };
11
+ const readOnlyCrud = async () => {
12
+ throw new Error('Observability data is read-only');
13
+ };
14
+ async function traceSpanEntityFactory() {
15
+ const i18n = RootConfig.config.i18n;
16
+ const properties = [
17
+ {
18
+ name: 'spanId',
19
+ title: '@system-insight:fields.span-id',
20
+ groupId: 'general',
21
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
22
+ options: listFieldOptions,
23
+ },
24
+ {
25
+ name: 'traceId',
26
+ title: '@system-insight:fields.trace-id',
27
+ groupId: 'general',
28
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
29
+ options: listFieldOptions,
30
+ },
31
+ {
32
+ name: 'operationName',
33
+ title: '@system-insight:fields.operation',
34
+ groupId: 'general',
35
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
36
+ options: listFieldOptions,
37
+ },
38
+ {
39
+ name: 'serviceName',
40
+ title: '@system-insight:fields.service-name',
41
+ groupId: 'general',
42
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
43
+ options: listFieldOptions,
44
+ },
45
+ {
46
+ name: 'startTime',
47
+ title: '@system-insight:fields.start-time',
48
+ groupId: 'general',
49
+ schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },
50
+ options: listFieldOptions,
51
+ },
52
+ {
53
+ name: 'duration',
54
+ title: '@system-insight:fields.duration',
55
+ groupId: 'general',
56
+ schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },
57
+ options: listFieldOptions,
58
+ },
59
+ {
60
+ name: 'status',
61
+ title: '@system-insight:fields.status',
62
+ groupId: 'general',
63
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
64
+ options: listFieldOptions,
65
+ },
66
+ ];
67
+ return {
68
+ module: RootConfig.module.name,
69
+ name: RootConfig.entities.traceSpan.name,
70
+ title: RootConfig.entities.traceSpan.title,
71
+ icon: RootConfig.entities.traceSpan.icon,
72
+ formats: {
73
+ individual: RootConfig.entities.traceSpan.title,
74
+ plural: RootConfig.entities.traceSpan.titlePlural,
75
+ searchResult: {
76
+ title: '{{ operationName }}',
77
+ description: RootConfig.entities.traceSpan.title,
78
+ },
79
+ },
80
+ groups: [{ id: 'general', title: `@${i18n}:groups.general` }],
81
+ properties,
82
+ columns: [
83
+ { name: 'startTime' },
84
+ { name: 'operationName' },
85
+ { name: 'serviceName' },
86
+ { name: 'duration' },
87
+ { name: 'status' },
88
+ ],
89
+ queries: {
90
+ list: { execute: AXMSystemInsightQueryKeys.TraceSpan.List, type: AXPEntityQueryType.List },
91
+ byKey: { execute: AXMSystemInsightQueryKeys.TraceSpan.GetOne, type: AXPEntityQueryType.Single },
92
+ },
93
+ commands: {
94
+ create: { execute: readOnlyCrud },
95
+ update: { execute: readOnlyCrud },
96
+ delete: { execute: readOnlyCrud },
97
+ },
98
+ interfaces: {
99
+ master: {
100
+ list: {
101
+ actions: [
102
+ {
103
+ title: '@general:actions.detail.title',
104
+ icon: 'fa-light fa-eye',
105
+ command: 'Entity:View',
106
+ priority: 'primary',
107
+ type: 'view',
108
+ scope: AXPEntityCommandScope.Individual,
109
+ default: true,
110
+ },
111
+ ],
112
+ views: [
113
+ createAllQueryView({
114
+ sorts: [{ name: 'startTime', dir: 'desc' }],
115
+ }),
116
+ ],
117
+ },
118
+ single: {
119
+ title: '{{ operationName }}',
120
+ sections: [{ id: 'general' }],
121
+ properties: properties.map((property) => ({
122
+ name: property.name,
123
+ layout: { positions: { lg: { colSpan: 6 } } },
124
+ })),
125
+ actions: [
126
+ {
127
+ title: `@${i18n}:actions.view-trace.title`,
128
+ command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,
129
+ priority: 'secondary',
130
+ type: 'view',
131
+ scope: AXPEntityCommandScope.Individual,
132
+ hidden: `{{ !context.eval("traceId") }}`,
133
+ },
134
+ ],
135
+ },
136
+ },
137
+ },
138
+ };
139
+ }
140
+
141
+ export { traceSpanEntityFactory };
142
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/trace-span/trace-span.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function traceSpanEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'spanId',\n title: '@system-insight:fields.span-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'operationName',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'startTime',\n title: '@system-insight:fields.start-time',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.traceSpan.name,\n title: RootConfig.entities.traceSpan.title,\n icon: RootConfig.entities.traceSpan.icon,\n formats: {\n individual: RootConfig.entities.traceSpan.title,\n plural: RootConfig.entities.traceSpan.titlePlural,\n searchResult: {\n title: '{{ operationName }}',\n description: RootConfig.entities.traceSpan.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties,\n columns: [\n { name: 'startTime' },\n { name: 'operationName' },\n { name: 'serviceName' },\n { name: 'duration' },\n { name: 'status' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.TraceSpan.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.TraceSpan.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ operationName }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;AAWA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,YAAY,GAAG,YAAW;AAC9B,IAAA,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC;AACpD,CAAC;AAEM,eAAe,sBAAsB,GAAA;AAC1C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,UAAU,GAA4B;AAC1C,QAAA;AACE,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,KAAK,EAAE,gCAAgC;AACvC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE;AACnF,YAAA,OAAO,EAAE,gBAAgB;AAC1B,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,iCAAiC;AACxC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE;AACnF,YAAA,OAAO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C,qBAAA,CAAC,CAAC;AACH,oBAAA,OAAO,EAAE;AACP,wBAAA;4BACE,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,yBAAA,CAA2B;AAC1C,4BAAA,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,YAAY;AACvD,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACvC,4BAAA,MAAM,EAAE,CAAA,8BAAA,CAAgC;AACzC,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;;;"}
@@ -0,0 +1,2 @@
1
+ export { s as systemInsightLocalEntityCatalog } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-system-insight-client-contracts.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/menu.keys.ts","../../../../libs/modules/system-insight/contracts/src/permission.keys.ts","../../../../libs/modules/system-insight/contracts/src/settings.keys.ts","../../../../libs/modules/system-insight/contracts/src/server-commands.ts","../../../../libs/modules/system-insight/contracts/src/queries.keys.ts","../../../../libs/modules/system-insight/contracts/src/commands.keys.ts","../../../../libs/modules/system-insight/contracts/src/dto/scope-context.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/system-insight-paged.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/log-entry.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/trace.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/metric.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/error-event.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/saved-view.dto.ts","../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/index.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts.ts"],"sourcesContent":["export const AXMSystemInsightMenuKeys = {\n Root: 'SystemInsight:Menu',\n Logs: 'SystemInsight:Menu:Logs',\n Traces: 'SystemInsight:Menu:Traces',\n Errors: 'SystemInsight:Menu:Errors',\n SlowRequests: 'SystemInsight:Menu:SlowRequests',\n Metrics: 'SystemInsight:Menu:Metrics',\n AlertRules: 'SystemInsight:Menu:AlertRules',\n SavedViews: 'SystemInsight:Menu:SavedViews',\n DataSources: 'SystemInsight:Menu:DataSources',\n RetentionPolicies: 'SystemInsight:Menu:RetentionPolicies',\n AuditLog: 'SystemInsight:Menu:AuditLog',\n} as const;\n","/**\n * Administration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPAdministrationPermissionKeys = {\n Access: 'Administration:Permission:Access',\n MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',\n ManageSessions: 'Administration:Permission:ManageSessions',\n MaintainPolicies: 'Administration:Permission:MaintainPolicies',\n ViewIntegrations: 'Administration:Permission:ViewIntegrations',\n MaintainConnections: 'Administration:Permission:MaintainConnections',\n MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',\n ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',\n ViewRules: 'Administration:Permission:ViewRules',\n MaintainRules: 'Administration:Permission:MaintainRules',\n ManageRuleActions: 'Administration:Permission:ManageRuleActions',\n MaintainAi: 'Administration:Permission:MaintainAi',\n UseAiAssist: 'Administration:Permission:UseAiAssist',\n MaintainDashboards: 'Administration:Permission:MaintainDashboards',\n ViewJobs: 'Administration:Permission:ViewJobs',\n ManageJobActions: 'Administration:Permission:ManageJobActions',\n ViewObservability: 'Administration:Permission:ViewObservability',\n MaintainObservability: 'Administration:Permission:MaintainObservability',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPAdministrationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMSystemInsightPermissionKeys = {\n SystemInsight: {\n Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n Admin: AXPAdministrationPermissionKeys.MaintainObservability,\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n AuditLog: {\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n },\n },\n} as const;\n","export enum AXPSystemInsightSettings {\n //#region ---- Retention Settings ----\n\n RetentionEnabled = 'SystemInsight:Setting:Retention.Enabled',\n RetentionPeriod = 'SystemInsight:Setting:Retention.Period',\n RetentionBatchSize = 'SystemInsight:Setting:Retention.BatchSize',\n RetentionPurgeCron = 'SystemInsight:Setting:Retention.PurgeCron',\n\n //#endregion\n\n //#region ---- Critical Error File Fallback ----\n\n StorageLocation = 'SystemInsight:Setting:Storage.Location',\n CriticalErrorFileEnabled = 'SystemInsight:Setting:Storage.CriticalErrorFileEnabled',\n\n //#endregion\n\n //#region ---- Log Level Settings ----\n\n DefaultLogLevel = 'SystemInsight:Setting:Level.Default',\n\n //#endregion\n\n //#region ---- Performance Settings ----\n\n AsyncLogging = 'SystemInsight:Setting:Performance.AsyncEnabled',\n BatchSize = 'SystemInsight:Setting:Performance.BatchSize',\n FlushInterval = 'SystemInsight:Setting:Performance.FlushInterval',\n SlowRequestThresholdMs = 'SystemInsight:Setting:Performance.SlowRequestThresholdMs',\n\n //#endregion\n}\n\nexport const AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS = {\n [AXPSystemInsightSettings.RetentionEnabled]: true,\n [AXPSystemInsightSettings.RetentionPeriod]: 30,\n [AXPSystemInsightSettings.RetentionBatchSize]: 500,\n [AXPSystemInsightSettings.RetentionPurgeCron]: '0 4 * * *',\n [AXPSystemInsightSettings.StorageLocation]: './logs/acorex',\n [AXPSystemInsightSettings.CriticalErrorFileEnabled]: true,\n [AXPSystemInsightSettings.DefaultLogLevel]: 'info',\n [AXPSystemInsightSettings.AsyncLogging]: true,\n [AXPSystemInsightSettings.BatchSize]: 100,\n [AXPSystemInsightSettings.FlushInterval]: 5000,\n [AXPSystemInsightSettings.SlowRequestThresholdMs]: 500,\n} as const;\n","//#region ---- System Insight server commands ----\n\nexport const AXPSystemInsightServerCommands = {\n RetentionPurge: 'system-insight.retention.purge',\n} as const;\n\n/** Stable scope key for the platform log retention purge schedule. */\nexport const AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY = AXPSystemInsightServerCommands.RetentionPurge;\n\n//#endregion\n","//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceTimeline:Get',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMSystemInsightCommandKeys = {\n LogEntry: {\n Export: 'SystemInsight:LogEntry:Export',\n Clear: 'SystemInsight:LogEntry:Clear',\n },\n AlertRule: {\n CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',\n },\n Notification: {\n SendAlert: 'SystemInsight:Notification:SendAlert',\n },\n Trace: {\n OpenTimeline: 'SystemInsight:Trace:OpenTimeline',\n },\n} as const;\n\n//#endregion\n","//#region ---- Scope context ----\n\nexport interface SystemInsightScopeContext {\n tenantId?: string;\n applicationId?: string;\n userId?: string;\n}\n\n//#endregion\n","//#region ---- Paged results ----\n\nexport interface SystemInsightPagedResult<T> {\n items: T[];\n total: number;\n cursor?: string;\n}\n\nexport interface SystemInsightAggregateBucket {\n key: string;\n count: number;\n}\n\nexport interface SystemInsightAggregateResult {\n buckets: SystemInsightAggregateBucket[];\n total: number;\n}\n\nexport interface SystemInsightExportResult {\n downloadUrl?: string;\n contentType: string;\n fileName: string;\n data?: string;\n}\n\nexport interface SystemInsightClearResult {\n deleted: number;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Log DTOs ----\n\nexport interface LogEntryDto {\n id: string;\n /** Event time (OTel Timestamp). */\n timestamp: string;\n /** Severity text (OTel SeverityText). */\n level: string;\n /** OTel SeverityNumber (TRACE=1 … FATAL=21). */\n severityNumber?: number;\n /** Log body (OTel Body). */\n message: string;\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n userId?: string;\n tenantId?: string;\n applicationId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n /** Additional attributes (OTel Attributes). */\n properties?: Record<string, unknown>;\n source?: string;\n}\n\nexport interface HttpRequestLogDto extends LogEntryDto {\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n userAgent?: string;\n clientIp?: string;\n}\n\nexport interface JobExecutionLogDto extends LogEntryDto {\n jobId?: string;\n jobName?: string;\n status?: string;\n startedAt?: string;\n finishedAt?: string;\n duration?: number;\n error?: string;\n}\n\nexport interface SystemInsightLogQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n cursor?: string;\n levels?: string[];\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n quickSearch?: string;\n hasHttpAccess?: boolean;\n minDuration?: number;\n filter?: unknown;\n sort?: unknown;\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\n fieldOperators?: Record<string, string>;\n}\n\nexport interface SystemInsightAggregateQueryDto extends SystemInsightLogQueryDto {\n groupBy: string;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\r\n\r\n//#region ---- Trace DTOs ----\r\n\r\nexport type TraceKind = 'command' | 'query' | 'entity' | 'http' | 'custom';\r\n\r\nexport type TraceSpanKind = 'op' | 'middleware' | 'backend' | 'handler';\r\n\r\nexport interface TraceEntryDto {\r\n id: string;\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n /** @deprecated Prefer operation — kept for older Jaeger-mapped rows. */\r\n rootOperation?: string;\r\n rootServiceName?: string;\r\n serviceName?: string;\r\n module?: string;\r\n entityName?: string;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n spanCount?: number;\r\n hasError?: boolean;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n userId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface TraceSpanDto {\r\n id: string;\r\n spanId: string;\r\n traceId: string;\r\n parentSpanId?: string;\r\n operationName: string;\r\n serviceName?: string;\r\n spanKind?: TraceSpanKind;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n middlewareName?: string;\r\n order?: number;\r\n nextMiddleware?: string;\r\n input?: unknown;\r\n output?: unknown;\r\n error?: string;\r\n tags?: Record<string, unknown>;\r\n logs?: Array<Record<string, unknown>>;\r\n}\r\n\r\nexport interface TraceTimelineDto {\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n spans: TraceSpanDto[];\r\n startTime: string;\r\n duration: number;\r\n services: string[];\r\n hasError?: boolean;\r\n module?: string;\r\n entityName?: string;\r\n requestId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface SystemInsightTraceQueryDto extends SystemInsightScopeContext {\r\n from?: string;\r\n to?: string;\r\n skip?: number;\r\n take?: number;\r\n serviceName?: string;\r\n traceId?: string;\r\n kind?: TraceKind | TraceKind[];\r\n operation?: string;\r\n module?: string;\r\n entityName?: string;\r\n hasError?: boolean;\r\n /** Minimum root trace duration in milliseconds (slow traces). */\r\n minDuration?: number;\r\n quickSearch?: string;\r\n requestId?: string;\r\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\r\n fieldOperators?: Record<string, string>;\r\n}\r\n\r\n//#endregion\r\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Metric DTOs ----\n\nexport type SystemInsightMetricType = 'counter' | 'gauge' | 'histogram';\n\nexport interface MetricPointDto {\n id: string;\n name: string;\n labels?: Record<string, string>;\n timestamp: string;\n value: number;\n type: SystemInsightMetricType;\n}\n\nexport interface SystemInsightMetricQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n names?: string[];\n serviceName?: string;\n step?: string;\n}\n\nexport interface SystemInsightMetricRangeResult {\n series: Array<{\n name: string;\n labels?: Record<string, string>;\n points: Array<{ timestamp: string; value: number }>;\n }>;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Error / slow request DTOs ----\n\nexport interface ErrorEventDto {\n id: string;\n timestamp: string;\n errorType?: string;\n message: string;\n stackTrace?: string;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n userId?: string;\n tenantId?: string;\n fingerprint?: string;\n}\n\nexport interface SlowRequestDto {\n id: string;\n timestamp: string;\n method?: string;\n url?: string;\n duration: number;\n thresholdMs?: number;\n statusCode?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n}\n\nexport interface SystemInsightErrorQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n quickSearch?: string;\n}\n\nexport interface SystemInsightSlowRequestQueryDto extends SystemInsightErrorQueryDto {\n thresholdMs?: number;\n}\n\n//#endregion\n","//#region ---- Config entity DTOs ----\n\nexport interface SavedViewDto {\n id: string;\n title: string;\n description?: string;\n entityFullName: string;\n filter?: unknown;\n sorts?: unknown;\n columns?: unknown;\n timeRange?: { from?: string; to?: string };\n isDefault?: boolean;\n isShared?: boolean;\n ownerUserId?: string;\n tenantId?: string;\n}\n\nexport interface AlertRuleDto {\n id: string;\n name: string;\n enabled: boolean;\n entityFullName: string;\n condition?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n lastTriggeredAt?: string;\n tenantId?: string;\n}\n\nexport interface ObservabilityDataSourceDto {\n id: string;\n name: string;\n type: 'logs' | 'traces' | 'metrics';\n provider: 'elasticsearch' | 'jaeger' | 'prometheus' | 'fake';\n connectionConfig?: Record<string, unknown>;\n isDefault?: boolean;\n tenantId?: string;\n}\n\nexport interface RetentionPolicyDto {\n id: string;\n dataType: 'logs' | 'traces' | 'metrics' | 'audit';\n retentionDays: number;\n enabled: boolean;\n tenantId?: string;\n applicationId?: string;\n}\n\nexport interface DashboardWidgetConfigDto {\n id: string;\n title: string;\n widgetType: string;\n query?: unknown;\n layout?: unknown;\n order?: number;\n dashboardKey: string;\n tenantId?: string;\n}\n\nexport interface CreateAlertFromFilterInput {\n name: string;\n entityFullName: string;\n filter?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n}\n\n//#endregion\n","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","/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */\r\nexport const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';\r\n\r\n/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */\r\nexport const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';\r\n","//#region ---- Contracts barrel ----\r\n\r\nexport * from './menu.keys';\r\nexport * from './permission.keys';\r\nexport * from './settings.keys';\r\nexport * from './server-commands';\r\nexport * from './queries.keys';\r\nexport * from './commands.keys';\r\nexport * from './dto';\r\n\r\nexport * from './root-config';\r\nexport * from './trace-timeline-page.component-key';\r\n\r\n//#endregion\r\n\r\nexport * from './entities';\r\n","/**\n * Generated bundle index. Do not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ts.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/menu.keys.ts","../../../../libs/modules/system-insight/contracts/src/permission.keys.ts","../../../../libs/modules/system-insight/contracts/src/settings.keys.ts","../../../../libs/modules/system-insight/contracts/src/server-commands.ts","../../../../libs/modules/system-insight/contracts/src/queries.keys.ts","../../../../libs/modules/system-insight/contracts/src/commands.keys.ts","../../../../libs/modules/system-insight/contracts/src/dto/scope-context.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/system-insight-paged.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/log-entry.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/trace.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/metric.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/error-event.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/saved-view.dto.ts","../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/index.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts.ts"],"sourcesContent":["export const AXMSystemInsightMenuKeys = {\n Root: 'SystemInsight:Menu',\n Logs: 'SystemInsight:Menu:Logs',\n Traces: 'SystemInsight:Menu:Traces',\n Errors: 'SystemInsight:Menu:Errors',\n SlowRequests: 'SystemInsight:Menu:SlowRequests',\n Metrics: 'SystemInsight:Menu:Metrics',\n AlertRules: 'SystemInsight:Menu:AlertRules',\n SavedViews: 'SystemInsight:Menu:SavedViews',\n DataSources: 'SystemInsight:Menu:DataSources',\n RetentionPolicies: 'SystemInsight:Menu:RetentionPolicies',\n AuditLog: 'SystemInsight:Menu:AuditLog',\n} as const;\n","/**\n * Administration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPAdministrationPermissionKeys = {\n Access: 'Administration:Permission:Access',\n MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',\n ManageSessions: 'Administration:Permission:ManageSessions',\n MaintainPolicies: 'Administration:Permission:MaintainPolicies',\n ViewIntegrations: 'Administration:Permission:ViewIntegrations',\n MaintainConnections: 'Administration:Permission:MaintainConnections',\n MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',\n ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',\n ViewRules: 'Administration:Permission:ViewRules',\n MaintainRules: 'Administration:Permission:MaintainRules',\n ManageRuleActions: 'Administration:Permission:ManageRuleActions',\n MaintainAi: 'Administration:Permission:MaintainAi',\n UseAiAssist: 'Administration:Permission:UseAiAssist',\n MaintainDashboards: 'Administration:Permission:MaintainDashboards',\n ViewJobs: 'Administration:Permission:ViewJobs',\n ManageJobActions: 'Administration:Permission:ManageJobActions',\n ViewObservability: 'Administration:Permission:ViewObservability',\n MaintainObservability: 'Administration:Permission:MaintainObservability',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPAdministrationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMSystemInsightPermissionKeys = {\n SystemInsight: {\n Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n Admin: AXPAdministrationPermissionKeys.MaintainObservability,\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n AuditLog: {\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n },\n },\n} as const;\n","export enum AXPSystemInsightSettings {\n //#region ---- Retention Settings ----\n\n RetentionEnabled = 'SystemInsight:Setting:Retention.Enabled',\n RetentionPeriod = 'SystemInsight:Setting:Retention.Period',\n RetentionBatchSize = 'SystemInsight:Setting:Retention.BatchSize',\n RetentionPurgeCron = 'SystemInsight:Setting:Retention.PurgeCron',\n\n //#endregion\n\n //#region ---- Critical Error File Fallback ----\n\n StorageLocation = 'SystemInsight:Setting:Storage.Location',\n CriticalErrorFileEnabled = 'SystemInsight:Setting:Storage.CriticalErrorFileEnabled',\n\n //#endregion\n\n //#region ---- Log Level Settings ----\n\n DefaultLogLevel = 'SystemInsight:Setting:Level.Default',\n\n //#endregion\n\n //#region ---- Performance Settings ----\n\n AsyncLogging = 'SystemInsight:Setting:Performance.AsyncEnabled',\n BatchSize = 'SystemInsight:Setting:Performance.BatchSize',\n FlushInterval = 'SystemInsight:Setting:Performance.FlushInterval',\n SlowRequestThresholdMs = 'SystemInsight:Setting:Performance.SlowRequestThresholdMs',\n\n //#endregion\n}\n\nexport const AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS = {\n [AXPSystemInsightSettings.RetentionEnabled]: true,\n [AXPSystemInsightSettings.RetentionPeriod]: 30,\n [AXPSystemInsightSettings.RetentionBatchSize]: 500,\n [AXPSystemInsightSettings.RetentionPurgeCron]: '0 4 * * *',\n [AXPSystemInsightSettings.StorageLocation]: './logs/acorex',\n [AXPSystemInsightSettings.CriticalErrorFileEnabled]: true,\n [AXPSystemInsightSettings.DefaultLogLevel]: 'info',\n [AXPSystemInsightSettings.AsyncLogging]: true,\n [AXPSystemInsightSettings.BatchSize]: 100,\n [AXPSystemInsightSettings.FlushInterval]: 5000,\n [AXPSystemInsightSettings.SlowRequestThresholdMs]: 500,\n} as const;\n","//#region ---- System Insight server commands ----\n\nexport const AXPSystemInsightServerCommands = {\n RetentionPurge: 'system-insight.retention.purge',\n} as const;\n\n/** Stable scope key for the platform log retention purge schedule. */\nexport const AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY = AXPSystemInsightServerCommands.RetentionPurge;\n\n//#endregion\n","//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceTimeline:Get',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMSystemInsightCommandKeys = {\n LogEntry: {\n Export: 'SystemInsight:LogEntry:Export',\n Clear: 'SystemInsight:LogEntry:Clear',\n },\n AlertRule: {\n CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',\n },\n Notification: {\n SendAlert: 'SystemInsight:Notification:SendAlert',\n },\n Trace: {\n OpenTimeline: 'SystemInsight:Trace:OpenTimeline',\n },\n} as const;\n\n//#endregion\n","//#region ---- Scope context ----\n\nexport interface SystemInsightScopeContext {\n tenantId?: string;\n applicationId?: string;\n userId?: string;\n}\n\n//#endregion\n","//#region ---- Paged results ----\n\nexport interface SystemInsightPagedResult<T> {\n items: T[];\n total: number;\n cursor?: string;\n}\n\nexport interface SystemInsightAggregateBucket {\n key: string;\n count: number;\n}\n\nexport interface SystemInsightAggregateResult {\n buckets: SystemInsightAggregateBucket[];\n total: number;\n}\n\nexport interface SystemInsightExportResult {\n downloadUrl?: string;\n contentType: string;\n fileName: string;\n data?: string;\n}\n\nexport interface SystemInsightClearResult {\n deleted: number;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Log DTOs ----\n\nexport interface LogEntryDto {\n id: string;\n /** Event time (OTel Timestamp). */\n timestamp: string;\n /** Severity text (OTel SeverityText). */\n level: string;\n /** OTel SeverityNumber (TRACE=1 … FATAL=21). */\n severityNumber?: number;\n /** Log body (OTel Body). */\n message: string;\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n userId?: string;\n tenantId?: string;\n applicationId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n /** Additional attributes (OTel Attributes). */\n properties?: Record<string, unknown>;\n source?: string;\n}\n\nexport interface HttpRequestLogDto extends LogEntryDto {\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n userAgent?: string;\n clientIp?: string;\n}\n\nexport interface JobExecutionLogDto extends LogEntryDto {\n jobId?: string;\n jobName?: string;\n status?: string;\n startedAt?: string;\n finishedAt?: string;\n duration?: number;\n error?: string;\n}\n\nexport interface SystemInsightLogQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n cursor?: string;\n levels?: string[];\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n quickSearch?: string;\n hasHttpAccess?: boolean;\n minDuration?: number;\n filter?: unknown;\n sort?: unknown;\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\n fieldOperators?: Record<string, string>;\n}\n\nexport interface SystemInsightAggregateQueryDto extends SystemInsightLogQueryDto {\n groupBy: string;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\r\n\r\n//#region ---- Trace DTOs ----\r\n\r\nexport type TraceKind = 'command' | 'query' | 'entity' | 'http' | 'custom';\r\n\r\nexport type TraceSpanKind = 'op' | 'middleware' | 'backend' | 'handler';\r\n\r\nexport interface TraceEntryDto {\r\n id: string;\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n /** @deprecated Prefer operation — kept for older Jaeger-mapped rows. */\r\n rootOperation?: string;\r\n rootServiceName?: string;\r\n serviceName?: string;\r\n module?: string;\r\n entityName?: string;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n spanCount?: number;\r\n hasError?: boolean;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n userId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface TraceSpanDto {\r\n id: string;\r\n spanId: string;\r\n traceId: string;\r\n parentSpanId?: string;\r\n operationName: string;\r\n serviceName?: string;\r\n spanKind?: TraceSpanKind;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n middlewareName?: string;\r\n order?: number;\r\n nextMiddleware?: string;\r\n input?: unknown;\r\n output?: unknown;\r\n error?: string;\r\n tags?: Record<string, unknown>;\r\n logs?: Array<Record<string, unknown>>;\r\n}\r\n\r\nexport interface TraceTimelineDto {\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n spans: TraceSpanDto[];\r\n startTime: string;\r\n duration: number;\r\n services: string[];\r\n hasError?: boolean;\r\n module?: string;\r\n entityName?: string;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface SystemInsightTraceQueryDto extends SystemInsightScopeContext {\r\n from?: string;\r\n to?: string;\r\n skip?: number;\r\n take?: number;\r\n serviceName?: string;\r\n traceId?: string;\r\n kind?: TraceKind | TraceKind[];\r\n operation?: string;\r\n module?: string;\r\n entityName?: string;\r\n hasError?: boolean;\r\n /** Minimum root trace duration in milliseconds (slow traces). */\r\n minDuration?: number;\r\n quickSearch?: string;\r\n requestId?: string;\r\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\r\n fieldOperators?: Record<string, string>;\r\n}\r\n\r\n//#endregion\r\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Metric DTOs ----\n\nexport type SystemInsightMetricType = 'counter' | 'gauge' | 'histogram';\n\nexport interface MetricPointDto {\n id: string;\n name: string;\n labels?: Record<string, string>;\n timestamp: string;\n value: number;\n type: SystemInsightMetricType;\n}\n\nexport interface SystemInsightMetricQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n names?: string[];\n serviceName?: string;\n step?: string;\n}\n\nexport interface SystemInsightMetricRangeResult {\n series: Array<{\n name: string;\n labels?: Record<string, string>;\n points: Array<{ timestamp: string; value: number }>;\n }>;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Error / slow request DTOs ----\n\nexport interface ErrorEventDto {\n id: string;\n timestamp: string;\n errorType?: string;\n message: string;\n stackTrace?: string;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n userId?: string;\n tenantId?: string;\n fingerprint?: string;\n}\n\nexport interface SlowRequestDto {\n id: string;\n timestamp: string;\n method?: string;\n url?: string;\n duration: number;\n thresholdMs?: number;\n statusCode?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n}\n\nexport interface SystemInsightErrorQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n quickSearch?: string;\n}\n\nexport interface SystemInsightSlowRequestQueryDto extends SystemInsightErrorQueryDto {\n thresholdMs?: number;\n}\n\n//#endregion\n","//#region ---- Config entity DTOs ----\n\nexport interface SavedViewDto {\n id: string;\n title: string;\n description?: string;\n entityFullName: string;\n filter?: unknown;\n sorts?: unknown;\n columns?: unknown;\n timeRange?: { from?: string; to?: string };\n isDefault?: boolean;\n isShared?: boolean;\n ownerUserId?: string;\n tenantId?: string;\n}\n\nexport interface AlertRuleDto {\n id: string;\n name: string;\n enabled: boolean;\n entityFullName: string;\n condition?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n lastTriggeredAt?: string;\n tenantId?: string;\n}\n\nexport interface ObservabilityDataSourceDto {\n id: string;\n name: string;\n type: 'logs' | 'traces' | 'metrics';\n provider: 'elasticsearch' | 'jaeger' | 'prometheus' | 'fake';\n connectionConfig?: Record<string, unknown>;\n isDefault?: boolean;\n tenantId?: string;\n}\n\nexport interface RetentionPolicyDto {\n id: string;\n dataType: 'logs' | 'traces' | 'metrics' | 'audit';\n retentionDays: number;\n enabled: boolean;\n tenantId?: string;\n applicationId?: string;\n}\n\nexport interface DashboardWidgetConfigDto {\n id: string;\n title: string;\n widgetType: string;\n query?: unknown;\n layout?: unknown;\n order?: number;\n dashboardKey: string;\n tenantId?: string;\n}\n\nexport interface CreateAlertFromFilterInput {\n name: string;\n entityFullName: string;\n filter?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n}\n\n//#endregion\n","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","/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */\r\nexport const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';\r\n\r\n/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */\r\nexport const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';\r\n","//#region ---- Contracts barrel ----\r\n\r\nexport * from './menu.keys';\r\nexport * from './permission.keys';\r\nexport * from './settings.keys';\r\nexport * from './server-commands';\r\nexport * from './queries.keys';\r\nexport * from './commands.keys';\r\nexport * from './dto';\r\n\r\nexport * from './root-config';\r\nexport * from './trace-timeline-page.component-key';\r\n\r\n//#endregion\r\n\r\nexport * from './entities';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,wBAAwB,GAAG;AACtC,IAAA,IAAI,EAAE,oBAAoB;AAC1B,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,YAAY,EAAE,iCAAiC;AAC/C,IAAA,OAAO,EAAE,4BAA4B;AACrC,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,WAAW,EAAE,gCAAgC;AAC7C,IAAA,iBAAiB,EAAE,sCAAsC;AACzD,IAAA,QAAQ,EAAE,6BAA6B;;;ACXzC;;;AAGG;AACI,MAAM,+BAA+B,GAAG;AAC7C,IAAA,MAAM,EAAE,kCAAkC;AAC1C,IAAA,qBAAqB,EAAE,iDAAiD;AACxE,IAAA,cAAc,EAAE,0CAA0C;AAC1D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,mBAAmB,EAAE,+CAA+C;AACpE,IAAA,iBAAiB,EAAE,6CAA6C;AA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AAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,KAAK,EAAE,iDAAiD;AACxD,YAAA,WAAW,EAAE,kDAAkD;AAC/D,YAAA,IAAI,EAAE,4BAA4B;AACnC,SAAA;AACD,QAAA,qBAAqB,EAAE;AACrB,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,KAAK,EAAE,wDAAwD;AAC/D,YAAA,WAAW,EAAE,yDAAyD;AACtE,YAAA,IAAI,EAAE,oBAAoB;AAC3B,SAAA;AACF,KAAA;;;AClGH;AACO,MAAM,iCAAiC,GAAG;AAEjD;AACO,MAAM,6BAA6B,GAAG;;ACJ7C;;ACAA;;AAEG;;;;"}
@@ -0,0 +1,42 @@
1
+ import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
2
+ import { RootConfig } from '@acorex-platform/module-system-insight-client/contracts';
3
+ export { systemInsightLocalEntityCatalog } from '@acorex-platform/module-system-insight-client/contracts/entity-catalog';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Provide local entities -----
8
+ /**
9
+ * Registers system-insight layouts on the client from packaged factories.
10
+ * Each `import()` targets a secondary entry so unused entities stay out of the
11
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
12
+ * `Domain:GetEntityLayout`.
13
+ */
14
+ function provideSystemInsightLocalEntities() {
15
+ return provideLocalEntityCatalog({
16
+ moduleName: RootConfig.module.name,
17
+ loaders: {
18
+ [RootConfig.entities.alertRule.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/alert-rule').then((m) => m.alertRuleEntityFactory()),
19
+ [RootConfig.entities.auditLog.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/audit-log').then((m) => m.auditLogFactory()),
20
+ [RootConfig.entities.dashboardWidgetConfig.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/dashboard-widget-config').then((m) => m.dashboardWidgetConfigEntityFactory()),
21
+ [RootConfig.entities.errorEvent.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/error-event').then((m) => m.errorEventEntityFactory()),
22
+ [RootConfig.entities.httpRequestLog.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/http-request-log').then((m) => m.httpRequestLogEntityFactory()),
23
+ [RootConfig.entities.jobExecutionLog.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/job-execution-log').then((m) => m.jobExecutionLogEntityFactory()),
24
+ [RootConfig.entities.logEntry.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/log-entry').then((m) => m.logEntryEntityFactory()),
25
+ [RootConfig.entities.metricPoint.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/metric-point').then((m) => m.metricPointEntityFactory()),
26
+ [RootConfig.entities.observabilityDataSource.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/observability-data-source').then((m) => m.observabilityDataSourceEntityFactory()),
27
+ [RootConfig.entities.retentionPolicy.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/retention-policy').then((m) => m.retentionPolicyEntityFactory()),
28
+ [RootConfig.entities.savedView.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/saved-view').then((m) => m.savedViewEntityFactory()),
29
+ [RootConfig.entities.slowRequest.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/slow-request').then((m) => m.slowRequestEntityFactory()),
30
+ [RootConfig.entities.traceEntry.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/trace-entry').then((m) => m.traceEntryEntityFactory()),
31
+ [RootConfig.entities.traceSpan.name]: () => import('@acorex-platform/module-system-insight-client/contracts/entities/trace-span').then((m) => m.traceSpanEntityFactory()),
32
+ },
33
+ });
34
+ }
35
+ //#endregion
36
+
37
+ /**
38
+ * Generated bundle index. Do not edit.
39
+ */
40
+
41
+ export { provideSystemInsightLocalEntities };
42
+ //# sourceMappingURL=acorex-platform-module-system-insight-client-local-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-system-insight-client-local-entities.mjs","sources":["../../../../libs/modules/system-insight/client/src/lib/provide-local-entities.ts","../../../../libs/modules/system-insight/client/src/lib/acorex-platform-module-system-insight-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-system-insight-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers system-insight layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideSystemInsightLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.alertRule.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/alert-rule').then((m) => m.alertRuleEntityFactory()),\n [RootConfig.entities.auditLog.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/audit-log').then((m) => m.auditLogFactory()),\n [RootConfig.entities.dashboardWidgetConfig.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/dashboard-widget-config').then((m) => m.dashboardWidgetConfigEntityFactory()),\n [RootConfig.entities.errorEvent.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/error-event').then((m) => m.errorEventEntityFactory()),\n [RootConfig.entities.httpRequestLog.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/http-request-log').then((m) => m.httpRequestLogEntityFactory()),\n [RootConfig.entities.jobExecutionLog.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/job-execution-log').then((m) => m.jobExecutionLogEntityFactory()),\n [RootConfig.entities.logEntry.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/log-entry').then((m) => m.logEntryEntityFactory()),\n [RootConfig.entities.metricPoint.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/metric-point').then((m) => m.metricPointEntityFactory()),\n [RootConfig.entities.observabilityDataSource.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/observability-data-source').then((m) => m.observabilityDataSourceEntityFactory()),\n [RootConfig.entities.retentionPolicy.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/retention-policy').then((m) => m.retentionPolicyEntityFactory()),\n [RootConfig.entities.savedView.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/saved-view').then((m) => m.savedViewEntityFactory()),\n [RootConfig.entities.slowRequest.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/slow-request').then((m) => m.slowRequestEntityFactory()),\n [RootConfig.entities.traceEntry.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/trace-entry').then((m) => m.traceEntryEntityFactory()),\n [RootConfig.entities.traceSpan.name]: () =>\n import('@acorex-platform/module-system-insight-client/contracts/entities/trace-span').then((m) => m.traceSpanEntityFactory()),\n },\n });\n}\n\nexport { systemInsightLocalEntityCatalog } from '@acorex-platform/module-system-insight-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,iCAAiC,GAAA;AAC/C,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,6EAA6E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,CAAC;AAC/H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,4EAA4E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;A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AAmF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,4BAA4B,EAAE,CAAC;AAC3I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,6EAA6E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,CAAC;AAC/H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,MACtC,OAAO,+EAA+E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,CAAC;AACnI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,GAAG,MACrC,OAAO,8EAA8E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAuB,EAAE,CAAC;AACjI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,6EAA6E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,CAAC;AAChI,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;ACrDA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-system-insight-client",
3
- "version": "0.0.30",
3
+ "version": "0.0.33",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",
@@ -22,6 +22,70 @@
22
22
  "./contracts": {
23
23
  "types": "./types/acorex-platform-module-system-insight-client-contracts.d.ts",
24
24
  "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts.mjs"
25
+ },
26
+ "./contracts/entities/alert-rule": {
27
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.d.ts",
28
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-alert-rule.mjs"
29
+ },
30
+ "./contracts/entities/audit-log": {
31
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-audit-log.d.ts",
32
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs"
33
+ },
34
+ "./contracts/entities/dashboard-widget-config": {
35
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.d.ts",
36
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs"
37
+ },
38
+ "./contracts/entities/error-event": {
39
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-error-event.d.ts",
40
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs"
41
+ },
42
+ "./contracts/entities/http-request-log": {
43
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.d.ts",
44
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs"
45
+ },
46
+ "./contracts/entities/job-execution-log": {
47
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.d.ts",
48
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs"
49
+ },
50
+ "./contracts/entities/log-entry": {
51
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-log-entry.d.ts",
52
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs"
53
+ },
54
+ "./contracts/entities/metric-point": {
55
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-metric-point.d.ts",
56
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs"
57
+ },
58
+ "./contracts/entities/observability-data-source": {
59
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.d.ts",
60
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs"
61
+ },
62
+ "./contracts/entities/retention-policy": {
63
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.d.ts",
64
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs"
65
+ },
66
+ "./contracts/entities/saved-view": {
67
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-saved-view.d.ts",
68
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs"
69
+ },
70
+ "./contracts/entities/slow-request": {
71
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-slow-request.d.ts",
72
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs"
73
+ },
74
+ "./contracts/entities/trace-entry": {
75
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.d.ts",
76
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs"
77
+ },
78
+ "./contracts/entities/trace-span": {
79
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entities-trace-span.d.ts",
80
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs"
81
+ },
82
+ "./contracts/entity-catalog": {
83
+ "types": "./types/acorex-platform-module-system-insight-client-contracts-entity-catalog.d.ts",
84
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs"
85
+ },
86
+ "./local-entities": {
87
+ "types": "./types/acorex-platform-module-system-insight-client-local-entities.d.ts",
88
+ "default": "./fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs"
25
89
  }
26
90
  },
27
91
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function alertRuleEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { alertRuleEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function auditLogFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { auditLogFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function dashboardWidgetConfigEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { dashboardWidgetConfigEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function errorEventEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { errorEventEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function httpRequestLogEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { httpRequestLogEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function jobExecutionLogEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { jobExecutionLogEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function logEntryEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { logEntryEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function metricPointEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { metricPointEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function observabilityDataSourceEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { observabilityDataSourceEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function retentionPolicyEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { retentionPolicyEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function savedViewEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { savedViewEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function slowRequestEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { slowRequestEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function traceEntryEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { traceEntryEntityFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function traceSpanEntityFactory(): Promise<AXPEntity>;
4
+
5
+ export { traceSpanEntityFactory };
@@ -0,0 +1,10 @@
1
+ import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
2
+
3
+ /**
4
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
5
+ * so RootConfig imports stay light. Server seed and client `local-entities`
6
+ * consume this catalog explicitly.
7
+ */
8
+ declare const systemInsightLocalEntityCatalog: AXPLocalEntityCatalog;
9
+
10
+ export { systemInsightLocalEntityCatalog };
@@ -319,6 +319,8 @@ interface TraceTimelineDto {
319
319
  module?: string;
320
320
  entityName?: string;
321
321
  requestId?: string;
322
+ tenantId?: string;
323
+ applicationId?: string;
322
324
  hasAi?: boolean;
323
325
  aiModel?: string;
324
326
  aiInputTokens?: number;
@@ -0,0 +1,12 @@
1
+ import * as _angular_core from '@angular/core';
2
+ export { systemInsightLocalEntityCatalog } from '@acorex-platform/module-system-insight-client/contracts/entity-catalog';
3
+
4
+ /**
5
+ * Registers system-insight layouts on the client from packaged factories.
6
+ * Each `import()` targets a secondary entry so unused entities stay out of the
7
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
8
+ * `Domain:GetEntityLayout`.
9
+ */
10
+ declare function provideSystemInsightLocalEntities(): _angular_core.EnvironmentProviders;
11
+
12
+ export { provideSystemInsightLocalEntities };