@acorex-platform/module-application-management-server 0.0.15 → 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 (217) hide show
  1. package/contracts/src/entities/app-term/app-term.entity.js +16 -2
  2. package/contracts/src/entities/app-term/app-term.entity.js.map +1 -1
  3. package/contracts/src/entities/app-term/app-term.types.js.map +1 -1
  4. package/contracts/src/entities/app-term/index.d.ts +0 -1
  5. package/contracts/src/entities/app-term/index.js +0 -1
  6. package/contracts/src/entities/app-term/index.js.map +1 -1
  7. package/contracts/src/entities/app-version/app-version.entity.js +21 -6
  8. package/contracts/src/entities/app-version/app-version.entity.js.map +1 -1
  9. package/contracts/src/entities/app-version/app-version.types.d.ts +8 -2
  10. package/contracts/src/entities/app-version/app-version.types.js.map +1 -1
  11. package/contracts/src/entities/app-version/index.d.ts +0 -1
  12. package/contracts/src/entities/app-version/index.js +0 -1
  13. package/contracts/src/entities/app-version/index.js.map +1 -1
  14. package/contracts/src/entities/application/application.entity.js +22 -2
  15. package/contracts/src/entities/application/application.entity.js.map +1 -1
  16. package/contracts/src/entities/application/application.types.d.ts +3 -3
  17. package/contracts/src/entities/application/application.types.js.map +1 -1
  18. package/contracts/src/entities/application/index.d.ts +0 -1
  19. package/contracts/src/entities/application/index.js +0 -1
  20. package/contracts/src/entities/application/index.js.map +1 -1
  21. package/contracts/src/entities/edition/edition.entity.js +51 -6
  22. package/contracts/src/entities/edition/edition.entity.js.map +1 -1
  23. package/contracts/src/entities/edition/edition.types.d.ts +3 -2
  24. package/contracts/src/entities/edition/edition.types.js.map +1 -1
  25. package/contracts/src/entities/edition/index.d.ts +0 -1
  26. package/contracts/src/entities/edition/index.js +0 -1
  27. package/contracts/src/entities/edition/index.js.map +1 -1
  28. package/contracts/src/entities/index.js.map +1 -1
  29. package/contracts/src/entity-catalog.d.ts +7 -0
  30. package/contracts/src/entity-catalog.js +23 -0
  31. package/contracts/src/entity-catalog.js.map +1 -0
  32. package/contracts/src/entity-entry.app-term.d.ts +1 -0
  33. package/contracts/src/entity-entry.app-term.js +6 -0
  34. package/contracts/src/entity-entry.app-term.js.map +1 -0
  35. package/contracts/src/entity-entry.app-version.d.ts +1 -0
  36. package/contracts/src/entity-entry.app-version.js +6 -0
  37. package/contracts/src/entity-entry.app-version.js.map +1 -0
  38. package/contracts/src/entity-entry.application.d.ts +1 -0
  39. package/contracts/src/entity-entry.application.js +6 -0
  40. package/contracts/src/entity-entry.application.js.map +1 -0
  41. package/contracts/src/entity-entry.edition.d.ts +1 -0
  42. package/contracts/src/entity-entry.edition.js +6 -0
  43. package/contracts/src/entity-entry.edition.js.map +1 -0
  44. package/contracts/src/features.keys.js.map +1 -1
  45. package/contracts/src/index.d.ts +5 -0
  46. package/contracts/src/index.js +5 -0
  47. package/contracts/src/index.js.map +1 -1
  48. package/contracts/src/industry-pack.constants.d.ts +6 -0
  49. package/contracts/src/industry-pack.constants.js +11 -0
  50. package/contracts/src/industry-pack.constants.js.map +1 -0
  51. package/contracts/src/lib/context.definitions.d.ts +2 -0
  52. package/contracts/src/lib/context.definitions.js +15 -0
  53. package/contracts/src/lib/context.definitions.js.map +1 -0
  54. package/contracts/src/manifest.d.ts +6 -0
  55. package/contracts/src/manifest.js +24 -0
  56. package/contracts/src/manifest.js.map +1 -0
  57. package/contracts/src/menu.keys.js.map +1 -1
  58. package/contracts/src/module-setup.provider.d.ts +55 -0
  59. package/contracts/src/module-setup.provider.js +26 -0
  60. package/contracts/src/module-setup.provider.js.map +1 -0
  61. package/contracts/src/permission.keys.d.ts +25 -5
  62. package/contracts/src/permission.keys.js +25 -5
  63. package/contracts/src/permission.keys.js.map +1 -1
  64. package/contracts/src/root-config.d.ts +35 -29
  65. package/contracts/src/root-config.js +6 -0
  66. package/contracts/src/root-config.js.map +1 -1
  67. package/contracts/src/server-commands.d.ts +29 -0
  68. package/contracts/src/server-commands.js +9 -0
  69. package/contracts/src/server-commands.js.map +1 -0
  70. package/contracts/src/settings.keys.d.ts +3 -1
  71. package/contracts/src/settings.keys.js +2 -0
  72. package/contracts/src/settings.keys.js.map +1 -1
  73. package/package.json +9 -12
  74. package/server/src/index.d.ts +3 -0
  75. package/server/src/index.js +9 -0
  76. package/server/src/index.js.map +1 -0
  77. package/server/src/lib/application-management-server.module.d.ts +7 -0
  78. package/server/src/lib/application-management-server.module.js +56 -0
  79. package/server/src/lib/application-management-server.module.js.map +1 -0
  80. package/server/src/lib/entities/application-management.entity-catalog.d.ts +1 -0
  81. package/server/src/lib/entities/application-management.entity-catalog.js +12 -0
  82. package/server/src/lib/entities/application-management.entity-catalog.js.map +1 -0
  83. package/server/src/lib/entities/index.d.ts +1 -0
  84. package/server/src/lib/entities/index.js +5 -0
  85. package/{src/lib/seed/reports → server/src/lib/entities}/index.js.map +1 -1
  86. package/server/src/lib/handlers/application-report.handlers.d.ts +14 -0
  87. package/server/src/lib/handlers/application-report.handlers.js +65 -0
  88. package/server/src/lib/handlers/application-report.handlers.js.map +1 -0
  89. package/{src → server/src}/lib/queries/application-query.helpers.js +1 -1
  90. package/server/src/lib/queries/application-query.helpers.js.map +1 -0
  91. package/server/src/lib/queries/get-application-versions-chart-data.query.definition.d.ts +5 -0
  92. package/server/src/lib/queries/get-application-versions-chart-data.query.definition.js +33 -0
  93. package/server/src/lib/queries/get-application-versions-chart-data.query.definition.js.map +1 -0
  94. package/{src → server/src}/lib/queries/get-application-versions-chart-data.query.js +1 -1
  95. package/server/src/lib/queries/get-application-versions-chart-data.query.js.map +1 -0
  96. package/server/src/lib/queries/get-application-versions-timeline.query.definition.d.ts +5 -0
  97. package/server/src/lib/queries/get-application-versions-timeline.query.definition.js +34 -0
  98. package/server/src/lib/queries/get-application-versions-timeline.query.definition.js.map +1 -0
  99. package/{src → server/src}/lib/queries/get-application-versions-timeline.query.js +1 -1
  100. package/server/src/lib/queries/get-application-versions-timeline.query.js.map +1 -0
  101. package/server/src/lib/reports/application-report-definition.provider.js.map +1 -0
  102. package/{src → server/src}/lib/reports/application-report.definitions.js +8 -3
  103. package/server/src/lib/reports/application-report.definitions.js.map +1 -0
  104. package/server/src/lib/setup/index.d.ts +6 -0
  105. package/server/src/lib/setup/index.js +10 -0
  106. package/{src/lib/seed/app-term → server/src/lib/setup}/index.js.map +1 -1
  107. package/server/src/lib/setup/module-setup-aggregator.service.d.ts +13 -0
  108. package/server/src/lib/setup/module-setup-aggregator.service.js +70 -0
  109. package/server/src/lib/setup/module-setup-aggregator.service.js.map +1 -0
  110. package/server/src/lib/setup/subscription-tenant-setup.listener.d.ts +13 -0
  111. package/server/src/lib/setup/subscription-tenant-setup.listener.js +78 -0
  112. package/server/src/lib/setup/subscription-tenant-setup.listener.js.map +1 -0
  113. package/server/src/lib/setup/tenant-setup.command.d.ts +8 -0
  114. package/server/src/lib/setup/tenant-setup.command.js +34 -0
  115. package/server/src/lib/setup/tenant-setup.command.js.map +1 -0
  116. package/server/src/lib/setup/tenant-setup.seed-provider.d.ts +16 -0
  117. package/server/src/lib/setup/tenant-setup.seed-provider.js +59 -0
  118. package/server/src/lib/setup/tenant-setup.seed-provider.js.map +1 -0
  119. package/server/src/lib/setup/tenant-setup.service.d.ts +12 -0
  120. package/server/src/lib/setup/tenant-setup.service.js +146 -0
  121. package/server/src/lib/setup/tenant-setup.service.js.map +1 -0
  122. package/server/src/lib/setup/tenant-subscription-modules.resolver.d.ts +20 -0
  123. package/server/src/lib/setup/tenant-subscription-modules.resolver.js +130 -0
  124. package/server/src/lib/setup/tenant-subscription-modules.resolver.js.map +1 -0
  125. package/src/index.d.ts +0 -5
  126. package/src/index.js +0 -13
  127. package/src/index.js.map +0 -1
  128. package/src/lib/application-management-server.module.d.ts +0 -2
  129. package/src/lib/application-management-server.module.js +0 -32
  130. package/src/lib/application-management-server.module.js.map +0 -1
  131. package/src/lib/handlers/application-report.handlers.d.ts +0 -14
  132. package/src/lib/handlers/application-report.handlers.js +0 -40
  133. package/src/lib/handlers/application-report.handlers.js.map +0 -1
  134. package/src/lib/queries/application-query.helpers.js.map +0 -1
  135. package/src/lib/queries/get-application-versions-chart-data.query.js.map +0 -1
  136. package/src/lib/queries/get-application-versions-timeline.query.js.map +0 -1
  137. package/src/lib/reports/application-report-definition.provider.js.map +0 -1
  138. package/src/lib/reports/application-report.definitions.js.map +0 -1
  139. package/src/lib/seed/app-term/app-term.mock.data.d.ts +0 -2
  140. package/src/lib/seed/app-term/app-term.mock.data.js +0 -296
  141. package/src/lib/seed/app-term/app-term.mock.data.js.map +0 -1
  142. package/src/lib/seed/app-term/app-term.seed.d.ts +0 -5
  143. package/src/lib/seed/app-term/app-term.seed.js +0 -31
  144. package/src/lib/seed/app-term/app-term.seed.js.map +0 -1
  145. package/src/lib/seed/app-term/index.d.ts +0 -2
  146. package/src/lib/seed/app-term/index.js +0 -6
  147. package/src/lib/seed/app-version/app-version.mock.data.d.ts +0 -8
  148. package/src/lib/seed/app-version/app-version.mock.data.js +0 -105
  149. package/src/lib/seed/app-version/app-version.mock.data.js.map +0 -1
  150. package/src/lib/seed/app-version/app-version.seed.d.ts +0 -6
  151. package/src/lib/seed/app-version/app-version.seed.js +0 -34
  152. package/src/lib/seed/app-version/app-version.seed.js.map +0 -1
  153. package/src/lib/seed/app-version/index.d.ts +0 -2
  154. package/src/lib/seed/app-version/index.js +0 -6
  155. package/src/lib/seed/app-version/index.js.map +0 -1
  156. package/src/lib/seed/application/application.mock.d.ts +0 -2
  157. package/src/lib/seed/application/application.mock.js +0 -27
  158. package/src/lib/seed/application/application.mock.js.map +0 -1
  159. package/src/lib/seed/application/application.seed.d.ts +0 -5
  160. package/src/lib/seed/application/application.seed.js +0 -31
  161. package/src/lib/seed/application/application.seed.js.map +0 -1
  162. package/src/lib/seed/application/demo-application-logo-url.util.d.ts +0 -1
  163. package/src/lib/seed/application/demo-application-logo-url.util.js +0 -20
  164. package/src/lib/seed/application/demo-application-logo-url.util.js.map +0 -1
  165. package/src/lib/seed/application/index.d.ts +0 -2
  166. package/src/lib/seed/application/index.js +0 -6
  167. package/src/lib/seed/application/index.js.map +0 -1
  168. package/src/lib/seed/application-category/application-category.mock.d.ts +0 -16
  169. package/src/lib/seed/application-category/application-category.mock.js +0 -78
  170. package/src/lib/seed/application-category/application-category.mock.js.map +0 -1
  171. package/src/lib/seed/application-category/application-category.seed.d.ts +0 -6
  172. package/src/lib/seed/application-category/application-category.seed.js +0 -32
  173. package/src/lib/seed/application-category/application-category.seed.js.map +0 -1
  174. package/src/lib/seed/application-category/index.d.ts +0 -2
  175. package/src/lib/seed/application-category/index.js +0 -6
  176. package/src/lib/seed/application-category/index.js.map +0 -1
  177. package/src/lib/seed/application-management-jql.seed-catalog.d.ts +0 -3
  178. package/src/lib/seed/application-management-jql.seed-catalog.js +0 -22
  179. package/src/lib/seed/application-management-jql.seed-catalog.js.map +0 -1
  180. package/src/lib/seed/application-management-seed.provider.d.ts +0 -4
  181. package/src/lib/seed/application-management-seed.provider.js +0 -18
  182. package/src/lib/seed/application-management-seed.provider.js.map +0 -1
  183. package/src/lib/seed/application-management-seed.tokens.d.ts +0 -1
  184. package/src/lib/seed/application-management-seed.tokens.js +0 -7
  185. package/src/lib/seed/application-management-seed.tokens.js.map +0 -1
  186. package/src/lib/seed/application-management.seed-catalog.d.ts +0 -2
  187. package/src/lib/seed/application-management.seed-catalog.js +0 -21
  188. package/src/lib/seed/application-management.seed-catalog.js.map +0 -1
  189. package/src/lib/seed/application-tree-feature-keys.constants.d.ts +0 -40
  190. package/src/lib/seed/application-tree-feature-keys.constants.js +0 -56
  191. package/src/lib/seed/application-tree-feature-keys.constants.js.map +0 -1
  192. package/src/lib/seed/application-tree.data.d.ts +0 -56
  193. package/src/lib/seed/application-tree.data.js +0 -212
  194. package/src/lib/seed/application-tree.data.js.map +0 -1
  195. package/src/lib/seed/edition/edition.mock.d.ts +0 -10
  196. package/src/lib/seed/edition/edition.mock.js +0 -50
  197. package/src/lib/seed/edition/edition.mock.js.map +0 -1
  198. package/src/lib/seed/edition/edition.seed.d.ts +0 -6
  199. package/src/lib/seed/edition/edition.seed.js +0 -32
  200. package/src/lib/seed/edition/edition.seed.js.map +0 -1
  201. package/src/lib/seed/edition/index.d.ts +0 -2
  202. package/src/lib/seed/edition/index.js +0 -6
  203. package/src/lib/seed/edition/index.js.map +0 -1
  204. package/src/lib/seed/index.d.ts +0 -26
  205. package/src/lib/seed/index.js +0 -28
  206. package/src/lib/seed/index.js.map +0 -1
  207. package/src/lib/seed/reports/index.d.ts +0 -1
  208. package/src/lib/seed/reports/index.js +0 -5
  209. package/src/lib/seed/reports/report.mock.d.ts +0 -9
  210. package/src/lib/seed/reports/report.mock.js +0 -306
  211. package/src/lib/seed/reports/report.mock.js.map +0 -1
  212. /package/{src → server/src}/lib/queries/application-query.helpers.d.ts +0 -0
  213. /package/{src → server/src}/lib/queries/get-application-versions-chart-data.query.d.ts +0 -0
  214. /package/{src → server/src}/lib/queries/get-application-versions-timeline.query.d.ts +0 -0
  215. /package/{src → server/src}/lib/reports/application-report-definition.provider.d.ts +0 -0
  216. /package/{src → server/src}/lib/reports/application-report-definition.provider.js +0 -0
  217. /package/{src → server/src}/lib/reports/application-report.definitions.d.ts +0 -0
