@acorex-platform/module-report-management-server 0.0.18 → 2.0.0-next.42

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 (209) hide show
  1. package/contracts/src/commands.keys.d.ts +11 -0
  2. package/contracts/src/commands.keys.js +17 -0
  3. package/contracts/src/commands.keys.js.map +1 -0
  4. package/contracts/src/entities/index.d.ts +3 -0
  5. package/contracts/src/entities/index.js +3 -0
  6. package/contracts/src/entities/index.js.map +1 -1
  7. package/contracts/src/entities/query-snapshot/index.d.ts +1 -0
  8. package/contracts/src/entities/query-snapshot/index.js +5 -0
  9. package/contracts/src/entities/query-snapshot/index.js.map +1 -0
  10. package/contracts/src/entities/query-snapshot/query-snapshot.entity.d.ts +2 -0
  11. package/contracts/src/entities/query-snapshot/query-snapshot.entity.js +127 -0
  12. package/contracts/src/entities/query-snapshot/query-snapshot.entity.js.map +1 -0
  13. package/contracts/src/entities/query-snapshot/query-snapshot.types.d.ts +34 -0
  14. package/contracts/src/entities/query-snapshot/query-snapshot.types.js +5 -0
  15. package/contracts/src/entities/query-snapshot/query-snapshot.types.js.map +1 -0
  16. package/contracts/src/entities/query-snapshot-policy/index.d.ts +1 -0
  17. package/contracts/src/entities/query-snapshot-policy/index.js +5 -0
  18. package/contracts/src/entities/query-snapshot-policy/index.js.map +1 -0
  19. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.d.ts +2 -0
  20. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.js +100 -0
  21. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.js.map +1 -0
  22. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.types.d.ts +14 -0
  23. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.types.js +5 -0
  24. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.types.js.map +1 -0
  25. package/contracts/src/entities/report/index.d.ts +1 -1
  26. package/contracts/src/entities/report/index.js +1 -1
  27. package/contracts/src/entities/report/index.js.map +1 -1
  28. package/contracts/src/entities/report/report.entity.js +51 -7
  29. package/contracts/src/entities/report/report.entity.js.map +1 -1
  30. package/contracts/src/entities/report-category/index.d.ts +1 -1
  31. package/contracts/src/entities/report-category/index.js +0 -2
  32. package/contracts/src/entities/report-category/index.js.map +1 -1
  33. package/contracts/src/entities/report-category/report-category.entity.js +14 -1
  34. package/contracts/src/entities/report-category/report-category.entity.js.map +1 -1
  35. package/contracts/src/entities/report-generation-request/index.d.ts +1 -0
  36. package/contracts/src/entities/report-generation-request/index.js +5 -0
  37. package/contracts/src/entities/report-generation-request/index.js.map +1 -0
  38. package/contracts/src/entities/report-generation-request/report-generation-request.entity.d.ts +2 -0
  39. package/contracts/src/entities/report-generation-request/report-generation-request.entity.js +208 -0
  40. package/contracts/src/entities/report-generation-request/report-generation-request.entity.js.map +1 -0
  41. package/contracts/src/entity-catalog.d.ts +7 -0
  42. package/contracts/src/entity-catalog.js +24 -0
  43. package/contracts/src/entity-catalog.js.map +1 -0
  44. package/contracts/src/entity-entry.query-snapshot-policy.d.ts +1 -0
  45. package/contracts/src/entity-entry.query-snapshot-policy.js +6 -0
  46. package/contracts/src/entity-entry.query-snapshot-policy.js.map +1 -0
  47. package/contracts/src/entity-entry.query-snapshot.d.ts +1 -0
  48. package/contracts/src/entity-entry.query-snapshot.js +6 -0
  49. package/contracts/src/entity-entry.query-snapshot.js.map +1 -0
  50. package/contracts/src/entity-entry.report-category.d.ts +1 -0
  51. package/contracts/src/entity-entry.report-category.js +6 -0
  52. package/contracts/src/entity-entry.report-category.js.map +1 -0
  53. package/contracts/src/entity-entry.report-generation-request.d.ts +1 -0
  54. package/contracts/src/entity-entry.report-generation-request.js +6 -0
  55. package/contracts/src/entity-entry.report-generation-request.js.map +1 -0
  56. package/contracts/src/entity-entry.report.d.ts +1 -0
  57. package/contracts/src/entity-entry.report.js +6 -0
  58. package/contracts/src/entity-entry.report.js.map +1 -0
  59. package/contracts/src/index.d.ts +5 -0
  60. package/contracts/src/index.js +5 -0
  61. package/contracts/src/index.js.map +1 -1
  62. package/contracts/src/manifest.d.ts +6 -0
  63. package/contracts/src/manifest.js +24 -0
  64. package/contracts/src/manifest.js.map +1 -0
  65. package/contracts/src/permission.keys.d.ts +30 -14
  66. package/contracts/src/permission.keys.js +28 -12
  67. package/contracts/src/permission.keys.js.map +1 -1
  68. package/contracts/src/report-generation.types.d.ts +97 -0
  69. package/contracts/src/report-generation.types.js +14 -0
  70. package/contracts/src/report-generation.types.js.map +1 -0
  71. package/contracts/src/report.types.d.ts +107 -107
  72. package/contracts/src/report.types.js.map +1 -1
  73. package/contracts/src/root-config.d.ts +23 -2
  74. package/contracts/src/root-config.js +23 -2
  75. package/contracts/src/root-config.js.map +1 -1
  76. package/contracts/src/runtime.keys.d.ts +14 -0
  77. package/contracts/src/runtime.keys.js +20 -0
  78. package/contracts/src/runtime.keys.js.map +1 -0
  79. package/contracts/src/settings.keys.d.ts +11 -0
  80. package/contracts/src/settings.keys.js +17 -0
  81. package/contracts/src/settings.keys.js.map +1 -0
  82. package/package.json +8 -8
  83. package/server/src/index.d.ts +2 -4
  84. package/server/src/index.js +5 -8
  85. package/server/src/index.js.map +1 -1
  86. package/server/src/lib/entities/index.d.ts +1 -0
  87. package/server/src/lib/entities/index.js +5 -0
  88. package/server/src/lib/entities/index.js.map +1 -0
  89. package/server/src/lib/entities/report-management.entity-catalog.d.ts +1 -0
  90. package/server/src/lib/entities/report-management.entity-catalog.js +12 -0
  91. package/server/src/lib/entities/report-management.entity-catalog.js.map +1 -0
  92. package/server/src/lib/query-snapshots/query-snapshot-bypass.util.d.ts +3 -0
  93. package/server/src/lib/query-snapshots/query-snapshot-bypass.util.js +16 -0
  94. package/server/src/lib/query-snapshots/query-snapshot-bypass.util.js.map +1 -0
  95. package/server/src/lib/query-snapshots/query-snapshot-debounce.service.d.ts +19 -0
  96. package/server/src/lib/query-snapshots/query-snapshot-debounce.service.js +118 -0
  97. package/server/src/lib/query-snapshots/query-snapshot-debounce.service.js.map +1 -0
  98. package/server/src/lib/query-snapshots/query-snapshot-enqueue.service.d.ts +24 -0
  99. package/server/src/lib/query-snapshots/query-snapshot-enqueue.service.js +61 -0
  100. package/server/src/lib/query-snapshots/query-snapshot-enqueue.service.js.map +1 -0
  101. package/server/src/lib/query-snapshots/query-snapshot-entity-change.middleware.d.ts +12 -0
  102. package/server/src/lib/query-snapshots/query-snapshot-entity-change.middleware.js +90 -0
  103. package/server/src/lib/query-snapshots/query-snapshot-entity-change.middleware.js.map +1 -0
  104. package/server/src/lib/query-snapshots/query-snapshot-entity-storage.bootstrap.d.ts +9 -0
  105. package/server/src/lib/query-snapshots/query-snapshot-entity-storage.bootstrap.js +25 -0
  106. package/server/src/lib/query-snapshots/query-snapshot-entity-storage.bootstrap.js.map +1 -0
  107. package/server/src/lib/query-snapshots/query-snapshot-payload.util.d.ts +22 -0
  108. package/server/src/lib/query-snapshots/query-snapshot-payload.util.js +282 -0
  109. package/server/src/lib/query-snapshots/query-snapshot-payload.util.js.map +1 -0
  110. package/server/src/lib/query-snapshots/query-snapshot-recalc.service.d.ts +23 -0
  111. package/server/src/lib/query-snapshots/query-snapshot-recalc.service.js +122 -0
  112. package/server/src/lib/query-snapshots/query-snapshot-recalc.service.js.map +1 -0
  113. package/server/src/lib/query-snapshots/query-snapshot-schedule.setup.d.ts +2 -0
  114. package/server/src/lib/query-snapshots/query-snapshot-schedule.setup.js +79 -0
  115. package/server/src/lib/query-snapshots/query-snapshot-schedule.setup.js.map +1 -0
  116. package/server/src/lib/query-snapshots/query-snapshot.constants.d.ts +17 -0
  117. package/server/src/lib/query-snapshots/query-snapshot.constants.js +46 -0
  118. package/server/src/lib/query-snapshots/query-snapshot.constants.js.map +1 -0
  119. package/server/src/lib/query-snapshots/query-snapshot.middleware.d.ts +21 -0
  120. package/server/src/lib/query-snapshots/query-snapshot.middleware.js +135 -0
  121. package/server/src/lib/query-snapshots/query-snapshot.middleware.js.map +1 -0
  122. package/server/src/lib/query-snapshots/query-snapshot.store.d.ts +34 -0
  123. package/server/src/lib/query-snapshots/query-snapshot.store.js +137 -0
  124. package/server/src/lib/query-snapshots/query-snapshot.store.js.map +1 -0
  125. package/server/src/lib/query-snapshots/recalculate-query-snapshots.command.d.ts +8 -0
  126. package/server/src/lib/query-snapshots/recalculate-query-snapshots.command.js +74 -0
  127. package/server/src/lib/query-snapshots/recalculate-query-snapshots.command.js.map +1 -0
  128. package/server/src/lib/query-snapshots/refresh-query-snapshots.command.d.ts +16 -0
  129. package/server/src/lib/query-snapshots/refresh-query-snapshots.command.js +56 -0
  130. package/server/src/lib/query-snapshots/refresh-query-snapshots.command.js.map +1 -0
  131. package/server/src/lib/report-browse.service.js +32 -13
  132. package/server/src/lib/report-browse.service.js.map +1 -1
  133. package/server/src/lib/report-browse.types.d.ts +27 -12
  134. package/server/src/lib/report-browse.types.js +0 -1
  135. package/server/src/lib/report-browse.types.js.map +1 -1
  136. package/server/src/lib/report-definition.seed-provider.d.ts +15 -0
  137. package/server/src/lib/report-definition.seed-provider.js +63 -0
  138. package/server/src/lib/report-definition.seed-provider.js.map +1 -0
  139. package/server/src/lib/report-generation/report-generation-create.command.d.ts +17 -0
  140. package/server/src/lib/report-generation/report-generation-create.command.js +177 -0
  141. package/server/src/lib/report-generation/report-generation-create.command.js.map +1 -0
  142. package/server/src/lib/report-generation/report-generation-enqueue.service.d.ts +21 -0
  143. package/server/src/lib/report-generation/report-generation-enqueue.service.js +58 -0
  144. package/server/src/lib/report-generation/report-generation-enqueue.service.js.map +1 -0
  145. package/server/src/lib/report-generation/report-generation-execute.command.d.ts +10 -0
  146. package/server/src/lib/report-generation/report-generation-execute.command.js +49 -0
  147. package/server/src/lib/report-generation/report-generation-execute.command.js.map +1 -0
  148. package/server/src/lib/report-generation/report-generation-execute.service.d.ts +23 -0
  149. package/server/src/lib/report-generation/report-generation-execute.service.js +225 -0
  150. package/server/src/lib/report-generation/report-generation-execute.service.js.map +1 -0
  151. package/server/src/lib/report-generation/report-generation-job-presentation.util.d.ts +8 -0
  152. package/server/src/lib/report-generation/report-generation-job-presentation.util.js +43 -0
  153. package/server/src/lib/report-generation/report-generation-job-presentation.util.js.map +1 -0
  154. package/server/src/lib/report-generation/report-generation-notify.service.d.ts +23 -0
  155. package/server/src/lib/report-generation/report-generation-notify.service.js +159 -0
  156. package/server/src/lib/report-generation/report-generation-notify.service.js.map +1 -0
  157. package/server/src/lib/report-generation/report-generation-policy.util.d.ts +39 -0
  158. package/server/src/lib/report-generation/report-generation-policy.util.js +95 -0
  159. package/server/src/lib/report-generation/report-generation-policy.util.js.map +1 -0
  160. package/server/src/lib/report-generation/report-generation-progress.util.d.ts +14 -0
  161. package/server/src/lib/report-generation/report-generation-progress.util.js +51 -0
  162. package/server/src/lib/report-generation/report-generation-progress.util.js.map +1 -0
  163. package/server/src/lib/report-generation/report-generation-release-inline-watch.command.d.ts +10 -0
  164. package/server/src/lib/report-generation/report-generation-release-inline-watch.command.js +55 -0
  165. package/server/src/lib/report-generation/report-generation-release-inline-watch.command.js.map +1 -0
  166. package/server/src/lib/report-generation/report-generation-runtime.handlers.d.ts +27 -0
  167. package/server/src/lib/report-generation/report-generation-runtime.handlers.js +136 -0
  168. package/server/src/lib/report-generation/report-generation-runtime.handlers.js.map +1 -0
  169. package/server/src/lib/report-generation/report-generation-settings.service.d.ts +12 -0
  170. package/server/src/lib/report-generation/report-generation-settings.service.js +49 -0
  171. package/server/src/lib/report-generation/report-generation-settings.service.js.map +1 -0
  172. package/server/src/lib/report-generation/report-generation.constants.d.ts +16 -0
  173. package/server/src/lib/report-generation/report-generation.constants.js +24 -0
  174. package/server/src/lib/report-generation/report-generation.constants.js.map +1 -0
  175. package/server/src/lib/report-generation/report-generation.store.d.ts +25 -0
  176. package/server/src/lib/report-generation/report-generation.store.js +145 -0
  177. package/server/src/lib/report-generation/report-generation.store.js.map +1 -0
  178. package/server/src/lib/report-generation/report-generation.util.d.ts +8 -0
  179. package/server/src/lib/report-generation/report-generation.util.js +131 -0
  180. package/server/src/lib/report-generation/report-generation.util.js.map +1 -0
  181. package/server/src/lib/report-management-runtime.handlers.d.ts +32 -0
  182. package/server/src/lib/report-management-runtime.handlers.js +78 -0
  183. package/server/src/lib/report-management-runtime.handlers.js.map +1 -0
  184. package/server/src/lib/report-management-server.module.js +64 -9
  185. package/server/src/lib/report-management-server.module.js.map +1 -1
  186. package/server/src/lib/report-management.controller.d.ts +1 -4
  187. package/server/src/lib/report-management.controller.js +2 -16
  188. package/server/src/lib/report-management.controller.js.map +1 -1
  189. package/server/src/lib/seed/index.d.ts +0 -19
  190. package/server/src/lib/seed/index.js +0 -21
  191. package/server/src/lib/seed/index.js.map +0 -1
  192. package/server/src/lib/seed/report-management-seed.provider.d.ts +0 -4
  193. package/server/src/lib/seed/report-management-seed.provider.js +0 -18
  194. package/server/src/lib/seed/report-management-seed.provider.js.map +0 -1
  195. package/server/src/lib/seed/report-management-seed.tokens.d.ts +0 -1
  196. package/server/src/lib/seed/report-management-seed.tokens.js +0 -7
  197. package/server/src/lib/seed/report-management-seed.tokens.js.map +0 -1
  198. package/server/src/lib/seed/report-management.seed-catalog.d.ts +0 -2
  199. package/server/src/lib/seed/report-management.seed-catalog.js +0 -10
  200. package/server/src/lib/seed/report-management.seed-catalog.js.map +0 -1
  201. package/server/src/lib/seed/samples/employee-report.mock.d.ts +0 -9
  202. package/server/src/lib/seed/samples/employee-report.mock.js +0 -322
  203. package/server/src/lib/seed/samples/employee-report.mock.js.map +0 -1
  204. package/server/src/lib/seed/samples/index.d.ts +0 -2
  205. package/server/src/lib/seed/samples/index.js +0 -6
  206. package/server/src/lib/seed/samples/index.js.map +0 -1
  207. package/server/src/lib/seed/samples/location-report.mock.d.ts +0 -9
  208. package/server/src/lib/seed/samples/location-report.mock.js +0 -339
  209. package/server/src/lib/seed/samples/location-report.mock.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ export declare const AXMReportManagementCommandKeys: {
2
+ readonly RecalculateQuerySnapshots: "ReportManagement:RecalculateQuerySnapshots";
3
+ readonly RefreshQuerySnapshots: "ReportManagement:RefreshQuerySnapshots";
4
+ readonly ReportGeneration: {
5
+ readonly Create: "ReportManagement:ReportGeneration:Create";
6
+ readonly Execute: "ReportManagement:ReportGeneration:Execute";
7
+ readonly ReleaseInlineWatch: "ReportManagement:ReportGeneration:ReleaseInlineWatch";
8
+ };
9
+ };
10
+ export declare const AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY: "ReportManagement:RecalculateQuerySnapshots";
11
+ export declare const AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY: "ReportManagement:RefreshQuerySnapshots";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ //#region ---- Report management command keys ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY = exports.AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY = exports.AXMReportManagementCommandKeys = void 0;
5
+ exports.AXMReportManagementCommandKeys = {
6
+ RecalculateQuerySnapshots: 'ReportManagement:RecalculateQuerySnapshots',
7
+ RefreshQuerySnapshots: 'ReportManagement:RefreshQuerySnapshots',
8
+ ReportGeneration: {
9
+ Create: 'ReportManagement:ReportGeneration:Create',
10
+ Execute: 'ReportManagement:ReportGeneration:Execute',
11
+ ReleaseInlineWatch: 'ReportManagement:ReportGeneration:ReleaseInlineWatch',
12
+ },
13
+ };
14
+ exports.AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY = exports.AXMReportManagementCommandKeys.RecalculateQuerySnapshots;
15
+ exports.AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY = exports.AXMReportManagementCommandKeys.RefreshQuerySnapshots;
16
+ //#endregion
17
+ //# sourceMappingURL=commands.keys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.keys.js","sourceRoot":"","sources":["../../../../../libs/modules/report-management/contracts/src/commands.keys.ts"],"names":[],"mappings":";AAAA,kDAAkD;;;AAErC,QAAA,8BAA8B,GAAG;IAC5C,yBAAyB,EAAE,4CAA4C;IACvE,qBAAqB,EAAE,wCAAwC;IAC/D,gBAAgB,EAAE;QAChB,MAAM,EAAE,0CAA0C;QAClD,OAAO,EAAE,2CAA2C;QACpD,kBAAkB,EAAE,sDAAsD;KAC3E;CACO,CAAC;AAEE,QAAA,2CAA2C,GACtD,sCAA8B,CAAC,yBAAyB,CAAC;AAE9C,QAAA,uCAAuC,GAClD,sCAA8B,CAAC,qBAAqB,CAAC;AAEvD,YAAY"}
@@ -1,2 +1,5 @@
1
1
  export * from './report';
