@rockster/core 0.0.1 → 0.0.4

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 (1096) hide show
  1. package/access/access.module.d.ts +11 -0
  2. package/access/access.module.js +60 -0
  3. package/access/access.module.js.map +1 -0
  4. package/access/controllers/controllers.d.ts +6 -0
  5. package/access/controllers/controllers.js +16 -0
  6. package/access/controllers/controllers.js.map +1 -0
  7. package/access/controllers/scope-group-user.controller.d.ts +13 -0
  8. package/access/controllers/scope-group-user.controller.js +84 -0
  9. package/access/controllers/scope-group-user.controller.js.map +1 -0
  10. package/access/controllers/scope-group.controller.d.ts +19 -0
  11. package/access/controllers/scope-group.controller.js +123 -0
  12. package/access/controllers/scope-group.controller.js.map +1 -0
  13. package/access/controllers/scope-key.controller.d.ts +7 -0
  14. package/access/controllers/scope-key.controller.js +45 -0
  15. package/access/controllers/scope-key.controller.js.map +1 -0
  16. package/access/controllers/scope-owner.controller.d.ts +8 -0
  17. package/access/controllers/scope-owner.controller.js +66 -0
  18. package/access/controllers/scope-owner.controller.js.map +1 -0
  19. package/access/controllers/scope-user.controller.d.ts +14 -0
  20. package/access/controllers/scope-user.controller.js +95 -0
  21. package/access/controllers/scope-user.controller.js.map +1 -0
  22. package/access/entities/entities.d.ts +6 -0
  23. package/access/entities/entities.js +18 -0
  24. package/access/entities/entities.js.map +1 -0
  25. package/access/entities/index.d.ts +5 -0
  26. package/access/entities/index.js +22 -0
  27. package/access/entities/index.js.map +1 -0
  28. package/access/entities/scope-access.d.ts +9 -0
  29. package/access/entities/scope-access.js +58 -0
  30. package/access/entities/scope-access.js.map +1 -0
  31. package/access/entities/scope-group-user.d.ts +7 -0
  32. package/access/entities/scope-group-user.js +47 -0
  33. package/access/entities/scope-group-user.js.map +1 -0
  34. package/access/entities/scope-group.d.ts +9 -0
  35. package/access/entities/scope-group.js +56 -0
  36. package/access/entities/scope-group.js.map +1 -0
  37. package/access/entities/scope-key.d.ts +5 -0
  38. package/access/entities/scope-key.js +35 -0
  39. package/access/entities/scope-key.js.map +1 -0
  40. package/access/entities/scope-owner.d.ts +7 -0
  41. package/access/entities/scope-owner.js +45 -0
  42. package/access/entities/scope-owner.js.map +1 -0
  43. package/access/env.d.ts +10 -0
  44. package/access/env.js +10 -0
  45. package/access/env.js.map +1 -0
  46. package/access/functions/get-context-id-service.d.ts +1 -0
  47. package/access/functions/get-context-id-service.js +8 -0
  48. package/access/functions/get-context-id-service.js.map +1 -0
  49. package/access/functions/get-is-owner.d.ts +1 -0
  50. package/access/functions/get-is-owner.js +8 -0
  51. package/access/functions/get-is-owner.js.map +1 -0
  52. package/access/functions/get-user-keys.d.ts +2 -0
  53. package/access/functions/get-user-keys.js +10 -0
  54. package/access/functions/get-user-keys.js.map +1 -0
  55. package/access/functions/index.d.ts +3 -0
  56. package/access/functions/index.js +20 -0
  57. package/access/functions/index.js.map +1 -0
  58. package/access/functions/register-scope.d.ts +8 -0
  59. package/access/functions/register-scope.js +82 -0
  60. package/access/functions/register-scope.js.map +1 -0
  61. package/access/index.d.ts +5 -0
  62. package/access/index.js +22 -0
  63. package/access/index.js.map +1 -0
  64. package/access/interfaces/index.d.ts +2 -0
  65. package/access/interfaces/index.js +19 -0
  66. package/access/interfaces/index.js.map +1 -0
  67. package/access/interfaces/scope-service-registry.d.ts +6 -0
  68. package/access/interfaces/scope-service-registry.js +3 -0
  69. package/access/interfaces/scope-service-registry.js.map +1 -0
  70. package/access/interfaces/scope-service.d.ts +12 -0
  71. package/access/interfaces/scope-service.js +3 -0
  72. package/access/interfaces/scope-service.js.map +1 -0
  73. package/access/models/scope-context.d.ts +4 -0
  74. package/access/models/scope-context.js +27 -0
  75. package/access/models/scope-context.js.map +1 -0
  76. package/access/models/scope-keys-update.d.ts +7 -0
  77. package/access/models/scope-keys-update.js +38 -0
  78. package/access/models/scope-keys-update.js.map +1 -0
  79. package/access/models/scope-owner.d.ts +5 -0
  80. package/access/models/scope-owner.js +32 -0
  81. package/access/models/scope-owner.js.map +1 -0
  82. package/access/models/scope-user-mapped.d.ts +8 -0
  83. package/access/models/scope-user-mapped.js +42 -0
  84. package/access/models/scope-user-mapped.js.map +1 -0
  85. package/access/models/scope-user.d.ts +9 -0
  86. package/access/models/scope-user.js +49 -0
  87. package/access/models/scope-user.js.map +1 -0
  88. package/access/queries/scope-group-user.query.d.ts +1 -0
  89. package/access/queries/scope-group-user.query.js +26 -0
  90. package/access/queries/scope-group-user.query.js.map +1 -0
  91. package/access/queries/scope-group.query.d.ts +1 -0
  92. package/access/queries/scope-group.query.js +12 -0
  93. package/access/queries/scope-group.query.js.map +1 -0
  94. package/access/services/index.d.ts +6 -0
  95. package/access/services/index.js +23 -0
  96. package/access/services/index.js.map +1 -0
  97. package/access/services/scope-access.service.d.ts +11 -0
  98. package/access/services/scope-access.service.js +87 -0
  99. package/access/services/scope-access.service.js.map +1 -0
  100. package/access/services/scope-group-user.service.d.ts +8 -0
  101. package/access/services/scope-group-user.service.js +49 -0
  102. package/access/services/scope-group-user.service.js.map +1 -0
  103. package/access/services/scope-group.service.d.ts +7 -0
  104. package/access/services/scope-group.service.js +38 -0
  105. package/access/services/scope-group.service.js.map +1 -0
  106. package/access/services/scope-key.service.d.ts +9 -0
  107. package/access/services/scope-key.service.js +52 -0
  108. package/access/services/scope-key.service.js.map +1 -0
  109. package/access/services/scope-owner.service.d.ts +7 -0
  110. package/access/services/scope-owner.service.js +35 -0
  111. package/access/services/scope-owner.service.js.map +1 -0
  112. package/access/services/scope-service.d.ts +10 -0
  113. package/access/services/scope-service.js +52 -0
  114. package/access/services/scope-service.js.map +1 -0
  115. package/cache/cache-cleaner.js +1 -0
  116. package/cache/cache-cleaner.js.map +1 -0
  117. package/cache/cache.controller.js +1 -0
  118. package/cache/cache.controller.js.map +1 -0
  119. package/cache/constants.js +1 -0
  120. package/cache/constants.js.map +1 -0
  121. package/cache/decorators/index.js +1 -0
  122. package/cache/decorators/index.js.map +1 -0
  123. package/cache/decorators/inject-cache.decorator.js +1 -0
  124. package/cache/decorators/inject-cache.decorator.js.map +1 -0
  125. package/cache/decorators/key-value.js +1 -0
  126. package/cache/decorators/key-value.js.map +1 -0
  127. package/cache/functions/get-cache.js +1 -0
  128. package/cache/functions/get-cache.js.map +1 -0
  129. package/cache/functions/get-key.-handle.js +1 -0
  130. package/cache/functions/get-key.-handle.js.map +1 -0
  131. package/cache/index.js +1 -0
  132. package/cache/index.js.map +1 -0
  133. package/cache/interfaces/cache-instance.js +1 -0
  134. package/cache/interfaces/cache-instance.js.map +1 -0
  135. package/cache/interfaces/cache-key-options.js +1 -0
  136. package/cache/interfaces/cache-key-options.js.map +1 -0
  137. package/cache/interfaces/cache-options.js +1 -0
  138. package/cache/interfaces/cache-options.js.map +1 -0
  139. package/cache/interfaces/get-key-value-handle.js +1 -0
  140. package/cache/interfaces/get-key-value-handle.js.map +1 -0
  141. package/cache/interfaces/index.js +1 -0
  142. package/cache/interfaces/index.js.map +1 -0
  143. package/command/constants.js +1 -0
  144. package/command/constants.js.map +1 -0
  145. package/command/decorators/index.js +1 -0
  146. package/command/decorators/index.js.map +1 -0
  147. package/command/decorators/only-modify.decorator.js +1 -0
  148. package/command/decorators/only-modify.decorator.js.map +1 -0
  149. package/command/decorators/post-action.decorator.js +1 -0
  150. package/command/decorators/post-action.decorator.js.map +1 -0
  151. package/command/decorators/post-content.decorator.js +1 -0
  152. package/command/decorators/post-content.decorator.js.map +1 -0
  153. package/command/decorators/read-only.decorator.js +1 -0
  154. package/command/decorators/read-only.decorator.js.map +1 -0
  155. package/command/decorators/remove-action.decorator.js +1 -0
  156. package/command/decorators/remove-action.decorator.js.map +1 -0
  157. package/command/decorators/remove-content.decorator.js +1 -0
  158. package/command/decorators/remove-content.decorator.js.map +1 -0
  159. package/command/functions/execute-post.js +7 -7
  160. package/command/functions/execute-post.js.map +1 -0
  161. package/command/functions/execute-remove.js +1 -0
  162. package/command/functions/execute-remove.js.map +1 -0
  163. package/command/interfaces/command-property.js +1 -0
  164. package/command/interfaces/command-property.js.map +1 -0
  165. package/command/interfaces/index.js +1 -0
  166. package/command/interfaces/index.js.map +1 -0
  167. package/command/interfaces/post-action-options.js +1 -0
  168. package/command/interfaces/post-action-options.js.map +1 -0
  169. package/command/interfaces/post-content.js +1 -0
  170. package/command/interfaces/post-content.js.map +1 -0
  171. package/command/interfaces/remove-aciton-options.js +1 -0
  172. package/command/interfaces/remove-aciton-options.js.map +1 -0
  173. package/command/interfaces/remove-content.js +1 -0
  174. package/command/interfaces/remove-content.js.map +1 -0
  175. package/command/services/post-action-builder.js +13 -2
  176. package/command/services/post-action-builder.js.map +1 -0
  177. package/command/services/remove-action-builder.js +13 -3
  178. package/command/services/remove-action-builder.js.map +1 -0
  179. package/command/utils/deep-merge-keep-undefined.js +1 -0
  180. package/command/utils/deep-merge-keep-undefined.js.map +1 -0
  181. package/common/entities/base-entity.d.ts +1 -1
  182. package/common/entities/base-entity.js +3 -0
  183. package/common/entities/base-entity.js.map +1 -0
  184. package/common/index.js +1 -0
  185. package/common/index.js.map +1 -0
  186. package/common/interfaces/enum/index.js +1 -0
  187. package/common/interfaces/enum/index.js.map +1 -0
  188. package/common/interfaces/enum/object-type.d.ts +2 -1
  189. package/common/interfaces/enum/object-type.js +2 -0
  190. package/common/interfaces/enum/object-type.js.map +1 -0
  191. package/common/interfaces/enum/property-type.js +1 -0
  192. package/common/interfaces/enum/property-type.js.map +1 -0
  193. package/common/interfaces/enum/request-status.js +1 -0
  194. package/common/interfaces/enum/request-status.js.map +1 -0
  195. package/common/interfaces/get-type-callback.js +1 -0
  196. package/common/interfaces/get-type-callback.js.map +1 -0
  197. package/common/interfaces/index.js +1 -0
  198. package/common/interfaces/index.js.map +1 -0
  199. package/common/models/executed-response.js +1 -0
  200. package/common/models/executed-response.js.map +1 -0
  201. package/controllers/constants/controller-transaction.d.ts +2 -0
  202. package/controllers/constants/controller-transaction.js +6 -0
  203. package/controllers/constants/controller-transaction.js.map +1 -0
  204. package/controllers/constants.js +1 -0
  205. package/controllers/constants.js.map +1 -0
  206. package/controllers/controller.controller.d.ts +1 -1
  207. package/controllers/controller.controller.js +5 -4
  208. package/controllers/controller.controller.js.map +1 -0
  209. package/controllers/decorators/actions/action-content.decorator.js +1 -0
  210. package/controllers/decorators/actions/action-content.decorator.js.map +1 -0
  211. package/controllers/decorators/actions/action.decorator.js +1 -0
  212. package/controllers/decorators/actions/action.decorator.js.map +1 -0
  213. package/controllers/decorators/actions/index.js +1 -0
  214. package/controllers/decorators/actions/index.js.map +1 -0
  215. package/controllers/decorators/controller.decorator.js +9 -0
  216. package/controllers/decorators/controller.decorator.js.map +1 -0
  217. package/controllers/decorators/http-methods/custom-response.decorator.js +1 -0
  218. package/controllers/decorators/http-methods/custom-response.decorator.js.map +1 -0
  219. package/controllers/decorators/http-methods/delete.decorator.js +1 -0
  220. package/controllers/decorators/http-methods/delete.decorator.js.map +1 -0
  221. package/controllers/decorators/http-methods/from-body.decorator.js +1 -0
  222. package/controllers/decorators/http-methods/from-body.decorator.js.map +1 -0
  223. package/controllers/decorators/http-methods/from-headers.decorator.js +1 -0
  224. package/controllers/decorators/http-methods/from-headers.decorator.js.map +1 -0
  225. package/controllers/decorators/http-methods/from-params.decorator.js +1 -0
  226. package/controllers/decorators/http-methods/from-params.decorator.js.map +1 -0
  227. package/controllers/decorators/http-methods/from-query.decorator.js +1 -0
  228. package/controllers/decorators/http-methods/from-query.decorator.js.map +1 -0
  229. package/controllers/decorators/http-methods/get.decorator.js +1 -0
  230. package/controllers/decorators/http-methods/get.decorator.js.map +1 -0
  231. package/controllers/decorators/http-methods/http-req.decorator.js +1 -0
  232. package/controllers/decorators/http-methods/http-req.decorator.js.map +1 -0
  233. package/controllers/decorators/http-methods/index.js +1 -0
  234. package/controllers/decorators/http-methods/index.js.map +1 -0
  235. package/controllers/decorators/http-methods/patch.decorator.js +1 -0
  236. package/controllers/decorators/http-methods/patch.decorator.js.map +1 -0
  237. package/controllers/decorators/http-methods/post.decorator.js +1 -0
  238. package/controllers/decorators/http-methods/post.decorator.js.map +1 -0
  239. package/controllers/decorators/http-methods/put.decorator.js +1 -0
  240. package/controllers/decorators/http-methods/put.decorator.js.map +1 -0
  241. package/controllers/decorators/http-methods/response-type.decorator.js +1 -0
  242. package/controllers/decorators/http-methods/response-type.decorator.js.map +1 -0
  243. package/controllers/decorators/index.d.ts +1 -0
  244. package/controllers/decorators/index.js +2 -0
  245. package/controllers/decorators/index.js.map +1 -0
  246. package/controllers/decorators/no-auth.decorator.js +1 -0
  247. package/controllers/decorators/no-auth.decorator.js.map +1 -0
  248. package/controllers/decorators/request-context.decorator.js +1 -0
  249. package/controllers/decorators/request-context.decorator.js.map +1 -0
  250. package/controllers/decorators/session.decorator.js +1 -0
  251. package/controllers/decorators/session.decorator.js.map +1 -0
  252. package/controllers/decorators/transaction.decorator.d.ts +7 -0
  253. package/controllers/decorators/transaction.decorator.js +23 -0
  254. package/controllers/decorators/transaction.decorator.js.map +1 -0
  255. package/controllers/index.js +1 -0
  256. package/controllers/index.js.map +1 -0
  257. package/controllers/interfaces/action-options.js +1 -0
  258. package/controllers/interfaces/action-options.js.map +1 -0
  259. package/controllers/interfaces/content-options.js +1 -0
  260. package/controllers/interfaces/content-options.js.map +1 -0
  261. package/controllers/interfaces/controller-object.d.ts +1 -0
  262. package/controllers/interfaces/controller-object.js +1 -0
  263. package/controllers/interfaces/controller-object.js.map +1 -0
  264. package/controllers/interfaces/controller-options.d.ts +1 -0
  265. package/controllers/interfaces/controller-options.js +1 -0
  266. package/controllers/interfaces/controller-options.js.map +1 -0
  267. package/controllers/interfaces/controller-property.d.ts +3 -0
  268. package/controllers/interfaces/controller-property.js +1 -0
  269. package/controllers/interfaces/controller-property.js.map +1 -0
  270. package/controllers/interfaces/enum/index.js +1 -0
  271. package/controllers/interfaces/enum/index.js.map +1 -0
  272. package/controllers/interfaces/enum/request-interceptor.js +1 -0
  273. package/controllers/interfaces/enum/request-interceptor.js.map +1 -0
  274. package/controllers/interfaces/get-only-data.js +1 -0
  275. package/controllers/interfaces/get-only-data.js.map +1 -0
  276. package/controllers/interfaces/index.js +1 -0
  277. package/controllers/interfaces/index.js.map +1 -0
  278. package/controllers/interfaces/on-before-validation-data.js +1 -0
  279. package/controllers/interfaces/on-before-validation-data.js.map +1 -0
  280. package/controllers/interfaces/response-options.js +1 -0
  281. package/controllers/interfaces/response-options.js.map +1 -0
  282. package/controllers/services/default-action-builder.js +43 -5
  283. package/controllers/services/default-action-builder.js.map +1 -0
  284. package/controllers/services/restful-action-builder.d.ts +1 -0
  285. package/controllers/services/restful-action-builder.js +31 -0
  286. package/controllers/services/restful-action-builder.js.map +1 -0
  287. package/core/core.controller.d.ts +2 -3
  288. package/core/core.controller.js +20 -11
  289. package/core/core.controller.js.map +1 -0
  290. package/core/functions/bootstrap.js +1 -0
  291. package/core/functions/bootstrap.js.map +1 -0
  292. package/core/functions/create-action.js +2 -3
  293. package/core/functions/create-action.js.map +1 -0
  294. package/core/functions/create-interceptor.js +3 -2
  295. package/core/functions/create-interceptor.js.map +1 -0
  296. package/core/functions/format-message.js +1 -0
  297. package/core/functions/format-message.js.map +1 -0
  298. package/core/functions/get-action-path.js +1 -0
  299. package/core/functions/get-action-path.js.map +1 -0
  300. package/core/functions/get-env.js +1 -0
  301. package/core/functions/get-env.js.map +1 -0
  302. package/core/functions/get-node-key.js +1 -0
  303. package/core/functions/get-node-key.js.map +1 -0
  304. package/core/functions/get-other-types.js +1 -0
  305. package/core/functions/get-other-types.js.map +1 -0
  306. package/core/functions/resolve-action-transactional.d.ts +3 -0
  307. package/core/functions/resolve-action-transactional.js +10 -0
  308. package/core/functions/resolve-action-transactional.js.map +1 -0
  309. package/core/index.js +1 -0
  310. package/core/index.js.map +1 -0
  311. package/core/interfaces/action-def.d.ts +2 -5
  312. package/core/interfaces/action-def.js +1 -0
  313. package/core/interfaces/action-def.js.map +1 -0
  314. package/core/interfaces/action-docs.d.ts +18 -3
  315. package/core/interfaces/action-docs.js +1 -0
  316. package/core/interfaces/action-docs.js.map +1 -0
  317. package/core/interfaces/action-handle.d.ts +5 -0
  318. package/core/interfaces/action-handle.js +3 -0
  319. package/core/interfaces/action-handle.js.map +1 -0
  320. package/core/interfaces/core-options.d.ts +1 -0
  321. package/core/interfaces/core-options.js +1 -0
  322. package/core/interfaces/core-options.js.map +1 -0
  323. package/core/interfaces/docs-options.js +1 -0
  324. package/core/interfaces/docs-options.js.map +1 -0
  325. package/core/interfaces/enum/connect-type.js +1 -0
  326. package/core/interfaces/enum/connect-type.js.map +1 -0
  327. package/core/interfaces/enum/index.js +1 -0
  328. package/core/interfaces/enum/index.js.map +1 -0
  329. package/core/interfaces/format-message-options.js +1 -0
  330. package/core/interfaces/format-message-options.js.map +1 -0
  331. package/core/interfaces/forms-options.js +1 -0
  332. package/core/interfaces/forms-options.js.map +1 -0
  333. package/core/interfaces/index.js +1 -0
  334. package/core/interfaces/index.js.map +1 -0
  335. package/core/interfaces/interceptor.d.ts +1 -1
  336. package/core/interfaces/interceptor.js +1 -0
  337. package/core/interfaces/interceptor.js.map +1 -0
  338. package/core/interfaces/locale-options.js +1 -0
  339. package/core/interfaces/locale-options.js.map +1 -0
  340. package/core/interfaces/mapper.js +1 -0
  341. package/core/interfaces/mapper.js.map +1 -0
  342. package/core/interfaces/object-docs.js +1 -0
  343. package/core/interfaces/object-docs.js.map +1 -0
  344. package/core/interfaces/object.d.ts +4 -2
  345. package/core/interfaces/object.js +1 -0
  346. package/core/interfaces/object.js.map +1 -0
  347. package/core/interfaces/pending-action.js +1 -0
  348. package/core/interfaces/pending-action.js.map +1 -0
  349. package/core/interfaces/property-docs.js +1 -0
  350. package/core/interfaces/property-docs.js.map +1 -0
  351. package/core/interfaces/property.js +1 -0
  352. package/core/interfaces/property.js.map +1 -0
  353. package/core/interfaces/request-callback-handle.js +1 -0
  354. package/core/interfaces/request-callback-handle.js.map +1 -0
  355. package/core/interfaces/request-callback.js +1 -0
  356. package/core/interfaces/request-callback.js.map +1 -0
  357. package/core/interfaces/request-callbacks.js +1 -0
  358. package/core/interfaces/request-callbacks.js.map +1 -0
  359. package/core/interfaces/request-context.d.ts +2 -2
  360. package/core/interfaces/request-context.js +1 -0
  361. package/core/interfaces/request-context.js.map +1 -0
  362. package/core/interfaces/request-data.js +1 -0
  363. package/core/interfaces/request-data.js.map +1 -0
  364. package/core/interfaces/router-options.js +1 -0
  365. package/core/interfaces/router-options.js.map +1 -0
  366. package/core/interfaces/sanitizer.js +1 -0
  367. package/core/interfaces/sanitizer.js.map +1 -0
  368. package/core/interfaces/storage-options.js +1 -0
  369. package/core/interfaces/storage-options.js.map +1 -0
  370. package/core/interfaces/translations-options.js +1 -0
  371. package/core/interfaces/translations-options.js.map +1 -0
  372. package/core/interfaces/transport-options.js +1 -0
  373. package/core/interfaces/transport-options.js.map +1 -0
  374. package/core/services/context-builder.js +1 -0
  375. package/core/services/context-builder.js.map +1 -0
  376. package/core/services/locale-service.js +1 -0
  377. package/core/services/locale-service.js.map +1 -0
  378. package/core/services/node-control.service.js +1 -0
  379. package/core/services/node-control.service.js.map +1 -0
  380. package/core/services/object-loader.js +1 -0
  381. package/core/services/object-loader.js.map +1 -0
  382. package/core/services/request-executor.d.ts +8 -0
  383. package/core/services/request-executor.js +89 -0
  384. package/core/services/request-executor.js.map +1 -0
  385. package/core/services/request-router.js +4 -3
  386. package/core/services/request-router.js.map +1 -0
  387. package/database/contexts/index.js +1 -0
  388. package/database/contexts/index.js.map +1 -0
  389. package/database/contexts/transaction-context.js +1 -0
  390. package/database/contexts/transaction-context.js.map +1 -0
  391. package/database/database.controller.d.ts +3 -1
  392. package/database/database.controller.js +15 -15
  393. package/database/database.controller.js.map +1 -0
  394. package/database/decorators/column.decorator.js +1 -0
  395. package/database/decorators/column.decorator.js.map +1 -0
  396. package/database/decorators/entity.decorator.d.ts +3 -1
  397. package/database/decorators/entity.decorator.js +15 -5
  398. package/database/decorators/entity.decorator.js.map +1 -0
  399. package/database/decorators/external-column.decorator.d.ts +17 -0
  400. package/database/decorators/external-column.decorator.js +30 -0
  401. package/database/decorators/external-column.decorator.js.map +1 -0
  402. package/database/decorators/id-generated.decorator.js +1 -0
  403. package/database/decorators/id-generated.decorator.js.map +1 -0
  404. package/database/decorators/id.decorator.js +1 -0
  405. package/database/decorators/id.decorator.js.map +1 -0
  406. package/database/decorators/index.d.ts +2 -0
  407. package/database/decorators/index.js +3 -0
  408. package/database/decorators/index.js.map +1 -0
  409. package/database/decorators/inject-data-source.decorator.js +1 -0
  410. package/database/decorators/inject-data-source.decorator.js.map +1 -0
  411. package/database/decorators/inject-repository.decorator.js +1 -0
  412. package/database/decorators/inject-repository.decorator.js.map +1 -0
  413. package/database/decorators/jsonb-index.decorator.d.ts +21 -0
  414. package/database/decorators/jsonb-index.decorator.js +23 -0
  415. package/database/decorators/jsonb-index.decorator.js.map +1 -0
  416. package/database/decorators/protect-context-column.decorator.js +1 -0
  417. package/database/decorators/protect-context-column.decorator.js.map +1 -0
  418. package/database/decorators/protect-entity.decorator.js +1 -0
  419. package/database/decorators/protect-entity.decorator.js.map +1 -0
  420. package/database/decorators/protect-key-column.decorator.js +1 -0
  421. package/database/decorators/protect-key-column.decorator.js.map +1 -0
  422. package/database/decorators/protect-target-column.decorator.js +1 -0
  423. package/database/decorators/protect-target-column.decorator.js.map +1 -0
  424. package/database/decorators/protected-entity.decorator.js +1 -0
  425. package/database/decorators/protected-entity.decorator.js.map +1 -0
  426. package/database/decorators/relation.decorator.d.ts +2 -2
  427. package/database/decorators/relation.decorator.js +1 -0
  428. package/database/decorators/relation.decorator.js.map +1 -0
  429. package/database/decorators/virtual-column.decorator.js +1 -0
  430. package/database/decorators/virtual-column.decorator.js.map +1 -0
  431. package/database/{environment.d.ts → env.d.ts} +3 -1
  432. package/database/{environment.js → env.js} +4 -2
  433. package/database/env.js.map +1 -0
  434. package/database/exports/index.js +1 -0
  435. package/database/exports/index.js.map +1 -0
  436. package/database/exports/typeorm.js +1 -0
  437. package/database/exports/typeorm.js.map +1 -0
  438. package/database/extensions/select-query-builder.d.ts +1 -5
  439. package/database/extensions/select-query-builder.js +1 -0
  440. package/database/extensions/select-query-builder.js.map +1 -0
  441. package/database/functions/column-decorator.js +3 -0
  442. package/database/functions/column-decorator.js.map +1 -0
  443. package/database/functions/create-entity.js +1 -0
  444. package/database/functions/create-entity.js.map +1 -0
  445. package/database/functions/create-new-class.js +1 -0
  446. package/database/functions/create-new-class.js.map +1 -0
  447. package/database/functions/entity-decorator.js +1 -0
  448. package/database/functions/entity-decorator.js.map +1 -0
  449. package/database/functions/execute-if-not-exists-column.js +1 -0
  450. package/database/functions/execute-if-not-exists-column.js.map +1 -0
  451. package/database/functions/execute-if-not-exists-table.js +1 -0
  452. package/database/functions/execute-if-not-exists-table.js.map +1 -0
  453. package/database/functions/find-relation.d.ts +2 -1
  454. package/database/functions/find-relation.js +4 -3
  455. package/database/functions/find-relation.js.map +1 -0
  456. package/database/functions/generate-entity-id.d.ts +2 -0
  457. package/database/functions/{generate-id.js → generate-entity-id.js} +3 -2
  458. package/database/functions/generate-entity-id.js.map +1 -0
  459. package/database/functions/get-column-type.js +1 -0
  460. package/database/functions/get-column-type.js.map +1 -0
  461. package/database/functions/get-id-property.js +1 -0
  462. package/database/functions/get-id-property.js.map +1 -0
  463. package/database/functions/get-name-by-strategy.js +1 -0
  464. package/database/functions/get-name-by-strategy.js.map +1 -0
  465. package/database/functions/get-primitive-type.js +1 -0
  466. package/database/functions/get-primitive-type.js.map +1 -0
  467. package/database/functions/get-relations.d.ts +1 -1
  468. package/database/functions/get-relations.js +1 -0
  469. package/database/functions/get-relations.js.map +1 -0
  470. package/database/functions/has-update.js +1 -0
  471. package/database/functions/has-update.js.map +1 -0
  472. package/database/functions/inject-repository-handle.js +1 -0
  473. package/database/functions/inject-repository-handle.js.map +1 -0
  474. package/database/functions/object-to-jsonb.js +1 -0
  475. package/database/functions/object-to-jsonb.js.map +1 -0
  476. package/database/functions/register-column.js +1 -0
  477. package/database/functions/register-column.js.map +1 -0
  478. package/database/functions/register-entity.js +1 -0
  479. package/database/functions/register-entity.js.map +1 -0
  480. package/database/functions/register-generated-id.js +1 -0
  481. package/database/functions/register-generated-id.js.map +1 -0
  482. package/database/functions/register-id.js +1 -0
  483. package/database/functions/register-id.js.map +1 -0
  484. package/database/functions/register-relation.js +1 -0
  485. package/database/functions/register-relation.js.map +1 -0
  486. package/database/functions/relation-decorator.js +3 -2
  487. package/database/functions/relation-decorator.js.map +1 -0
  488. package/database/functions/use-protector.js +2 -1
  489. package/database/functions/use-protector.js.map +1 -0
  490. package/database/functions/use-repository.js +1 -0
  491. package/database/functions/use-repository.js.map +1 -0
  492. package/database/functions/use-transaction.d.ts +1 -0
  493. package/database/functions/use-transaction.js +3 -6
  494. package/database/functions/use-transaction.js.map +1 -0
  495. package/database/index.js +1 -0
  496. package/database/index.js.map +1 -0
  497. package/database/interfaces/base-columns-name-override.js +1 -0
  498. package/database/interfaces/base-columns-name-override.js.map +1 -0
  499. package/database/interfaces/column-def.js +1 -0
  500. package/database/interfaces/column-def.js.map +1 -0
  501. package/database/interfaces/connection.options.js +1 -0
  502. package/database/interfaces/connection.options.js.map +1 -0
  503. package/database/interfaces/direact-alias.js +1 -0
  504. package/database/interfaces/direact-alias.js.map +1 -0
  505. package/database/interfaces/entity-dto-object.d.ts +7 -0
  506. package/database/interfaces/entity-dto-object.js +3 -0
  507. package/database/interfaces/entity-dto-object.js.map +1 -0
  508. package/database/interfaces/entity-object.d.ts +1 -0
  509. package/database/interfaces/entity-object.js +1 -0
  510. package/database/interfaces/entity-object.js.map +1 -0
  511. package/database/interfaces/entity-options.js +1 -0
  512. package/database/interfaces/entity-options.js.map +1 -0
  513. package/database/interfaces/entity-property.d.ts +14 -0
  514. package/database/interfaces/entity-property.js +1 -0
  515. package/database/interfaces/entity-property.js.map +1 -0
  516. package/database/interfaces/enum/column-def-type.js +1 -0
  517. package/database/interfaces/enum/column-def-type.js.map +1 -0
  518. package/database/interfaces/enum/index.js +1 -0
  519. package/database/interfaces/enum/index.js.map +1 -0
  520. package/database/interfaces/enum/naming-strategy-type.js +1 -0
  521. package/database/interfaces/enum/naming-strategy-type.js.map +1 -0
  522. package/database/interfaces/enum/nano-id-alphabet-type.js +1 -0
  523. package/database/interfaces/enum/nano-id-alphabet-type.js.map +1 -0
  524. package/database/interfaces/enum/order-by-direction.js +1 -0
  525. package/database/interfaces/enum/order-by-direction.js.map +1 -0
  526. package/database/interfaces/enum/primary-strategy-type.js +1 -0
  527. package/database/interfaces/enum/primary-strategy-type.js.map +1 -0
  528. package/database/interfaces/enum/relation-path-type.js +1 -0
  529. package/database/interfaces/enum/relation-path-type.js.map +1 -0
  530. package/database/interfaces/execute-callback.js +1 -0
  531. package/database/interfaces/execute-callback.js.map +1 -0
  532. package/database/interfaces/id-column-def.js +1 -0
  533. package/database/interfaces/id-column-def.js.map +1 -0
  534. package/database/interfaces/index.js +1 -0
  535. package/database/interfaces/index.js.map +1 -0
  536. package/database/interfaces/inverse-alias.js +1 -0
  537. package/database/interfaces/inverse-alias.js.map +1 -0
  538. package/database/interfaces/nano-id-column-options.js +1 -0
  539. package/database/interfaces/nano-id-column-options.js.map +1 -0
  540. package/database/interfaces/path.d.ts +6 -2
  541. package/database/interfaces/path.js +1 -0
  542. package/database/interfaces/path.js.map +1 -0
  543. package/database/interfaces/protector.js +1 -0
  544. package/database/interfaces/protector.js.map +1 -0
  545. package/database/interfaces/register-one-to-many-handle.js +1 -0
  546. package/database/interfaces/register-one-to-many-handle.js.map +1 -0
  547. package/database/interfaces/register-one-to-many.js +1 -0
  548. package/database/interfaces/register-one-to-many.js.map +1 -0
  549. package/database/interfaces/relation-def.js +1 -0
  550. package/database/interfaces/relation-def.js.map +1 -0
  551. package/database/interfaces/relation-path.js +1 -0
  552. package/database/interfaces/relation-path.js.map +1 -0
  553. package/database/interfaces/relation.options.js +1 -0
  554. package/database/interfaces/relation.options.js.map +1 -0
  555. package/database/interfaces/repository.js +1 -0
  556. package/database/interfaces/repository.js.map +1 -0
  557. package/database/interfaces/virtual-select.d.ts +4 -0
  558. package/database/interfaces/virtual-select.js +3 -0
  559. package/database/interfaces/virtual-select.js.map +1 -0
  560. package/database/migrations/1737637321043-UUIDVarcharMigration.js +3 -2
  561. package/database/migrations/1737637321043-UUIDVarcharMigration.js.map +1 -0
  562. package/database/migrations/use-uuid-varchar-migration.js +3 -2
  563. package/database/migrations/use-uuid-varchar-migration.js.map +1 -0
  564. package/database/services/jsonb-index-creator.d.ts +23 -0
  565. package/database/services/jsonb-index-creator.js +156 -0
  566. package/database/services/jsonb-index-creator.js.map +1 -0
  567. package/database/services/paths-builder.js +1 -0
  568. package/database/services/paths-builder.js.map +1 -0
  569. package/database/services/protect-builder.d.ts +3 -2
  570. package/database/services/protect-builder.js +3 -2
  571. package/database/services/protect-builder.js.map +1 -0
  572. package/database/services/repository.service.d.ts +1 -1
  573. package/database/services/repository.service.js +4 -6
  574. package/database/services/repository.service.js.map +1 -0
  575. package/docs/controllers/controllers.d.ts +2 -0
  576. package/docs/controllers/controllers.js +6 -0
  577. package/docs/controllers/controllers.js.map +1 -0
  578. package/docs/controllers/docs.controller.d.ts +7 -0
  579. package/docs/controllers/docs.controller.js +58 -0
  580. package/docs/controllers/docs.controller.js.map +1 -0
  581. package/docs/docs.d.ts +10 -0
  582. package/docs/docs.js +10 -0
  583. package/docs/docs.js.map +1 -0
  584. package/docs/docs.module.d.ts +6 -0
  585. package/docs/docs.module.js +70 -0
  586. package/docs/docs.module.js.map +1 -0
  587. package/docs/entities/docs-controller-action.entity.d.ts +23 -0
  588. package/docs/entities/docs-controller-action.entity.js +148 -0
  589. package/docs/entities/docs-controller-action.entity.js.map +1 -0
  590. package/docs/entities/docs-controller.entity.d.ts +9 -0
  591. package/docs/entities/docs-controller.entity.js +54 -0
  592. package/docs/entities/docs-controller.entity.js.map +1 -0
  593. package/docs/entities/docs-version.entity.d.ts +10 -0
  594. package/docs/entities/docs-version.entity.js +59 -0
  595. package/docs/entities/docs-version.entity.js.map +1 -0
  596. package/docs/entities/entities.d.ts +4 -0
  597. package/docs/entities/entities.js +12 -0
  598. package/docs/entities/entities.js.map +1 -0
  599. package/docs/models/docs-model-property-validator.d.ts +11 -0
  600. package/docs/models/docs-model-property-validator.js +53 -0
  601. package/docs/models/docs-model-property-validator.js.map +1 -0
  602. package/docs/models/docs-model-property.d.ts +11 -0
  603. package/docs/models/docs-model-property.js +55 -0
  604. package/docs/models/docs-model-property.js.map +1 -0
  605. package/docs/models/docs-model.d.ts +7 -0
  606. package/docs/models/docs-model.js +43 -0
  607. package/docs/models/docs-model.js.map +1 -0
  608. package/docs/queries/docs-controller-action.query.d.ts +1 -0
  609. package/docs/queries/docs-controller-action.query.js +10 -0
  610. package/docs/queries/docs-controller-action.query.js.map +1 -0
  611. package/docs/queries/docs-controller.query.d.ts +1 -0
  612. package/docs/queries/docs-controller.query.js +10 -0
  613. package/docs/queries/docs-controller.query.js.map +1 -0
  614. package/docs/queries/docs-model.query.d.ts +1 -0
  615. package/docs/queries/docs-model.query.js +17 -0
  616. package/docs/queries/docs-model.query.js.map +1 -0
  617. package/docs/queries/docs-version.query.d.ts +1 -0
  618. package/docs/queries/docs-version.query.js +10 -0
  619. package/docs/queries/docs-version.query.js.map +1 -0
  620. package/docs/services/docs-controller-action.service.d.ts +19 -0
  621. package/docs/services/docs-controller-action.service.js +106 -0
  622. package/docs/services/docs-controller-action.service.js.map +1 -0
  623. package/docs/services/docs-controller.service.d.ts +7 -0
  624. package/docs/services/docs-controller.service.js +47 -0
  625. package/docs/services/docs-controller.service.js.map +1 -0
  626. package/docs/services/docs-version.service.d.ts +7 -0
  627. package/docs/services/docs-version.service.js +51 -0
  628. package/docs/services/docs-version.service.js.map +1 -0
  629. package/docs/services/docs.service.d.ts +10 -0
  630. package/docs/services/docs.service.js +48 -0
  631. package/docs/services/docs.service.js.map +1 -0
  632. package/forms/entities/form.js +1 -0
  633. package/forms/entities/form.js.map +1 -0
  634. package/forms/entities/property.js +1 -0
  635. package/forms/entities/property.js.map +1 -0
  636. package/forms/forms.controller.js +1 -0
  637. package/forms/forms.controller.js.map +1 -0
  638. package/forms/interfaces/form-item.js +1 -0
  639. package/forms/interfaces/form-item.js.map +1 -0
  640. package/forms/interfaces/form.js +1 -0
  641. package/forms/interfaces/form.js.map +1 -0
  642. package/forms/interfaces/property.js +1 -0
  643. package/forms/interfaces/property.js.map +1 -0
  644. package/forms/migrations/1725969116484-CreateFormsTables.js +1 -0
  645. package/forms/migrations/1725969116484-CreateFormsTables.js.map +1 -0
  646. package/forms/models/form-load.request.js +1 -0
  647. package/forms/models/form-load.request.js.map +1 -0
  648. package/forms/queries/form.query.d.ts +1 -1
  649. package/forms/queries/form.query.js +1 -0
  650. package/forms/queries/form.query.js.map +1 -0
  651. package/forms/queries/property.query.d.ts +1 -1
  652. package/forms/queries/property.query.js +1 -0
  653. package/forms/queries/property.query.js.map +1 -0
  654. package/forms/requests/form.request.js +1 -0
  655. package/forms/requests/form.request.js.map +1 -0
  656. package/forms/requests/property.request.js +1 -0
  657. package/forms/requests/property.request.js.map +1 -0
  658. package/forms/services/form.service.js +1 -0
  659. package/forms/services/form.service.js.map +1 -0
  660. package/forms/services/property.service.js +1 -0
  661. package/forms/services/property.service.js.map +1 -0
  662. package/forms/utils/build-form-validator.js +1 -0
  663. package/forms/utils/build-form-validator.js.map +1 -0
  664. package/forms/utils/get-form-items.js +1 -0
  665. package/forms/utils/get-form-items.js.map +1 -0
  666. package/global.d.ts +3 -1
  667. package/global.js +6 -2
  668. package/global.js.map +1 -0
  669. package/http/http.controller.d.ts +3 -6
  670. package/http/http.controller.js +4 -2
  671. package/http/http.controller.js.map +1 -0
  672. package/http/index.js +1 -0
  673. package/http/index.js.map +1 -0
  674. package/http/interfaces/csrf.options.js +1 -0
  675. package/http/interfaces/csrf.options.js.map +1 -0
  676. package/http/interfaces/http-request.js +1 -0
  677. package/http/interfaces/http-request.js.map +1 -0
  678. package/http/interfaces/http-response.js +1 -0
  679. package/http/interfaces/http-response.js.map +1 -0
  680. package/http/interfaces/http-settings.js +1 -0
  681. package/http/interfaces/http-settings.js.map +1 -0
  682. package/http/interfaces/http-use.js +1 -0
  683. package/http/interfaces/http-use.js.map +1 -0
  684. package/http/interfaces/index.js +1 -0
  685. package/http/interfaces/index.js.map +1 -0
  686. package/http/interfaces/route.js +1 -0
  687. package/http/interfaces/route.js.map +1 -0
  688. package/index.d.ts +3 -1
  689. package/index.js +3 -6
  690. package/index.js.map +1 -0
  691. package/jobs/constants.js +1 -0
  692. package/jobs/constants.js.map +1 -0
  693. package/jobs/decorators/index.js +1 -0
  694. package/jobs/decorators/index.js.map +1 -0
  695. package/jobs/decorators/job.decorator.js +1 -0
  696. package/jobs/decorators/job.decorator.js.map +1 -0
  697. package/jobs/interfaces/index.js +1 -0
  698. package/jobs/interfaces/index.js.map +1 -0
  699. package/jobs/interfaces/job-data.js +1 -0
  700. package/jobs/interfaces/job-data.js.map +1 -0
  701. package/jobs/interfaces/job-executor.js +1 -0
  702. package/jobs/interfaces/job-executor.js.map +1 -0
  703. package/jobs/interfaces/job-object.js +1 -0
  704. package/jobs/interfaces/job-object.js.map +1 -0
  705. package/jobs/interfaces/job.options.js +1 -0
  706. package/jobs/interfaces/job.options.js.map +1 -0
  707. package/jobs/jobs.controller.js +3 -0
  708. package/jobs/jobs.controller.js.map +1 -0
  709. package/module/decorators/index.js +1 -0
  710. package/module/decorators/index.js.map +1 -0
  711. package/module/decorators/module.decorator.js +1 -0
  712. package/module/decorators/module.decorator.js.map +1 -0
  713. package/module/decorators/on-after-app-start.js +1 -0
  714. package/module/decorators/on-after-app-start.js.map +1 -0
  715. package/module/decorators/on-after-database-init.js +1 -0
  716. package/module/decorators/on-after-database-init.js.map +1 -0
  717. package/module/decorators/on-module-init.js +1 -0
  718. package/module/decorators/on-module-init.js.map +1 -0
  719. package/module/index.js +1 -0
  720. package/module/index.js.map +1 -0
  721. package/module/interfaces/index.js +1 -0
  722. package/module/interfaces/index.js.map +1 -0
  723. package/module/interfaces/module-events.js +1 -0
  724. package/module/interfaces/module-events.js.map +1 -0
  725. package/module/interfaces/module-object.js +1 -0
  726. package/module/interfaces/module-object.js.map +1 -0
  727. package/module/interfaces/module-options.d.ts +1 -0
  728. package/module/interfaces/module-options.js +1 -0
  729. package/module/interfaces/module-options.js.map +1 -0
  730. package/module/module.controller.d.ts +3 -2
  731. package/module/module.controller.js +6 -0
  732. package/module/module.controller.js.map +1 -0
  733. package/package.json +13 -11
  734. package/query/constants.js +1 -0
  735. package/query/constants.js.map +1 -0
  736. package/query/decorators/index.js +1 -0
  737. package/query/decorators/index.js.map +1 -0
  738. package/query/decorators/query-content.decorator.js +1 -0
  739. package/query/decorators/query-content.decorator.js.map +1 -0
  740. package/query/functions/add-join.js +9 -5
  741. package/query/functions/add-join.js.map +1 -0
  742. package/query/functions/collect-external-column-owners.d.ts +10 -0
  743. package/query/functions/collect-external-column-owners.js +100 -0
  744. package/query/functions/collect-external-column-owners.js.map +1 -0
  745. package/query/functions/create-query-builder.js +48 -16
  746. package/query/functions/create-query-builder.js.map +1 -0
  747. package/query/functions/create-query-cache-hash.d.ts +16 -0
  748. package/query/functions/create-query-cache-hash.js +70 -0
  749. package/query/functions/create-query-cache-hash.js.map +1 -0
  750. package/query/functions/create-query.d.ts +8 -3
  751. package/query/functions/create-query.js +16 -9
  752. package/query/functions/create-query.js.map +1 -0
  753. package/query/functions/describe-query-filter.js +8 -4
  754. package/query/functions/describe-query-filter.js.map +1 -0
  755. package/query/functions/execute-query.js +56 -14
  756. package/query/functions/execute-query.js.map +1 -0
  757. package/query/functions/expand-select-with-external-dependencies.d.ts +9 -0
  758. package/query/functions/expand-select-with-external-dependencies.js +34 -0
  759. package/query/functions/expand-select-with-external-dependencies.js.map +1 -0
  760. package/query/functions/external-column-owner-path.d.ts +5 -0
  761. package/query/functions/external-column-owner-path.js +18 -0
  762. package/query/functions/external-column-owner-path.js.map +1 -0
  763. package/query/functions/get-column-path.js +1 -0
  764. package/query/functions/get-column-path.js.map +1 -0
  765. package/query/functions/get-entity-object-class.d.ts +2 -0
  766. package/query/functions/get-entity-object-class.js +12 -0
  767. package/query/functions/get-entity-object-class.js.map +1 -0
  768. package/query/functions/get-native-select.d.ts +4 -1
  769. package/query/functions/get-native-select.js +12 -1
  770. package/query/functions/get-native-select.js.map +1 -0
  771. package/query/functions/load-properties.d.ts +20 -2
  772. package/query/functions/load-properties.js +123 -39
  773. package/query/functions/load-properties.js.map +1 -0
  774. package/query/functions/map-query-property-to-column-name.js +2 -1
  775. package/query/functions/map-query-property-to-column-name.js.map +1 -0
  776. package/query/functions/query-structure-cache.d.ts +24 -0
  777. package/query/functions/query-structure-cache.js +66 -0
  778. package/query/functions/query-structure-cache.js.map +1 -0
  779. package/query/functions/replace-property-key-to-column-name.js +1 -0
  780. package/query/functions/replace-property-key-to-column-name.js.map +1 -0
  781. package/query/interfaces/index.js +1 -0
  782. package/query/interfaces/index.js.map +1 -0
  783. package/query/interfaces/query-action-options.js +1 -0
  784. package/query/interfaces/query-action-options.js.map +1 -0
  785. package/query/interfaces/query-object.js +1 -0
  786. package/query/interfaces/query-object.js.map +1 -0
  787. package/query/interfaces/query.d.ts +46 -2
  788. package/query/interfaces/query.js +1 -0
  789. package/query/interfaces/query.js.map +1 -0
  790. package/query/models/base-query-response.js +1 -0
  791. package/query/models/base-query-response.js.map +1 -0
  792. package/query/services/query-action-builder.d.ts +4 -1
  793. package/query/services/query-action-builder.js +43 -14
  794. package/query/services/query-action-builder.js.map +1 -0
  795. package/security/auth.controller.js +1 -0
  796. package/security/auth.controller.js.map +1 -0
  797. package/security/constants.js +1 -0
  798. package/security/constants.js.map +1 -0
  799. package/security/env.js +1 -0
  800. package/security/env.js.map +1 -0
  801. package/security/functions/add-protect.js +1 -0
  802. package/security/functions/add-protect.js.map +1 -0
  803. package/security/functions/add-protected.js +1 -0
  804. package/security/functions/add-protected.js.map +1 -0
  805. package/security/functions/create-authorization.js +1 -0
  806. package/security/functions/create-authorization.js.map +1 -0
  807. package/security/functions/find-auth-context.js +1 -0
  808. package/security/functions/find-auth-context.js.map +1 -0
  809. package/security/functions/is-auth-enabled.js +1 -0
  810. package/security/functions/is-auth-enabled.js.map +1 -0
  811. package/security/functions/use-auth.js +1 -0
  812. package/security/functions/use-auth.js.map +1 -0
  813. package/security/index.js +1 -0
  814. package/security/index.js.map +1 -0
  815. package/security/interceptors/index.js +1 -0
  816. package/security/interceptors/index.js.map +1 -0
  817. package/security/interceptors/is-authorized.interceptor.js +1 -0
  818. package/security/interceptors/is-authorized.interceptor.js.map +1 -0
  819. package/security/interfaces/auth-controller.js +1 -0
  820. package/security/interfaces/auth-controller.js.map +1 -0
  821. package/security/interfaces/auth-object.js +1 -0
  822. package/security/interfaces/auth-object.js.map +1 -0
  823. package/security/interfaces/auth-property.js +1 -0
  824. package/security/interfaces/auth-property.js.map +1 -0
  825. package/security/interfaces/authorization-schema.js +1 -0
  826. package/security/interfaces/authorization-schema.js.map +1 -0
  827. package/security/interfaces/index.js +1 -0
  828. package/security/interfaces/index.js.map +1 -0
  829. package/security/interfaces/security-options.js +1 -0
  830. package/security/interfaces/security-options.js.map +1 -0
  831. package/security/interfaces/ssl-certificate.js +1 -0
  832. package/security/interfaces/ssl-certificate.js.map +1 -0
  833. package/security/models/auth-context-data.js +1 -0
  834. package/security/models/auth-context-data.js.map +1 -0
  835. package/security/models/auth-context.js +1 -0
  836. package/security/models/auth-context.js.map +1 -0
  837. package/security/models/auth-key.js +1 -0
  838. package/security/models/auth-key.js.map +1 -0
  839. package/security/models/get-user-permissions-payload.js +1 -0
  840. package/security/models/get-user-permissions-payload.js.map +1 -0
  841. package/security/models/get-user-permissions-response.js +1 -0
  842. package/security/models/get-user-permissions-response.js.map +1 -0
  843. package/security/models/set-user-permissions-payload.js +1 -0
  844. package/security/models/set-user-permissions-payload.js.map +1 -0
  845. package/security/requests/security.request.js +2 -1
  846. package/security/requests/security.request.js.map +1 -0
  847. package/security/services/authorization.service.js +1 -0
  848. package/security/services/authorization.service.js.map +1 -0
  849. package/storage/entities/metadata.entity.js +2 -1
  850. package/storage/entities/metadata.entity.js.map +1 -0
  851. package/storage/entities/storage.entity.js +2 -1
  852. package/storage/entities/storage.entity.js.map +1 -0
  853. package/storage/env.js +1 -0
  854. package/storage/env.js.map +1 -0
  855. package/storage/functions/index.js +1 -0
  856. package/storage/functions/index.js.map +1 -0
  857. package/storage/functions/set-storage-settings.js +1 -0
  858. package/storage/functions/set-storage-settings.js.map +1 -0
  859. package/storage/index.js +1 -0
  860. package/storage/index.js.map +1 -0
  861. package/storage/interfaces/directory-metadata.js +1 -0
  862. package/storage/interfaces/directory-metadata.js.map +1 -0
  863. package/storage/interfaces/enum/gcp-credentials-type.js +1 -0
  864. package/storage/interfaces/enum/gcp-credentials-type.js.map +1 -0
  865. package/storage/interfaces/enum/index.js +1 -0
  866. package/storage/interfaces/enum/index.js.map +1 -0
  867. package/storage/interfaces/enum/metadata-type.js +1 -0
  868. package/storage/interfaces/enum/metadata-type.js.map +1 -0
  869. package/storage/interfaces/enum/storage-type.js +1 -0
  870. package/storage/interfaces/enum/storage-type.js.map +1 -0
  871. package/storage/interfaces/file-metadata.js +1 -0
  872. package/storage/interfaces/file-metadata.js.map +1 -0
  873. package/storage/interfaces/index.js +1 -0
  874. package/storage/interfaces/index.js.map +1 -0
  875. package/storage/interfaces/metadata.js +1 -0
  876. package/storage/interfaces/metadata.js.map +1 -0
  877. package/storage/interfaces/storage-controller.js +1 -0
  878. package/storage/interfaces/storage-controller.js.map +1 -0
  879. package/storage/interfaces/storage-settings.js +1 -0
  880. package/storage/interfaces/storage-settings.js.map +1 -0
  881. package/storage/interfaces/storage.js +1 -0
  882. package/storage/interfaces/storage.js.map +1 -0
  883. package/storage/services/routes.service.js +1 -0
  884. package/storage/services/routes.service.js.map +1 -0
  885. package/storage/services/storage.service.d.ts +1 -1
  886. package/storage/services/storage.service.js +3 -3
  887. package/storage/services/storage.service.js.map +1 -0
  888. package/storage/storage.controller.js +1 -0
  889. package/storage/storage.controller.js.map +1 -0
  890. package/tasks/constants.d.ts +2 -2
  891. package/tasks/constants.js +4 -2
  892. package/tasks/constants.js.map +1 -0
  893. package/tasks/controllers/task.controller.d.ts +9 -0
  894. package/tasks/controllers/task.controller.js +53 -0
  895. package/tasks/controllers/task.controller.js.map +1 -0
  896. package/tasks/decorators/index.js +1 -0
  897. package/tasks/decorators/index.js.map +1 -0
  898. package/tasks/decorators/task.decorator.js +9 -3
  899. package/tasks/decorators/task.decorator.js.map +1 -0
  900. package/tasks/functions/create-task-message-controller.d.ts +3 -0
  901. package/tasks/functions/create-task-message-controller.js +15 -0
  902. package/tasks/functions/create-task-message-controller.js.map +1 -0
  903. package/tasks/functions/create-task-message-find.js +7 -6
  904. package/tasks/functions/create-task-message-find.js.map +1 -0
  905. package/tasks/functions/create-task-message-model.js +11 -0
  906. package/tasks/functions/create-task-message-model.js.map +1 -0
  907. package/tasks/functions/{create-task-message-receptor.d.ts → create-task-message-post.d.ts} +1 -1
  908. package/tasks/functions/create-task-message-post.js +29 -0
  909. package/tasks/functions/create-task-message-post.js.map +1 -0
  910. package/tasks/functions/create-task-message-query.d.ts +3 -0
  911. package/tasks/functions/create-task-message-query.js +23 -0
  912. package/tasks/functions/create-task-message-query.js.map +1 -0
  913. package/tasks/functions/create-task-message-retry.js +7 -6
  914. package/tasks/functions/create-task-message-retry.js.map +1 -0
  915. package/tasks/functions/create-task-message-schema.js +1 -0
  916. package/tasks/functions/create-task-message-schema.js.map +1 -0
  917. package/tasks/functions/create-task-naming.js +9 -11
  918. package/tasks/functions/create-task-naming.js.map +1 -0
  919. package/tasks/functions/generate-entity-id.js +1 -0
  920. package/tasks/functions/generate-entity-id.js.map +1 -0
  921. package/tasks/functions/get-check-table-exists-script.js +1 -0
  922. package/tasks/functions/get-check-table-exists-script.js.map +1 -0
  923. package/tasks/functions/get-create-table-partition-script.js +1 -0
  924. package/tasks/functions/get-create-table-partition-script.js.map +1 -0
  925. package/tasks/functions/get-create-table-script.js +15 -11
  926. package/tasks/functions/get-create-table-script.js.map +1 -0
  927. package/tasks/functions/get-database-connection-name.js +1 -0
  928. package/tasks/functions/get-database-connection-name.js.map +1 -0
  929. package/tasks/functions/get-database-uri.js +1 -0
  930. package/tasks/functions/get-database-uri.js.map +1 -0
  931. package/tasks/functions/get-partitions-of-table-script.js +1 -0
  932. package/tasks/functions/get-partitions-of-table-script.js.map +1 -0
  933. package/tasks/functions/get-pending-task-script.d.ts +1 -1
  934. package/tasks/functions/get-pending-task-script.js +17 -13
  935. package/tasks/functions/get-pending-task-script.js.map +1 -0
  936. package/tasks/functions/throw-task-error.js +1 -0
  937. package/tasks/functions/throw-task-error.js.map +1 -0
  938. package/tasks/index.d.ts +2 -0
  939. package/tasks/index.js +3 -0
  940. package/tasks/index.js.map +1 -0
  941. package/tasks/interfaces/index.js +1 -0
  942. package/tasks/interfaces/index.js.map +1 -0
  943. package/tasks/interfaces/task-naming.d.ts +3 -3
  944. package/tasks/interfaces/task-naming.js +1 -0
  945. package/tasks/interfaces/task-naming.js.map +1 -0
  946. package/tasks/interfaces/task-object.d.ts +4 -2
  947. package/tasks/interfaces/task-object.js +1 -0
  948. package/tasks/interfaces/task-object.js.map +1 -0
  949. package/tasks/interfaces/task-post-intercept.d.ts +1 -8
  950. package/tasks/interfaces/task-post-intercept.js +1 -0
  951. package/tasks/interfaces/task-post-intercept.js.map +1 -0
  952. package/tasks/interfaces/task-runner.d.ts +2 -1
  953. package/tasks/interfaces/task-runner.js +1 -0
  954. package/tasks/interfaces/task-runner.js.map +1 -0
  955. package/tasks/interfaces/task-search-intercept.js +1 -0
  956. package/tasks/interfaces/task-search-intercept.js.map +1 -0
  957. package/tasks/interfaces/task-settings.d.ts +3 -1
  958. package/tasks/interfaces/task-settings.js +1 -0
  959. package/tasks/interfaces/task-settings.js.map +1 -0
  960. package/tasks/models/index.d.ts +3 -0
  961. package/tasks/models/index.js +20 -0
  962. package/tasks/models/index.js.map +1 -0
  963. package/tasks/models/task-error.js +2 -1
  964. package/tasks/models/task-error.js.map +1 -0
  965. package/tasks/models/task-message-find.js +1 -0
  966. package/tasks/models/task-message-find.js.map +1 -0
  967. package/tasks/models/task-message.d.ts +3 -3
  968. package/tasks/models/task-message.js +32 -5
  969. package/tasks/models/task-message.js.map +1 -0
  970. package/tasks/services/task-manager.service.js +7 -9
  971. package/tasks/services/task-manager.service.js.map +1 -0
  972. package/tasks/services/task-runner.service.d.ts +7 -0
  973. package/tasks/services/task-runner.service.js +61 -39
  974. package/tasks/services/task-runner.service.js.map +1 -0
  975. package/tasks/tasks.controller.d.ts +2 -10
  976. package/tasks/tasks.controller.js +4 -49
  977. package/tasks/tasks.controller.js.map +1 -0
  978. package/tasks/tasks.module.d.ts +12 -0
  979. package/tasks/tasks.module.js +65 -0
  980. package/tasks/tasks.module.js.map +1 -0
  981. package/translations/{requests/translation.request.d.ts → controllers/translation.controller.d.ts} +1 -1
  982. package/translations/{requests/translation.request.js → controllers/translation.controller.js} +23 -19
  983. package/translations/controllers/translation.controller.js.map +1 -0
  984. package/translations/entities/translation-config.entity.js +1 -0
  985. package/translations/entities/translation-config.entity.js.map +1 -0
  986. package/translations/entities/translation-values.entity.d.ts +1 -1
  987. package/translations/entities/translation-values.entity.js +12 -6
  988. package/translations/entities/translation-values.entity.js.map +1 -0
  989. package/translations/env.js +1 -0
  990. package/translations/env.js.map +1 -0
  991. package/translations/functions/check-can-use.js +1 -0
  992. package/translations/functions/check-can-use.js.map +1 -0
  993. package/translations/functions/create-translation-config.js +1 -0
  994. package/translations/functions/create-translation-config.js.map +1 -0
  995. package/translations/functions/create-translation-values.js +3 -5
  996. package/translations/functions/create-translation-values.js.map +1 -0
  997. package/translations/functions/get-translation-config.js +1 -0
  998. package/translations/functions/get-translation-config.js.map +1 -0
  999. package/translations/interfaces/translation-config.js +1 -0
  1000. package/translations/interfaces/translation-config.js.map +1 -0
  1001. package/translations/interfaces/translation-values.js +1 -0
  1002. package/translations/interfaces/translation-values.js.map +1 -0
  1003. package/translations/interfaces/translator-handle.js +1 -0
  1004. package/translations/interfaces/translator-handle.js.map +1 -0
  1005. package/translations/migrations/1723760669185-CreateTranslationTables.js +4 -3
  1006. package/translations/migrations/1723760669185-CreateTranslationTables.js.map +1 -0
  1007. package/translations/models/get-values.request.js +1 -0
  1008. package/translations/models/get-values.request.js.map +1 -0
  1009. package/translations/models/get-values.response.js +1 -0
  1010. package/translations/models/get-values.response.js.map +1 -0
  1011. package/translations/queries/translation-config.query.d.ts +1 -1
  1012. package/translations/queries/translation-config.query.js +1 -0
  1013. package/translations/queries/translation-config.query.js.map +1 -0
  1014. package/translations/queries/translation-values.query.d.ts +1 -1
  1015. package/translations/queries/translation-values.query.js +2 -1
  1016. package/translations/queries/translation-values.query.js.map +1 -0
  1017. package/translations/services/translations.service.js +1 -0
  1018. package/translations/services/translations.service.js.map +1 -0
  1019. package/translations/services/translator.service.js +1 -0
  1020. package/translations/services/translator.service.js.map +1 -0
  1021. package/translations/translations.controller.d.ts +1 -1
  1022. package/translations/translations.controller.js +8 -9
  1023. package/translations/translations.controller.js.map +1 -0
  1024. package/transport/entities/transport-client.js +1 -0
  1025. package/transport/entities/transport-client.js.map +1 -0
  1026. package/transport/entities/transport-gateway-status.js +1 -0
  1027. package/transport/entities/transport-gateway-status.js.map +1 -0
  1028. package/transport/entities/transport-gateway.js +1 -0
  1029. package/transport/entities/transport-gateway.js.map +1 -0
  1030. package/transport/environment.js +1 -0
  1031. package/transport/environment.js.map +1 -0
  1032. package/transport/index.js +1 -0
  1033. package/transport/index.js.map +1 -0
  1034. package/transport/interfaces/index.js +1 -0
  1035. package/transport/interfaces/index.js.map +1 -0
  1036. package/transport/interfaces/transport-module-options.js +1 -0
  1037. package/transport/interfaces/transport-module-options.js.map +1 -0
  1038. package/transport/transport.module.js +1 -0
  1039. package/transport/transport.module.js.map +1 -0
  1040. package/web-socket/constants.js +1 -0
  1041. package/web-socket/constants.js.map +1 -0
  1042. package/web-socket/functions/encode-message.js +1 -0
  1043. package/web-socket/functions/encode-message.js.map +1 -0
  1044. package/web-socket/functions/get-fake-http-context.js +1 -0
  1045. package/web-socket/functions/get-fake-http-context.js.map +1 -0
  1046. package/web-socket/functions/get-ip-address.js +1 -0
  1047. package/web-socket/functions/get-ip-address.js.map +1 -0
  1048. package/web-socket/functions/parse-message.js +1 -0
  1049. package/web-socket/functions/parse-message.js.map +1 -0
  1050. package/web-socket/index.js +1 -0
  1051. package/web-socket/index.js.map +1 -0
  1052. package/web-socket/interfaces/client.js +1 -0
  1053. package/web-socket/interfaces/client.js.map +1 -0
  1054. package/web-socket/interfaces/enum/client-type.js +1 -0
  1055. package/web-socket/interfaces/enum/client-type.js.map +1 -0
  1056. package/web-socket/interfaces/enum/index.js +1 -0
  1057. package/web-socket/interfaces/enum/index.js.map +1 -0
  1058. package/web-socket/interfaces/enum/message-type.js +1 -0
  1059. package/web-socket/interfaces/enum/message-type.js.map +1 -0
  1060. package/web-socket/interfaces/enum/ws-connection-type.js +1 -0
  1061. package/web-socket/interfaces/enum/ws-connection-type.js.map +1 -0
  1062. package/web-socket/interfaces/index.js +1 -0
  1063. package/web-socket/interfaces/index.js.map +1 -0
  1064. package/web-socket/interfaces/message.js +1 -0
  1065. package/web-socket/interfaces/message.js.map +1 -0
  1066. package/web-socket/interfaces/ws-connection.js +1 -0
  1067. package/web-socket/interfaces/ws-connection.js.map +1 -0
  1068. package/web-socket/web-socket.controller.js +1 -0
  1069. package/web-socket/web-socket.controller.js.map +1 -0
  1070. package/workers/functions/decode-message.js +1 -0
  1071. package/workers/functions/decode-message.js.map +1 -0
  1072. package/workers/functions/dispatch-task.js +1 -0
  1073. package/workers/functions/dispatch-task.js.map +1 -0
  1074. package/workers/functions/encode-message.js +1 -0
  1075. package/workers/functions/encode-message.js.map +1 -0
  1076. package/workers/interfaces/enum/index.js +1 -0
  1077. package/workers/interfaces/enum/index.js.map +1 -0
  1078. package/workers/interfaces/enum/worker-message-type.js +1 -0
  1079. package/workers/interfaces/enum/worker-message-type.js.map +1 -0
  1080. package/workers/interfaces/index.js +1 -0
  1081. package/workers/interfaces/index.js.map +1 -0
  1082. package/workers/interfaces/worker-data.js +1 -0
  1083. package/workers/interfaces/worker-data.js.map +1 -0
  1084. package/workers/interfaces/worker-message.js +1 -0
  1085. package/workers/interfaces/worker-message.js.map +1 -0
  1086. package/workers/workers.controller.d.ts +1 -1
  1087. package/workers/workers.controller.js +11 -6
  1088. package/workers/workers.controller.js.map +1 -0
  1089. package/database/functions/generate-id.d.ts +0 -2
  1090. package/tasks/functions/create-task-message-receptor.js +0 -23
  1091. package/tasks/functions/create-task-message-trigger.d.ts +0 -2
  1092. package/tasks/functions/create-task-message-trigger.js +0 -18
  1093. package/tasks/functions/parse-task-message-search.d.ts +0 -20
  1094. package/tasks/functions/parse-task-message-search.js +0 -62
  1095. package/tasks/requests/task.request.d.ts +0 -17
  1096. package/tasks/requests/task.request.js +0 -71
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-runner.service.js","sourceRoot":"./","sources":["tasks/services/task-runner.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,kFAA4E;AAE5E,4EAAwE;AACxE,kDAIgC;AAChC,6DAGkC;AAU3B,IAAM,iBAAiB,yBAAvB,MAAM,iBAAiB;IAM3B,WAAW;QACR,mBAAiB,CAAC,IAAI,GAAG,IAAI,CAAC;IACjC,CAAC;IAED;QANA,UAAK,GAAG,EAAkB,CAAC;QAOxB,WAAW,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,GAAG,CAAC,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,MAA+B;QAC9C,MAAM,MAAM,GAAG,MAAM,IAAA,+BAAc,EAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACxD,MAAM,UAAU,GAAG,IAAA,8BAAa,EAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACtD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YACb,MAAM,EAAE,MAAM;YACd,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,UAAU;SACxB,CAAC,CAAC;IACN,CAAC;IAES,KAAK,CAAC,eAAe;QAC5B,IAAI,CAAC;YACF,IAAI,mBAAiB,CAAC,OAAO;gBAAE,OAAO;YACtC,mBAAiB,CAAC,OAAO,GAAG,IAAI,CAAC;YACjC,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;gBAC7B,MAAM,KAAK,GAAG,IAAA,8CAAoB,EAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACtE,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAkC,CAAC;gBAC1F,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CACxC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CACnD,CAAC;YACL,CAAC;YACD,mBAAiB,CAAC,OAAO,GAAG,KAAK,CAAC;QACrC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACd,mBAAiB,CAAC,OAAO,GAAG,KAAK,CAAC;QACrC,CAAC;IACJ,CAAC;IAES,KAAK,CAAC,WAAW,CACxB,IAAgB,EAChB,OAAyB;QAEzB,MAAM,SAAS,GAAG,QAAQ,EAAE,CAAC;QAE7B,IAAI,CAAC;YACF,SAAS,CAAC,KAAK,EAAE,CAAC;YAElB,MAAM,IAAI;iBACN,MAAM;iBACN,KAAK,CAAC;gBACJ,OAAO,EAAE,OAAO;aAClB,CAAC,CAAC;YAEN,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;gBAC1B,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,WAAW,EAAE,OAAO,CAAC,WAAW;aAClC,EAAE;gBACA,MAAM,EAAE,yBAAiB,CAAC,SAAS;gBACnC,cAAc,EAAE,IAAI,IAAI,EAAE;gBAC1B,SAAS,EAAE,SAAS,CAAC,IAAI,EAAE;gBAC3B,OAAO,EAAE,OAAO,CAAC,OAAO;aAC1B,CAAC,CAAC;QAEN,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACd,MAAM,SAAS,GAAG,KAAmB,CAAC;YACtC,SAAS,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;YAC/C,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,OAAO,CAAC;YACpD,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;gBAC1B,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,WAAW,EAAE,OAAO,CAAC,WAAW;aAClC,EAAE;gBACA,MAAM,EAAE,yBAAiB,CAAC,MAAM;gBAChC,cAAc,EAAE,IAAI,IAAI,EAAE;gBAC1B,QAAQ,EAAE,OAAO,CAAC,QAAQ,GAAG,CAAC;gBAC9B,SAAS,EAAE,SAAS,CAAC,IAAI,EAAE;gBAC3B,aAAa,EAAE,SAAS;gBACxB,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI;gBAClC,OAAO,EAAE,OAAO,CAAC,OAAO;aAC1B,CAAC,CAAC;QACN,CAAC;IACJ,CAAC;IAES,UAAU,CAAC,GAAG;QACrB,OAAO;YACJ,EAAE,EAAE,GAAG,CAAC,EAAE;YACV,WAAW,EAAE,GAAG,CAAC,YAAY;YAC7B,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,SAAS,EAAE,GAAG,CAAC,UAAU;YACzB,cAAc,EAAE,GAAG,CAAC,gBAAgB;YACpC,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,aAAa,EAAE,GAAG,CAAC,cAAc;YACjC,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,SAAS,EAAE,GAAG,CAAC,UAAU;SAC3B,CAAC;IACL,CAAC;;AAlGS,8CAAiB;AAEZ,yBAAO,GAAG,KAAK,AAAR,CAAS;AAChB,sBAAI,GAAG,KAAK,AAAR,CAAS;4BAHlB,iBAAiB;IAD7B,IAAA,2BAAU,GAAE;;GACA,iBAAiB,CAmG7B"}
@@ -3,17 +3,9 @@ import { ObjectLoader } from "../core/services/object-loader";
3
3
  import { ITaskObject } from "./interfaces/task-object";