@@ -1,40 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetApplicationVersionsChartDataQueryHandler = exports.GetApplicationVersionsTimelineQueryHandler = void 0;
4
- const tslib_1 = require("tslib");
5
- const common_1 = require("@nestjs/common");
6
- const core_1 = require("@acorex-platform/framework-server/core");
7
- const report_1 = require("@acorex-platform/framework-server/report");
8
- const get_application_versions_chart_data_query_1 = require("../queries/get-application-versions-chart-data.query");
9
- const get_application_versions_timeline_query_1 = require("../queries/get-application-versions-timeline.query");
10
- let GetApplicationVersionsTimelineQueryHandler = class GetApplicationVersionsTimelineQueryHandler {
11
- constructor(storage) {
12
- this.storage = storage;
13
- this.name = 'getApplicationVersionsTimeline';
14
- }
15
- run(input) {
16
- return (0, get_application_versions_timeline_query_1.runGetApplicationVersionsTimelineQuery)(this.storage, input);
17
- }
18
- };
19
- exports.GetApplicationVersionsTimelineQueryHandler = GetApplicationVersionsTimelineQueryHandler;
20
- exports.GetApplicationVersionsTimelineQueryHandler = GetApplicationVersionsTimelineQueryHandler = tslib_1.__decorate([
21
- (0, common_1.Injectable)(),
22
- (0, report_1.ReportQuery)(),
23
- tslib_1.__metadata("design:paramtypes", [core_1.EntityStorageMiddlewareService])
24
- ], GetApplicationVersionsTimelineQueryHandler);
25
- let GetApplicationVersionsChartDataQueryHandler = class GetApplicationVersionsChartDataQueryHandler {
26
- constructor(storage) {
27
- this.storage = storage;
28
- this.name = 'getApplicationVersionsChartData';
29
- }
30
- run(input) {
31
- return (0, get_application_versions_chart_data_query_1.runGetApplicationVersionsChartDataQuery)(this.storage, input);
32
- }
33
- };
34
- exports.GetApplicationVersionsChartDataQueryHandler = GetApplicationVersionsChartDataQueryHandler;
35
- exports.GetApplicationVersionsChartDataQueryHandler = GetApplicationVersionsChartDataQueryHandler = tslib_1.__decorate([
36
- (0, common_1.Injectable)(),
37
- (0, report_1.ReportQuery)(),
38
- tslib_1.__metadata("design:paramtypes", [core_1.EntityStorageMiddlewareService])
39
- ], GetApplicationVersionsChartDataQueryHandler);
40
- //# sourceMappingURL=application-report.handlers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"application-report.handlers.js","sourceRoot":"","sources":["../../../../../../libs/modules/application-management/server/src/lib/handlers/application-report.handlers.ts"],"names":[],"mappings":";;;;AAAA,2CAA4C;AAC5C,iEAAwF;AACxF,qEAKkD;AAClD,oHAA+G;AAC/G,gHAA4G;AAIrG,IAAM,0CAA0C,GAAhD,MAAM,0CAA0C;IAErD,YAA6B,OAAuC;QAAvC,YAAO,GAAP,OAAO,CAAgC;QAD3D,SAAI,GAAG,gCAAgC,CAAC;IACsB,CAAC;IACxE,GAAG,CAAC,KAAuB;QACzB,OAAO,IAAA,gFAAsC,EAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACrE,CAAC;CACF,CAAA;AANY,gGAA0C;qDAA1C,0CAA0C;IAFtD,IAAA,mBAAU,GAAE;IACZ,IAAA,oBAAW,GAAE;6CAG0B,qCAA8B;GAFzD,0CAA0C,CAMtD;AAIM,IAAM,2CAA2C,GAAjD,MAAM,2CAA2C;IAEtD,YAA6B,OAAuC;QAAvC,YAAO,GAAP,OAAO,CAAgC;QAD3D,SAAI,GAAG,iCAAiC,CAAC;IACqB,CAAC;IACxE,GAAG,CAAC,KAAuB;QACzB,OAAO,IAAA,mFAAuC,EAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACF,CAAA;AANY,kGAA2C;sDAA3C,2CAA2C;IAFvD,IAAA,mBAAU,GAAE;IACZ,IAAA,oBAAW,GAAE;6CAG0B,qCAA8B;GAFzD,2CAA2C,CAMvD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"application-query.helpers.js","sourceRoot":"","sources":["../../../../../../libs/modules/application-management/server/src/lib/queries/application-query.helpers.ts"],"names":[],"mappings":";;;AAMA,wEAgBC;AAED,4DAUC;AAED,oEAsBC;AAxDY,QAAA,kBAAkB,GAAG,kCAAkC,CAAC;AAErE,sDAAsD;AAEtD,SAAgB,8BAA8B,CAC5C,QAAmC,EACnC,SAA4C;IAE5C,IAAI,CAAC,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK,CAAA,IAAI,CAAC,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,GAAG,CAAA,EAAE,CAAC;QACzC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACxC,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;IAElC,OAAO,QAAQ,CAAC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K,EAAE,CAAC;YACrD,MAAM,GAAG,wBAAwB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAClE,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,YAAY"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-application-versions-chart-data.query.js","sourceRoot":"","sources":["../../../../../../libs/modules/application-management/server/src/lib/queries/get-application-versions-chart-data.query.ts"],"names":[],"mappings":";;AASA,0FAqDC;;AA5DD,2EAGqC;AAErC,sEAAsE;AAEtE,SAAsB,uCAAuC,CAC3D,OAAuC,EACvC,KAAuB;;;QAEvB,MAAM,SAAS,GAAG,KAAK,CAAC,OAA8C,CAAC;QACvE,MAAM,aAAa,GAAG,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,CAAC;QAEzC,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,8CAAkB,EAAE;YAChE,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,KAAK;YACX,MAAM,EACJ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC;gBACvE,CAAC,CAAC,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,KAAK,mCAAI,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE;gBACzD,CAAC,CAAC,SAAS;SAChB,CAAC,CAAC;QAEH,IAAI,WAAW,GAAG,CAAC,MAAA,iBAAiB,CAAC,KAAK,mCAAI,EAAE,CAA8B,CAAC;QAC/E,WAAW,GAAG,IAAA,wDAA4B,EAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QAE/D,MAAM,WAAW,GAAG,IAAI,GAAG,EAAqC,CAAC;QAEjE,KAAK,MAAM,OAAO,IAAI,WAAW,EAAE,CAAC;YAClC,MAAM,WAAW,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC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CAAC,IAAK,EAAE,EAAE,CAAC;gBACzB,OAAO,EAAE,WAAW;gBACpB,YAAY,EAAE,QAAQ,CAAC,MAAM;aAC9B,CAAC,CAAC;QACL,CAAC;QAED,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAElH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,CAAC;CAAA;AAED,YAAY"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-application-versions-timeline.query.js","sourceRoot":"","sources":["../../../../../../libs/modules/application-management/server/src/lib/queries/get-application-versions-timeline.query.ts"],"names":[],"mappings":";;AASA,wFAgEC;;AAvED,2EAGqC;AAErC,oEAAoE;AAEpE,SAAsB,sCAAsC,CAC1D,OAAuC,EACvC,KAAuB;;;QAEvB,MAAM,SAAS,GAAG,KAAK,CAAC,OAA8C,CAAC;QACvE,MAAM,aAAa,GAAG,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,CAAC;QAEzC,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,8CAAkB,EAAE;YAChE,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,KAAK;YACX,MAAM,EACJ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC;gBACvE,CAAC,CAAC,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,KAAK,mCAAI,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE;gBACzD,CAAC,CAAC,SAAS;SAChB,CAAC,CAAC;QAEH,IAAI,WAAW,GAAG,CA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,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC;YAC/C,MAAM,SAAS,GAAG,GAAG,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;YAC9D,MAAM,gBAAgB,GAAG,MAAA,MAAA,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,0CAAE,MAAM,mCAAI,CAAC,CAAC;YAElE,eAAe,CAAC,IAAI,CAAC;gBACnB,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC;gBACvC,WAAW,EAAE,OAAO,CAAC,aAAa,CAAC;gBACnC,cAAc,EAAE,WAAW;gBAC3B,IAAI;gBACJ,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,KAAK;gBAClB,OAAO,EAAE,WAAW;gBACpB,YAAY,EAAE,gBAAgB;aAC/B,CAAC,CAAC;QACL,CAAC;QAED,eAAe,CAAC,IAAI,CAClB,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAE,CAAC,CAAC,gBAAgB,CAAU,CAAC,OAAO,EAAE,GAAI,CAAC,CAAC,gBAAgB,CAAU,CAAC,OAAO,EAAE,CAC5F,CAAC;QAEF,MAAM,IAAI,GAAG,MAAA,KAAK,CAAC,IAAI,mCAAI,CAAC,CAAC;QAC7B,MAAM,IAAI,GAAG,MAAA,KAAK,CAAC,IAAI,mCAAI,EAAE,CAAC;QAE9B,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,EAAE,KAAK,EAAE,eAAe,CAAC,MAAM,EAAE,CAAC;IAC5F,CAAC;CAAA;AAED,YAAY"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"application-report-definition.provider.js","sourceRoot":"","sources":["../../../../../../libs/modules/application-management/server/src/lib/reports/application-report-definition.provider.ts"],"names":[],"mappings":";;;;AAAA,2CAA4C;AAC5C,qEAIkD;AAClD,qFAAkF;AAI3E,IAAM,mCAAmC,GAAzC,MAAM,mCAAmC;IAC9C,cAAc;QACZ,OAAO,+DAA8B,CAAC;IACxC,CAAC;CACF,CAAA;AAJY,kFAAmC;8CAAnC,mCAAmC;IAF/C,IAAA,mBAAU,GAAE;IACZ,IAAA,iCAAwB,GAAE;GACd,mCAAmC,CAI/C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"application-report.definitions.js","sourceRoot":"","sources":["../../../../../../libs/modules/application-management/server/src/lib/reports/application-report.definitions.ts"],"names":[],"mappings":";;;AAEA,8EAA8E;AACjE,QAAA,8BAA8B,GAAG,sCAAsC,CAAC;AAExE,QAAA,+BAA+B,GAAG,sCAAsC,CAAC;AACzE,QAAA,4BAA4B,GAAG,sCAAsC,CAAC;AACtE,QAAA,2BAA2B,GAAG,sCAAsC,CAAC;AACrE,QAAA,0BAA0B,GAAG,sCAAsC,CAAC;AAEjF,MAAM,+BAA+B,GAAG;IACtC,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,qCAAqC;IAClD,UAAU,EAAE;QACV;YACE,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,uCAAuC;YACpD,MAAM,EAAE;gBACN,IAAI,EAAE,kBAAkB;gBACxB,OAAO,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE;aACnD;SACF;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,gBAAgB;YACvB,WAAW,EAAE,wCAAwC;YACrD,MAAM,EAAE;gBACN,IAAI,EAAE,aAAa;gBACnB,OAAO,EAAE,EAAE,WAAW,EAAE,sBAAsB,EAAE;aACjD;SACF;KAAC;CACL,CAAC;AAEF,MAAM,WAAW,GAAG;IAClB,gBAAgB,EAAE,sBAAsB;IACxC,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,E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AgC,EAClD,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,EACvD,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,GACvB;aACF;YACD;gBACE,EAAE,EAAE,mCAA2B;gBAC/B,KAAK,EAAE,iBAAiB;gBACxB,IAAI,EAAE,wBAAwB;gBAC9B,MAAM,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,OAAO,EAAE;wBACP,SAAS,EAAE,MAAM;wBACjB,WAAW,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE;qBAChE;iBACF;gBACD,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iCAAiC,EAAE;aACvE;YACD;gBACE,EAAE,EAAE,kCAA0B;gBAC9B,KAAK,EAAE,gBAAgB;gBACvB,IAAI,EAAE,uBAAuB;gBAC7B,MAAM,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,OAAO,EAAE;wBACP,SAAS,EAAE,KAAK;wBAChB,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE;qBAC1D;iBACF;gBACD,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iCAAiC,EAAE;aACvE;SAAC;QACJ,eAAe,EAAE,oCAA4B;KAC9C;CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { AXMAppTermEntityModel } from '@acorex-platform/module-application-management-server/contracts';
2
- export declare const APP_TERMS: AXMAppTermEntityModel[];
@@ -1,296 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.APP_TERMS = void 0;
4
- const seed_1 = require("@acorex-platform/module-common-server/seed");
5
- const application_mock_1 = require("../application/application.mock");
6
- const titles = [
7
- 'Workplace Health & Safety Management Platform Terms',
8
- 'Occupational Health & Safety Software Agreement',
9
- 'HR & Safety Compliance Platform Terms',
10
- 'Environmental Health & Safety System Terms',
11
- 'Workplace Safety & Compliance Platform Agreement',
12
- ];
13
- const contents = [
14
- `<b>Workplace Health & Safety Management Platform Terms of Service</b>
15
-
16
- Welcome to <b>Safetyminder</b> ("we," "our," or "us"). By accessing and using our Workplace Health & Safety Management Platform (the "Service"), you agree to abide by these Terms and Conditions. If you do not agree, please refrain from using the Service.
17
-
18
- <b>1. Service Description</b>
19
- Safetyminder provides a comprehensive workplace health and safety management platform designed to help organizations comply with WHS regulations, manage incident reporting, conduct risk assessments, and maintain safety documentation.
20
-
21
- <b>2. User Responsibilities</b>
22
- • You must provide accurate and complete information for account registration
23
- • You are responsible for maintaining the confidentiality of your login credentials
24
- • You must notify us immediately of any unauthorized access to your account
25
- • You agree to use the Service in compliance with all applicable workplace health and safety laws and regulations
26
-
27
- <b>3. Data Security & Privacy</b>
28
- • We implement industry-standard security measures to protect your data
29
- • All safety incident reports and health records are encrypted and stored securely
30
- • We comply with relevant data protection regulations including GDPR and local privacy laws
31
- • You retain ownership of all data you upload to the Service
32
-
33
- <b>4. Compliance & Reporting</b>
34
- • The Service assists with WHS compliance but does not guarantee regulatory compliance
35
- • You remain responsible for ensuring your organization meets all applicable safety regulations
36
- • We provide reporting tools but you are responsible for the accuracy of data entered
37
- • Regular backups are performed but you should maintain your own records
38
-
39
- <b>5. Service Availability</b>
40
- • We strive for 99.9% uptime but cannot guarantee uninterrupted service
41
- • Scheduled maintenance will be communicated in advance
42
- • Emergency maintenance may be required for security updates
43
- • We are not liable for any losses due to service interruptions
44
-
45
- <b>6. Termination</b>
46
- • You may terminate your account at any time
47
- • We may terminate accounts for violations of these terms
48
- • Upon termination, you may export your data within 30 days
49
- • After 30 days, data may be permanently deleted
50
-
51
- By using Safetyminder, you acknowledge that you have read, understood, and agreed to these Terms and Conditions.`,
52
- `<b>Occupational Health & Safety Software Agreement</b>
53
-
54
- This agreement governs your use of <b>Safetyminder</b> ("the Software"), a comprehensive occupational health and safety management system designed to help organizations maintain safe working environments and comply with OHS regulations.
55
-
56
- <b>1. Software License</b>
57
- • We grant you a non-exclusive, non-transferable license to use the Software
58
- • The license is valid for the duration of your subscription
59
- • You may not reverse engineer, modify, or distribute the Software
60
- • Access is limited to authorized users within your organization
61
-
62
- <b>2. OHS Compliance Features</b>
63
- • Incident reporting and investigation tools
64
- • Risk assessment and hazard identification modules
65
- • Safety training management and tracking
66
- • Compliance reporting and audit trails
67
- • Personal protective equipment (PPE) tracking
68
- • Health monitoring and medical surveillance tools
69
-
70
- <b>3. Data Management</b>
71
- • All OHS data is stored securely in compliance with industry standards
72
- • Regular automated backups are performed
73
- • You maintain ownership of all safety data and records
74
- • We provide data export capabilities for compliance purposes
75
- • Historical data is retained according to regulatory requirements
76
-
77
- <b>4. User Training & Support</b>
78
- • We provide initial training for system administrators
79
- • Online documentation and video tutorials are available
80
- • Technical support is available during business hours
81
- • Custom training sessions can be arranged for additional fees
82
- • User guides and best practices are regularly updated
83
-
84
- <b>5. Regulatory Compliance</b>
85
- • The Software is designed to support compliance with OHS regulations
86
- • We regularly update features to reflect regulatory changes
87
- • You remain responsible for ensuring compliance with local regulations
88
- • We provide compliance guidance but do not guarantee regulatory compliance
89
- • Regular compliance audits and reporting tools are included
90
-
91
- <b>6. Liability & Indemnification</b>
92
- • We are not liable for any safety incidents or compliance failures
93
- • You indemnify us against claims arising from your use of the Software
94
- • Our liability is limited to the amount paid for the Software
95
- • We do not provide legal or professional safety advice
96
-
97
- By using Safetyminder, you acknowledge that you have read, understood, and agreed to this Software Agreement.`,
98
- `<b>HR & Safety Compliance Platform Terms</b>
99
-
100
- Welcome to <b>Safetyminder</b> ("we," "our," or "us"). This platform integrates human resources management with workplace safety compliance to provide a comprehensive solution for modern organizations.
101
-
102
- <b>1. Platform Overview</b>
103
- Safetyminder combines HR management tools with safety compliance features, including:
104
- • Employee onboarding and safety training tracking
105
- • Incident reporting and investigation management
106
- • Safety policy distribution and acknowledgment
107
- • Compliance reporting and regulatory updates
108
- • Employee health monitoring and medical records
109
- • Safety performance metrics and analytics
110
-
111
- <b>2. Account Management</b>
112
- • Each organization must designate an administrator
113
- • Administrators can manage user access and permissions
114
- • Employee accounts are created through the HR module
115
- • Access levels are determined by role and responsibility
116
- • All user activities are logged for audit purposes
117
-
118
- <b>3. Data Protection & Privacy</b>
119
- • We comply with all applicable data protection regulations
120
- • Employee personal information is handled according to privacy laws
121
- • Health and safety records are stored securely and confidentially
122
- • Data retention policies comply with regulatory requirements
123
- • Regular security audits are conducted
124
-
125
- <b>4. Training & Certification</b>
126
- • Safety training modules are available for various industries
127
- • Training completion is tracked and reported
128
- • Certification tracking for safety qualifications
129
- • Automated reminders for required training updates
130
- • Integration with external training providers
131
-
132
- <b>5. Incident Management</b>
133
- • Comprehensive incident reporting and investigation tools
134
- • Root cause analysis and corrective action tracking
135
- • Regulatory reporting and notification systems
136
- • Incident trend analysis and prevention strategies
137
- • Integration with workers' compensation systems
138
-
139
- <b>6. Compliance Monitoring</b>
140
- • Real-time compliance status monitoring
141
- • Automated regulatory update notifications
142
- • Custom compliance checklists and audits
143
- • Performance metrics and benchmarking
144
- • Regulatory change impact assessments
145
-
146
- <b>7. Support & Maintenance</b>
147
- • 24/7 technical support for critical issues
148
- • Regular system updates and feature enhancements
149
- • Custom development services available
150
- • Training and consultation services
151
- • Integration with existing HR and safety systems
152
-
153
- By using Safetyminder, you acknowledge that you have read, understood, and agreed to these Terms and Conditions.`,
154
- `<b>Environmental Health & Safety System Terms</b>
155
-
156
- This agreement governs your use of <b>Safetyminder</b> ("the System"), a comprehensive environmental, health, and safety management platform designed to help organizations manage EHS risks and ensure regulatory compliance.
157
-
158
- <b>1. System Capabilities</b>
159
- Safetyminder provides integrated management of:
160
- • Environmental monitoring and compliance
161
- • Occupational health and safety management
162
- • Chemical safety and hazardous materials tracking
163
- • Waste management and disposal tracking
164
- • Air quality monitoring and reporting
165
- • Water quality and discharge monitoring
166
- • Energy efficiency and sustainability tracking
167
-
168
- <b>2. Environmental Compliance</b>
169
- • Environmental permit tracking and renewal management
170
- • Emissions monitoring and reporting tools
171
- • Waste generation and disposal tracking
172
- • Environmental impact assessment tools
173
- • Sustainability metrics and reporting
174
- • Regulatory compliance monitoring and alerts
175
-
176
- <b>3. Health & Safety Management</b>
177
- • Occupational health monitoring and medical surveillance
178
- • Personal protective equipment (PPE) management
179
- • Chemical exposure monitoring and control
180
- • Ergonomics assessment and improvement tools
181
- • Industrial hygiene monitoring and sampling
182
- • Health risk assessment and management
183
-
184
- <b>4. Data Integration & Reporting</b>
185
- • Integration with environmental monitoring equipment
186
- • Real-time data collection and analysis
187
- • Automated regulatory reporting capabilities
188
- • Custom dashboard and reporting tools
189
- • Historical data analysis and trend identification
190
- • Third-party system integration capabilities
191
-
192
- <b>5. Risk Management</b>
193
- • Comprehensive risk assessment tools
194
- • Hazard identification and control measures
195
- • Emergency response planning and management
196
- • Business continuity planning support
197
- • Insurance and liability management tools
198
- • Risk communication and stakeholder engagement
199
-
200
- <b>6. Regulatory Updates</b>
201
- • Automated regulatory change notifications
202
- • Impact assessment for regulatory changes
203
- • Compliance gap analysis tools
204
- • Regulatory interpretation guidance
205
- • Best practice recommendations and updates
206
-
207
- <b>7. Training & Certification</b>
208
- • EHS training program management
209
- • Certification tracking and renewal reminders
210
- • Competency assessment tools
211
- • Training effectiveness evaluation
212
- • Continuing education tracking
213
-
214
- By using Safetyminder, you acknowledge that you have read, understood, and agreed to these System Terms.`,
215
- `<b>Workplace Safety & Compliance Platform Agreement</b>
216
-
217
- Welcome to <b>Safetyminder</b> ("we," "our," or "us"). This comprehensive workplace safety and compliance platform is designed to help organizations create safer work environments and maintain regulatory compliance across all aspects of workplace safety.
218
-
219
- <b>1. Platform Features</b>
220
- Safetyminder provides integrated tools for:
221
- • Safety incident reporting and investigation
222
- • Risk assessment and hazard identification
223
- • Safety training and competency management
224
- • Compliance monitoring and reporting
225
- • Safety performance analytics and benchmarking
226
- • Emergency response planning and management
227
- • Safety culture assessment and improvement
228
-
229
- <b>2. Safety Management Tools</b>
230
- • Incident reporting with photo and video attachments
231
- • Investigation workflow with root cause analysis
232
- • Corrective action tracking and verification
233
- • Safety observation and near-miss reporting
234
- • Safety meeting management and documentation
235
- • Safety committee coordination tools
236
- • Safety suggestion and improvement tracking
237
-
238
- <b>3. Risk Assessment & Control</b>
239
- • Comprehensive risk assessment templates
240
- • Hazard identification and control measures
241
- • Job safety analysis (JSA) tools
242
- • Permit-to-work system management
243
- • Lockout/tagout procedure tracking
244
- • Confined space entry management
245
- • Hot work permit system
246
-
247
- <b>4. Training & Competency</b>
248
- • Safety training program development and delivery
249
- • Competency assessment and certification tracking
250
- • Training effectiveness evaluation
251
- • Refresher training scheduling and reminders
252
- • Training material management and updates
253
- • Competency matrix development and maintenance
254
-
255
- <b>5. Compliance & Reporting</b>
256
- • Regulatory compliance monitoring and reporting
257
- • Safety performance metrics and KPIs
258
- • Audit preparation and management tools
259
- • Regulatory update notifications and impact assessment
260
- • Compliance gap analysis and remediation planning
261
- • Industry benchmarking and best practice sharing
262
-
263
- <b>6. Emergency Management</b>
264
- • Emergency response plan development and maintenance
265
- • Emergency contact management and communication
266
- • Evacuation planning and drill management
267
- • Emergency equipment and resource tracking
268
- • Business continuity planning support
269
- • Crisis communication and stakeholder management
270
-
271
- <b>7. Analytics & Performance</b>
272
- • Safety performance analytics and reporting
273
- • Leading and lagging indicator tracking
274
- • Trend analysis and predictive modeling
275
- • Benchmarking against industry standards
276
- • Safety culture assessment and improvement
277
- • Return on investment (ROI) analysis
278
-
279
- By using Safetyminder, you acknowledge that you have read, understood, and agreed to this Platform Agreement.`
280
- ];
281
- exports.APP_TERMS = Array.from({ length: 5 }).map((element, i) => {
282
- const publishDate = new Date();
283
- publishDate.setDate(publishDate.getDate() - i * 7); // Subtract i weeks from the current date
284
- const application = application_mock_1.APPLICATIONS[i % application_mock_1.APPLICATIONS.length];
285
- return {
286
- id: seed_1.AXPDataGenerator.uuid(),
287
- applicationId: application.id,
288
- title: titles[i],
289
- content: contents[i],
290
- effectiveDate: publishDate.toString(),
291
- notifyUser: true,
292
- type: 'term',
293
- version: 1,
294
- };
295
- });
296
- //# sourceMappingURL=app-term.mock.data.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-term.mock.data.js","sourceRoot":"","sources":["../../../../../../../libs/modules/application-management/server/src/lib/seed/app-term/app-term.mock.data.ts"],"names":[],"mappings":";;;AAAA,qEAA6E;AAG7E,sEAA+D;AAE/D,MAAM,MAAM,GAAa;IACvB,qDAAqD;IACrD,iDAAiD;IACjD,uCAAuC;IACvC,4CAA4C;IAC5C,kDAAkD;CACnD,CAAC;AAEF,MAAM,QAAQ,GAAa;IACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iHAqC+G;IAE/G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8GA6C4G;IAE5G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iHAuD+G;IAE/G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGA4DuG;IAEvG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8GAgE4G;CAC7G,CAAC;AAEW,QAAA,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAwB,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE;IAC3F,MAAM,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;IAC/B,WAAW,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,yCAAyC;IAC7F,MAAM,WAAW,GAAG,+BAAY,CAAC,CAAC,GAAG,+BAAY,CAAC,MAAM,CAAC,CAAC;IAE1D,OAAO;QACL,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,aAAa,EAAE,WAAW,CAAC,EAAE;QAC7B,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;QAChB,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;QACpB,aAAa,EAAE,WAAW,CAAC,QAAQ,EAAE;QACrC,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AXPDataSeeder, AXPEntitySeedDefinition, AXPEntitySeedStorage } from '@acorex-platform/module-common-server/seed';
2
- export declare const APP_TERM_ENTITY_NAME = "ApplicationManagement.AppTerm";
3
- export declare function seedAppTermData(storage: AXPEntitySeedStorage): Promise<void>;
4
- export declare function createAppTermDataSeeder(storage: AXPEntitySeedStorage): AXPDataSeeder;
5
- export declare const appTermSeedDefinition: AXPEntitySeedDefinition;
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.appTermSeedDefinition = exports.APP_TERM_ENTITY_NAME = void 0;
4
- exports.seedAppTermData = seedAppTermData;
5
- exports.createAppTermDataSeeder = createAppTermDataSeeder;
6
- const tslib_1 = require("tslib");
7
- const seed_1 = require("@acorex-platform/module-common-server/seed");
8
- const app_term_mock_data_1 = require("./app-term.mock.data");
9
- //#region ---- Constants ----
10
- exports.APP_TERM_ENTITY_NAME = 'ApplicationManagement.AppTerm';
11
- //#endregion
12
- //#region ---- Pure seed logic ----
13
- function seedAppTermData(storage) {
14
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
- yield storage.initial(exports.APP_TERM_ENTITY_NAME, app_term_mock_data_1.APP_TERMS);
16
- });
17
- }
18
- function createAppTermDataSeeder(storage) {
19
- return {
20
- name: 'AppTermDataSeeder',
21
- seed: () => seedAppTermData(storage),
22
- };
23
- }
24
- exports.appTermSeedDefinition = (0, seed_1.defineEntitySeed)({
25
- name: 'AppTermDataSeeder',
26
- entityName: exports.APP_TERM_ENTITY_NAME,
27
- rows: app_term_mock_data_1.APP_TERMS,
28
- seed: seedAppTermData,
29
- });
30
- //#endregion
31
- //# sourceMappingURL=app-term.seed.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-term.seed.js","sourceRoot":"","sources":["../../../../../../../libs/modules/application-management/server/src/lib/seed/app-term/app-term.seed.ts"],"names":[],"mappings":";;;AAWA,0CAEC;AAED,0DAKC;;AApBD,qEAA0I;AAC1I,6DAAiD;AAEjD,6BAA6B;AAEhB,QAAA,oBAAoB,GAAG,+BAA+B,CAAC;AAEpE,YAAY;AAEZ,mCAAmC;AAEnC,SAAsB,eAAe,CAAC,OAA6B;;QACjE,MAAM,OAAO,CAAC,OAAO,CAAC,4BAAoB,EAAE,8BAAS,CAAC,CAAC;IACzD,CAAC;CAAA;AAED,SAAgB,uBAAuB,CAAC,OAA6B;IACnE,OAAO;QACL,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC;KACrC,CAAC;AACJ,CAAC;AAEY,QAAA,qBAAqB,GAA4B,IAAA,uBAAgB,EAAC;IAC7E,IAAI,EAAE,mBAAmB;IACzB,UAAU,EAAE,4BAAoB;IAChC,IAAI,EAAE,8BAAS;IACf,IAAI,EAAE,eAAe;CACtB,CAAC,CAAC;AAEH,YAAY"}
@@ -1,2 +0,0 @@
1
- export * from './app-term.mock.data';
2
- export * from './app-term.seed';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./app-term.mock.data"), exports);
5
- tslib_1.__exportStar(require("./app-term.seed"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1,8 +0,0 @@
1
- import { AXMAppVersionEntityModel } from '@acorex-platform/module-application-management-server/contracts';
2
- interface AppVersionSeedInput {
3
- version: string;
4
- build: number;
5
- date: Date;
6
- }
7
- export declare function generateVersion(currentVersion: AppVersionSeedInput): AXMAppVersionEntityModel[];
8
- export {};
@@ -1,105 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateVersion = generateVersion;
4
- const seed_1 = require("@acorex-platform/module-common-server/seed");
5
- //#endregion
6
- const changeLogEntries = [
7
- 'Added new dashboard analytics widget with real-time data visualization and customizable charts.',
8
- 'Enhanced user authentication system with multi-factor authentication support.',
9
- 'Implemented advanced search functionality with filters and saved search queries.',
10
- 'Added bulk operations support for data management with batch actions.',
11
- 'Enhanced form builder with new widget types including rich text editor and file upload.',
12
- 'Added notification system with customizable alerts and push notifications.',
13
- 'Implemented data export functionality with multiple format support (PDF, Excel, CSV).',
14
- 'Enhanced user management with role-based permissions and activity tracking.',
15
- 'Added workflow automation with visual workflow designer.',
16
- 'Implemented advanced reporting with custom report builder and data visualization.'
17
- ];
18
- function generateVersion(currentVersion) {
19
- const versions = [];
20
- const currentVersionParts = currentVersion.version.split('.').map(Number);
21
- const major = currentVersionParts[0];
22
- const minor = currentVersionParts[1];
23
- const patch = currentVersionParts[2];
24
- // Generate versions for the last 12 months with balanced distribution
25
- const baseDate = new Date(currentVersion.date);
26
- const monthsToCover = 12; // Cover last 12 months
27
- // Create a balanced distribution: 2 versions per month on average
28
- // Some months will have 1, some will have 2, some will have 3 for natural variation
29
- const versionsPerMonth = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]; // Base: 2 per month
30
- // Add some variation: randomly add 1 more to some months
31
- for (let i = 0; i < 4; i++) {
32
- const randomMonth = seed_1.AXPDataGenerator.number(0, 11);
33
- versionsPerMonth[randomMonth]++;
34
- }
35
- let versionIndex = 0;
36
- let currentPatch = patch;
37
- let currentMinor = minor;
38
- // Generate versions month by month, going backwards from current date
39
- // monthOffset 0 = current month, monthOffset 11 = 11 months ago
40
- for (let monthOffset = 0; monthOffset < monthsToCover; monthOffset++) {
41
- const monthDate = new Date(baseDate);
42
- monthDate.setMonth(monthDate.getMonth() - monthOffset);
43
- // Get number of versions for this month (index from end: most recent month = index 0)
44
- const versionsThisMonth = versionsPerMonth[monthOffset];
45
- // Distribute versions across the month
46
- const daysInMonth = new Date(monthDate.getFullYear(), monthDate.getMonth() + 1, 0).getDate();
47
- for (let v = 0; v < versionsThisMonth; v++) {
48
- // Calculate version number
49
- currentPatch--;
50
- if (currentPatch < 0) {
51
- currentPatch = 9;
52
- currentMinor--;
53
- if (currentMinor < 0) {
54
- currentMinor = 0;
55
- currentPatch = 0;
56
- }
57
- }
58
- const versionNumber = `${major}.${currentMinor}.${currentPatch}`;
59
- // Distribute publish date across the month
60
- // First version early in month, subsequent versions spread out
61
- const dayInMonth = Math.floor((v + 1) * (daysInMonth / (versionsThisMonth + 1)));
62
- const publishDateObj = new Date(monthDate);
63
- publishDateObj.setDate(dayInMonth);
64
- // Add some randomness within a 3-day window
65
- const dayVariation = seed_1.AXPDataGenerator.number(-2, 2);
66
- publishDateObj.setDate(publishDateObj.getDate() + dayVariation);
67
- // Ensure date is within the month bounds
68
- if (publishDateObj.getDate() < 1)
69
- publishDateObj.setDate(1);
70
- if (publishDateObj.getDate() > daysInMonth)
71
- publishDateObj.setDate(daysInMonth);
72
- // Set time to a random time during the day
73
- publishDateObj.setHours(seed_1.AXPDataGenerator.number(9, 17));
74
- publishDateObj.setMinutes(seed_1.AXPDataGenerator.number(0, 59));
75
- // Generate random change log entries
76
- const count = seed_1.AXPDataGenerator.number(1, 5);
77
- const picked = seed_1.AXPDataGenerator.pick(changeLogEntries, count);
78
- const changeLog = Array.isArray(picked)
79
- ? `<ul>${picked.map(entry => `<li>${entry}</li>`).join('')}</ul>`
80
- : `<ul><li>${picked}</li></ul>`;
81
- versions.push({
82
- id: seed_1.AXPDataGenerator.uuid(),
83
- versionNumber: versionNumber,
84
- changeLog: changeLog,
85
- publishDate: publishDateObj.toISOString(),
86
- showFirstTimePopup: seed_1.AXPDataGenerator.boolean(),
87
- });
88
- versionIndex++;
89
- }
90
- }
91
- // Sort by version number (newest first)
92
- return versions.sort((a, b) => {
93
- const versionA = a.versionNumber.split('.').map(Number);
94
- const versionB = b.versionNumber.split('.').map(Number);
95
- // Compare major version
96
- if (versionA[0] !== versionB[0])
97
- return versionB[0] - versionA[0];
98
- // Compare minor version
99
- if (versionA[1] !== versionB[1])
100
- return versionB[1] - versionA[1];
101
- // Compare patch version
102
- return versionB[2] - versionA[2];
103
- });
104
- }
105
- //# sourceMappingURL=app-version.mock.data.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-version.mock.data.js","sourceRoot":"","sources":["../../../../../../../libs/modules/application-management/server/src/lib/seed/app-version/app-version.mock.data.ts"],"names":[],"mappings":";;AA0BA,0CAmGC;AA7HD,qEAA4E;AAW5E,YAAY;AAEZ,MAAM,gBAAgB,GAAa;IACjC,iGAAiG;IACjG,+EAA+E;IAC/E,kFAAkF;IAClF,uEAAuE;IACvE,yFAAyF;IACzF,4EAA4E;IAC5E,uFAAuF;IACvF,6EAA6E;IAC7E,0DAA0D;IAC1D,mFAAmF;CACpF,CAAC;AAEF,SAAgB,eAAe,CAAC,cAAmC;IACjE,MAAM,QAAQ,GAA+B,EAAE,CAAC;IAChD,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1E,MAAM,KAAK,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACrC,MAAM,KAAK,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACrC,MAAM,KAAK,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAErC,sEAAsE;IACtE,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,aAAa,GAAG,EAAE,CAAC,CAAC,uBAAuB;IAEjD,kEAAkE;IAClE,oFAAoF;IACpF,MAAM,gBAAgB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CA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AAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AXPDataSeeder, AXPEntitySeedDefinition, AXPEntitySeedStorage } from '@acorex-platform/module-common-server/seed';
2
- export declare const APP_VERSION_ENTITY_NAME = "ApplicationManagement.AppVersion";
3
- export declare const APP_VERSIONS: import("../../../../contracts/src").AXMAppVersionEntityModel[];
4
- export declare function seedAppVersionData(storage: AXPEntitySeedStorage): Promise<void>;
5
- export declare function createAppVersionDataSeeder(storage: AXPEntitySeedStorage): AXPDataSeeder;
6
- export declare const appVersionSeedDefinition: AXPEntitySeedDefinition;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.appVersionSeedDefinition = exports.APP_VERSIONS = exports.APP_VERSION_ENTITY_NAME = void 0;
4
- exports.seedAppVersionData = seedAppVersionData;
5
- exports.createAppVersionDataSeeder = createAppVersionDataSeeder;
6
- const tslib_1 = require("tslib");
7
- const seed_1 = require("@acorex-platform/module-common-server/seed");
8
- const app_version_mock_data_1 = require("./app-version.mock.data");
9
- //#region ---- Constants ----
10
- exports.APP_VERSION_ENTITY_NAME = 'ApplicationManagement.AppVersion';
11
- const DEFAULT_CURRENT_VERSION = { version: '1.0.0', build: 1, date: new Date() };
12
- exports.APP_VERSIONS = (0, app_version_mock_data_1.generateVersion)(DEFAULT_CURRENT_VERSION);
13
- //#endregion
14
- //#region ---- Pure seed logic ----
15
- function seedAppVersionData(storage) {
16
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
17
- const versions = (0, app_version_mock_data_1.generateVersion)(DEFAULT_CURRENT_VERSION);
18
- yield storage.initial(exports.APP_VERSION_ENTITY_NAME, versions);
19
- });
20
- }
21
- function createAppVersionDataSeeder(storage) {
22
- return {
23
- name: 'AppVersionDataSeeder',
24
- seed: () => seedAppVersionData(storage),
25
- };
26
- }
27
- exports.appVersionSeedDefinition = (0, seed_1.defineEntitySeed)({
28
- name: 'AppVersionDataSeeder',
29
- entityName: exports.APP_VERSION_ENTITY_NAME,
30
- rows: exports.APP_VERSIONS,
31
- seed: seedAppVersionData,
32
- });
33
- //#endregion
34
- //# sourceMappingURL=app-version.seed.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-version.seed.js","sourceRoot":"","sources":["../../../../../../../libs/modules/application-management/server/src/lib/seed/app-version/app-version.seed.ts"],"names":[],"mappings":";;;AAeA,gDAGC;AAED,gEAKC;;AAzBD,qEAA0I;AAC1I,mEAA0D;AAE1D,6BAA6B;AAEhB,QAAA,uBAAuB,GAAG,kCAAkC,CAAC;AAE1E,MAAM,uBAAuB,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,CAAC;AAEpE,QAAA,YAAY,GAAG,IAAA,uCAAe,EAAC,uBAAuB,CAAC,CAAC;AAErE,YAAY;AAEZ,mCAAmC;AAEnC,SAAsB,kBAAkB,CAAC,OAA6B;;QACpE,MAAM,QAAQ,GAAG,IAAA,uCAAe,EAAC,uBAAuB,CAAC,CAAC;QAC1D,MAAM,OAAO,CAAC,OAAO,CAAC,+BAAuB,EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC;CAAA;AAED,SAAgB,0BAA0B,CAAC,OAA6B;IACtE,OAAO;QACL,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC;KACxC,CAAC;AACJ,CAAC;AAEY,QAAA,wBAAwB,GAA4B,IAAA,uBAAgB,EAAC;IAChF,IAAI,EAAE,sBAAsB;IAC5B,UAAU,EAAE,+BAAuB;IACnC,IAAI,EAAE,oBAAY;IAClB,IAAI,EAAE,kBAAkB;CACzB,CAAC,CAAC;AAEH,YAAY"}
@@ -1,2 +0,0 @@
1
- export * from './app-version.mock.data';
2
- export * from './app-version.seed';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./app-version.mock.data"), exports);
5
- tslib_1.__exportStar(require("./app-version.seed"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/application-management/server/src/lib/seed/app-version/index.ts"],"names":[],"mappings":";;;AAAA,kEAAwC;AACxC,6DAAmC"}
@@ -1,2 +0,0 @@
1
- import { AXMApplicationManagementApplicationEntityModel } from '@acorex-platform/module-application-management-server/contracts';
2
- export declare const APPLICATIONS: AXMApplicationManagementApplicationEntityModel[];