@golemio/fypr 1.12.1-dev.2832960889 → 2.0.0-dev.2868130045

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 (271) hide show
  1. package/README.md +11 -0
  2. package/dist/helpers/errors/ErrorHelper.d.ts +2 -2
  3. package/dist/helpers/errors/ErrorHelper.js +4 -7
  4. package/dist/helpers/errors/ErrorHelper.js.map +1 -1
  5. package/dist/index.d.ts +3 -3
  6. package/dist/index.js +3 -39
  7. package/dist/index.js.map +1 -1
  8. package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.d.ts +2 -2
  9. package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.js +7 -10
  10. package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.js.map +1 -1
  11. package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.d.ts +3 -3
  12. package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.js +10 -13
  13. package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.js.map +1 -1
  14. package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.d.ts +3 -3
  15. package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.js +10 -13
  16. package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.js.map +1 -1
  17. package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.d.ts +3 -3
  18. package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.js +10 -13
  19. package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.js.map +1 -1
  20. package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.d.ts +3 -3
  21. package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.js +10 -13
  22. package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.js.map +1 -1
  23. package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.d.ts +3 -3
  24. package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.js +10 -13
  25. package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.js.map +1 -1
  26. package/dist/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.d.ts +3 -3
  27. package/dist/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.js +13 -15
  28. package/dist/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.js.map +1 -1
  29. package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.d.ts +3 -3
  30. package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.js +12 -15
  31. package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.js.map +1 -1
  32. package/dist/integration-engine/helpers/StrapiPaginationHelper.js +5 -8
  33. package/dist/integration-engine/helpers/StrapiPaginationHelper.js.map +1 -1
  34. package/dist/integration-engine/index.d.ts +1 -1
  35. package/dist/integration-engine/index.js +2 -5
  36. package/dist/integration-engine/index.js.map +1 -1
  37. package/dist/integration-engine/ioc/Di.d.ts +1 -1
  38. package/dist/integration-engine/ioc/Di.js +63 -66
  39. package/dist/integration-engine/ioc/Di.js.map +1 -1
  40. package/dist/integration-engine/ioc/FYPRIEContainerTokens.js +1 -4
  41. package/dist/integration-engine/ioc/FYPRIEContainerTokens.js.map +1 -1
  42. package/dist/integration-engine/repositories/AbstractFyprRepository.d.ts +7 -7
  43. package/dist/integration-engine/repositories/AbstractFyprRepository.js +11 -13
  44. package/dist/integration-engine/repositories/AbstractFyprRepository.js.map +1 -1
  45. package/dist/integration-engine/repositories/DeviceStatusRepository.d.ts +7 -7
  46. package/dist/integration-engine/repositories/DeviceStatusRepository.js +22 -23
  47. package/dist/integration-engine/repositories/DeviceStatusRepository.js.map +1 -1
  48. package/dist/integration-engine/repositories/DisplayCaseRepository.d.ts +8 -8
  49. package/dist/integration-engine/repositories/DisplayCaseRepository.js +17 -19
  50. package/dist/integration-engine/repositories/DisplayCaseRepository.js.map +1 -1
  51. package/dist/integration-engine/repositories/InformationPanelPresetsRepository.d.ts +6 -6
  52. package/dist/integration-engine/repositories/InformationPanelPresetsRepository.js +28 -28
  53. package/dist/integration-engine/repositories/InformationPanelPresetsRepository.js.map +1 -1
  54. package/dist/integration-engine/repositories/InformationPanelPresetsRoutesRepository.d.ts +6 -6
  55. package/dist/integration-engine/repositories/InformationPanelPresetsRoutesRepository.js +24 -24
  56. package/dist/integration-engine/repositories/InformationPanelPresetsRoutesRepository.js.map +1 -1
  57. package/dist/integration-engine/repositories/InformationPanelPresetsStopsRepository.d.ts +6 -6
  58. package/dist/integration-engine/repositories/InformationPanelPresetsStopsRepository.js +24 -24
  59. package/dist/integration-engine/repositories/InformationPanelPresetsStopsRepository.js.map +1 -1
  60. package/dist/integration-engine/repositories/InformationPanelRepository.d.ts +8 -8
  61. package/dist/integration-engine/repositories/InformationPanelRepository.js +17 -19
  62. package/dist/integration-engine/repositories/InformationPanelRepository.js.map +1 -1
  63. package/dist/integration-engine/repositories/ObeliskRepository.d.ts +8 -8
  64. package/dist/integration-engine/repositories/ObeliskRepository.js +17 -19
  65. package/dist/integration-engine/repositories/ObeliskRepository.js.map +1 -1
  66. package/dist/integration-engine/repositories/SignpostRepository.d.ts +8 -8
  67. package/dist/integration-engine/repositories/SignpostRepository.js +17 -19
  68. package/dist/integration-engine/repositories/SignpostRepository.js.map +1 -1
  69. package/dist/integration-engine/repositories/TotemRepository.d.ts +8 -8
  70. package/dist/integration-engine/repositories/TotemRepository.js +17 -19
  71. package/dist/integration-engine/repositories/TotemRepository.js.map +1 -1
  72. package/dist/integration-engine/transformations/AbstractElementTransformation.d.ts +3 -3
  73. package/dist/integration-engine/transformations/AbstractElementTransformation.js +2 -6
  74. package/dist/integration-engine/transformations/AbstractElementTransformation.js.map +1 -1
  75. package/dist/integration-engine/transformations/DisplayCasesTransformation.d.ts +3 -3
  76. package/dist/integration-engine/transformations/DisplayCasesTransformation.js +6 -9
  77. package/dist/integration-engine/transformations/DisplayCasesTransformation.js.map +1 -1
  78. package/dist/integration-engine/transformations/InformationPanelsTransformation.d.ts +3 -3
  79. package/dist/integration-engine/transformations/InformationPanelsTransformation.js +6 -9
  80. package/dist/integration-engine/transformations/InformationPanelsTransformation.js.map +1 -1
  81. package/dist/integration-engine/transformations/ObelisksTransformation.d.ts +3 -3
  82. package/dist/integration-engine/transformations/ObelisksTransformation.js +6 -9
  83. package/dist/integration-engine/transformations/ObelisksTransformation.js.map +1 -1
  84. package/dist/integration-engine/transformations/SignpostsTransformation.d.ts +3 -3
  85. package/dist/integration-engine/transformations/SignpostsTransformation.js +6 -9
  86. package/dist/integration-engine/transformations/SignpostsTransformation.js.map +1 -1
  87. package/dist/integration-engine/transformations/TotemsTransformation.d.ts +3 -3
  88. package/dist/integration-engine/transformations/TotemsTransformation.js +6 -9
  89. package/dist/integration-engine/transformations/TotemsTransformation.js.map +1 -1
  90. package/dist/integration-engine/workers/FYPRWorker.d.ts +2 -2
  91. package/dist/integration-engine/workers/FYPRWorker.js +14 -18
  92. package/dist/integration-engine/workers/FYPRWorker.js.map +1 -1
  93. package/dist/integration-engine/workers/constants.js +1 -4
  94. package/dist/integration-engine/workers/constants.js.map +1 -1
  95. package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.d.ts +5 -5
  96. package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.js +8 -11
  97. package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.js.map +1 -1
  98. package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.d.ts +7 -7
  99. package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.js +31 -33
  100. package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.js.map +1 -1
  101. package/dist/integration-engine/workers/tasks/FetchDCIPStatusTask.d.ts +3 -3
  102. package/dist/integration-engine/workers/tasks/FetchDCIPStatusTask.js +18 -20
  103. package/dist/integration-engine/workers/tasks/FetchDCIPStatusTask.js.map +1 -1
  104. package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.d.ts +7 -7
  105. package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.js +17 -19
  106. package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.js.map +1 -1
  107. package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.d.ts +7 -7
  108. package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.js +17 -19
  109. package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.js.map +1 -1
  110. package/dist/integration-engine/workers/tasks/UpdateObelisksTask.d.ts +7 -7
  111. package/dist/integration-engine/workers/tasks/UpdateObelisksTask.js +17 -19
  112. package/dist/integration-engine/workers/tasks/UpdateObelisksTask.js.map +1 -1
  113. package/dist/integration-engine/workers/tasks/UpdatePresetsTask.d.ts +5 -5
  114. package/dist/integration-engine/workers/tasks/UpdatePresetsTask.js +29 -30
  115. package/dist/integration-engine/workers/tasks/UpdatePresetsTask.js.map +1 -1
  116. package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.d.ts +7 -7
  117. package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.js +17 -19
  118. package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.js.map +1 -1
  119. package/dist/integration-engine/workers/tasks/UpdateTotemsTask.d.ts +7 -7
  120. package/dist/integration-engine/workers/tasks/UpdateTotemsTask.js +17 -19
  121. package/dist/integration-engine/workers/tasks/UpdateTotemsTask.js.map +1 -1
  122. package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.d.ts +6 -6
  123. package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.js +25 -25
  124. package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.js.map +1 -1
  125. package/dist/output-gateway/fypr/controllers/v1/V1FyprMetadataController.d.ts +1 -1
  126. package/dist/output-gateway/fypr/controllers/v1/V1FyprMetadataController.js +11 -14
  127. package/dist/output-gateway/fypr/controllers/v1/V1FyprMetadataController.js.map +1 -1
  128. package/dist/output-gateway/fypr/data-access/FyprElementRepository.d.ts +5 -5
  129. package/dist/output-gateway/fypr/data-access/FyprElementRepository.js +9 -12
  130. package/dist/output-gateway/fypr/data-access/FyprElementRepository.js.map +1 -1
  131. package/dist/output-gateway/fypr/routers/index.d.ts +2 -2
  132. package/dist/output-gateway/fypr/routers/index.js +2 -7
  133. package/dist/output-gateway/fypr/routers/index.js.map +1 -1
  134. package/dist/output-gateway/fypr/routers/middlewares/cacheMiddleware.d.ts +3 -3
  135. package/dist/output-gateway/fypr/routers/middlewares/cacheMiddleware.js +1 -4
  136. package/dist/output-gateway/fypr/routers/middlewares/cacheMiddleware.js.map +1 -1
  137. package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.d.ts +3 -3
  138. package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.js +41 -43
  139. package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.js.map +1 -1
  140. package/dist/output-gateway/fypr/routers/v1/V1FyprMetadataRouter.d.ts +3 -3
  141. package/dist/output-gateway/fypr/routers/v1/V1FyprMetadataRouter.js +15 -18
  142. package/dist/output-gateway/fypr/routers/v1/V1FyprMetadataRouter.js.map +1 -1
  143. package/dist/output-gateway/fypr/routers/v1/validators/InformationPanelsOnlyValidator.d.ts +1 -1
  144. package/dist/output-gateway/fypr/routers/v1/validators/InformationPanelsOnlyValidator.js +1 -5
  145. package/dist/output-gateway/fypr/routers/v1/validators/InformationPanelsOnlyValidator.js.map +1 -1
  146. package/dist/output-gateway/fypr/transformations/InformationPanelOutputTransformation.d.ts +3 -3
  147. package/dist/output-gateway/fypr/transformations/InformationPanelOutputTransformation.js +9 -12
  148. package/dist/output-gateway/fypr/transformations/InformationPanelOutputTransformation.js.map +1 -1
  149. package/dist/output-gateway/index.d.ts +1 -1
  150. package/dist/output-gateway/index.js +2 -5
  151. package/dist/output-gateway/index.js.map +1 -1
  152. package/dist/output-gateway/interfaces/IOGInformationPanel.d.ts +2 -2
  153. package/dist/output-gateway/interfaces/IOGInformationPanel.js +1 -2
  154. package/dist/output-gateway/interfaces/IOGInformationPanelScopes.d.ts +2 -2
  155. package/dist/output-gateway/interfaces/IOGInformationPanelScopes.js +1 -2
  156. package/dist/output-gateway/ioc/Di.d.ts +1 -1
  157. package/dist/output-gateway/ioc/Di.js +20 -23
  158. package/dist/output-gateway/ioc/Di.js.map +1 -1
  159. package/dist/output-gateway/ioc/FYPROGContainerTokens.js +1 -4
  160. package/dist/output-gateway/ioc/FYPROGContainerTokens.js.map +1 -1
  161. package/dist/output-gateway/shared/constants/element-kinds.d.ts +2 -1
  162. package/dist/output-gateway/shared/constants/element-kinds.js +1 -5
  163. package/dist/output-gateway/shared/constants/element-kinds.js.map +1 -1
  164. package/dist/output-gateway/shared/constants/index.d.ts +1 -1
  165. package/dist/output-gateway/shared/constants/index.js +1 -17
  166. package/dist/output-gateway/shared/constants/index.js.map +1 -1
  167. package/dist/schema-definitions/FyprElementTypes.d.ts +5 -5
  168. package/dist/schema-definitions/FyprElementTypes.js +1 -2
  169. package/dist/schema-definitions/const.js +11 -14
  170. package/dist/schema-definitions/const.js.map +1 -1
  171. package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.d.ts +2 -2
  172. package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js +22 -25
  173. package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js.map +1 -1
  174. package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.d.ts +2 -2
  175. package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js +15 -18
  176. package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js.map +1 -1
  177. package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.d.ts +2 -2
  178. package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js +83 -86
  179. package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js.map +1 -1
  180. package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.d.ts +2 -2
  181. package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js +17 -20
  182. package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js.map +1 -1
  183. package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.d.ts +2 -2
  184. package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js +19 -22
  185. package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js.map +1 -1
  186. package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.d.ts +2 -2
  187. package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js +55 -58
  188. package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js.map +1 -1
  189. package/dist/schema-definitions/data-sources/DCIPStatusOverviewJSONSchema.d.ts +2 -2
  190. package/dist/schema-definitions/data-sources/DCIPStatusOverviewJSONSchema.js +3 -6
  191. package/dist/schema-definitions/data-sources/DCIPStatusOverviewJSONSchema.js.map +1 -1
  192. package/dist/schema-definitions/data-sources/GolemioPresetsJSONSchema.d.ts +2 -2
  193. package/dist/schema-definitions/data-sources/GolemioPresetsJSONSchema.js +1 -4
  194. package/dist/schema-definitions/data-sources/GolemioPresetsJSONSchema.js.map +1 -1
  195. package/dist/schema-definitions/data-sources/index.js +11 -14
  196. package/dist/schema-definitions/data-sources/index.js.map +1 -1
  197. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase.d.ts +1 -1
  198. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase.js +1 -2
  199. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRElement.d.ts +1 -1
  200. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRElement.js +1 -2
  201. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.d.ts +1 -1
  202. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.js +1 -2
  203. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRObelisk.d.ts +1 -1
  204. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRObelisk.js +1 -2
  205. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRSignpost.d.ts +1 -1
  206. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRSignpost.js +1 -2
  207. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.d.ts +1 -1
  208. package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.js +1 -2
  209. package/dist/schema-definitions/data-sources/interfaces/IDCIPStatusOverview.d.ts +1 -1
  210. package/dist/schema-definitions/data-sources/interfaces/IDCIPStatusOverview.js +1 -2
  211. package/dist/schema-definitions/data-sources/interfaces/IGolemioPresetsResponse.js +1 -2
  212. package/dist/schema-definitions/index.d.ts +4 -3
  213. package/dist/schema-definitions/index.js +29 -33
  214. package/dist/schema-definitions/index.js.map +1 -1
  215. package/dist/schema-definitions/models/AbstractElementModel.d.ts +6 -3
  216. package/dist/schema-definitions/models/AbstractElementModel.js +39 -42
  217. package/dist/schema-definitions/models/AbstractElementModel.js.map +1 -1
  218. package/dist/schema-definitions/models/DeviceStatusModel.d.ts +5 -2
  219. package/dist/schema-definitions/models/DeviceStatusModel.js +7 -10
  220. package/dist/schema-definitions/models/DeviceStatusModel.js.map +1 -1
  221. package/dist/schema-definitions/models/DisplayCaseModel.d.ts +4 -4
  222. package/dist/schema-definitions/models/DisplayCaseModel.js +46 -49
  223. package/dist/schema-definitions/models/DisplayCaseModel.js.map +1 -1
  224. package/dist/schema-definitions/models/InformationPanelModel.d.ts +4 -4
  225. package/dist/schema-definitions/models/InformationPanelModel.js +177 -180
  226. package/dist/schema-definitions/models/InformationPanelModel.js.map +1 -1
  227. package/dist/schema-definitions/models/InformationPanelPresetsModel.d.ts +6 -3
  228. package/dist/schema-definitions/models/InformationPanelPresetsModel.js +13 -16
  229. package/dist/schema-definitions/models/InformationPanelPresetsModel.js.map +1 -1
  230. package/dist/schema-definitions/models/InformationPanelPresetsRoutesAggModel.d.ts +5 -2
  231. package/dist/schema-definitions/models/InformationPanelPresetsRoutesAggModel.js +8 -11
  232. package/dist/schema-definitions/models/InformationPanelPresetsRoutesAggModel.js.map +1 -1
  233. package/dist/schema-definitions/models/InformationPanelPresetsRoutesModel.d.ts +6 -3
  234. package/dist/schema-definitions/models/InformationPanelPresetsRoutesModel.js +10 -13
  235. package/dist/schema-definitions/models/InformationPanelPresetsRoutesModel.js.map +1 -1
  236. package/dist/schema-definitions/models/InformationPanelPresetsStopsModel.d.ts +6 -3
  237. package/dist/schema-definitions/models/InformationPanelPresetsStopsModel.js +7 -10
  238. package/dist/schema-definitions/models/InformationPanelPresetsStopsModel.js.map +1 -1
  239. package/dist/schema-definitions/models/ObeliskModel.d.ts +4 -4
  240. package/dist/schema-definitions/models/ObeliskModel.js +36 -39
  241. package/dist/schema-definitions/models/ObeliskModel.js.map +1 -1
  242. package/dist/schema-definitions/models/SignpostModel.d.ts +4 -4
  243. package/dist/schema-definitions/models/SignpostModel.js +40 -43
  244. package/dist/schema-definitions/models/SignpostModel.js.map +1 -1
  245. package/dist/schema-definitions/models/TotemModel.d.ts +4 -4
  246. package/dist/schema-definitions/models/TotemModel.js +110 -113
  247. package/dist/schema-definitions/models/TotemModel.js.map +1 -1
  248. package/dist/schema-definitions/models/interfaces/IDeviceStatus.d.ts +1 -1
  249. package/dist/schema-definitions/models/interfaces/IDeviceStatus.js +1 -2
  250. package/dist/schema-definitions/models/interfaces/IDisplayCase.d.ts +1 -1
  251. package/dist/schema-definitions/models/interfaces/IDisplayCase.js +1 -2
  252. package/dist/schema-definitions/models/interfaces/IElement.d.ts +1 -1
  253. package/dist/schema-definitions/models/interfaces/IElement.js +1 -2
  254. package/dist/schema-definitions/models/interfaces/IInformationPanel.d.ts +1 -1
  255. package/dist/schema-definitions/models/interfaces/IInformationPanel.js +1 -2
  256. package/dist/schema-definitions/models/interfaces/IInformationPanelPreset.js +1 -2
  257. package/dist/schema-definitions/models/interfaces/IInformationPanelPresetRoute.js +1 -2
  258. package/dist/schema-definitions/models/interfaces/IInformationPanelPresetStop.js +1 -2
  259. package/dist/schema-definitions/models/interfaces/IObelisk.d.ts +1 -1
  260. package/dist/schema-definitions/models/interfaces/IObelisk.js +1 -2
  261. package/dist/schema-definitions/models/interfaces/IPresetRouteAgg.js +1 -2
  262. package/dist/schema-definitions/models/interfaces/ISignpost.d.ts +1 -1
  263. package/dist/schema-definitions/models/interfaces/ISignpost.js +1 -2
  264. package/dist/schema-definitions/models/interfaces/ITotem.d.ts +1 -1
  265. package/dist/schema-definitions/models/interfaces/ITotem.js +1 -2
  266. package/dist/schema-definitions/models/interfaces/fyprElementStates.js +1 -4
  267. package/dist/schema-definitions/models/interfaces/fyprElementStates.js.map +1 -1
  268. package/dist/schema-definitions/translation/index.d.ts +1 -1
  269. package/dist/schema-definitions/translation/index.js +13 -19
  270. package/dist/schema-definitions/translation/index.js.map +1 -1
  271. package/package.json +42 -15