4
4
  import { ObjectNote } from "@rockster/class-memory";
5
5
  import { Instantiable } from "@rockster/common";
6
- import { TaskManagerService } from "./services/task-manager.service";
7
- import { TaskRunnerService } from "./services/task-runner.service";
8
6
  export declare class TasksController extends ObjectLoader<ITaskObject> {
9
- protected readonly taskManagerService: TaskManagerService;
10
- protected readonly taskRunnerService: TaskRunnerService;
11
7
  private static _objects;
12
- protected objects: ObjectNote<ITaskObject>[];
13
- protected logger: Logger;
14
- constructor(taskManagerService: TaskManagerService, taskRunnerService: TaskRunnerService);
8
+ objects: ObjectNote<ITaskObject>[];
9
+ logger: Logger;
15
10
  build(targets: Instantiable[]): Promise<void>;
16
- start(): Promise<void>;
17
- protected configureTasks(): Promise<void>;
18
- protected initTasksRunners(): Promise<void>;
19
11
  }
@@ -5,9 +5,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
8
  var TasksController_1;
12
9
  Object.defineProperty(exports, "__esModule", { value: true });
13
10
  exports.TasksController = void 0;
@@ -15,61 +12,19 @@ const class_injector_1 = require("@rockster/class-injector");
15
12
  const logger_1 = require("@rockster/logger");