2
2
  export * from './report-category';
3
+ export * from './query-snapshot-policy';
4
+ export * from './query-snapshot';
5
+ export * from './report-generation-request';
@@ -3,4 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./report"), exports);
5
5
  tslib_1.__exportStar(require("./report-category"), exports);
6
+ tslib_1.__exportStar(require("./query-snapshot-policy"), exports);
7
+ tslib_1.__exportStar(require("./query-snapshot"), exports);
8
+ tslib_1.__exportStar(require("./report-generation-request"), exports);
6
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/modules/report-management/contracts/src/entities/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,4DAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/modules/report-management/contracts/src/entities/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,4DAAkC;AAClC,kEAAwC;AACxC,2DAAiC;AACjC,sEAA4C"}
@@ -0,0 +1 @@
1
+ export * from './query-snapshot.types';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./query-snapshot.types"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/query-snapshot/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function querySnapshotEntityFactory(): Promise<AXPEntity | null>;
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.querySnapshotEntityFactory = querySnapshotEntityFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ const commands_keys_1 = require("../../commands.keys");
8
+ const root_config_1 = require("../../root-config");
9
+ //#region ---- Query snapshot entity factory ----
10
+ const I18N = '@report-management:query-snapshots.entities.snapshot';
11
+ const STATUS_ITEMS = [
12
+ { name: 'ready', title: `${I18N}.statuses.ready` },
13
+ { name: 'stale', title: `${I18N}.statuses.stale` },
14
+ { name: 'failed', title: `${I18N}.statuses.failed` },
15
+ ];
16
+ function querySnapshotEntityFactory() {
17
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
18
+ return {
19
+ module: root_config_1.RootConfig.module.name,
20
+ name: root_config_1.RootConfig.entities.querySnapshot.name,
21
+ title: root_config_1.RootConfig.entities.querySnapshot.title,
22
+ icon: root_config_1.RootConfig.entities.querySnapshot.icon,
23
+ searchTags: [
24
+ 'query-snapshot',
25
+ 'cached-query',
26
+ 'query-cache',
27
+ 'snapshot-data',
28
+ 'stale-snapshot',
29
+ 'report-cache',
30
+ 'data-snapshot',
31
+ 'query-result-cache',
32
+ 'اسنپ‌شات کوئری',
33
+ 'اسنپ‌شات‌های کوئری',
34
+ 'کش کوئری',
35
+ 'ذخیره نتیجه',
36
+ ],
37
+ formats: {
38
+ individual: root_config_1.RootConfig.entities.querySnapshot.title,
39
+ plural: root_config_1.RootConfig.entities.querySnapshot.titlePlural,
40
+ searchResult: {
41
+ title: '{{ key }}',
42
+ description: '{{ status }}',
43
+ },
44
+ },
45
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
46
+ properties: [
47
+ {
48
+ name: 'key',
49
+ title: `${I18N}.fields.key`,
50
+ groupId: 'basic-info',
51
+ schema: { dataType: 'string', readonly: true, interface: { type: core_1.AXPWidgetsCatalog.text } },
52
+ options: {
53
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
54
+ sort: { enabled: true },
55
+ },
56
+ },
57
+ {
58
+ name: 'status',
59
+ title: `${I18N}.fields.status`,
60
+ groupId: 'basic-info',
61
+ schema: {
62
+ dataType: 'string',
63
+ readonly: true,
64
+ interface: { type: core_1.AXPWidgetsCatalog.select, options: { items: STATUS_ITEMS } },
65
+ },
66
+ options: {
67
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
68
+ sort: { enabled: true },
69
+ },
70
+ },
71
+ {
72
+ name: 'calculatedAt',
73
+ title: `${I18N}.fields.calculated-at`,
74
+ groupId: 'basic-info',
75
+ schema: {
76
+ dataType: 'datetime',
77
+ readonly: true,
78
+ interface: { type: core_1.AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
79
+ },
80
+ options: { sort: { enabled: true } },
81
+ },
82
+ {
83
+ name: 'durationMs',
84
+ title: `${I18N}.fields.duration-ms`,
85
+ groupId: 'basic-info',
86
+ schema: { dataType: 'number', readonly: true, interface: { type: core_1.AXPWidgetsCatalog.number } },
87
+ },
88
+ {
89
+ name: 'lastError',
90
+ title: `${I18N}.fields.last-error`,
91
+ groupId: 'basic-info',
92
+ schema: { dataType: 'string', readonly: true, interface: { type: core_1.AXPWidgetsCatalog.largeText } },
93
+ },
94
+ {
95
+ name: 'payload',
96
+ title: `${I18N}.fields.payload`,
97
+ groupId: 'basic-info',
98
+ schema: {
99
+ dataType: 'object',
100
+ readonly: true,
101
+ interface: { type: core_1.AXPWidgetsList.Advanced.JsonViewer, options: { disabled: true } },
102
+ },
103
+ },
104
+ ],
105
+ columns: [{ name: 'key' }, { name: 'status' }, { name: 'calculatedAt' }, { name: 'durationMs' }],
106
+ interfaces: {
107
+ master: {
108
+ list: {
109
+ actions: [
110
+ {
111
+ title: '@report-management:query-snapshots.actions.refresh-now',
112
+ icon: 'fa-light fa-rotate',
113
+ command: { name: commands_keys_1.AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY },
114
+ priority: 'primary',
115
+ type: 'action',
116
+ scope: entity_1.AXPEntityCommandScope.TypeLevel,
117
+ },
118
+ ],
119
+ views: [(0, entity_1.createAllQueryView)({ sorts: [{ name: 'calculatedAt', dir: 'desc' }] })],
120
+ },
121
+ },
122
+ },
123
+ };
124
+ });
125
+ }
126
+ //#endregion
127
+ //# sourceMappingURL=query-snapshot.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-snapshot.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/query-snapshot/query-snapshot.entity.ts"],"names":[],"mappings":";;AAeA,gEA2GC;;AA1HD,iEAA2F;AAC3F,qEAAgH;AAChH,uDAA8E;AAC9E,mDAA+C;AAE/C,iDAAiD;AAEjD,MAAM,IAAI,GAAG,sDAAsD,CAAC;AAEpE,MAAM,YAAY,GAAG;IACnB,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,iBAAiB,EAAE;IAClD,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,iBAAiB,EAAE;IAClD,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,IAAI,kBAAkB,EAAE;CACrD,CAAC;AAEF,SAAsB,0BAA0B;;QAC9C,OAAO;YACL,MAAM,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;YAC9B,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI;YAC5C,KAAK,EAAE,wBAAU,CAAC,QAAQ,CAAC,aAAa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ACrB,MAAM,EAAE;wBACN,QAAQ,EAAE,QAAQ;wBAClB,QAAQ,EAAE,IAAI;wBACd,SAAS,EAAE,EAAE,IAAI,EAAE,qBAAc,CAAC,QAAQ,CAAC,UAAU,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE;qBACrF;iBACF;aACF;YACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;YAChG,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,OAAO,EAAE;4BACP;gCACE,KAAK,EAAE,wDAAwD;gCAC/D,IAAI,EAAE,oBAAoB;gCAC1B,OAAO,EAAE,EAAE,IAAI,EAAE,uDAAuC,EAAE;gCAC1D,QAAQ,EAAE,SAAS;gCACnB,IAAI,EAAE,QAAQ;gCACd,KAAK,EAAE,8BAAqB,CAAC,SAAS;6BACvC;yBACF;wBACD,KAAK,EAAE,CAAC,IAAA,2BAAkB,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;qBAChF;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CAAA;AAED,YAAY"}
@@ -0,0 +1,34 @@
1
+ import type { AXPRuntimeCollectionData } from '@acorex-platform/framework-shared/core';
2
+ import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
3
+ export type AXMQuerySnapshotStatus = 'ready' | 'stale' | 'failed';
4
+ export type AXMQuerySnapshotPayload = {
5
+ success: true;
6
+ kind: 'value';
7
+ data: unknown;
8
+ } | {
9
+ success: true;
10
+ kind: 'object';
11
+ data: unknown;
12
+ } | {
13
+ success: true;
14
+ kind: 'collection';
15
+ data: AXPRuntimeCollectionData;
16
+ };
17
+ export interface AXMQuerySnapshotEntityModel extends AXPEntityModel<string> {
18
+ key: string;
19
+ status: AXMQuerySnapshotStatus;
20
+ calculatedAt: string;
21
+ durationMs: number;
22
+ lastError?: string;
23
+ payload: AXMQuerySnapshotPayload;
24
+ }
25
+ export interface AXMRecalculateQuerySnapshotsInput {
26
+ tenantId?: string;
27
+ applicationId?: string;
28
+ queryKeys?: string[];
29
+ /** When true, a full run ignores catch-up skips (manual refresh all). */
30
+ force?: boolean;
31
+ }
32
+ export interface AXMRefreshQuerySnapshotsInput {
33
+ queryKeys?: string[];
34
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ----- Imports -----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=query-snapshot.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-snapshot.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/query-snapshot/query-snapshot.types.ts"],"names":[],"mappings":";AAAA,6BAA6B;;AAqC7B,YAAY"}
@@ -0,0 +1 @@
1
+ export * from './query-snapshot-policy.types';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./query-snapshot-policy.types"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/query-snapshot-policy/index.ts"],"names":[],"mappings":";;;AAAA,wEAA8C"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function querySnapshotPolicyEntityFactory(): Promise<AXPEntity | null>;
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.querySnapshotPolicyEntityFactory = querySnapshotPolicyEntityFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ const root_config_1 = require("../../root-config");
8
+ //#region ---- Query snapshot policy entity factory ----
9
+ const I18N = '@report-management:query-snapshots.entities.policy';
10
+ function querySnapshotPolicyEntityFactory() {
11
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
+ return {
13
+ module: root_config_1.RootConfig.module.name,
14
+ name: root_config_1.RootConfig.entities.querySnapshotPolicy.name,
15
+ title: root_config_1.RootConfig.entities.querySnapshotPolicy.title,
16
+ icon: root_config_1.RootConfig.entities.querySnapshotPolicy.icon,
17
+ searchTags: [
18
+ 'query-snapshot-policy',
19
+ 'snapshot-policy',
20
+ 'cache-policy',
21
+ 'query-refresh-policy',
22
+ 'snapshot-schedule',
23
+ 'cache-ttl',
24
+ 'refresh-interval',
25
+ 'data-refresh',
26
+ 'سیاست اسنپ‌شات',
27
+ 'سیاست‌های اسنپ‌شات کوئری',
28
+ 'سیاست کش',
29
+ 'نوسازی کوئری',
30
+ ],
31
+ formats: {
32
+ individual: root_config_1.RootConfig.entities.querySnapshotPolicy.title,
33
+ plural: root_config_1.RootConfig.entities.querySnapshotPolicy.titlePlural,
34
+ searchResult: {
35
+ title: '{{ queryName }}',
36
+ description: root_config_1.RootConfig.module.title,
37
+ },
38
+ },
39
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
40
+ properties: [
41
+ {
42
+ name: 'queryName',
43
+ title: `${I18N}.fields.query-name`,
44
+ groupId: 'basic-info',
45
+ schema: { dataType: 'string', interface: { type: core_1.AXPWidgetsCatalog.text } },
46
+ validations: [{ rule: 'required' }],
47
+ options: {
48
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
49
+ sort: { enabled: true },
50
+ },
51
+ },
52
+ {
53
+ name: 'enabled',
54
+ title: `${I18N}.fields.enabled`,
55
+ groupId: 'basic-info',
56
+ schema: {
57
+ dataType: 'boolean',
58
+ defaultValue: true,
59
+ interface: { type: core_1.AXPWidgetsCatalog.toggle },
60
+ },
61
+ options: {
62
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
63
+ sort: { enabled: true },
64
+ },
65
+ },
66
+ {
67
+ name: 'schedule',
68
+ title: `${I18N}.fields.schedule`,
69
+ groupId: 'basic-info',
70
+ schema: { dataType: 'string', interface: { type: core_1.AXPWidgetsCatalog.text } },
71
+ validations: [{ rule: 'required' }],
72
+ },
73
+ {
74
+ name: 'staleAfterMs',
75
+ title: `${I18N}.fields.stale-after-ms`,
76
+ groupId: 'basic-info',
77
+ schema: { dataType: 'number', interface: { type: core_1.AXPWidgetsCatalog.number } },
78
+ validations: [{ rule: 'required' }],
79
+ },
80
+ {
81
+ name: 'triggers',
82
+ title: `${I18N}.fields.triggers`,
83
+ groupId: 'basic-info',
84
+ schema: { dataType: 'object', interface: { type: 'json' } },
85
+ },
86
+ ],
87
+ columns: [{ name: 'queryName' }, { name: 'enabled' }, { name: 'schedule' }, { name: 'staleAfterMs' }],
88
+ interfaces: {
89
+ master: {
90
+ list: {
91
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
92
+ views: [(0, entity_1.createAllQueryView)({ sorts: [{ name: 'queryName', dir: 'asc' }] })],
93
+ },
94
+ },
95
+ },
96
+ };
97
+ });
98
+ }
99
+ //#endregion
100
+ //# sourceMappingURL=query-snapshot-policy.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-snapshot-policy.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.ts"],"names":[],"mappings":";;AAQA,4EAsFC;;AA9FD,iEAA2E;AAC3E,qEAAkH;AAClH,mDAA+C;AAE/C,wDAAwD;AAExD,MAAM,IAAI,GAAG,oDAAoD,CAAC;AAElE,SAAsB,gCAAgC;;QACpD,OAAO;YACL,MAAM,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;YAC9B,IAAI,EAAE,wBAAU,CAAC,QAAQ,CA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E,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;YACrG,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC,GAAG,IAAA,gCAAuB,GAAE,CAAC;wBACvC,KAAK,EAAE,CAAC,IAAA,2BAAkB,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;qBAC5E;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CAAA;AAED,YAAY"}
@@ -0,0 +1,14 @@
1
+ import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
2
+ export type AXMQuerySnapshotTriggerOperation = 'create' | 'update' | 'delete';
3
+ export interface AXMQuerySnapshotPolicyTriggers {
4
+ entities: string[];
5
+ operations: AXMQuerySnapshotTriggerOperation[];
6
+ debounceMs: number;
7
+ }
8
+ export interface AXMQuerySnapshotPolicyEntityModel extends AXPEntityModel<string> {
9
+ queryName: string;
10
+ enabled: boolean;
11
+ schedule: string;
12
+ staleAfterMs: number;
13
+ triggers: AXMQuerySnapshotPolicyTriggers;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ----- Imports -----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=query-snapshot-policy.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-snapshot-policy.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.types.ts"],"names":[],"mappings":";AAAA,6BAA6B;;AAwB7B,YAAY"}
@@ -1 +1 @@
1
- export * from './report.entity';
1
+ export * from '../../report.types';
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./report.entity"), exports);
4
+ tslib_1.__exportStar(require("../../report.types"), exports);
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
@@ -13,6 +13,21 @@ function reportEntityFactory() {
13
13
  name: root_config_1.RootConfig.entities.report.name,
14
14
  title: root_config_1.RootConfig.entities.report.title,
15
15
  icon: root_config_1.RootConfig.entities.report.icon,
16
+ searchTags: [
17
+ 'report',
18
+ 'report-definition',
19
+ 'business-report',
20
+ 'report-template',
21
+ 'analytics',
22
+ 'dashboard-report',
23
+ 'report-layout',
24
+ 'data-report',
25
+ 'گزارش',
26
+ 'گزارش‌ها',
27
+ 'قالب گزارش',
28
+ 'مدیریت گزارش',
29
+ ],
30
+ plugins: [{ name: 'category', options: { readonly: true } }],
16
31
  formats: {
17
32
  individual: root_config_1.RootConfig.entities.report.title,
18
33
  plural: root_config_1.RootConfig.entities.report.titlePlural,
@@ -27,6 +42,10 @@ function reportEntityFactory() {
27
42
  name: 'title',
28
43
  title: '@general:terms.common.title',
29
44
  groupId: 'basic-info',
45
+ options: {
46
+ sort: { enabled: true },
47
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
48
+ },
30
49
  schema: { dataType: 'string', interface: { type: core_1.AXPWidgetsCatalog.text } },
31
50
  validations: [{ rule: 'required' }],
32
51
  },
@@ -34,14 +53,12 @@ function reportEntityFactory() {
34
53
  name: 'description',
35
54
  title: '@general:terms.common.description',
36
55
  groupId: 'basic-info',
56
+ options: {
57
+ sort: { enabled: true },
58
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
59
+ },
37
60
  schema: { dataType: 'string', interface: { type: core_1.AXPWidgetsCatalog.largeText } },
38
61
  },
39
- {
40
- name: 'categoryIds',
41
- title: '@general:terms.classification.categories',
42
- groupId: 'basic-info',
43
- schema: { dataType: 'object', interface: { type: core_1.AXPWidgetsCatalog.text } },
44
- },
45
62
  {
46
63
  name: 'parameterGroups',
47
64
  title: '@report-management:reports.entities.report.fields.parameter-groups',
@@ -66,12 +83,39 @@ function reportEntityFactory() {
66
83
  groupId: 'basic-info',
67
84
  schema: { dataType: 'object', interface: { type: core_1.AXPWidgetsCatalog.text } },
68
85
  },
86
+ {
87
+ name: 'entities',
88
+ title: '@report-management:reports.entities.report.fields.entities',
89
+ groupId: 'basic-info',
90
+ schema: { dataType: 'object', interface: { type: core_1.AXPWidgetsCatalog.text } },
91
+ },
92
+ {
93
+ name: 'generation',
94
+ title: '@report-management:reports.entities.report.fields.generation',
95
+ groupId: 'basic-info',
96
+ schema: { dataType: 'object', interface: { type: core_1.AXPWidgetsCatalog.text } },
97
+ },
69
98
  ],
70
99
  columns: [{ name: 'title' }, { name: 'description' }],
71
100
  interfaces: {
72
101
  master: {
73
102
  list: {
74
- actions: [...(0, entity_1.entityMasterCrudActions)()],
103
+ actions: [
104
+ {
105
+ title: '@general:actions.open.title',
106
+ icon: 'fa-light fa-play',
107
+ command: {
108
+ name: 'ReportManagement.Report:OpenViewer',
109
+ options: {
110
+ reportId: '{{ context.eval("id") }}',
111
+ },
112
+ },
113
+ priority: 'primary',
114
+ type: 'view',
115
+ scope: entity_1.AXPEntityCommandScope.Individual,
116
+ default: true,
117
+ },
118
+ ],
75
119
  views: [(0, entity_1.createAllQueryView)({ sorts: [{ name: 'title', dir: 'asc' }] })],
76
120
  },
77
121
  },
@@ -1 +1 @@
1
- {"version":3,"file":"report.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report/report.entity.ts"],"names":[],"mappings":";;AAMA,kDAsEC;;AA5ED,qEAAgH;AAChH,iEAAyE;AACzE,mDAA+C;AAE/C,oDAAoD;AAEp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,CAAC;qBACxE;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CAAA;AAED,YAAY"}
1
+ {"version":3,"file":"report.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report/report.entity.ts"],"names":[],"mappings":";;AAUA,kDAkHC;;AA5HD,qEAIkD;AAClD,iEAA2E;AAC3E,mDAA+C;AAE/C,oDAAoD;AAEpD,SAAsB,mBAAmB;;QACvC,OAAO;YACL,MAAM,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;YAC9B,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI;YACrC,KAAK,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK;YACvC,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI;YACrC,UAAU,EAAE;gBACV,QAAQ;gBACR,mBAAmB;gBACnB,iBAAiB;gBACjB,iBAAiB;gBACjB,WAAW;gBACX,kBAAkB;gBAClB,eAAe;gBACf,aAAa;gBACb,OAAO;gBACP,UAAU;gBACV,YAAY;gBACZ,cAAc;aACf;YACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC;YAC5D,OAAO,EAAE;gBACP,UAAU,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK;gBAC5C,MAAM,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW;gBAC9C,YAAY,EAAE;oBACZ,KAAK,EAAE,aAAa;oBACpB,WAAW,EAAE,mBAAmB;iBACjC;aACF;YACD,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,qCAAqC,EAAE,CAAC;YAC5E,UAAU,EAAE;gBACV;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,6BAA6B;oBACpC,OAAO,EAAE,YAAY;oBAC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AE,IAAI;6BACd;yBACF;wBACD,KAAK,EAAE,CAAC,IAAA,2BAAkB,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;qBACxE;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CAAA;AAED,YAAY"}
@@ -1 +1 @@
1
- export * from './report-category.entity';
1
+ export {};
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./report-category.entity"), exports);
5
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report-category/index.ts"],"names":[],"mappings":";;;AAAA,mEAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report-category/index.ts"],"names":[],"mappings":""}
@@ -10,10 +10,23 @@ function reportCategoryEntityFactory() {
10
10
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
11
11
  return {
12
12
  module: root_config_1.RootConfig.module.name,
13
- name: `${root_config_1.RootConfig.entities.report.name}Category`,
13
+ name: root_config_1.RootConfig.entities.category.name,
14
14
  parentKey: 'parentId',
15
15
  title: root_config_1.RootConfig.entities.category.title,
16
16
  icon: root_config_1.RootConfig.entities.category.icon,
17
+ searchTags: [
18
+ 'report-category',
19
+ 'report-folder',
20
+ 'report-group',
21
+ 'category-tree',
22
+ 'report-organization',
23
+ 'report-hierarchy',
24
+ 'report-classification',
25
+ 'دسته گزارش',
26
+ 'دسته‌های گزارش',
27
+ 'دسته',
28
+ 'گروه گزارش',
29
+ ],
17
30
  formats: {
18
31
  individual: root_config_1.RootConfig.entities.category.title,
19
32
  plural: root_config_1.RootConfig.entities.category.titlePlural,
@@ -1 +1 @@
1
- {"version":3,"file":"report-category.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report-category/report-category.entity.ts"],"names":[],"mappings":";;AAMA,kEA2DC;;AAjED,qEAAgH;AAChH,iEAAyE;AACzE,mDAA+C;AAE/C,kDAAkD;AAElD,SAAsB,2BAA2B;;QAC/C,OAAO;YACL,MAAM,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;YAC9B,IAAI,EAAE,GAAG,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,UAAU;YAClD,SAAS,EAAE,UAAU;YACrB,KAAK,EAAE,wBAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK;YACzC,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI;YACvC,OAAO,EAAE;gBACP,UAAU,EAAE,wBAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK;gBAC9C,MAAM,EAAE,wBAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,WAAW;gBAChD,YAAY,EAAE;oBACZ,KAAK,EAAE,aAAa;oBACpB,WAAW,EAAE,wBAAU,CAAC,MAAM,CAAC,KAAK;iBACrC;aACF;YACD,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,qCAAqC,EAAE,CAAC;YAC5E,UAAU,EAAE;gBACV;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,6BAA6B;oBACpC,OAAO,EAAE,YAAY;oBACrB,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,wBAAiB,CAAC,IAAI,EAAE,EAAE;oBAC3E,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;iBACpC;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,KAAK,EAAE,mCAAmC;oBAC1C,OAAO,EAAE,YAAY;oBACrB,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,wBAAiB,CAAC,SAAS,EAAE,EAAE;iBACjF;gBACD;oBACE,IAAI,EAAE,UAAU;oBAChB,KAAK,EAAE,sCAAsC;oBAC7C,OAAO,EAAE,YAAY;oBACrB,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,wBAAiB,CAAC,IAAI,EAAE,EAAE;iBAC5E;gBACD;oBACE,IAAI,EAAE,eAAe;oBACrB,KAAK,EAAE,sCAAsC;oBAC7C,OAAO,EAAE,YAAY;oBACrB,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,wBAAiB,CAAC,MAAM,EAAE,EAAE;iBAC9E;gBACD;oBACE,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,mCAAmC;oBAC1C,OAAO,EAAE,YAAY;oBACrB,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,wBAAiB,CAAC,MAAM,EAAE,EAAE;iBAC9E;aACF;YACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;YACrD,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC,GAAG,IAAA,gCAAuB,GAAE,CAAC;wBACvC,KAAK,EAAE,CAAC,IAAA,2BAAkB,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;qBACxE;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CAAA;AAED,YAAY"}
1
+ {"version":3,"file":"report-category.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report-category/report-category.entity.ts"],"names":[],"mappings":";;AAMA,kEAwEC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@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("../../report-generation.types"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/contracts/src/entities/report-generation-request/index.ts"],"names":[],"mappings":";;;AAAA,wEAA8C"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function reportGenerationRequestEntityFactory(): Promise<AXPEntity | null>;