package/README.md CHANGED
@@ -29,6 +29,17 @@
29
29
 
30
30
  This module is intended for use with Golemio services. Refer [here](https://gitlab.com/operator-ict/golemio/code/modules/core/-/blob/master/README.md) for further information on usage, local development and more.
31
31
 
32
+ ## Requirements
33
+
34
+ - Node.js >= 24, TypeScript 6.
35
+ - Native ESM (`"type": "module"`) - built with `module`/`moduleResolution` set to `NodeNext`.
36
+ - `@golemio/core` >= 4.0.1 (peer dependency; core itself remains CommonJS - the ESM/CJS interop is handled internally).
37
+
38
+ ## Import contract
39
+
40
+ - Public entry points: the package root (`@golemio/fypr`), `@golemio/fypr/dist/output-gateway`, `@golemio/fypr/dist/integration-engine`, `@golemio/fypr/dist/schema-definitions`. Supports static `import`, `import()`, and CommonJS `require()` (via Node's `require(esm)` support).
41
+ - Internal `#`-prefixed subpath imports (`#helpers`, `#ie`, `#og`, `#sch`) are an implementation detail (Node's native `imports` map) and not part of the public API.
42
+
32
43
  ## Installation
33
44
 
34
45
  The APIs may be unstable. Therefore, we recommend to install this module as an exact version.
@@ -1,4 +1,4 @@
1
- import { AbstractGolemioError } from "@golemio/core/dist/shared/golemio-errors";
1
+ import type { AbstractGolemioError as TAbstractGolemioError } from "@golemio/core/dist/shared/golemio-errors.js";
2
2
  export declare class ErrorHelper {
3
- static ensureGolemioError(error: unknown, golemioError: AbstractGolemioError): AbstractGolemioError;
3
+ static ensureGolemioError(error: unknown, golemioError: TAbstractGolemioError): TAbstractGolemioError;
4
4
  }
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ErrorHelper = void 0;
4
- const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
5
- class ErrorHelper {
1
+ import GolemioErrors from "@golemio/core/dist/shared/golemio-errors.js";
2
+ const { AbstractGolemioError } = GolemioErrors;
3
+ export class ErrorHelper {
6
4
  static ensureGolemioError(error, golemioError) {
7
- return error instanceof golemio_errors_1.AbstractGolemioError ? error : golemioError;
5
+ return error instanceof AbstractGolemioError ? error : golemioError;
8
6
  }
9
7
  }
10
- exports.ErrorHelper = ErrorHelper;
11
8
  //# sourceMappingURL=ErrorHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorHelper.js","sourceRoot":"","sources":["../../../src/helpers/errors/ErrorHelper.ts"],"names":[],"mappings":";;;AAAA,6EAAgF;AAEhF,MAAa,WAAW;IACb,MAAM,CAAC,kBAAkB,CAAC,KAAc,EAAE,YAAkC;QAC/E,OAAO,KAAK,YAAY,qCAAoB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC;IACxE,CAAC;CACJ;AAJD,kCAIC"}
1
+ {"version":3,"file":"ErrorHelper.js","sourceRoot":"","sources":["../../../src/helpers/errors/ErrorHelper.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,6CAA6C,CAAC;AAExE,MAAM,EAAE,oBAAoB,EAAE,GAAG,aAAa,CAAC;AAE/C,MAAM,OAAO,WAAW;IACb,MAAM,CAAC,kBAAkB,CAAC,KAAc,EAAE,YAAmC;QAChF,OAAO,KAAK,YAAY,oBAAoB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC;IACxE,CAAC;CACJ"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * as IntegrationEngine from "./integration-engine/index";
2
- export * as OutputGateway from "./output-gateway/index";
3
- export * as SchemaDefinitions from "./schema-definitions/index";
1
+ export * as IntegrationEngine from "#ie/index";
2
+ export * as OutputGateway from "#og/index";
3
+ export * as SchemaDefinitions from "#sch/index";
package/dist/index.js CHANGED
@@ -1,41 +1,5 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.SchemaDefinitions = exports.OutputGateway = exports.IntegrationEngine = void 0;
37
1
  // Library exports
38
- exports.IntegrationEngine = __importStar(require("./integration-engine/index"));
39
- exports.OutputGateway = __importStar(require("./output-gateway/index"));
40
- exports.SchemaDefinitions = __importStar(require("./schema-definitions/index"));
2
+ export * as IntegrationEngine from "#ie/index";
3
+ export * as OutputGateway from "#og/index";
4
+ export * as SchemaDefinitions from "#sch/index";
41
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,gFAA+C;AAC/C,wEAA2C;AAC3C,gFAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,OAAO,KAAK,iBAAiB,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,aAAa,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,iBAAiB,MAAM,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
2
- import { IDataSource } from "@golemio/core/dist/integration-engine";
1
+ import type { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig.js";
2
+ import type { IDataSource } from "@golemio/core/dist/integration-engine/index.js";
3
3
  export declare abstract class AbstractDBFYPRDataSourceFactory<DataSourceItemType> {
4
4
  private readonly config;
5
5
  protected abstract readonly dataSourceName: string;
@@ -1,16 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AbstractDBFYPRDataSourceFactory = void 0;
4
- const StrapiPaginatedHTTPProtocolStrategy_1 = require("./protocol-strategies/StrapiPaginatedHTTPProtocolStrategy");
5
- const integration_engine_1 = require("@golemio/core/dist/integration-engine");
6
- const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
7
- class AbstractDBFYPRDataSourceFactory {
1
+ import { StrapiPaginatedHTTPProtocolStrategy } from "#ie/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy";
2
+ import { DataSource, JSONDataTypeStrategy } from "@golemio/core/dist/integration-engine/index.js";
3
+ import GolemioValidator from "@golemio/core/dist/shared/golemio-validator.js";
4
+ const { JSONSchemaValidator } = GolemioValidator;
5
+ export class AbstractDBFYPRDataSourceFactory {
8
6
  constructor(config) {
9
7
  this.config = config;
10
8
  // Empty
11
9
  }
12
10
  getDataSource() {
13
- return new integration_engine_1.DataSource(this.dataSourceName, this.getProtocolStrategy(), new integration_engine_1.JSONDataTypeStrategy({ resultsPath: "data" }), new golemio_validator_1.JSONSchemaValidator(`${this.dataSourceName}Validator`, this.jsonSchema));
11
+ return new DataSource(this.dataSourceName, this.getProtocolStrategy(), new JSONDataTypeStrategy({ resultsPath: "data" }), new JSONSchemaValidator(`${this.dataSourceName}Validator`, this.jsonSchema));
14
12
  }
15
13
  getProtocolStrategy() {
16
14
  const baseUrl = this.config.getValue("module.fypr.dbfyprApi.baseUrl");
@@ -20,7 +18,7 @@ class AbstractDBFYPRDataSourceFactory {
20
18
  ...this.config.getValue("module.fypr.dbfyprApi.commonHeaders", {}),
21
19
  ...this.config.getValue(`module.fypr.dbfyprApi.${this.moduleConfigApiItem}.headers`, {}),
22
20
  };
23
- return new StrapiPaginatedHTTPProtocolStrategy_1.StrapiPaginatedHTTPProtocolStrategy({
21
+ return new StrapiPaginatedHTTPProtocolStrategy({
24
22
  method: "GET",
25
23
  url: new URL(urlPath, baseUrl).toString(),
26
24
  headers,
@@ -28,5 +26,4 @@ class AbstractDBFYPRDataSourceFactory {
28
26
  });
29
27
  }
30
28
  }
31
- exports.AbstractDBFYPRDataSourceFactory = AbstractDBFYPRDataSourceFactory;
32
29
  //# sourceMappingURL=AbstractDBFYPRDataSourceFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractDBFYPRDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.ts"],"names":[],"mappings":";;;AAAA,mHAA+H;AAE/H,8EAAwH;AACxH,mFAAkF;AAElF,MAAsB,+BAA+B;IAKjD,YAA6B,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;QAC9C,QAAQ;IACZ,CAAC;IAEM,aAAa;QAChB,OAAO,IAAI,+BAAU,CACjB,IAAI,CAAC,cAAc,EACnB,IAAI,CAAC,mBAAmB,EAAE,EAC1B,IAAI,yCAAoB,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,EACjD,IAAI,uCAAmB,CAAC,GAAG,IAAI,CAAC,cAAc,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,CAC9E,CAAC;IACN,CAAC;IAEO,mBAAmB;QACvB,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,+BAA+B,CAAC,CAAC;QAC9E,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,8CAA8C,CAAW,CAAC;QAChH,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,yBAAyB,IAAI,CAAC,mBAAmB,OAAO,CAAC,CAAC;QAEvG,MAAM,OAAO,GAAgB;YACzB,GAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAc,qCAAqC,EAAE,EAAE,CAAiB;YAChG,GAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CACpB,yBAAyB,IAAI,CAAC,mBAAmB,UAAU,EAC3D,EAAE,CACW;SACpB,CAAC;QAEF,OAAO,IAAI,yEAAmC,CAAC;YAC3C,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,IAAI,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YACzC,OAAO;YACP,gBAAgB;SACnB,CAAC,CAAC;IACP,CAAC;CACJ;AAtCD,0EAsCC"}
1
+ {"version":3,"file":"AbstractDBFYPRDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,0EAA0E,CAAC;AAE/H,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAoB,MAAM,gDAAgD,CAAC;AAEpH,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAE9E,MAAM,EAAE,mBAAmB,EAAE,GAAG,gBAAgB,CAAC;AAEjD,MAAM,OAAgB,+BAA+B;IAKjD,YAA6B,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;QAC9C,QAAQ;IACZ,CAAC;IAEM,aAAa;QAChB,OAAO,IAAI,UAAU,CACjB,IAAI,CAAC,cAAc,EACnB,IAAI,CAAC,mBAAmB,EAAE,EAC1B,IAAI,oBAAoB,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,EACjD,IAAI,mBAAmB,CAAC,GAAG,IAAI,CAAC,cAAc,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,CAC9E,CAAC;IACN,CAAC;IAEO,mBAAmB;QACvB,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,+BAA+B,CAAC,CAAC;QAC9E,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,8CAA8C,CAAW,CAAC;QAChH,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,yBAAyB,IAAI,CAAC,mBAAmB,OAAO,CAAC,CAAC;QAEvG,MAAM,OAAO,GAAgB;YACzB,GAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAc,qCAAqC,EAAE,EAAE,CAAiB;YAChG,GAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CACpB,yBAAyB,IAAI,CAAC,mBAAmB,UAAU,EAC3D,EAAE,CACW;SACpB,CAAC;QAEF,OAAO,IAAI,mCAAmC,CAAC;YAC3C,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,IAAI,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YACzC,OAAO;YACP,gBAAgB;SACnB,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -1,6 +1,6 @@
1
- import { IDBFYPRDisplayCase } from "../../schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase";
2
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
3
- import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory";
1
+ import type { IDBFYPRDisplayCase } from "#sch/data-sources/interfaces/IDBFYPRDisplayCase";
2
+ import type { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig.js";
3
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
4
4
  export declare class DBFYPRDisplayCasesDataSourceFactory extends AbstractDBFYPRDataSourceFactory<IDBFYPRDisplayCase> {
5
5
  protected readonly dataSourceName = "DBFYPRDisplayCasesDataSource";
6
6
  protected readonly jsonSchema: object;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,26 +10,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DBFYPRDisplayCasesDataSourceFactory = void 0;
16
- const DBFYPRDisplayCasesJSONSchema_1 = require("../../schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema");
17
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
18
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
19
- const AbstractDBFYPRDataSourceFactory_1 = require("./AbstractDBFYPRDataSourceFactory");
20
- let DBFYPRDisplayCasesDataSourceFactory = class DBFYPRDisplayCasesDataSourceFactory extends AbstractDBFYPRDataSourceFactory_1.AbstractDBFYPRDataSourceFactory {
13
+ import { dbfyprDisplayCasesJSONSchema } from "#sch/data-sources/DBFYPRDisplayCasesJSONSchema";
14
+ import { CoreToken } from "@golemio/core/dist/helpers/ioc/CoreToken.js";
15
+ import { inject, injectable } from "@golemio/core/dist/shared/tsyringe.js";
16
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
17
+ let DBFYPRDisplayCasesDataSourceFactory = class DBFYPRDisplayCasesDataSourceFactory extends AbstractDBFYPRDataSourceFactory {
21
18
  constructor(config) {
22
19
  super(config);
23
20
  this.dataSourceName = "DBFYPRDisplayCasesDataSource";
24
21
  // Without explicit object type, the following type error occurs:
25
22
  // "The inferred type of 'jsonSchema' cannot be named without a reference to '@golemio/core/node_modules/ajv'."
26
- this.jsonSchema = DBFYPRDisplayCasesJSONSchema_1.dbfyprDisplayCasesJSONSchema;
23
+ this.jsonSchema = dbfyprDisplayCasesJSONSchema;
27
24
  this.moduleConfigApiItem = "displayCases";
28
25
  }
29
26
  };
30
- exports.DBFYPRDisplayCasesDataSourceFactory = DBFYPRDisplayCasesDataSourceFactory;
31
- exports.DBFYPRDisplayCasesDataSourceFactory = DBFYPRDisplayCasesDataSourceFactory = __decorate([
32
- (0, tsyringe_1.injectable)(),
33
- __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
27
+ DBFYPRDisplayCasesDataSourceFactory = __decorate([
28
+ injectable(),
29
+ __param(0, inject(CoreToken.SimpleConfig)),
34
30
  __metadata("design:paramtypes", [Object])
35
31
  ], DBFYPRDisplayCasesDataSourceFactory);
32
+ export { DBFYPRDisplayCasesDataSourceFactory };
36
33
  //# sourceMappingURL=DBFYPRDisplayCasesDataSourceFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DBFYPRDisplayCasesDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,qHAA8F;AAG9F,wEAAqE;AACrE,iEAAwE;AACxE,uFAAoF;AAG7E,IAAM,mCAAmC,GAAzC,MAAM,mCAAoC,SAAQ,iEAAmD;IAOxG,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,8BAA8B,CAAC;QAC5E,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,2DAA4B,CAAC;QAClD,wBAAmB,GAAG,cAAc,CAAC;IAIjE,CAAC;CACJ,CAAA;AAVY,kFAAmC;8CAAnC,mCAAmC;IAD/C,IAAA,qBAAU,GAAE;IAQI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,mCAAmC,CAU/C"}
1
+ {"version":3,"file":"DBFYPRDisplayCasesDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAG9F,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGhF,IAAM,mCAAmC,GAAzC,MAAM,mCAAoC,SAAQ,+BAAmD;IAOxG,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,8BAA8B,CAAC;QAC5E,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,4BAA4B,CAAC;QAClD,wBAAmB,GAAG,cAAc,CAAC;IAIjE,CAAC;CACJ,CAAA;AAVY,mCAAmC;IAD/C,UAAU,EAAE;IAQI,WAAA,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,mCAAmC,CAU/C"}
@@ -1,6 +1,6 @@
1
- import { IDBFYPRInformationPanel } from "../../schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel";
2
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
3
- import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory";
1
+ import type { IDBFYPRInformationPanel } from "#sch/data-sources/interfaces/IDBFYPRInformationPanel";
2
+ import type { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig.js";
3
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
4
4
  export declare class DBFYPRInformationPanelsDataSourceFactory extends AbstractDBFYPRDataSourceFactory<IDBFYPRInformationPanel> {
5
5
  protected readonly dataSourceName = "DBFYPRInformationPanelsDataSource";
6
6
  protected readonly jsonSchema: object;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,26 +10,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DBFYPRInformationPanelsDataSourceFactory = void 0;
16
- const DBFYPRInformationPanelsJSONSchema_1 = require("../../schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema");
17
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
18
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
19
- const AbstractDBFYPRDataSourceFactory_1 = require("./AbstractDBFYPRDataSourceFactory");
20
- let DBFYPRInformationPanelsDataSourceFactory = class DBFYPRInformationPanelsDataSourceFactory extends AbstractDBFYPRDataSourceFactory_1.AbstractDBFYPRDataSourceFactory {
13
+ import { dbfyprInformationPanelsJSONSchema } from "#sch/data-sources/DBFYPRInformationPanelsJSONSchema";
14
+ import { CoreToken } from "@golemio/core/dist/helpers/ioc/CoreToken.js";
15
+ import { inject, injectable } from "@golemio/core/dist/shared/tsyringe.js";
16
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
17
+ let DBFYPRInformationPanelsDataSourceFactory = class DBFYPRInformationPanelsDataSourceFactory extends AbstractDBFYPRDataSourceFactory {
21
18
  constructor(config) {
22
19
  super(config);
23
20
  this.dataSourceName = "DBFYPRInformationPanelsDataSource";
24
21
  // Without explicit object type, the following type error occurs:
25
22
  // "The inferred type of 'jsonSchema' cannot be named without a reference to '@golemio/core/node_modules/ajv'."
26
- this.jsonSchema = DBFYPRInformationPanelsJSONSchema_1.dbfyprInformationPanelsJSONSchema;
23
+ this.jsonSchema = dbfyprInformationPanelsJSONSchema;
27
24
  this.moduleConfigApiItem = "informationPanels";
28
25
  }
29
26
  };
30
- exports.DBFYPRInformationPanelsDataSourceFactory = DBFYPRInformationPanelsDataSourceFactory;
31
- exports.DBFYPRInformationPanelsDataSourceFactory = DBFYPRInformationPanelsDataSourceFactory = __decorate([
32
- (0, tsyringe_1.injectable)(),
33
- __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
27
+ DBFYPRInformationPanelsDataSourceFactory = __decorate([
28
+ injectable(),
29
+ __param(0, inject(CoreToken.SimpleConfig)),
34
30
  __metadata("design:paramtypes", [Object])
35
31
  ], DBFYPRInformationPanelsDataSourceFactory);
32
+ export { DBFYPRInformationPanelsDataSourceFactory };
36
33
  //# sourceMappingURL=DBFYPRInformationPanelsDataSourceFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DBFYPRInformationPanelsDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+HAAwG;AAGxG,wEAAqE;AACrE,iEAAwE;AACxE,uFAAoF;AAG7E,IAAM,wCAAwC,GAA9C,MAAM,wCAAyC,SAAQ,iEAAwD;IAOlH,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,mCAAmC,CAAC;QACjF,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,qEAAiC,CAAC;QACvD,wBAAmB,GAAG,mBAAmB,CAAC;IAItE,CAAC;CACJ,CAAA;AAVY,4FAAwC;mDAAxC,wCAAwC;IADpD,IAAA,qBAAU,GAAE;IAQI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,wCAAwC,CAUpD"}
1
+ {"version":3,"file":"DBFYPRInformationPanelsDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,qDAAqD,CAAC;AAGxG,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGhF,IAAM,wCAAwC,GAA9C,MAAM,wCAAyC,SAAQ,+BAAwD;IAOlH,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,mCAAmC,CAAC;QACjF,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,iCAAiC,CAAC;QACvD,wBAAmB,GAAG,mBAAmB,CAAC;IAItE,CAAC;CACJ,CAAA;AAVY,wCAAwC;IADpD,UAAU,EAAE;IAQI,WAAA,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,wCAAwC,CAUpD"}
@@ -1,6 +1,6 @@
1
- import { IDBFYPRObelisk } from "../../schema-definitions/data-sources/interfaces/IDBFYPRObelisk";
2
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
3
- import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory";
1
+ import type { IDBFYPRObelisk } from "#sch/data-sources/interfaces/IDBFYPRObelisk";
2
+ import type { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig.js";
3
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
4
4
  export declare class DBFYPRObelisksDataSourceFactory extends AbstractDBFYPRDataSourceFactory<IDBFYPRObelisk> {
5
5
  protected readonly dataSourceName = "DBFYPRObelisksDataSource";
6
6
  protected readonly jsonSchema: object;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,26 +10,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DBFYPRObelisksDataSourceFactory = void 0;
16
- const DBFYPRObelisksJSONSchema_1 = require("../../schema-definitions/data-sources/DBFYPRObelisksJSONSchema");
17
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
18
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
19
- const AbstractDBFYPRDataSourceFactory_1 = require("./AbstractDBFYPRDataSourceFactory");
20
- let DBFYPRObelisksDataSourceFactory = class DBFYPRObelisksDataSourceFactory extends AbstractDBFYPRDataSourceFactory_1.AbstractDBFYPRDataSourceFactory {
13
+ import { dbfyprObelisksJSONSchema } from "#sch/data-sources/DBFYPRObelisksJSONSchema";
14
+ import { CoreToken } from "@golemio/core/dist/helpers/ioc/CoreToken.js";
15
+ import { inject, injectable } from "@golemio/core/dist/shared/tsyringe.js";
16
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
17
+ let DBFYPRObelisksDataSourceFactory = class DBFYPRObelisksDataSourceFactory extends AbstractDBFYPRDataSourceFactory {
21
18
  constructor(config) {
22
19
  super(config);
23
20
  this.dataSourceName = "DBFYPRObelisksDataSource";
24
21
  // Without explicit object type, the following type error occurs:
25
22
  // "The inferred type of 'jsonSchema' cannot be named without a reference to '@golemio/core/node_modules/ajv'."
26
- this.jsonSchema = DBFYPRObelisksJSONSchema_1.dbfyprObelisksJSONSchema;
23
+ this.jsonSchema = dbfyprObelisksJSONSchema;
27
24
  this.moduleConfigApiItem = "obelisks";
28
25
  }
29
26
  };
30
- exports.DBFYPRObelisksDataSourceFactory = DBFYPRObelisksDataSourceFactory;
31
- exports.DBFYPRObelisksDataSourceFactory = DBFYPRObelisksDataSourceFactory = __decorate([
32
- (0, tsyringe_1.injectable)(),
33
- __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
27
+ DBFYPRObelisksDataSourceFactory = __decorate([
28
+ injectable(),
29
+ __param(0, inject(CoreToken.SimpleConfig)),
34
30
  __metadata("design:paramtypes", [Object])
35
31
  ], DBFYPRObelisksDataSourceFactory);
32
+ export { DBFYPRObelisksDataSourceFactory };
36
33
  //# sourceMappingURL=DBFYPRObelisksDataSourceFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DBFYPRObelisksDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6GAAsF;AAGtF,wEAAqE;AACrE,iEAAwE;AACxE,uFAAoF;AAG7E,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,iEAA+C;IAOhG,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,0BAA0B,CAAC;QACxE,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,mDAAwB,CAAC;QAC9C,wBAAmB,GAAG,UAAU,CAAC;IAI7D,CAAC;CACJ,CAAA;AAVY,0EAA+B;0CAA/B,+BAA+B;IAD3C,IAAA,qBAAU,GAAE;IAQI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,+BAA+B,CAU3C"}
1
+ {"version":3,"file":"DBFYPRObelisksDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGhF,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,+BAA+C;IAOhG,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,0BAA0B,CAAC;QACxE,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,wBAAwB,CAAC;QAC9C,wBAAmB,GAAG,UAAU,CAAC;IAI7D,CAAC;CACJ,CAAA;AAVY,+BAA+B;IAD3C,UAAU,EAAE;IAQI,WAAA,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,+BAA+B,CAU3C"}
@@ -1,6 +1,6 @@
1
- import { IDBFYPRSignpost } from "../../schema-definitions/data-sources/interfaces/IDBFYPRSignpost";
2
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
3
- import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory";
1
+ import type { IDBFYPRSignpost } from "#sch/data-sources/interfaces/IDBFYPRSignpost";
2
+ import type { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig.js";
3
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
4
4
  export declare class DBFYPRSignpostsDataSourceFactory extends AbstractDBFYPRDataSourceFactory<IDBFYPRSignpost> {
5
5
  protected readonly dataSourceName = "DBFYPRSignpostsDataSource";
6
6
  protected readonly jsonSchema: object;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,26 +10,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DBFYPRSignpostsDataSourceFactory = void 0;
16
- const DBFYPRSignpostsJSONSchema_1 = require("../../schema-definitions/data-sources/DBFYPRSignpostsJSONSchema");
17
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
18
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
19
- const AbstractDBFYPRDataSourceFactory_1 = require("./AbstractDBFYPRDataSourceFactory");
20
- let DBFYPRSignpostsDataSourceFactory = class DBFYPRSignpostsDataSourceFactory extends AbstractDBFYPRDataSourceFactory_1.AbstractDBFYPRDataSourceFactory {
13
+ import { dbfyprSignpostsJSONSchema } from "#sch/data-sources/DBFYPRSignpostsJSONSchema";
14
+ import { CoreToken } from "@golemio/core/dist/helpers/ioc/CoreToken.js";
15
+ import { inject, injectable } from "@golemio/core/dist/shared/tsyringe.js";
16
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
17
+ let DBFYPRSignpostsDataSourceFactory = class DBFYPRSignpostsDataSourceFactory extends AbstractDBFYPRDataSourceFactory {
21
18
  constructor(config) {
22
19
  super(config);
23
20
  this.dataSourceName = "DBFYPRSignpostsDataSource";
24
21
  // Without explicit object type, the following type error occurs:
25
22
  // "The inferred type of 'jsonSchema' cannot be named without a reference to '@golemio/core/node_modules/ajv'."
26
- this.jsonSchema = DBFYPRSignpostsJSONSchema_1.dbfyprSignpostsJSONSchema;
23
+ this.jsonSchema = dbfyprSignpostsJSONSchema;
27
24
  this.moduleConfigApiItem = "signposts";
28
25
  }
29
26
  };
30
- exports.DBFYPRSignpostsDataSourceFactory = DBFYPRSignpostsDataSourceFactory;
31
- exports.DBFYPRSignpostsDataSourceFactory = DBFYPRSignpostsDataSourceFactory = __decorate([
32
- (0, tsyringe_1.injectable)(),
33
- __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
27
+ DBFYPRSignpostsDataSourceFactory = __decorate([
28
+ injectable(),
29
+ __param(0, inject(CoreToken.SimpleConfig)),
34
30
  __metadata("design:paramtypes", [Object])
35
31
  ], DBFYPRSignpostsDataSourceFactory);
32
+ export { DBFYPRSignpostsDataSourceFactory };
36
33
  //# sourceMappingURL=DBFYPRSignpostsDataSourceFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DBFYPRSignpostsDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+GAAwF;AAGxF,wEAAqE;AACrE,iEAAwE;AACxE,uFAAoF;AAG7E,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,iEAAgD;IAOlG,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,2BAA2B,CAAC;QACzE,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,qDAAyB,CAAC;QAC/C,wBAAmB,GAAG,WAAW,CAAC;IAI9D,CAAC;CACJ,CAAA;AAVY,4EAAgC;2CAAhC,gCAAgC;IAD5C,IAAA,qBAAU,GAAE;IAQI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,gCAAgC,CAU5C"}
1
+ {"version":3,"file":"DBFYPRSignpostsDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAGxF,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGhF,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,+BAAgD;IAOlG,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,2BAA2B,CAAC;QACzE,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,yBAAyB,CAAC;QAC/C,wBAAmB,GAAG,WAAW,CAAC;IAI9D,CAAC;CACJ,CAAA;AAVY,gCAAgC;IAD5C,UAAU,EAAE;IAQI,WAAA,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,gCAAgC,CAU5C"}
@@ -1,6 +1,6 @@
1
- import { IDBFYPRTotem } from "../../schema-definitions/data-sources/interfaces/IDBFYPRTotem";
2
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
3
- import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory";
1
+ import type { IDBFYPRTotem } from "#sch/data-sources/interfaces/IDBFYPRTotem";
2
+ import type { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig.js";
3
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
4
4
  export declare class DBFYPRTotemsDataSourceFactory extends AbstractDBFYPRDataSourceFactory<IDBFYPRTotem> {
5
5
  protected readonly dataSourceName = "DBFYPRTotemsDataSource";
6
6
  protected readonly jsonSchema: object;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,26 +10,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DBFYPRTotemsDataSourceFactory = void 0;
16
- const DBFYPRTotemsJSONSchema_1 = require("../../schema-definitions/data-sources/DBFYPRTotemsJSONSchema");
17
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
18
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
19
- const AbstractDBFYPRDataSourceFactory_1 = require("./AbstractDBFYPRDataSourceFactory");
20
- let DBFYPRTotemsDataSourceFactory = class DBFYPRTotemsDataSourceFactory extends AbstractDBFYPRDataSourceFactory_1.AbstractDBFYPRDataSourceFactory {
13
+ import { dbfyprTotemsJSONSchema } from "#sch/data-sources/DBFYPRTotemsJSONSchema";
14
+ import { CoreToken } from "@golemio/core/dist/helpers/ioc/CoreToken.js";
15
+ import { inject, injectable } from "@golemio/core/dist/shared/tsyringe.js";
16
+ import { AbstractDBFYPRDataSourceFactory } from "./AbstractDBFYPRDataSourceFactory.js";
17
+ let DBFYPRTotemsDataSourceFactory = class DBFYPRTotemsDataSourceFactory extends AbstractDBFYPRDataSourceFactory {
21
18
  constructor(config) {
22
19
  super(config);
23
20
  this.dataSourceName = "DBFYPRTotemsDataSource";
24
21
  // Without explicit object type, the following type error occurs:
25
22
  // "The inferred type of 'jsonSchema' cannot be named without a reference to '@golemio/core/node_modules/ajv'."
26
- this.jsonSchema = DBFYPRTotemsJSONSchema_1.dbfyprTotemsJSONSchema;
23
+ this.jsonSchema = dbfyprTotemsJSONSchema;
27
24
  this.moduleConfigApiItem = "totems";
28
25
  }
29
26
  };
30
- exports.DBFYPRTotemsDataSourceFactory = DBFYPRTotemsDataSourceFactory;
31
- exports.DBFYPRTotemsDataSourceFactory = DBFYPRTotemsDataSourceFactory = __decorate([
32
- (0, tsyringe_1.injectable)(),
33
- __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
27
+ DBFYPRTotemsDataSourceFactory = __decorate([
28
+ injectable(),
29
+ __param(0, inject(CoreToken.SimpleConfig)),
34
30
  __metadata("design:paramtypes", [Object])
35
31
  ], DBFYPRTotemsDataSourceFactory);
32
+ export { DBFYPRTotemsDataSourceFactory };
36
33
  //# sourceMappingURL=DBFYPRTotemsDataSourceFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DBFYPRTotemsDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yGAAkF;AAGlF,wEAAqE;AACrE,iEAAwE;AACxE,uFAAoF;AAG7E,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,iEAA6C;IAO5F,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,wBAAwB,CAAC;QACtE,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,+CAAsB,CAAC;QAC5C,wBAAmB,GAAG,QAAQ,CAAC;IAI3D,CAAC;CACJ,CAAA;AAVY,sEAA6B;wCAA7B,6BAA6B;IADzC,IAAA,qBAAU,GAAE;IAQI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,6BAA6B,CAUzC"}
1
+ {"version":3,"file":"DBFYPRTotemsDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAGlF,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGhF,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,+BAA6C;IAO5F,YAA4C,MAAqB;QAC7D,KAAK,CAAC,MAAM,CAAC,CAAC;QAPU,mBAAc,GAAG,wBAAwB,CAAC;QACtE,iEAAiE;QACjE,+GAA+G;QACnF,eAAU,GAAW,sBAAsB,CAAC;QAC5C,wBAAmB,GAAG,QAAQ,CAAC;IAI3D,CAAC;CACJ,CAAA;AAVY,6BAA6B;IADzC,UAAU,EAAE;IAQI,WAAA,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;;GAPlC,6BAA6B,CAUzC"}
@@ -1,6 +1,6 @@
1
- import { IDCIPStatusOverview } from "../../schema-definitions/data-sources/interfaces/IDCIPStatusOverview";
2
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
3
- import { IDataSource } from "@golemio/core/dist/integration-engine";
1
+ import type { IDCIPStatusOverview } from "#sch/data-sources/interfaces/IDCIPStatusOverview";
2
+ import type { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig.js";
3
+ import type { IDataSource } from "@golemio/core/dist/integration-engine/index.js";
4
4
  export declare class DCIPStatusOverviewDataSourceFactory {
5
5
  private readonly config;
6
6
  constructor(config: ISimpleConfig);
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,14 +10,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DCIPStatusOverviewDataSourceFactory = void 0;
16
- const DCIPStatusOverviewJSONSchema_1 = require("../../schema-definitions/data-sources/DCIPStatusOverviewJSONSchema");
17
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
18
- const integration_engine_1 = require("@golemio/core/dist/integration-engine");
19
- const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
20
- const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
21
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
13
+ import { dcipStatusOverviewJSONSchema } from "#sch/data-sources/DCIPStatusOverviewJSONSchema";
14
+ import { CoreToken } from "@golemio/core/dist/helpers/ioc/CoreToken.js";
15
+ import { DataSource, JSONDataTypeStrategy } from "@golemio/core/dist/integration-engine/index.js";
16
+ import { HTTPFetchProtocolStrategy } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy.js";
17
+ import GolemioValidator from "@golemio/core/dist/shared/golemio-validator.js";
18
+ import { inject, injectable } from "@golemio/core/dist/shared/tsyringe.js";
19
+ const { JSONSchemaValidator } = GolemioValidator;
22
20
  let DCIPStatusOverviewDataSourceFactory = class DCIPStatusOverviewDataSourceFactory {
23
21
  constructor(config) {
24
22
  this.config = config;
@@ -28,18 +26,18 @@ let DCIPStatusOverviewDataSourceFactory = class DCIPStatusOverviewDataSourceFact
28
26
  const urlPath = this.config.getValue("module.fypr.dcipApi.statusOverviewPath", "/api/v1/status-overview");
29
27
  const timeoutInSeconds = this.config.getValue("module.fypr.dcipApi.clientTimeoutInSeconds", 20);
30
28
  const apiKey = this.config.getValue("module.fypr.dcipApi.apiKey", "");
31
- return new integration_engine_1.DataSource("DCIPStatusOverviewDataSource", new HTTPFetchProtocolStrategy_1.HTTPFetchProtocolStrategy({
29
+ return new DataSource("DCIPStatusOverviewDataSource", new HTTPFetchProtocolStrategy({
32
30
  method: "GET",
33
31
  url: new URL(urlPath, baseUrl).toString(),
34
32
  headers: { "X-Api-Key": apiKey },
35
33
  timeoutInSeconds,
36
- }), new integration_engine_1.JSONDataTypeStrategy({ resultsPath: "" }), new golemio_validator_1.JSONSchemaValidator("DCIPStatusOverviewValidator", DCIPStatusOverviewJSONSchema_1.dcipStatusOverviewJSONSchema));
34
+ }), new JSONDataTypeStrategy({ resultsPath: "" }), new JSONSchemaValidator("DCIPStatusOverviewValidator", dcipStatusOverviewJSONSchema));
37
35
  }
38
36
  };
39
- exports.DCIPStatusOverviewDataSourceFactory = DCIPStatusOverviewDataSourceFactory;
40
- exports.DCIPStatusOverviewDataSourceFactory = DCIPStatusOverviewDataSourceFactory = __decorate([
41
- (0, tsyringe_1.injectable)(),
42
- __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
37
+ DCIPStatusOverviewDataSourceFactory = __decorate([
38
+ injectable(),
39
+ __param(0, inject(CoreToken.SimpleConfig)),
43
40
  __metadata("design:paramtypes", [Object])
44
41
  ], DCIPStatusOverviewDataSourceFactory);
42
+ export { DCIPStatusOverviewDataSourceFactory };
45
43
  //# sourceMappingURL=DCIPStatusOverviewDataSourceFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DCIPStatusOverviewDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,qHAA8F;AAG9F,wEAAqE;AACrE,8EAAsG;AACtG,6IAA0I;AAC1I,mFAAkF;AAClF,iEAAwE;AAGjE,IAAM,mCAAmC,GAAzC,MAAM,mCAAmC;IAC5C,YAA6D,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE/E,aAAa;QAChB,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,6BAA6B,CAAC,CAAC;QAC5E,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,wCAAwC,EAAE,yBAAyB,CAAC,CAAC;QAClH,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,4CAA4C,EAAE,EAAE,CAAW,CAAC;QAClH,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,4BAA4B,EAAE,EAAE,CAAW,CAAC;QAExF,OAAO,IAAI,+BAAU,CACjB,8BAA8B,EAC9B,IAAI,qDAAyB,CAAC;YAC1B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,IAAI,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YACzC,OAAO,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE;YAChC,gBAAgB;SACnB,CAAC,EACF,IAAI,yCAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,uCAAmB,CAAC,6BAA6B,EAAE,2DAA4B,CAAC,CACvF,CAAC;IACN,CAAC;CACJ,CAAA;AArBY,kFAAmC;8CAAnC,mCAAmC;IAD/C,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GADlC,mCAAmC,CAqB/C"}
1
+ {"version":3,"file":"DCIPStatusOverviewDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAG9F,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAElG,OAAO,EAAE,yBAAyB,EAAE,MAAM,kGAAkG,CAAC;AAC7I,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAE3E,MAAM,EAAE,mBAAmB,EAAE,GAAG,gBAAgB,CAAC;AAG1C,IAAM,mCAAmC,GAAzC,MAAM,mCAAmC;IAC5C,YAA6D,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAE/E,aAAa;QAChB,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,6BAA6B,CAAC,CAAC;QAC5E,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,wCAAwC,EAAE,yBAAyB,CAAC,CAAC;QAClH,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,4CAA4C,EAAE,EAAE,CAAW,CAAC;QAClH,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,4BAA4B,EAAE,EAAE,CAAW,CAAC;QAExF,OAAO,IAAI,UAAU,CACjB,8BAA8B,EAC9B,IAAI,yBAAyB,CAAC;YAC1B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,IAAI,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YACzC,OAAO,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE;YAChC,gBAAgB;SACnB,CAAC,EACF,IAAI,oBAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,mBAAmB,CAAC,6BAA6B,EAAE,4BAA4B,CAAC,CACvF,CAAC;IACN,CAAC;CACJ,CAAA;AArBY,mCAAmC;IAD/C,UAAU,EAAE;IAEI,WAAA,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;;GADlC,mCAAmC,CAqB/C"}
@@ -1,6 +1,6 @@
1
- import { HTTPFetchProtocolStrategy } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy";
2
- import { IHTTPFetchSettings } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/interfaces/IHTTPFetchSettings";
3
- import { IHTTPProtocolStrategyResult } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/interfaces/IHTTPProtocolStrategyResult";
1
+ import { HTTPFetchProtocolStrategy } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy.js";
2
+ import type { IHTTPFetchSettings } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/interfaces/IHTTPFetchSettings.js";
3
+ import type { IHTTPProtocolStrategyResult } from "@golemio/core/dist/integration-engine/datasources/protocol-strategy/interfaces/IHTTPProtocolStrategyResult.js";
4
4
  interface IPaginatedStrapiResponse<T> {
5
5
  data: T[];
6
6
  meta: {