16
13
  const object_loader_1 = require("../core/services/object-loader");
17
14
  const object_type_1 = require("../common/interfaces/enum/object-type");
18
- const task_manager_service_1 = require("./services/task-manager.service");
19
- const task_request_1 = require("./requests/task.request");
20
- const module_1 = require("../module");
21
- const node_postgres_1 = require("drizzle-orm/node-postgres");
22
- const constants_1 = require("./constants");
23
- const get_database_uri_1 = require("./functions/get-database-uri");
24
- const worker_threads_1 = require("worker_threads");
25
- const task_runner_service_1 = require("./services/task-runner.service");
26
- const get_database_connection_name_1 = require("./functions/get-database-connection-name");
27
15
  let TasksController = TasksController_1 = class TasksController extends object_loader_1.ObjectLoader {
28
- constructor(taskManagerService, taskRunnerService) {
29
- super();
30
- this.taskManagerService = taskManagerService;
31
- this.taskRunnerService = taskRunnerService;
16
+ constructor() {
17
+ super(...arguments);
32
18
  this.objects = TasksController_1._objects;
33
19
  this.logger = new logger_1.Logger('Task');
34
20
  }
35
21
  async build(targets) {
36
22
  super.load(this.objects, object_type_1.ObjectType.task, targets);
37
23
  }
38
- async start() {
39
- await module_1.ModuleController
40
- .instance
41
- .loadRequests([task_request_1.TaskRequest]);
42
- const applicationName = (0, get_database_connection_name_1.getDatabaseConnectionName)(worker_threads_1.isMainThread);
43
- const databaseUri = (0, get_database_uri_1.getDatabaseUri)(applicationName);
44
- constants_1.constants.database = await (0, node_postgres_1.drizzle)(databaseUri);
45
- if (worker_threads_1.isMainThread) {
46
- await this.configureTasks();
47
- }
48
- else {
49
- await this.initTasksRunners();
50
- this.taskRunnerService.activeTimer();
51
- }
52
- this.logger.log('Tasks successfully initialized');
53
- }
54
- async configureTasks() {
55
- for (const object of this.objects) {
56
- await this
57
- .taskManagerService
58
- .configure(object);
59
- }
60
- }
61
- async initTasksRunners() {
62
- for (const object of this.objects) {
63
- await this
64
- .taskRunnerService
65
- .startRunner(object);
66
- }
67
- }
68
24
  };
69
25
  exports.TasksController = TasksController;
70
26
  TasksController._objects = [];
71
27
  exports.TasksController = TasksController = TasksController_1 = __decorate([
72
- (0, class_injector_1.Injectable)(),
73
- __metadata("design:paramtypes", [task_manager_service_1.TaskManagerService,
74
- task_runner_service_1.TaskRunnerService])
28
+ (0, class_injector_1.Injectable)()
75
29
  ], TasksController);
30
+ //# sourceMappingURL=tasks.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.controller.js","sourceRoot":"./","sources":["tasks/tasks.controller.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,6DAAsD;AACtD,6CAA0C;AAC1C,kEAA8D;AAI9D,uEAAmE;AAG5D,IAAM,eAAe,uBAArB,MAAM,eAAgB,SAAQ,4BAAyB;IAAvD;;QAGJ,YAAO,GAA8B,iBAAe,CAAC,QAAQ,CAAC;QAC9D,WAAM,GAAG,IAAI,eAAM,CAAC,MAAM,CAAC,CAAC;IAU/B,CAAC;IARE,KAAK,CAAC,KAAK,CAAC,OAAuB;QAEhC,KAAK,CAAC,IAAI,CACP,IAAI,CAAC,OAAO,EACZ,wBAAU,CAAC,IAAI,EACf,OAAO,CACT,CAAC;IACL,CAAC;;AAbS,0CAAe;AAEV,wBAAQ,GAAG,EAAE,AAAL,CAAM;0BAFnB,eAAe;IAD3B,IAAA,2BAAU,GAAE;GACA,eAAe,CAc3B"}
@@ -0,0 +1,12 @@
1
+ import { TaskManagerService } from "./services/task-manager.service";
2
+ import { TaskRunnerService } from "./services/task-runner.service";
3
+ import { TasksController } from "./tasks.controller";
4
+ export declare class TasksModule {
5
+ protected readonly taskManagerService: TaskManagerService;
6
+ protected readonly taskRunnerService: TaskRunnerService;
7
+ protected readonly tasksController: TasksController;
8
+ constructor(taskManagerService: TaskManagerService, taskRunnerService: TaskRunnerService, tasksController: TasksController);
9
+ configure(): Promise<void>;
10
+ protected configureTasks(): Promise<void>;
11
+ protected initTasksRunners(): Promise<void>;
12
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TasksModule = void 0;
13
+ const worker_threads_1 = require("worker_threads");
14
+ const module_1 = require("../module");
15
+ const task_manager_service_1 = require("./services/task-manager.service");
16
+ const task_runner_service_1 = require("./services/task-runner.service");
17
+ const tasks_controller_1 = require("./tasks.controller");
18
+ const constants_1 = require("./constants");
19
+ let TasksModule = class TasksModule {
20
+ constructor(taskManagerService, taskRunnerService, tasksController) {
21
+ this.taskManagerService = taskManagerService;
22
+ this.taskRunnerService = taskRunnerService;
23
+ this.tasksController = tasksController;
24
+ }
25
+ async configure() {
26
+ if (worker_threads_1.isMainThread) {
27
+ await this.configureTasks();
28
+ }
29
+ else {
30
+ await this.initTasksRunners();
31
+ this.taskRunnerService.activeTimer();
32
+ }
33
+ }
34
+ async configureTasks() {
35
+ for (const object of this.tasksController.objects) {
36
+ await this
37
+ .taskManagerService
38
+ .configure(object);
39
+ }
40
+ }
41
+ async initTasksRunners() {
42
+ for (const object of this.tasksController.objects) {
43
+ await this
44
+ .taskRunnerService
45
+ .startRunner(object);
46
+ }
47
+ }
48
+ };
49
+ exports.TasksModule = TasksModule;
50
+ __decorate([
51
+ (0, module_1.OnAfterDatabaseInit)(),
52
+ __metadata("design:type", Function),
53
+ __metadata("design:paramtypes", []),
54
+ __metadata("design:returntype", Promise)
55
+ ], TasksModule.prototype, "configure", null);
56
+ exports.TasksModule = TasksModule = __decorate([
57
+ (0, module_1.Module)({
58
+ entities: constants_1.constants.entities,
59
+ controllers: constants_1.constants.controllers
60
+ }),
61
+ __metadata("design:paramtypes", [task_manager_service_1.TaskManagerService,
62
+ task_runner_service_1.TaskRunnerService,
63
+ tasks_controller_1.TasksController])
64
+ ], TasksModule);
65
+ //# sourceMappingURL=tasks.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.module.js","sourceRoot":"./","sources":["tasks/tasks.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAA8C;AAC9C,sCAAwD;AACxD,0EAAqE;AACrE,wEAAmE;AACnE,yDAAqD;AACrD,2CAAwC;AAMjC,IAAM,WAAW,GAAjB,MAAM,WAAW;IAErB,YACsB,kBAAsC,EACtC,iBAAoC,EACpC,eAAgC;QAFhC,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,oBAAe,GAAf,eAAe,CAAiB;IACnD,CAAC;IAGE,AAAN,KAAK,CAAC,SAAS;QACZ,IAAI,6BAAY,EAAE,CAAC;YAChB,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAC/B,CAAC;aAAM,CAAC;YACL,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC9B,IAAI,CAAC,iBAAiB,CAAC,WAAW,EAAE,CAAC;QACxC,CAAC;IACJ,CAAC;IAES,KAAK,CAAC,cAAc;QAC3B,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;YACjD,MAAM,IAAI;iBACN,kBAAkB;iBAClB,SAAS,CAAC,MAAM,CAAC,CAAC;QACzB,CAAC;IACJ,CAAC;IAES,KAAK,CAAC,gBAAgB;QAC7B,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;YACjD,MAAM,IAAI;iBACN,iBAAiB;iBACjB,WAAW,CAAC,MAAM,CAAC,CAAC;QAC3B,CAAC;IACJ,CAAC;CACH,CAAA;AAjCY,kCAAW;AASf;IADL,IAAA,4BAAmB,GAAE;;;;4CAQrB;sBAhBS,WAAW;IAJvB,IAAA,eAAM,EAAC;QACL,QAAQ,EAAE,qBAAS,CAAC,QAAQ;QAC5B,WAAW,EAAE,qBAAS,CAAC,WAAW;KACpC,CAAC;qCAI2C,yCAAkB;QACnB,uCAAiB;QACnB,kCAAe;GAL5C,WAAW,CAiCvB"}
@@ -5,7 +5,7 @@ import { GetValuesRequest } from '../models/get-values.request';
5
5
  import { GetValuesResponse } from '../models/get-values.response';
6
6
  import { TranslationsService } from '../services/translations.service';
7
7
  import { ITranslationValues } from '../interfaces/translation-values';
8
- export declare class TranslationRequest {
8
+ export declare class TranslationController {
9
9
  protected readonly translationsService: TranslationsService;
10
10
  constructor(translationsService: TranslationsService);
11
11
  postConfig(content: IPostContent<TranslationConfig>): Promise<TranslationConfig>;
@@ -12,7 +12,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  return function (target, key) { decorator(target, key, paramIndex); }
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.TranslationRequest = void 0;
15
+ exports.TranslationController = void 0;
16
16
  const translation_config_entity_1 = require("../entities/translation-config.entity");
17
17
  const execute_post_1 = require("../../command/functions/execute-post");
18
18
  const translation_config_query_1 = require("../queries/translation-config.query");
@@ -23,9 +23,12 @@ const get_values_request_1 = require("../models/get-values.request");
23
23
  const get_values_response_1 = require("../models/get-values.response");
24
24
  const translations_service_1 = require("../services/translations.service");
25
25
  const translation_values_entity_1 = require("../entities/translation-values.entity");
26
- const decorators_2 = require("../../command/decorators");
27
- const controllers_1 = require("../../controllers");
28
- let TranslationRequest = class TranslationRequest {
26
+ const controller_decorator_1 = require("../../controllers/decorators/controller.decorator");
27
+ const post_action_decorator_1 = require("../../command/decorators/post-action.decorator");
28
+ const post_content_decorator_1 = require("../../command/decorators/post-content.decorator");
29
+ const action_content_decorator_1 = require("../../controllers/decorators/actions/action-content.decorator");
30
+ const action_decorator_1 = require("../../controllers/decorators/actions/action.decorator");
31
+ let TranslationController = class TranslationController {
29
32
  constructor(translationsService) {
30
33
  this.translationsService = translationsService;
31
34
  }
@@ -50,50 +53,51 @@ let TranslationRequest = class TranslationRequest {
50
53
  };
51
54
  }
52
55
  };
53
- exports.TranslationRequest = TranslationRequest;
56
+ exports.TranslationController = TranslationController;
54
57
  __decorate([
55
- (0, decorators_2.PostAction)({
58
+ (0, post_action_decorator_1.PostAction)({
56
59
  type: () => translation_config_entity_1.TranslationConfig
57
60
  }),
58
- __param(0, (0, decorators_2.PostContent)()),
61
+ __param(0, (0, post_content_decorator_1.PostContent)()),
59
62
  __metadata("design:type", Function),
60
63
  __metadata("design:paramtypes", [Object]),
61
64
  __metadata("design:returntype", Promise)
62
- ], TranslationRequest.prototype, "postConfig", null);
65
+ ], TranslationController.prototype, "postConfig", null);
63
66
  __decorate([
64
- (0, decorators_2.PostAction)({
67
+ (0, post_action_decorator_1.PostAction)({
65
68
  type: () => translation_values_entity_1.TranslationValues
66
69
  }),
67
- __param(0, (0, decorators_2.PostContent)()),
70
+ __param(0, (0, post_content_decorator_1.PostContent)()),
68
71
  __metadata("design:type", Function),
69
72
  __metadata("design:paramtypes", [Object]),
70
73
  __metadata("design:returntype", Promise)
71
- ], TranslationRequest.prototype, "postValues", null);
74
+ ], TranslationController.prototype, "postValues", null);
72
75
  __decorate([
73
76
  (0, translation_config_query_1.TranslationConfigQuery)(),
74
77
  __param(0, (0, decorators_1.QueryContent)()),
75
78
  __metadata("design:type", Function),
76
79
  __metadata("design:paramtypes", [Object]),
77
80
  __metadata("design:returntype", Promise)
78
- ], TranslationRequest.prototype, "queryConfig", null);
81
+ ], TranslationController.prototype, "queryConfig", null);
79
82
  __decorate([
80
83
  (0, translation_values_query_1.TranslationValuesQuery)(),
81
84
  __param(0, (0, decorators_1.QueryContent)()),
82
85
  __metadata("design:type", Function),
83
86
  __metadata("design:paramtypes", [Object]),
84
87
  __metadata("design:returntype", Promise)
85
- ], TranslationRequest.prototype, "queryValues", null);
88
+ ], TranslationController.prototype, "queryValues", null);
86
89
  __decorate([
87
- (0, controllers_1.Action)({
90
+ (0, action_decorator_1.Action)({
88
91
  response: () => get_values_response_1.GetValuesResponse,
89
92
  public: true
90
93
  }),
91
- __param(0, (0, controllers_1.ActionContent)()),
94
+ __param(0, (0, action_content_decorator_1.ActionContent)()),
92
95
  __metadata("design:type", Function),
93
96
  __metadata("design:paramtypes", [get_values_request_1.GetValuesRequest]),
94
97
  __metadata("design:returntype", Promise)
95
- ], TranslationRequest.prototype, "getValues", null);
96
- exports.TranslationRequest = TranslationRequest = __decorate([
97
- (0, controllers_1.Controller)(),
98
+ ], TranslationController.prototype, "getValues", null);
99
+ exports.TranslationController = TranslationController = __decorate([
100
+ (0, controller_decorator_1.Controller)(),
98
101
  __metadata("design:paramtypes", [translations_service_1.TranslationsService])
99
- ], TranslationRequest);
102
+ ], TranslationController);
103
+ //# sourceMappingURL=translation.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.controller.js","sourceRoot":"./","sources":["translations/controllers/translation.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,qFAA0E;AAC1E,uEAAmE;AACnE,kFAA6E;AAE7E,uDAAsD;AACtD,kFAA6E;AAC7E,uEAAmE;AACnE,qEAAgE;AAChE,uEAAkE;AAClE,2EAAuE;AAEvE,qFAA0E;AAC1E,4FAA+E;AAC/E,0FAA4E;AAC5E,4FAA8E;AAC9E,4GAA8F;AAC9F,4FAA+E;AAGxE,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAE/B,YACsB,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAC3D,CAAC;IAKE,AAAN,KAAK,CAAC,UAAU,CACE,OAAwC;QAEvD,OAAO,IAAA,0BAAW,EAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAKK,AAAN,KAAK,CAAC,UAAU,CACE,OAAyC;QAExD,OAAO,IAAA,0BAAW,EAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAGK,AAAN,KAAK,CAAC,WAAW,CACE,OAAyC;QAEzD,OAAO,IAAA,4BAAY,EAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IAC7C,CAAC;IAGK,AAAN,KAAK,CAAC,WAAW,CACE,OAAyC;QAEzD,OAAO,IAAA,4BAAY,EAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IAC7C,CAAC;IAMK,AAAN,KAAK,CAAC,SAAS,CACK,OAAyB;QAE1C,MAAM,MAAM,GAAG,MAAM,IAAI;aACrB,mBAAmB;aACnB,SAAS,CACP,OAAO,CAAC,WAAW,EACnB,OAAO,CAAC,MAAM,CAChB,CAAC;QAEL,OAAO;YACJ,MAAM,EAAE,MAAM;SACK,CAAC;IAC1B,CAAC;CACH,CAAA;AAxDY,sDAAqB;AASzB;IAHL,IAAA,kCAAU,EAAC;QACT,IAAI,EAAE,GAAG,EAAE,CAAC,6CAAiB;KAC/B,CAAC;IAEE,WAAA,IAAA,oCAAW,GAAE,CAAA;;;;uDAGhB;AAKK;IAHL,IAAA,kCAAU,EAAC;QACT,IAAI,EAAE,GAAG,EAAE,CAAC,6CAAiB;KAC/B,CAAC;IAEE,WAAA,IAAA,oCAAW,GAAE,CAAA;;;;uDAGhB;AAGK;IADL,IAAA,iDAAsB,GAAE;IAErB,WAAA,IAAA,yBAAY,GAAE,CAAA;;;;wDAGjB;AAGK;IADL,IAAA,iDAAsB,GAAE;IAErB,WAAA,IAAA,yBAAY,GAAE,CAAA;;;;wDAGjB;AAMK;IAJL,IAAA,yBAAM,EAAC;QACL,QAAQ,EAAE,GAAG,EAAE,CAAC,uCAAiB;QACjC,MAAM,EAAE,IAAI;KACd,CAAC;IAEE,WAAA,IAAA,wCAAa,GAAE,CAAA;;qCAAU,qCAAgB;;sDAY5C;gCAvDS,qBAAqB;IADjC,IAAA,iCAAU,GAAE;qCAIiC,0CAAmB;GAHpD,qBAAqB,CAwDjC"}
@@ -63,3 +63,4 @@ __decorate([
63
63
  exports.TranslationConfig = TranslationConfig = __decorate([
64
64
  (0, database_1.Entity)()
65
65
  ], TranslationConfig);
66
+ //# sourceMappingURL=translation-config.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-config.entity.js","sourceRoot":"./","sources":["translations/entities/translation-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA0C;AAE1C,6CAIwB;AACxB,qDAM8B;AAGvB,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAwC7B,CAAA;AAxCY,8CAAiB;AAM3B;IAJC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;IACV,IAAA,sBAAW,EAAC,QAAQ,CAAC;;6CACX;AAOX;IALC,IAAA,mBAAM,GAAE;IACR,IAAA,qBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC;QACL,MAAM,EAAE,IAAI;KACd,CAAC;;sDACkB;AAUpB;IARC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;IACV,IAAA,oBAAO,GAAE;IACT,IAAA,iBAAM,EAAC;QACL,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;KACf,CAAC;;+CACc;AAUhB;IARC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;IACV,IAAA,oBAAO,GAAE;IACT,IAAA,iBAAM,EAAC;QACL,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;KACf,CAAC;;kDACiB;AAMnB;IAJC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,iBAAI,EAAC,eAAM,CAAC;IACZ,IAAA,iBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;kDACZ;4BAvCN,iBAAiB;IAD7B,IAAA,iBAAM,GAAE;GACI,iBAAiB,CAwC7B"}
@@ -2,8 +2,8 @@ import { Locale, Dictionary } from "@rockster/common";
2
2
  import { ITranslationValues } from "../interfaces/translation-values";
3
3
  import { ITranslationConfig } from "../interfaces/translation-config";
4
4
  export declare class TranslationValues implements ITranslationValues {
5
- translationConfigId: string;
6
5
  id: string;
6
+ translationConfigId: string;
7
7
  locale: Locale;
8
8
  values: Dictionary<string>;
9
9
  translationConfig?: ITranslationConfig;
@@ -19,18 +19,18 @@ let TranslationValues = class TranslationValues {
19
19
  exports.TranslationValues = TranslationValues;
20
20
  __decorate([
21
21
  (0, class_pipe_1.Expose)(),
22
- (0, class_pipe_1.IsRequired)(),
23
22
  (0, class_pipe_1.IsString)(),
24
- (0, database_1.Relation)(() => translation_config_entity_1.TranslationConfig),
23
+ (0, class_pipe_1.IsOptional)(),
24
+ (0, database_1.IdGenerated)('nanoid'),
25
25
  __metadata("design:type", String)
26
- ], TranslationValues.prototype, "translationConfigId", void 0);
26
+ ], TranslationValues.prototype, "id", void 0);
27
27
  __decorate([
28
28
  (0, class_pipe_1.Expose)(),
29
+ (0, class_pipe_1.IsRequired)(),
29
30
  (0, class_pipe_1.IsString)(),
30
- (0, class_pipe_1.IsOptional)(),
31
- (0, database_1.IdGenerated)('nanoid'),
31
+ (0, database_1.Relation)(() => translation_config_entity_1.TranslationConfig),
32
32
  __metadata("design:type", String)
33
- ], TranslationValues.prototype, "id", void 0);
33
+ ], TranslationValues.prototype, "translationConfigId", void 0);
34
34
  __decorate([
35
35
  (0, class_pipe_1.Expose)(),
36
36
  (0, class_pipe_1.IsRequired)(),
@@ -48,6 +48,12 @@ __decorate([
48
48
  }),
49
49
  __metadata("design:type", Object)
50
50
  ], TranslationValues.prototype, "values", void 0);
51
+ __decorate([
52
+ (0, class_pipe_1.Expose)(),
53
+ (0, class_pipe_1.IsType)(() => translation_config_entity_1.TranslationConfig),
54
+ __metadata("design:type", Object)
55
+ ], TranslationValues.prototype, "translationConfig", void 0);
51
56
  exports.TranslationValues = TranslationValues = __decorate([
52
57
  (0, database_1.Entity)()
53
58
  ], TranslationValues);
59
+ //# sourceMappingURL=translation-values.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-values.entity.js","sourceRoot":"./","sources":["translations/entities/translation-values.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAG0B;AAE1B,2EAAgE;AAChE,6CAKwB;AACxB,qDAQ8B;AAIvB,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAgC7B,CAAA;AAhCY,8CAAiB;AAM3B;IAJC,IAAA,mBAAM,GAAE;IACR,IAAA,qBAAQ,GAAE;IACV,IAAA,uBAAU,GAAE;IACZ,IAAA,sBAAW,EAAC,QAAQ,CAAC;;6CACX;AAMX;IAJC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;IACV,IAAA,mBAAQ,EAAC,GAAG,EAAE,CAAC,6CAAiB,CAAC;;8DACN;AAM5B;IAJC,IAAA,mBAAM,GAAE;IACR,IAAA,uBAAU,GAAE;IACZ,IAAA,iBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,eAAM,CAAC,CAAC;IAC3B,IAAA,iBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;iDACb;AASf;IAPC,IAAA,mBAAM,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,uBAAU,GAAE;IACZ,IAAA,qBAAQ,GAAE;IACV,IAAA,iBAAM,EAAC;QACL,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;KACf,CAAC;;iDACyB;AAI3B;IAFC,IAAA,mBAAM,GAAE;IACR,IAAA,mBAAM,EAAC,GAAG,EAAE,CAAC,6CAAiB,CAAC;;4DACO;4BA/B7B,iBAAiB;IAD7B,IAAA,iBAAM,GAAE;GACI,iBAAiB,CAgC7B"}
@@ -5,3 +5,4 @@ exports.env = {
5
5
  activate: false,
6
6
  cacheTTL: 3600
7
7
  };
8
+ //# sourceMappingURL=env.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env.js","sourceRoot":"./","sources":["translations/env.ts"],"names":[],"mappings":";;;AAEa,QAAA,GAAG,GAAG;IAChB,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,IAAI;CACO,CAAC"}
@@ -8,3 +8,4 @@ const checkCanUse = () => {
8
8
  }
9
9
  };
10
10
  exports.checkCanUse = checkCanUse;
11
+ //# sourceMappingURL=check-can-use.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-can-use.js","sourceRoot":"./","sources":["translations/functions/check-can-use.ts"],"names":[],"mappings":";;;AAAA,gCAA4B;AAErB,MAAM,WAAW,GAAG,GAAG,EAAE;IAC7B,IAAI,CAAC,SAAG,CAAC,QAAQ,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC5C,CAAC;AACJ,CAAC,CAAA;AAJY,QAAA,WAAW,eAIvB"}
@@ -17,3 +17,4 @@ const createTranslationConfig = async (config) => {
17
17
  return repository.save(config);
18
18
  };
19
19
  exports.createTranslationConfig = createTranslationConfig;
20
+ //# sourceMappingURL=create-translation-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-translation-config.js","sourceRoot":"./","sources":["translations/functions/create-translation-config.ts"],"names":[],"mappings":";;;AAAA,4EAAwE;AACxE,qFAA0E;AAE1E,mDAA8C;AAC9C,6BAAyC;AACzC,qFAAsF;AAE/E,MAAM,uBAAuB,GAAG,KAAK,EACzC,MAAsC,EACvC,EAAE;IACD,IAAA,2BAAW,GAAE,CAAC;IACd,MAAM,kBAAkB,GAAG,6CAAuB,CAAC,QAAQ,EAAE,CAAC;IAC9D,MAAM,aAAa,GAAG,kBAAkB,EAAE,aAAa,CAAC;IACxD,MAAM,UAAU,GAAG,aAAa;QAC7B,CAAC,CAAC,aAAa,CAAC,aAAa,CAAC,6CAAiB,CAAC;QAChD,CAAC,CAAC,IAAA,8BAAa,EAAC,6CAAiB,CAAC,CAAC;IACtC,IAAA,oBAAgB,EAAC,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,OAAO,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC,CAAA;AAXY,QAAA,uBAAuB,2BAWnC"}
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.createTranslationValues = void 0;
7
4
  const transaction_context_1 = require("../../database/contexts/transaction-context");
8
- const generate_id_1 = __importDefault(require("../../database/functions/generate-id"));
5
+ const generate_entity_id_1 = require("../../database/functions/generate-entity-id");
9
6
  const use_repository_1 = require("../../database/functions/use-repository");
10
7
  const translation_values_entity_1 = require("../entities/translation-values.entity");
11
8
  const check_can_use_1 = require("./check-can-use");
@@ -16,7 +13,8 @@ const createTranslationValues = async (values) => {
16
13
  const repository = entityManager
17
14
  ? entityManager.getRepository(translation_values_entity_1.TranslationValues)
18
15
  : (0, use_repository_1.useRepository)(translation_values_entity_1.TranslationValues);
19
- (0, generate_id_1.default)(repository.target, values);
16
+ values.id = (0, generate_entity_id_1.generateEntityId)(translation_values_entity_1.TranslationValues, values);
20
17
  return repository.save(values);
21
18
  };
22
19
  exports.createTranslationValues = createTranslationValues;
20
+ //# sourceMappingURL=create-translation-values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-translation-values.js","sourceRoot":"./","sources":["translations/functions/create-translation-values.ts"],"names":[],"mappings":";;;AAAA,qFAAsF;AACtF,oFAA+E;AAC/E,4EAAwE;AACxE,qFAA0E;AAE1E,mDAA8C;AAEvC,MAAM,uBAAuB,GAAG,KAAK,EACzC,MAAsC,EACvC,EAAE;IACD,IAAA,2BAAW,GAAE,CAAC;IACd,MAAM,kBAAkB,GAAG,6CAAuB,CAAC,QAAQ,EAAE,CAAC;IAC9D,MAAM,aAAa,GAAG,kBAAkB,EAAE,aAAa,CAAC;IACxD,MAAM,UAAU,GAAG,aAAa;QAC7B,CAAC,CAAC,aAAa,CAAC,aAAa,CAAC,6CAAiB,CAAC;QAChD,CAAC,CAAC,IAAA,8BAAa,EAAC,6CAAiB,CAAC,CAAC;IACrC,MAA6B,CAAC,EAAE,GAAG,IAAA,qCAAgB,EAAC,6CAAiB,EAAE,MAAM,CAAC,CAAC;IAChF,OAAO,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC,CAAA;AAXY,QAAA,uBAAuB,2BAWnC"}
@@ -12,3 +12,4 @@ const getTranslationConfig = async (options, entityManager) => {
12
12
  return repository.findOne(options);
13
13
  };
14
14
  exports.getTranslationConfig = getTranslationConfig;
15
+ //# sourceMappingURL=get-translation-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-translation-config.js","sourceRoot":"./","sources":["translations/functions/get-translation-config.ts"],"names":[],"mappings":";;;AAIA,4EAAwE;AACxE,qFAA0E;AAC1E,mDAA8C;AAEvC,MAAM,oBAAoB,GAAG,KAAK,EACtC,OAA0C,EAC1C,aAA4B,EAC7B,EAAE;IACD,IAAA,2BAAW,GAAE,CAAC;IACd,MAAM,UAAU,GAAG,aAAa;QAC7B,CAAC,CAAC,aAAa,CAAC,aAAa,CAAC,6CAAiB,CAAC;QAChD,CAAC,CAAC,IAAA,8BAAa,EAAC,6CAAiB,CAAC,CAAC;IACtC,OAAO,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;AACrC,CAAC,CAAA;AATY,QAAA,oBAAoB,wBAShC"}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=translation-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-config.js","sourceRoot":"./","sources":["translations/interfaces/translation-config.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=translation-values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-values.js","sourceRoot":"./","sources":["translations/interfaces/translation-values.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=translator-handle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translator-handle.js","sourceRoot":"./","sources":["translations/interfaces/translator-handle.ts"],"names":[],"mappings":""}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateTranslationTables1723760669185 = void 0;
4
- const database_1 = require("../../database");
4
+ const execute_if_not_exists_table_1 = require("../../database/functions/execute-if-not-exists-table");
5
5
  class CreateTranslationTables1723760669185 {
6
6
  async up(queryRunner) {
7
- await (0, database_1.executeIfNotExistsTable)('translation_config', queryRunner, async () => {
7
+ await (0, execute_if_not_exists_table_1.executeIfNotExistsTable)('translation_config', queryRunner, async () => {
8
8
  await queryRunner.query(`
9
9
  create table translation_config
10
10
  (
@@ -20,7 +20,7 @@ class CreateTranslationTables1723760669185 {
20
20
  on translation_config (reference_id);
21
21
  `);
22
22
  });
23
- await (0, database_1.executeIfNotExistsTable)('translation_values', queryRunner, async () => {
23
+ await (0, execute_if_not_exists_table_1.executeIfNotExistsTable)('translation_values', queryRunner, async () => {
24
24
  await queryRunner.query(`
25
25
  create table translation_values
26
26
  (
@@ -41,3 +41,4 @@ class CreateTranslationTables1723760669185 {
41
41
  }
42
42
  }
43
43
  exports.CreateTranslationTables1723760669185 = CreateTranslationTables1723760669185;
44
+ //# sourceMappingURL=1723760669185-CreateTranslationTables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1723760669185-CreateTranslationTables.js","sourceRoot":"./","sources":["translations/migrations/1723760669185-CreateTranslationTables.ts"],"names":[],"mappings":";;;AACA,sGAA+F;AAE/F,MAAa,oCAAoC;IAEvC,KAAK,CAAC,EAAE,CAAC,WAAwB;QACrC,MAAM,IAAA,qDAAuB,EAC1B,oBAAoB,EACpB,WAAW,EACX,KAAK,IAAI,EAAE;YACR,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;aAavB,CAAC,CAAC;QACN,CAAC,CAAC,CAAC;QACN,MAAM,IAAA,qDAAuB,EAC1B,oBAAoB,EACpB,WAAW,EACX,KAAK,IAAI,EAAE;YACR,MAAM,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;aAWvB,CAAC,CAAC;QACN,CAAC,CACH,CAAA;IACJ,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,WAAwB;QACvC,MAAM,WAAW,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;QACpE,MAAM,WAAW,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;IACvE,CAAC;CACH;AA9CD,oFA8CC"}
@@ -23,3 +23,4 @@ __decorate([
23
23
  (0, class_pipe_1.IsIn)(Object.values(common_1.Locale)),
24
24
  __metadata("design:type", String)
25
25
  ], GetValuesRequest.prototype, "locale", void 0);
26
+ //# sourceMappingURL=get-values.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-values.request.js","sourceRoot":"./","sources":["translations/models/get-values.request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAG8B;AAC9B,6CAA0C;AAE1C,MAAa,gBAAgB;CAO5B;AAPD,4CAOC;AAJE;IADC,IAAA,qBAAQ,GAAE;;qDACS;AAGpB;IADC,IAAA,iBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,eAAM,CAAC,CAAC;;gDACb"}
@@ -18,3 +18,4 @@ __decorate([
18
18
  (0, class_pipe_1.Expose)({ ignoreType: true }),
19
19
  __metadata("design:type", Object)
20
20
  ], GetValuesResponse.prototype, "values", void 0);
21
+ //# sourceMappingURL=get-values.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-values.response.js","sourceRoot":"./","sources":["translations/models/get-values.response.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8C;AAG9C,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AADE;IADC,IAAA,mBAAM,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;;iDACF"}
@@ -1 +1 @@
1
- export declare const TranslationConfigQuery: (options?: import("../..").QueryActionOptions) => (target: any, propertyKey: string) => void;
1
+ export declare const TranslationConfigQuery: import("../../query/functions/create-query").QueryDecoratorFactory;
@@ -7,3 +7,4 @@ exports.TranslationConfigQuery = (0, create_query_1.createQuery)({
7
7
  alias: 'translationConfig',
8
8
  target: () => translation_config_entity_1.TranslationConfig
9
9
  });
10
+ //# sourceMappingURL=translation-config.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-config.query.js","sourceRoot":"./","sources":["translations/queries/translation-config.query.ts"],"names":[],"mappings":";;;AAAA,qEAAiE;AACjE,qFAA0E;AAE7D,QAAA,sBAAsB,GAAG,IAAA,0BAAW,EAAC;IAC/C,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,GAAG,EAAE,CAAC,6CAAiB;CACjC,CAAC,CAAC"}
@@ -1 +1 @@
1
- export declare const TranslationValuesQuery: (options?: import("../..").QueryActionOptions) => (target: any, propertyKey: string) => void;
1
+ export declare const TranslationValuesQuery: import("../../query/functions/create-query").QueryDecoratorFactory;
@@ -8,9 +8,10 @@ exports.TranslationValuesQuery = (0, create_query_1.createQuery)({
8
8
  alias: 'translationValues',
9
9
  target: () => translation_values_entity_1.TranslationValues,
10
10
  paths: {
11
- translationConfig: (0, create_query_1.directPath)({
11
+ translationConfig: (0, create_query_1.joinOne)({
12
12
  alias: 'translationConfig',
13
13
  target: () => translation_config_entity_1.TranslationConfig
14
14
  })
15
15
  }
16
16
  });
17
+ //# sourceMappingURL=translation-values.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-values.query.js","sourceRoot":"./","sources":["translations/queries/translation-values.query.ts"],"names":[],"mappings":";;;AAAA,qEAG4C;AAC5C,qFAA0E;AAC1E,qFAA0E;AAE7D,QAAA,sBAAsB,GAAG,IAAA,0BAAW,EAAC;IAC/C,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,GAAG,EAAE,CAAC,6CAAiB;IAC/B,KAAK,EAAE;QACJ,iBAAiB,EAAE,IAAA,sBAAO,EAAC;YACxB,KAAK,EAAE,mBAAmB;YAC1B,MAAM,EAAE,GAAG,EAAE,CAAC,6CAAiB;SACjC,CAAC;KACJ;CACH,CAAC,CAAA"}
@@ -54,3 +54,4 @@ __decorate([
54
54
  exports.TranslationsService = TranslationsService = __decorate([
55
55
  (0, class_injector_1.Injectable)()
56
56
  ], TranslationsService);
57
+ //# sourceMappingURL=translations.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translations.service.js","sourceRoot":"./","sources":["translations/services/translations.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAsD;AAEtD,qFAA0E;AAC1E,qFAA0E;AAC1E,6CAAkD;AAClD,qCAGiB;AACjB,uCAGqB;AAGd,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAS7B,KAAK,CAAC,SAAS,CACZ,WAAmB,EACnB,MAAc;QAEd,MAAM,MAAM,GAAG,MAAM,IAAI;aACrB,UAAU;aACV,kBAAkB,CAAC,mBAAmB,CAAC;aACvC,iBAAiB,CACf,qCAAqC,EACrC,6CAAiB,EACjB,mBAAmB,EACnB,gEAAgE,CAClE;aACA,KAAK,CAAC;iDACiC,WAAW;iDACX,MAAM;;UAE7C,CAAC;aACD,OAAO,EAAE,CAAC;QACd,MAAM,QAAQ,GAAG,MAAM;aACnB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;YACb,OAAO,KAAK,CAAC,iBAAiB,EAAE,OAAO,KAAK,KAAK,CAAC,MAAM,CAAC;QAC5D,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;QACxB,MAAM,UAAU,GAAG,MAAM;aACrB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;YACb,OAAO,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC;QAClC,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;QACxB,OAAO;YACJ,GAAG,QAAQ,CAAC,MAAM;YAClB,GAAG,UAAU,CAAC,MAAM;SACtB,CAAC;IACL,CAAC;CACH,CAAA;AAzCY,kDAAmB;AAGnB;IADT,IAAA,2BAAgB,EAAC,GAAG,EAAE,CAAC,6CAAiB,CAAC;8BACpB,oBAAU;uDAAoB;AAG1C;IADT,IAAA,mBAAW,GAAE;;kDACiB;8BANrB,mBAAmB;IAD/B,IAAA,2BAAU,GAAE;GACA,mBAAmB,CAyC/B"}
@@ -54,3 +54,4 @@ exports.TranslatorService = TranslatorService = __decorate([
54
54
  (0, class_injector_1.Injectable)(),
55
55
  __metadata("design:paramtypes", [translations_service_1.TranslationsService])
56
56
  ], TranslatorService);
57
+ //# sourceMappingURL=translator.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translator.service.js","sourceRoot":"./","sources":["translations/services/translator.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAAsD;AACtD,iEAA6D;AAC7D,uCAGqB;AAOrB,gCAA6B;AAGtB,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAK3B,YACa,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAClD,CAAC;IAEJ,KAAK,CAAC,SAAS,CACZ,WAAmB,EACnB,MAAc;QAGd,MAAM,GAAG,GAAG,gBAAgB,WAAW,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,IAAI;aACrB,KAAK;aACL,GAAG,CAAC,GAAG,CAAC,CAAC;QAEb,IAAI,MAAM,EAAE,CAAC;YACV,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,IAAI;aACrB,mBAAmB;aACnB,SAAS,CACP,WAAW,EACX,MAAM,CACR,CAAC;QAGL,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAClD,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,SAAG,CAAC,QAAQ,CAAC,CAAC;QAE3C,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAES,SAAS,CAAC,MAA0B;QAC3C,OAAO,CAAC,GAAW,EAAE,WAA+B,EAAE,EAAE,EAAE;YACvD,IAAI,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC;YAC/B,MAAM;iBACF,mBAAmB,CAAC,QAAQ,CAAC;iBAC7B,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;gBAClB,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,OAAO,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC,CAAC;YACN,OAAO,KAAK,CAAC;QAChB,CAAC,CAAA;IACJ,CAAC;CACH,CAAA;AAhDY,8CAAiB;AAGjB;IADT,IAAA,mBAAW,GAAE;;gDACe;4BAHnB,iBAAiB;IAD7B,IAAA,2BAAU,GAAE;qCAOwB,0CAAmB;GAN3C,iBAAiB,CAgD7B"}
@@ -1,5 +1,5 @@
1
- import { DatabaseController } from "../database";
2
1
  import { Logger } from "@rockster/logger";
2
+ import { DatabaseController } from "../database/database.controller";
3
3
  export declare class TranslationsController {
4
4
  protected databaseController: DatabaseController;
5
5
  protected logger: Logger;