@venizia/ignis 0.0.7-9 → 0.0.7

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 (446) hide show
  1. package/README.md +74 -50
  2. package/dist/base/applications/abstract.d.ts.map +1 -1
  3. package/dist/base/applications/abstract.js +0 -8
  4. package/dist/base/applications/abstract.js.map +1 -1
  5. package/dist/base/applications/base.d.ts.map +1 -1
  6. package/dist/base/applications/base.js +0 -17
  7. package/dist/base/applications/base.js.map +1 -1
  8. package/dist/base/applications/types.d.ts.map +1 -1
  9. package/dist/base/applications/types.js.map +1 -1
  10. package/dist/base/components/base.d.ts.map +1 -1
  11. package/dist/base/components/base.js +0 -2
  12. package/dist/base/components/base.js.map +1 -1
  13. package/dist/base/controllers/abstract.d.ts +10 -124
  14. package/dist/base/controllers/abstract.d.ts.map +1 -1
  15. package/dist/base/controllers/abstract.js +6 -82
  16. package/dist/base/controllers/abstract.js.map +1 -1
  17. package/dist/base/controllers/base.d.ts +5 -113
  18. package/dist/base/controllers/base.d.ts.map +1 -1
  19. package/dist/base/controllers/base.js +5 -113
  20. package/dist/base/controllers/base.js.map +1 -1
  21. package/dist/base/controllers/common/constants.d.ts +1 -16
  22. package/dist/base/controllers/common/constants.d.ts.map +1 -1
  23. package/dist/base/controllers/common/constants.js +1 -20
  24. package/dist/base/controllers/common/constants.js.map +1 -1
  25. package/dist/base/controllers/common/types.d.ts +16 -167
  26. package/dist/base/controllers/common/types.d.ts.map +1 -1
  27. package/dist/base/controllers/common/types.js +1 -4
  28. package/dist/base/controllers/common/types.js.map +1 -1
  29. package/dist/base/controllers/factory/controller.d.ts +17 -198
  30. package/dist/base/controllers/factory/controller.d.ts.map +1 -1
  31. package/dist/base/controllers/factory/controller.js +13 -140
  32. package/dist/base/controllers/factory/controller.js.map +1 -1
  33. package/dist/base/controllers/factory/definition.d.ts +2 -7
  34. package/dist/base/controllers/factory/definition.d.ts.map +1 -1
  35. package/dist/base/controllers/factory/definition.js +4 -30
  36. package/dist/base/controllers/factory/definition.js.map +1 -1
  37. package/dist/base/datasources/base.d.ts +2 -31
  38. package/dist/base/datasources/base.d.ts.map +1 -1
  39. package/dist/base/datasources/base.js +2 -39
  40. package/dist/base/datasources/base.js.map +1 -1
  41. package/dist/base/datasources/common/types.d.ts +2 -4
  42. package/dist/base/datasources/common/types.d.ts.map +1 -1
  43. package/dist/base/datasources/common/types.js +1 -8
  44. package/dist/base/datasources/common/types.js.map +1 -1
  45. package/dist/base/metadata/injectors.d.ts +1 -30
  46. package/dist/base/metadata/injectors.d.ts.map +1 -1
  47. package/dist/base/metadata/injectors.js +1 -30
  48. package/dist/base/metadata/injectors.js.map +1 -1
  49. package/dist/base/metadata/persistents.d.ts +3 -63
  50. package/dist/base/metadata/persistents.d.ts.map +1 -1
  51. package/dist/base/metadata/persistents.js +11 -88
  52. package/dist/base/metadata/persistents.js.map +1 -1
  53. package/dist/base/metadata/routes.d.ts +1 -24
  54. package/dist/base/metadata/routes.d.ts.map +1 -1
  55. package/dist/base/metadata/routes.js +1 -27
  56. package/dist/base/metadata/routes.js.map +1 -1
  57. package/dist/base/middlewares/app-error.middleware.d.ts +1 -10
  58. package/dist/base/middlewares/app-error.middleware.d.ts.map +1 -1
  59. package/dist/base/middlewares/app-error.middleware.js +2 -14
  60. package/dist/base/middlewares/app-error.middleware.js.map +1 -1
  61. package/dist/base/middlewares/emoji-favicon.middleware.d.ts +1 -7
  62. package/dist/base/middlewares/emoji-favicon.middleware.d.ts.map +1 -1
  63. package/dist/base/middlewares/emoji-favicon.middleware.js +1 -7
  64. package/dist/base/middlewares/emoji-favicon.middleware.js.map +1 -1
  65. package/dist/base/middlewares/not-found.middleware.d.ts +1 -8
  66. package/dist/base/middlewares/not-found.middleware.d.ts.map +1 -1
  67. package/dist/base/middlewares/not-found.middleware.js +1 -8
  68. package/dist/base/middlewares/not-found.middleware.js.map +1 -1
  69. package/dist/base/middlewares/request-spy.middleware.d.ts +3 -19
  70. package/dist/base/middlewares/request-spy.middleware.d.ts.map +1 -1
  71. package/dist/base/middlewares/request-spy.middleware.js +3 -23
  72. package/dist/base/middlewares/request-spy.middleware.js.map +1 -1
  73. package/dist/base/mixins/component.mixin.d.ts.map +1 -1
  74. package/dist/base/mixins/controller.mixin.d.ts.map +1 -1
  75. package/dist/base/mixins/repository.mixin.d.ts.map +1 -1
  76. package/dist/base/mixins/service.mixin.d.ts.map +1 -1
  77. package/dist/base/models/base.d.ts +4 -21
  78. package/dist/base/models/base.d.ts.map +1 -1
  79. package/dist/base/models/base.js +1 -11
  80. package/dist/base/models/base.js.map +1 -1
  81. package/dist/base/models/common/types.d.ts.map +1 -1
  82. package/dist/base/models/common/types.js +0 -2
  83. package/dist/base/models/common/types.js.map +1 -1
  84. package/dist/base/models/enrichers/id.enricher.d.ts.map +1 -1
  85. package/dist/base/models/enrichers/id.enricher.js.map +1 -1
  86. package/dist/base/models/enrichers/user-audit.enricher.d.ts.map +1 -1
  87. package/dist/base/models/enrichers/user-audit.enricher.js +1 -6
  88. package/dist/base/models/enrichers/user-audit.enricher.js.map +1 -1
  89. package/dist/base/repositories/common/constants.d.ts +5 -59
  90. package/dist/base/repositories/common/constants.d.ts.map +1 -1
  91. package/dist/base/repositories/common/constants.js +3 -51
  92. package/dist/base/repositories/common/constants.js.map +1 -1
  93. package/dist/base/repositories/common/shared.d.ts +1 -13
  94. package/dist/base/repositories/common/shared.d.ts.map +1 -1
  95. package/dist/base/repositories/common/shared.js +2 -19
  96. package/dist/base/repositories/common/shared.js.map +1 -1
  97. package/dist/base/repositories/common/types.d.ts +32 -461
  98. package/dist/base/repositories/common/types.d.ts.map +1 -1
  99. package/dist/base/repositories/common/types.js +13 -159
  100. package/dist/base/repositories/common/types.js.map +1 -1
  101. package/dist/base/repositories/core/abstract.d.ts +10 -204
  102. package/dist/base/repositories/core/abstract.d.ts.map +1 -1
  103. package/dist/base/repositories/core/abstract.js +6 -126
  104. package/dist/base/repositories/core/abstract.js.map +1 -1
  105. package/dist/base/repositories/core/default-crud.d.ts +1 -36
  106. package/dist/base/repositories/core/default-crud.d.ts.map +1 -1
  107. package/dist/base/repositories/core/default-crud.js +1 -36
  108. package/dist/base/repositories/core/default-crud.js.map +1 -1
  109. package/dist/base/repositories/core/index.d.ts +1 -0
  110. package/dist/base/repositories/core/index.d.ts.map +1 -1
  111. package/dist/base/repositories/core/index.js +1 -0
  112. package/dist/base/repositories/core/index.js.map +1 -1
  113. package/dist/base/repositories/core/persistable.d.ts +2 -71
  114. package/dist/base/repositories/core/persistable.d.ts.map +1 -1
  115. package/dist/base/repositories/core/persistable.js +2 -100
  116. package/dist/base/repositories/core/persistable.js.map +1 -1
  117. package/dist/base/repositories/core/readable.d.ts +12 -127
  118. package/dist/base/repositories/core/readable.d.ts.map +1 -1
  119. package/dist/base/repositories/core/readable.js +8 -124
  120. package/dist/base/repositories/core/readable.js.map +1 -1
  121. package/dist/base/repositories/core/soft-deletable.d.ts +140 -0
  122. package/dist/base/repositories/core/soft-deletable.d.ts.map +1 -0
  123. package/dist/base/repositories/core/soft-deletable.js +99 -0
  124. package/dist/base/repositories/core/soft-deletable.js.map +1 -0
  125. package/dist/base/repositories/mixins/default-filter.d.ts +3 -49
  126. package/dist/base/repositories/mixins/default-filter.d.ts.map +1 -1
  127. package/dist/base/repositories/mixins/default-filter.js +3 -57
  128. package/dist/base/repositories/mixins/default-filter.js.map +1 -1
  129. package/dist/base/repositories/mixins/fields-visibility.d.ts +3 -59
  130. package/dist/base/repositories/mixins/fields-visibility.d.ts.map +1 -1
  131. package/dist/base/repositories/mixins/fields-visibility.js +3 -67
  132. package/dist/base/repositories/mixins/fields-visibility.js.map +1 -1
  133. package/dist/base/repositories/operators/filter.d.ts +10 -115
  134. package/dist/base/repositories/operators/filter.d.ts.map +1 -1
  135. package/dist/base/repositories/operators/filter.js +13 -154
  136. package/dist/base/repositories/operators/filter.js.map +1 -1
  137. package/dist/base/repositories/operators/json-utils.d.ts +5 -38
  138. package/dist/base/repositories/operators/json-utils.d.ts.map +1 -1
  139. package/dist/base/repositories/operators/json-utils.js +5 -47
  140. package/dist/base/repositories/operators/json-utils.js.map +1 -1
  141. package/dist/base/repositories/operators/query.d.ts +3 -56
  142. package/dist/base/repositories/operators/query.d.ts.map +1 -1
  143. package/dist/base/repositories/operators/query.js +11 -106
  144. package/dist/base/repositories/operators/query.js.map +1 -1
  145. package/dist/base/repositories/operators/relation.d.ts +1 -33
  146. package/dist/base/repositories/operators/relation.d.ts.map +1 -1
  147. package/dist/base/repositories/operators/relation.js +1 -36
  148. package/dist/base/repositories/operators/relation.js.map +1 -1
  149. package/dist/base/repositories/operators/update.d.ts +7 -72
  150. package/dist/base/repositories/operators/update.d.ts.map +1 -1
  151. package/dist/base/repositories/operators/update.js +6 -91
  152. package/dist/base/repositories/operators/update.js.map +1 -1
  153. package/dist/base/services/types.d.ts.map +1 -1
  154. package/dist/common/bindings.d.ts +2 -17
  155. package/dist/common/bindings.d.ts.map +1 -1
  156. package/dist/common/bindings.js +2 -14
  157. package/dist/common/bindings.js.map +1 -1
  158. package/dist/common/constants.d.ts +1 -3
  159. package/dist/common/constants.d.ts.map +1 -1
  160. package/dist/common/constants.js +1 -4
  161. package/dist/common/constants.js.map +1 -1
  162. package/dist/common/environments.d.ts +1 -4
  163. package/dist/common/environments.d.ts.map +1 -1
  164. package/dist/common/environments.js +1 -4
  165. package/dist/common/environments.js.map +1 -1
  166. package/dist/common/statuses.d.ts +6 -19
  167. package/dist/common/statuses.d.ts.map +1 -1
  168. package/dist/common/statuses.js +6 -27
  169. package/dist/common/statuses.js.map +1 -1
  170. package/dist/components/auth/authenticate/common/codecs.d.ts +11 -0
  171. package/dist/components/auth/authenticate/common/codecs.d.ts.map +1 -0
  172. package/dist/components/auth/authenticate/common/codecs.js +28 -0
  173. package/dist/components/auth/authenticate/common/codecs.js.map +1 -0
  174. package/dist/components/auth/authenticate/common/constants.d.ts +28 -4
  175. package/dist/components/auth/authenticate/common/constants.d.ts.map +1 -1
  176. package/dist/components/auth/authenticate/common/constants.js +37 -9
  177. package/dist/components/auth/authenticate/common/constants.js.map +1 -1
  178. package/dist/components/auth/authenticate/common/index.d.ts +1 -0
  179. package/dist/components/auth/authenticate/common/index.d.ts.map +1 -1
  180. package/dist/components/auth/authenticate/common/index.js +1 -0
  181. package/dist/components/auth/authenticate/common/index.js.map +1 -1
  182. package/dist/components/auth/authenticate/common/keys.d.ts +1 -0
  183. package/dist/components/auth/authenticate/common/keys.d.ts.map +1 -1
  184. package/dist/components/auth/authenticate/common/keys.js +1 -0
  185. package/dist/components/auth/authenticate/common/keys.js.map +1 -1
  186. package/dist/components/auth/authenticate/common/types.d.ts +55 -27
  187. package/dist/components/auth/authenticate/common/types.d.ts.map +1 -1
  188. package/dist/components/auth/authenticate/component.d.ts +2 -1
  189. package/dist/components/auth/authenticate/component.d.ts.map +1 -1
  190. package/dist/components/auth/authenticate/component.js +101 -45
  191. package/dist/components/auth/authenticate/component.js.map +1 -1
  192. package/dist/components/auth/authenticate/controllers/index.d.ts +1 -0
  193. package/dist/components/auth/authenticate/controllers/index.d.ts.map +1 -1
  194. package/dist/components/auth/authenticate/controllers/index.js +1 -0
  195. package/dist/components/auth/authenticate/controllers/index.js.map +1 -1
  196. package/dist/components/auth/authenticate/controllers/jwks/controller.d.ts +9 -0
  197. package/dist/components/auth/authenticate/controllers/jwks/controller.d.ts.map +1 -0
  198. package/dist/components/auth/authenticate/controllers/jwks/controller.js +54 -0
  199. package/dist/components/auth/authenticate/controllers/jwks/controller.js.map +1 -0
  200. package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts +66 -0
  201. package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts.map +1 -0
  202. package/dist/components/auth/authenticate/controllers/jwks/definitions.js +32 -0
  203. package/dist/components/auth/authenticate/controllers/jwks/definitions.js.map +1 -0
  204. package/dist/components/auth/authenticate/controllers/jwks/index.d.ts +2 -0
  205. package/dist/components/auth/authenticate/controllers/jwks/index.d.ts.map +1 -0
  206. package/dist/components/auth/authenticate/controllers/jwks/index.js +18 -0
  207. package/dist/components/auth/authenticate/controllers/jwks/index.js.map +1 -0
  208. package/dist/components/auth/authenticate/middlewares/authenticate.middleware.d.ts.map +1 -1
  209. package/dist/components/auth/authenticate/middlewares/authenticate.middleware.js +0 -2
  210. package/dist/components/auth/authenticate/middlewares/authenticate.middleware.js.map +1 -1
  211. package/dist/components/auth/authenticate/providers/authentication.provider.d.ts.map +1 -1
  212. package/dist/components/auth/authenticate/providers/authentication.provider.js +0 -7
  213. package/dist/components/auth/authenticate/providers/authentication.provider.js.map +1 -1
  214. package/dist/components/auth/authenticate/services/basic/index.d.ts +2 -0
  215. package/dist/components/auth/authenticate/services/basic/index.d.ts.map +1 -0
  216. package/dist/components/auth/authenticate/services/basic/index.js +18 -0
  217. package/dist/components/auth/authenticate/services/basic/index.js.map +1 -0
  218. package/dist/components/auth/authenticate/services/basic/service.d.ts +24 -0
  219. package/dist/components/auth/authenticate/services/basic/service.d.ts.map +1 -0
  220. package/dist/components/auth/authenticate/services/{basic-token.service.js → basic/service.js} +7 -45
  221. package/dist/components/auth/authenticate/services/basic/service.js.map +1 -0
  222. package/dist/components/auth/authenticate/services/bearer/abstract.service.d.ts +52 -0
  223. package/dist/components/auth/authenticate/services/bearer/abstract.service.d.ts.map +1 -0
  224. package/dist/components/auth/authenticate/services/bearer/abstract.service.js +177 -0
  225. package/dist/components/auth/authenticate/services/bearer/abstract.service.js.map +1 -0
  226. package/dist/components/auth/authenticate/services/bearer/index.d.ts +4 -0
  227. package/dist/components/auth/authenticate/services/bearer/index.d.ts.map +1 -0
  228. package/dist/components/auth/authenticate/services/bearer/index.js +20 -0
  229. package/dist/components/auth/authenticate/services/bearer/index.js.map +1 -0
  230. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.d.ts +16 -0
  231. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.d.ts.map +1 -0
  232. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.js +32 -0
  233. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.js.map +1 -0
  234. package/dist/components/auth/authenticate/services/bearer/jwks/index.d.ts +4 -0
  235. package/dist/components/auth/authenticate/services/bearer/jwks/index.d.ts.map +1 -0
  236. package/dist/components/auth/authenticate/services/bearer/jwks/index.js +20 -0
  237. package/dist/components/auth/authenticate/services/bearer/jwks/index.js.map +1 -0
  238. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.d.ts +46 -0
  239. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.d.ts.map +1 -0
  240. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.js +168 -0
  241. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.js.map +1 -0
  242. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.d.ts +18 -0
  243. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.d.ts.map +1 -0
  244. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.js +73 -0
  245. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.js.map +1 -0
  246. package/dist/components/auth/authenticate/services/bearer/jws.service.d.ts +19 -0
  247. package/dist/components/auth/authenticate/services/bearer/jws.service.d.ts.map +1 -0
  248. package/dist/components/auth/authenticate/services/bearer/jws.service.js +76 -0
  249. package/dist/components/auth/authenticate/services/bearer/jws.service.js.map +1 -0
  250. package/dist/components/auth/authenticate/services/index.d.ts +2 -2
  251. package/dist/components/auth/authenticate/services/index.d.ts.map +1 -1
  252. package/dist/components/auth/authenticate/services/index.js +2 -2
  253. package/dist/components/auth/authenticate/services/index.js.map +1 -1
  254. package/dist/components/auth/authenticate/strategies/basic.strategy.d.ts +1 -22
  255. package/dist/components/auth/authenticate/strategies/basic.strategy.d.ts.map +1 -1
  256. package/dist/components/auth/authenticate/strategies/basic.strategy.js +1 -22
  257. package/dist/components/auth/authenticate/strategies/basic.strategy.js.map +1 -1
  258. package/dist/components/auth/authenticate/strategies/index.d.ts +2 -1
  259. package/dist/components/auth/authenticate/strategies/index.d.ts.map +1 -1
  260. package/dist/components/auth/authenticate/strategies/index.js +2 -1
  261. package/dist/components/auth/authenticate/strategies/index.js.map +1 -1
  262. package/dist/components/auth/authenticate/strategies/jwks.strategy.d.ts +21 -0
  263. package/dist/components/auth/authenticate/strategies/jwks.strategy.d.ts.map +1 -0
  264. package/dist/components/auth/authenticate/strategies/jwks.strategy.js +68 -0
  265. package/dist/components/auth/authenticate/strategies/jwks.strategy.js.map +1 -0
  266. package/dist/components/auth/authenticate/strategies/{jwt.strategy.d.ts → jws.strategy.d.ts} +5 -4
  267. package/dist/components/auth/authenticate/strategies/jws.strategy.d.ts.map +1 -0
  268. package/dist/components/auth/authenticate/strategies/{jwt.strategy.js → jws.strategy.js} +11 -10
  269. package/dist/components/auth/authenticate/strategies/jws.strategy.js.map +1 -0
  270. package/dist/components/auth/authenticate/strategies/strategy-registry.d.ts.map +1 -1
  271. package/dist/components/auth/authenticate/strategies/strategy-registry.js +0 -5
  272. package/dist/components/auth/authenticate/strategies/strategy-registry.js.map +1 -1
  273. package/dist/components/auth/authorize/adapters/base-filtered.d.ts.map +1 -1
  274. package/dist/components/auth/authorize/adapters/base-filtered.js +0 -8
  275. package/dist/components/auth/authorize/adapters/base-filtered.js.map +1 -1
  276. package/dist/components/auth/authorize/adapters/drizzle-casbin.d.ts +2 -1
  277. package/dist/components/auth/authorize/adapters/drizzle-casbin.d.ts.map +1 -1
  278. package/dist/components/auth/authorize/adapters/drizzle-casbin.js +4 -5
  279. package/dist/components/auth/authorize/adapters/drizzle-casbin.js.map +1 -1
  280. package/dist/components/auth/authorize/common/constants.d.ts.map +1 -1
  281. package/dist/components/auth/authorize/common/constants.js +0 -8
  282. package/dist/components/auth/authorize/common/constants.js.map +1 -1
  283. package/dist/components/auth/authorize/common/types.d.ts +2 -32
  284. package/dist/components/auth/authorize/common/types.d.ts.map +1 -1
  285. package/dist/components/auth/authorize/component.d.ts.map +1 -1
  286. package/dist/components/auth/authorize/component.js +0 -2
  287. package/dist/components/auth/authorize/component.js.map +1 -1
  288. package/dist/components/auth/authorize/enforcers/casbin.enforcer.d.ts.map +1 -1
  289. package/dist/components/auth/authorize/enforcers/casbin.enforcer.js +0 -10
  290. package/dist/components/auth/authorize/enforcers/casbin.enforcer.js.map +1 -1
  291. package/dist/components/auth/authorize/enforcers/enforcer-registry.d.ts +1 -0
  292. package/dist/components/auth/authorize/enforcers/enforcer-registry.d.ts.map +1 -1
  293. package/dist/components/auth/authorize/enforcers/enforcer-registry.js +3 -7
  294. package/dist/components/auth/authorize/enforcers/enforcer-registry.js.map +1 -1
  295. package/dist/components/auth/authorize/middlewares/authorize.middleware.d.ts.map +1 -1
  296. package/dist/components/auth/authorize/middlewares/authorize.middleware.js +0 -2
  297. package/dist/components/auth/authorize/middlewares/authorize.middleware.js.map +1 -1
  298. package/dist/components/auth/authorize/models/abilities/string-action.model.d.ts.map +1 -1
  299. package/dist/components/auth/authorize/models/abilities/string-action.model.js +0 -1
  300. package/dist/components/auth/authorize/models/abilities/string-action.model.js.map +1 -1
  301. package/dist/components/auth/authorize/models/abilities/string-resource.model.d.ts.map +1 -1
  302. package/dist/components/auth/authorize/models/abilities/string-resource.model.js +0 -1
  303. package/dist/components/auth/authorize/models/abilities/string-resource.model.js.map +1 -1
  304. package/dist/components/auth/authorize/models/authorization-role.model.d.ts.map +1 -1
  305. package/dist/components/auth/authorize/models/authorization-role.model.js +0 -1
  306. package/dist/components/auth/authorize/models/authorization-role.model.js.map +1 -1
  307. package/dist/components/auth/authorize/providers/authorization.provider.d.ts.map +1 -1
  308. package/dist/components/auth/authorize/providers/authorization.provider.js +5 -6
  309. package/dist/components/auth/authorize/providers/authorization.provider.js.map +1 -1
  310. package/dist/components/auth/base/abstract-auth-registry.d.ts.map +1 -1
  311. package/dist/components/auth/base/abstract-auth-registry.js +0 -3
  312. package/dist/components/auth/base/abstract-auth-registry.js.map +1 -1
  313. package/dist/components/auth/context-variables.d.ts.map +1 -1
  314. package/dist/components/auth/models/entities/permission.model.d.ts.map +1 -1
  315. package/dist/components/auth/models/entities/permission.model.js.map +1 -1
  316. package/dist/components/auth/models/entities/policy-definition.model.d.ts.map +1 -1
  317. package/dist/components/auth/models/entities/policy-definition.model.js.map +1 -1
  318. package/dist/components/auth/models/entities/role.model.d.ts.map +1 -1
  319. package/dist/components/auth/models/entities/role.model.js +0 -1
  320. package/dist/components/auth/models/entities/role.model.js.map +1 -1
  321. package/dist/components/auth/models/entities/user.model.d.ts.map +1 -1
  322. package/dist/components/auth/models/entities/user.model.js +0 -1
  323. package/dist/components/auth/models/entities/user.model.js.map +1 -1
  324. package/dist/components/health-check/controller.d.ts.map +1 -1
  325. package/dist/components/health-check/controller.js +0 -1
  326. package/dist/components/health-check/controller.js.map +1 -1
  327. package/dist/components/mail/common/types.d.ts +1 -1
  328. package/dist/components/mail/common/types.d.ts.map +1 -1
  329. package/dist/components/mail/component.d.ts.map +1 -1
  330. package/dist/components/mail/component.js +2 -7
  331. package/dist/components/mail/component.js.map +1 -1
  332. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.d.ts +2 -1
  333. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.d.ts.map +1 -1
  334. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.js +7 -7
  335. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.js.map +1 -1
  336. package/dist/components/mail/helpers/executors/direct-executor.helper.d.ts +1 -1
  337. package/dist/components/mail/helpers/executors/direct-executor.helper.d.ts.map +1 -1
  338. package/dist/components/mail/helpers/executors/direct-executor.helper.js +3 -3
  339. package/dist/components/mail/helpers/executors/direct-executor.helper.js.map +1 -1
  340. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.d.ts +1 -1
  341. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.d.ts.map +1 -1
  342. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.js +4 -4
  343. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.js.map +1 -1
  344. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.d.ts +1 -1
  345. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.d.ts.map +1 -1
  346. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.js +3 -3
  347. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.js.map +1 -1
  348. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.d.ts +1 -1
  349. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.d.ts.map +1 -1
  350. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.js +3 -3
  351. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.js.map +1 -1
  352. package/dist/components/mail/providers/mail-queue-executor.provider.d.ts.map +1 -1
  353. package/dist/components/mail/providers/mail-queue-executor.provider.js +8 -8
  354. package/dist/components/mail/providers/mail-queue-executor.provider.js.map +1 -1
  355. package/dist/components/mail/providers/mail-transporter.provider.d.ts.map +1 -1
  356. package/dist/components/mail/providers/mail-transporter.provider.js +6 -6
  357. package/dist/components/mail/providers/mail-transporter.provider.js.map +1 -1
  358. package/dist/components/mail/services/mail.service.d.ts +1 -1
  359. package/dist/components/mail/services/mail.service.d.ts.map +1 -1
  360. package/dist/components/mail/services/mail.service.js +9 -9
  361. package/dist/components/mail/services/mail.service.js.map +1 -1
  362. package/dist/components/mail/services/template.service.d.ts +1 -1
  363. package/dist/components/mail/services/template.service.d.ts.map +1 -1
  364. package/dist/components/mail/services/template.service.js +4 -4
  365. package/dist/components/mail/services/template.service.js.map +1 -1
  366. package/dist/components/mail/utilities/type.utility.d.ts +1 -1
  367. package/dist/components/mail/utilities/type.utility.d.ts.map +1 -1
  368. package/dist/components/socket-io/component.d.ts.map +1 -1
  369. package/dist/components/socket-io/component.js +0 -4
  370. package/dist/components/socket-io/component.js.map +1 -1
  371. package/dist/components/static-asset/common/constants.d.ts +1 -0
  372. package/dist/components/static-asset/common/constants.d.ts.map +1 -1
  373. package/dist/components/static-asset/common/constants.js +2 -1
  374. package/dist/components/static-asset/common/constants.js.map +1 -1
  375. package/dist/components/static-asset/common/types.d.ts +43 -1
  376. package/dist/components/static-asset/common/types.d.ts.map +1 -1
  377. package/dist/components/static-asset/controller/base.definition.d.ts +81 -80
  378. package/dist/components/static-asset/controller/base.definition.d.ts.map +1 -1
  379. package/dist/components/static-asset/controller/base.definition.js +1 -2
  380. package/dist/components/static-asset/controller/base.definition.js.map +1 -1
  381. package/dist/components/static-asset/controller/factory.d.ts +2 -6
  382. package/dist/components/static-asset/controller/factory.d.ts.map +1 -1
  383. package/dist/components/static-asset/controller/factory.js +41 -42
  384. package/dist/components/static-asset/controller/factory.js.map +1 -1
  385. package/dist/components/static-asset/models/base.model.d.ts +49 -19
  386. package/dist/components/static-asset/models/base.model.d.ts.map +1 -1
  387. package/dist/components/static-asset/models/base.model.js +3 -7
  388. package/dist/components/static-asset/models/base.model.js.map +1 -1
  389. package/dist/components/swagger/ui-factory.d.ts.map +1 -1
  390. package/dist/components/swagger/ui-factory.js +0 -2
  391. package/dist/components/swagger/ui-factory.js.map +1 -1
  392. package/dist/components/websocket/component.d.ts.map +1 -1
  393. package/dist/components/websocket/component.js +0 -3
  394. package/dist/components/websocket/component.js.map +1 -1
  395. package/dist/helpers/base-helper.d.ts +2 -0
  396. package/dist/helpers/base-helper.d.ts.map +1 -0
  397. package/dist/helpers/base-helper.js +6 -0
  398. package/dist/helpers/base-helper.js.map +1 -0
  399. package/dist/helpers/index.d.ts +2 -1
  400. package/dist/helpers/index.d.ts.map +1 -1
  401. package/dist/helpers/index.js +1 -1
  402. package/dist/helpers/index.js.map +1 -1
  403. package/dist/helpers/inversion/common/keys.d.ts.map +1 -1
  404. package/dist/helpers/inversion/common/keys.js +0 -2
  405. package/dist/helpers/inversion/common/keys.js.map +1 -1
  406. package/dist/helpers/inversion/common/types.d.ts +18 -56
  407. package/dist/helpers/inversion/common/types.d.ts.map +1 -1
  408. package/dist/helpers/inversion/container.d.ts.map +1 -1
  409. package/dist/helpers/inversion/container.js +0 -1
  410. package/dist/helpers/inversion/container.js.map +1 -1
  411. package/dist/helpers/inversion/index.d.ts +1 -1
  412. package/dist/helpers/inversion/index.d.ts.map +1 -1
  413. package/dist/helpers/inversion/index.js +5 -1
  414. package/dist/helpers/inversion/index.js.map +1 -1
  415. package/dist/helpers/inversion/mixins/controller.mixin.d.ts.map +1 -1
  416. package/dist/helpers/inversion/mixins/controller.mixin.js +0 -3
  417. package/dist/helpers/inversion/mixins/controller.mixin.js.map +1 -1
  418. package/dist/helpers/inversion/mixins/datasource.mixin.d.ts.map +1 -1
  419. package/dist/helpers/inversion/mixins/datasource.mixin.js +0 -3
  420. package/dist/helpers/inversion/mixins/datasource.mixin.js.map +1 -1
  421. package/dist/helpers/inversion/mixins/model.mixin.d.ts +29 -1
  422. package/dist/helpers/inversion/mixins/model.mixin.d.ts.map +1 -1
  423. package/dist/helpers/inversion/mixins/model.mixin.js +66 -2
  424. package/dist/helpers/inversion/mixins/model.mixin.js.map +1 -1
  425. package/dist/helpers/inversion/mixins/repository.mixin.d.ts.map +1 -1
  426. package/dist/helpers/inversion/mixins/repository.mixin.js +0 -2
  427. package/dist/helpers/inversion/mixins/repository.mixin.js.map +1 -1
  428. package/dist/helpers/inversion/registry.d.ts +22 -0
  429. package/dist/helpers/inversion/registry.d.ts.map +1 -1
  430. package/dist/utilities/jsx.utility.d.ts +2 -16
  431. package/dist/utilities/jsx.utility.d.ts.map +1 -1
  432. package/dist/utilities/jsx.utility.js +2 -16
  433. package/dist/utilities/jsx.utility.js.map +1 -1
  434. package/dist/utilities/schema.utility.d.ts.map +1 -1
  435. package/dist/utilities/schema.utility.js +0 -2
  436. package/dist/utilities/schema.utility.js.map +1 -1
  437. package/package.json +3 -3
  438. package/dist/components/auth/authenticate/services/basic-token.service.d.ts +0 -60
  439. package/dist/components/auth/authenticate/services/basic-token.service.d.ts.map +0 -1
  440. package/dist/components/auth/authenticate/services/basic-token.service.js.map +0 -1
  441. package/dist/components/auth/authenticate/services/jwt-token.service.d.ts +0 -34
  442. package/dist/components/auth/authenticate/services/jwt-token.service.d.ts.map +0 -1
  443. package/dist/components/auth/authenticate/services/jwt-token.service.js +0 -218
  444. package/dist/components/auth/authenticate/services/jwt-token.service.js.map +0 -1
  445. package/dist/components/auth/authenticate/strategies/jwt.strategy.d.ts.map +0 -1
  446. package/dist/components/auth/authenticate/strategies/jwt.strategy.js.map +0 -1
@@ -5,57 +5,12 @@ const ignis_helpers_1 = require("@venizia/ignis-helpers");
5
5
  const drizzle_orm_1 = require("drizzle-orm");
6
6
  const common_1 = require("../common");
7
7
  const json_utils_1 = require("./json-utils");
8
- // -----------------------------------------------------------------------------
9
- // UpdateBuilder Class
10
- // -----------------------------------------------------------------------------
11
- /**
12
- * Transforms update data objects to support nested JSON path updates.
13
- *
14
- * Converts data like:
15
- * ```typescript
16
- * { name: 'John', 'metadata.settings.theme': 'dark', 'metadata.version': 2 }
17
- * ```
18
- *
19
- * Into Drizzle-compatible format with chained jsonb_set calls:
20
- * ```typescript
21
- * {
22
- * name: 'John',
23
- * metadata: sql`jsonb_set(jsonb_set("metadata", '{settings,theme}', '"dark"'::jsonb, true), '{version}', '2'::jsonb, true)`
24
- * }
25
- * ```
26
- *
27
- * @example
28
- * ```typescript
29
- * const builder = new UpdateBuilder();
30
- * const transformed = builder.transform({
31
- * tableName: 'users',
32
- * schema: UserSchema,
33
- * data: { name: 'John', 'metadata.theme': 'dark' }
34
- * });
35
- * const updateData = builder.toUpdateData({ transformed });
36
- * // Use with Drizzle: connector.update(schema).set(updateData)
37
- * ```
38
- */
8
+ /** Transforms update data to support nested JSON path updates via chained jsonb_set calls. */
39
9
  class UpdateBuilder extends ignis_helpers_1.BaseHelper {
40
10
  constructor() {
41
11
  super({ scope: UpdateBuilder.name });
42
12
  }
43
- // ---------------------------------------------------------------------------
44
- // Public Methods
45
- // ---------------------------------------------------------------------------
46
- /**
47
- * Transforms update data to handle JSON path updates.
48
- *
49
- * @param opts.tableName - Name of the table (for error messages)
50
- * @param opts.schema - The Drizzle table schema
51
- * @param opts.data - The update data (may contain JSON paths)
52
- * @returns Object with regularFields and jsonExpressions
53
- *
54
- * @throws Error if column not found
55
- * @throws Error if JSON path targets non-JSON/JSONB column
56
- * @throws Error if JSON path component is invalid
57
- * @throws Error if JSON path is empty (e.g., 'column.')
58
- */
13
+ /** Separates regular fields from JSON path updates and builds SQL expressions. */
59
14
  transform(opts) {
60
15
  const { tableName, schema, data } = opts;
61
16
  const columns = this.getColumns(schema);
@@ -66,15 +21,12 @@ class UpdateBuilder extends ignis_helpers_1.BaseHelper {
66
21
  }
67
22
  const regularFields = {};
68
23
  const jsonPathUpdates = [];
69
- // Separate regular fields from JSON path updates
70
24
  for (const key in data) {
71
25
  const value = data[key];
72
- // Skip undefined values (consistent with existing behavior)
73
26
  if (value === undefined) {
74
27
  continue;
75
28
  }
76
29
  if (!(0, json_utils_1.isJsonPath)({ key })) {
77
- // Regular field - validate column exists
78
30
  if (!columns[key]) {
79
31
  throw (0, ignis_helpers_1.getError)({
80
32
  message: `[UpdateBuilder][transform] Table: ${tableName} | Column NOT FOUND | key: '${key}'`,
@@ -83,7 +35,6 @@ class UpdateBuilder extends ignis_helpers_1.BaseHelper {
83
35
  regularFields[key] = value;
84
36
  continue;
85
37
  }
86
- // JSON path update - parse and validate
87
38
  const parsed = (0, json_utils_1.parseJsonPath)({ key });
88
39
  const column = columns[parsed.columnName];
89
40
  if (!column) {
@@ -113,16 +64,13 @@ class UpdateBuilder extends ignis_helpers_1.BaseHelper {
113
64
  value,
114
65
  });
115
66
  }
116
- // If no JSON path updates, return early
117
67
  if (jsonPathUpdates.length === 0) {
118
68
  return { regularFields, jsonExpressions: {} };
119
69
  }
120
- // Group updates by column name
121
70
  const groupedByColumn = this.groupUpdatesByColumn({
122
71
  jsonPathUpdates,
123
72
  columns,
124
73
  });
125
- // Build SQL expressions for each JSON column
126
74
  const jsonExpressions = {};
127
75
  for (const [columnName, columnUpdates] of groupedByColumn) {
128
76
  jsonExpressions[columnName] = this.buildChainedJsonbSet({
@@ -132,27 +80,16 @@ class UpdateBuilder extends ignis_helpers_1.BaseHelper {
132
80
  }
133
81
  return { regularFields, jsonExpressions };
134
82
  }
135
- /**
136
- * Combines regular fields and JSON expressions into final update data.
137
- *
138
- * @param opts.transformed - The result from transform()
139
- * @returns Object suitable for Drizzle's .set() method
140
- */
83
+ /** Combines regular fields and JSON expressions into final update data for Drizzle's .set(). */
141
84
  toUpdateData(opts) {
142
85
  const { regularFields, jsonExpressions } = opts.transformed;
143
86
  return { ...regularFields, ...jsonExpressions };
144
87
  }
145
- // ---------------------------------------------------------------------------
146
- // Private Helpers
147
- // ---------------------------------------------------------------------------
148
88
  /** Gets columns using shared cache utility. */
149
89
  getColumns(schema) {
150
90
  return (0, common_1.getCachedColumns)(schema);
151
91
  }
152
- /**
153
- * Groups JSON path updates by their target column.
154
- * This allows us to chain multiple jsonb_set calls for the same column.
155
- */
92
+ /** Groups JSON path updates by target column for chaining jsonb_set calls. */
156
93
  groupUpdatesByColumn(opts) {
157
94
  const grouped = new Map();
158
95
  for (const update of opts.jsonPathUpdates) {
@@ -169,21 +106,11 @@ class UpdateBuilder extends ignis_helpers_1.BaseHelper {
169
106
  }
170
107
  return grouped;
171
108
  }
172
- /**
173
- * Builds chained jsonb_set calls for multiple path updates on same column.
174
- *
175
- * @example
176
- * For updates: [{ path: ['a'], value: 1 }, { path: ['b'], value: 2 }]
177
- * Generates: jsonb_set(jsonb_set("col", '{a}', '1'::jsonb, true), '{b}', '2'::jsonb, true)
178
- */
109
+ /** Builds chained jsonb_set calls for multiple path updates on same column. */
179
110
  buildChainedJsonbSet(opts) {
180
111
  const { column, updates } = opts;
181
112
  const columnName = column.name;
182
- // Start with the column reference
183
113
  let expression = `"${columnName}"`;
184
- // Chain jsonb_set calls for each update
185
- // jsonb_set(target, path, new_value, create_missing)
186
- // create_missing = true to create intermediate keys
187
114
  for (const update of updates) {
188
115
  const pathLiteral = `'{${update.path.join(',')}}'`;
189
116
  const valueLiteral = this.serializeJsonValue(update.value);
@@ -191,23 +118,11 @@ class UpdateBuilder extends ignis_helpers_1.BaseHelper {
191
118
  }
192
119
  return drizzle_orm_1.sql.raw(expression);
193
120
  }
194
- /**
195
- * Serializes a JavaScript value to PostgreSQL JSONB literal.
196
- *
197
- * @example
198
- * serializeJsonValue('dark') => ''"dark"''::jsonb
199
- * serializeJsonValue(123) => ''123''::jsonb
200
- * serializeJsonValue(true) => ''true''::jsonb
201
- * serializeJsonValue(null) => ''null''::jsonb
202
- * serializeJsonValue({ a: 1 }) => ''{"a":1}''::jsonb
203
- * serializeJsonValue([1, 2]) => ''[1,2]''::jsonb
204
- */
121
+ /** Serializes a JavaScript value to PostgreSQL JSONB literal. */
205
122
  serializeJsonValue(value) {
206
- // Handle null explicitly
207
123
  if (value === null) {
208
124
  return "'null'::jsonb";
209
125
  }
210
- // Serialize to JSON string and escape single quotes for PostgreSQL
211
126
  const jsonString = JSON.stringify(value).replace(/'/g, "''");
212
127
  return `'${jsonString}'::jsonb`;
213
128
  }
@@ -1 +1 @@
1
- {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/base/repositories/operators/update.ts"],"names":[],"mappings":";;;AACA,0DAA8D;AAC9D,6CAAuC;AACvC,sCAA4D;AAC5D,6CAKsB;AAiCtB,gFAAgF;AAChF,sBAAsB;AACtB,gFAAgF;AAEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,aAAc,SAAQ,0BAAU;IAC3C;QACE,KAAK,CAAC,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC;IACvC,CAAC;IAED,8EAA8E;IAC9E,iBAAiB;IACjB,8EAA8E;IAE9E;;;;;;;;;;;;OAYG;IACH,SAAS,CAAoC,IAI5C;QACC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC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D,MAAM,YAAY,GAAG,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC3D,UAAU,GAAG,aAAa,UAAU,KAAK,WAAW,KAAK,YAAY,SAAS,CAAC;QACjF,CAAC;QAED,OAAO,iBAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC;IAED;;;;;;;;;;OAUG;IACK,kBAAkB,CAAC,KAAU;QACnC,yBAAyB;QACzB,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;YACnB,OAAO,eAAe,CAAC;QACzB,CAAC;QAED,mEAAmE;QACnE,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC7D,OAAO,IAAI,UAAU,UAAU,CAAC;IAClC,CAAC;CACF;AAtND,sCAsNC"}
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/base/repositories/operators/update.ts"],"names":[],"mappings":";;;AACA,0DAA8D;AAC9D,6CAAuC;AACvC,sCAA4D;AAC5D,6CAKsB;AAuBtB,8FAA8F;AAC9F,MAAa,aAAc,SAAQ,0BAAU;IAC3C;QACE,KAAK,CAAC,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC;IACvC,CAAC;IACD,kFAAkF;IAClF,SAAS,CAAoC,IAI5C;QACC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAExC,IAAI,CAAC,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClD,MAAM,IAAA,wBAAQ,EAAC;gBACb,OAAO,EAAE,qCAAqC,SAAS,gCAAgC;aACxF,CAAC,CAAC;QACL,CAAC;QAED,MAAM,aAAa,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I,CAAC,CAAC;QAC7D,OAAO,IAAI,UAAU,UAAU,CAAC;IAClC,CAAC;CACF;AA3JD,sCA2JC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/base/services/types.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,QAAQ;CAAG"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/base/services/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;CAAG"}
@@ -1,13 +1,7 @@
1
1
  import { TConstValue } from '@venizia/ignis-helpers';
2
2
  import { BindingKeys } from '../helpers/inversion';
3
- /**
4
- * Type alias for a binding namespace, derived from `BindingNamespaces` constant values.
5
- */
6
3
  export type TBindingNamespace = TConstValue<typeof BindingNamespaces>;
7
- /**
8
- * Defines a collection of static binding namespaces used for dependency injection.
9
- * Each namespace represents a category of application components or concerns.
10
- */
4
+ /** Static binding namespaces for dependency injection. */
11
5
  export declare class BindingNamespaces {
12
6
  static readonly COMPONENT: string;
13
7
  static readonly DATASOURCE: string;
@@ -18,20 +12,11 @@ export declare class BindingNamespaces {
18
12
  static readonly PROVIDER: string;
19
13
  static readonly CONTROLLER: string;
20
14
  static readonly BOOTERS: string;
21
- /**
22
- * Creates a new namespace string.
23
- * @param opts - Options for creating the namespace.
24
- * @param opts.name - The name of the namespace.
25
- * @returns The created namespace string.
26
- */
27
15
  static createNamespace(opts: {
28
16
  name: string;
29
17
  }): string;
30
18
  }
31
- /**
32
- * Defines core binding keys used for dependency injection within the application.
33
- * These keys represent fundamental application components, configurations, and resources.
34
- */
19
+ /** Core binding keys for fundamental application components and configuration. */
35
20
  export declare class CoreBindings extends BindingKeys {
36
21
  static readonly APPLICATION_INSTANCE = "@app/instance";
37
22
  static readonly APPLICATION_SERVER = "@app/server";
@@ -1 +1 @@
1
- {"version":3,"file":"bindings.d.ts","sourceRoot":"","sources":["../../src/common/bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WA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OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEtE,0DAA0D;AAC1D,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,QAAQ,CAAC,SAAS,SAA6D;IACtF,MAAM,CAAC,QAAQ,CAAC,UAAU,SAA8D;IACxF,MAAM,CAAC,QAAQ,CAAC,UAAU,SAA+D;IACzF,MAAM,CAAC,QAAQ,CAAC,KAAK,SAAyD;IAC9E,MAAM,CAAC,QAAQ,CAAC,OAAO,SAA2D;IAClF,MAAM,CAAC,QAAQ,CAAC,UAAU,SAA8D;IACxF,MAAM,CAAC,QAAQ,CAAC,QAAQ,SAA4D;IACpF,MAAM,CAAC,QAAQ,CAAC,UAAU,SAA8D;IACxF,MAAM,CAAC,QAAQ,CAAC,OAAO,SAA0D;IAEjF,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;CAG9C;AAED,kFAAkF;AAClF,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,CAAC,QAAQ,CAAC,oBAAoB,mBAAmB;IACvD,MAAM,CAAC,QAAQ,CAAC,kBAAkB,iBAAiB;IACnD,MAAM,CAAC,QAAQ,CAAC,kBAAkB,iBAAiB;IACnD,MAAM,CAAC,QAAQ,CAAC,wBAAwB,uBAAuB;IAE/D,MAAM,CAAC,QAAQ,CAAC,uBAAuB,sBAAsB;IAE7D,MAAM,CAAC,QAAQ,CAAC,wBAAwB,uBAAuB;IAC/D,MAAM,CAAC,QAAQ,CAAC,8BAA8B,6BAA6B;CAC5E"}
@@ -2,10 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CoreBindings = exports.BindingNamespaces = void 0;
4
4
  const inversion_1 = require("../helpers/inversion");
5
- /**
6
- * Defines a collection of static binding namespaces used for dependency injection.
7
- * Each namespace represents a category of application components or concerns.
8
- */
5
+ /** Static binding namespaces for dependency injection. */
9
6
  class BindingNamespaces {
10
7
  static { this.COMPONENT = BindingNamespaces.createNamespace({ name: 'components' }); }
11
8
  static { this.DATASOURCE = BindingNamespaces.createNamespace({ name: 'datasources' }); }
@@ -16,21 +13,12 @@ class BindingNamespaces {
16
13
  static { this.PROVIDER = BindingNamespaces.createNamespace({ name: 'providers' }); }
17
14
  static { this.CONTROLLER = BindingNamespaces.createNamespace({ name: 'controllers' }); }
18
15
  static { this.BOOTERS = BindingNamespaces.createNamespace({ name: 'booters' }); }
19
- /**
20
- * Creates a new namespace string.
21
- * @param opts - Options for creating the namespace.
22
- * @param opts.name - The name of the namespace.
23
- * @returns The created namespace string.
24
- */
25
16
  static createNamespace(opts) {
26
17
  return opts.name;
27
18
  }
28
19
  }
29
20
  exports.BindingNamespaces = BindingNamespaces;
30
- /**
31
- * Defines core binding keys used for dependency injection within the application.
32
- * These keys represent fundamental application components, configurations, and resources.
33
- */
21
+ /** Core binding keys for fundamental application components and configuration. */
34
22
  class CoreBindings extends inversion_1.BindingKeys {
35
23
  static { this.APPLICATION_INSTANCE = '@app/instance'; }
36
24
  static { this.APPLICATION_SERVER = '@app/server'; }
@@ -1 +1 @@
1
- {"version":3,"file":"bindings.js","sourceRoot":"","sources":["../../src/common/bindings.ts"],"names":[],"mappings":";;;AACA,mDAAkD;AAOlD;;;GAGG;AACH,MAAa,iBAAiB;aACZ,cAAS,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;aACtE,eAAU,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC;aACxE,eAAU,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;aACzE,UAAK,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;aAC9D,YA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;aACzE,UAAK,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;aAC9D,YAAO,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;aAClE,eAAU,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC;aACxE,aAAQ,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;aACpE,eAAU,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC;aACxE,YAAO,GAAG,iBAAiB,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;IAEjF,MAAM,CAAC,eAAe,CAAC,IAAsB;QAC3C,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;;AAbH,8CAcC;AAED,kFAAkF;AAClF,MAAa,YAAa,SAAQ,uBAAW;aAC3B,yBAAoB,GAAG,eAAe,CAAC;aACvC,uBAAkB,GAAG,aAAa,CAAC;aACnC,uBAAkB,GAAG,aAAa,CAAC;aACnC,6BAAwB,GAAG,mBAAmB,CAAC;aAE/C,4BAAuB,GAAG,kBAAkB,CAAC;aAE7C,6BAAwB,GAAG,mBAAmB,CAAC;aAC/C,mCAA8B,GAAG,yBAAyB,CAAC;;AAT7E,oCAUC"}
@@ -1,6 +1,4 @@
1
- /**
2
- * Defines application-wide constants.
3
- */
1
+ /** Application-wide constants. */
4
2
  export declare class App {
5
3
  static readonly APPLICATION_NAME: string;
6
4
  static readonly DEFAULT_QUERY_LIMIT = 50;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/common/constants.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,qBAAa,GAAG;IACd,MAAM,CAAC,QAAQ,CAAC,gBAAgB,SAAiD;IAEjF,MAAM,CAAC,QAAQ,CAAC,mBAAmB,MAAM;IACzC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,KAAK;IAEzC,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAgB;IAC3C,MAAM,CAAC,QAAQ,CAAC,SAAS,YAAY;IACrC,MAAM,CAAC,QAAQ,CAAC,QAAQ,WAAW;CACpC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/common/constants.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,qBAAa,GAAG;IACd,MAAM,CAAC,QAAQ,CAAC,gBAAgB,SAAiD;IAEjF,MAAM,CAAC,QAAQ,CAAC,mBAAmB,MAAM;IACzC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,KAAK;IAEzC,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAgB;IAC3C,MAAM,CAAC,QAAQ,CAAC,SAAS,YAAY;IACrC,MAAM,CAAC,QAAQ,CAAC,QAAQ,WAAW;CACpC"}
@@ -1,10 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.App = void 0;
4
- // ------------------------------------------------------------------------------
5
- /**
6
- * Defines application-wide constants.
7
- */
4
+ /** Application-wide constants. */
8
5
  class App {
9
6
  static { this.APPLICATION_NAME = process.env.APP_ENV_APPLICATION_NAME ?? 'APP'; }
10
7
  static { this.DEFAULT_QUERY_LIMIT = 50; }
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/common/constants.ts"],"names":[],"mappings":";;;AAAA,iFAAiF;AACjF;;GAEG;AACH,MAAa,GAAG;aACE,qBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,IAAI,KAAK,CAAC;aAEjE,wBAAmB,GAAG,EAAE,CAAC;aACzB,yBAAoB,GAAG,CAAC,CAAC;aAEzB,gBAAW,GAAG,YAAY,CAAC;aAC3B,cAAS,GAAG,QAAQ,CAAC;aACrB,aAAQ,GAAG,OAAO,CAAC;;AARrC,kBASC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/common/constants.ts"],"names":[],"mappings":";;;AAAA,kCAAkC;AAClC,MAAa,GAAG;aACE,qBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,IAAI,KAAK,CAAC;aAEjE,wBAAmB,GAAG,EAAE,CAAC;aACzB,yBAAoB,GAAG,CAAC,CAAC;aAEzB,gBAAW,GAAG,YAAY,CAAC;aAC3B,cAAS,GAAG,QAAQ,CAAC;aACrB,aAAQ,GAAG,OAAO,CAAC;;AARrC,kBASC"}
@@ -1,7 +1,4 @@
1
- /**
2
- * Defines a collection of environment variable keys used throughout the application.
3
- * These keys provide a standardized way to access configuration values from the environment.
4
- */
1
+ /** Environment variable keys used throughout the application. */
5
2
  export declare class EnvironmentKeys {
6
3
  static readonly APP_ENV_APPLICATION_NAME = "APP_ENV_APPLICATION_NAME";
7
4
  static readonly APP_ENV_APPLICATION_TIMEZONE = "APP_ENV_APPLICATION_TIMEZONE";
@@ -1 +1 @@
1
- {"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../src/common/environments.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,qBAAa,eAAe;IAC1B,MAAM,CAAC,QAAQ,CAAC,wBAAwB,8BAA8B;IACtE,MAAM,CAAC,QAAQ,CAAC,4BAA4B,kCAAkC;IAC9E,MAAM,CAAC,QAAQ,CAAC,0BAA0B,gCAAgC;IAE1E,MAAM,CAAC,QAAQ,CAAC,kBAAkB,wBAAwB;IAC1D,MAAM,CAAC,QAAQ,CAAC,sBAAsB,4BAA4B;IAElE,MAAM,CAAC,QAAQ,CAAC,0BAA0B,gCAAgC;IAC1E,MAAM,CAAC,QAAQ,CAAC,yBAAyB,+BAA+B;IAExE,MAAM,CAAC,QAAQ,CAAC,gCAAgC,sCAAsC;IACtF,MAAM,CAAC,QAAQ,CAAC,gCAAgC,sCAAsC;IACtF,MAAM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AAM,CAAC,QAAQ,CAAC,mBAAmB,yBAAyB;IAC5D,MAAM,CAAC,QAAQ,CAAC,wBAAwB,8BAA8B;IAEtE,MAAM,CAAC,QAAQ,CAAC,uBAAuB,6BAA6B;IACpE,MAAM,CAAC,QAAQ,CAAC,qBAAqB,2BAA2B;IAChE,MAAM,CAAC,QAAQ,CAAC,qBAAqB,2BAA2B;IAChE,MAAM,CAAC,QAAQ,CAAC,yBAAyB,+BAA+B;IACxE,MAAM,CAAC,QAAQ,CAAC,yBAAyB,+BAA+B;IACxE,MAAM,CAAC,QAAQ,CAAC,yBAAyB,+BAA+B;CACzE"}
@@ -1,10 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnvironmentKeys = void 0;
4
- /**
5
- * Defines a collection of environment variable keys used throughout the application.
6
- * These keys provide a standardized way to access configuration values from the environment.
7
- */
4
+ /** Environment variable keys used throughout the application. */
8
5
  class EnvironmentKeys {
9
6
  static { this.APP_ENV_APPLICATION_NAME = 'APP_ENV_APPLICATION_NAME'; }
10
7
  static { this.APP_ENV_APPLICATION_TIMEZONE = 'APP_ENV_APPLICATION_TIMEZONE'; }
@@ -1 +1 @@
1
- {"version":3,"file":"environments.js","sourceRoot":"","sources":["../../src/common/environments.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAa,eAAe;aACV,6BAAwB,GAAG,0BAA0B,CAAC;aACtD,iCAA4B,GAAG,8BAA8B,CAAC;aAC9D,+BAA0B,GAAG,4BAA4B,CAAC;aAE1D,uBAAkB,GAAG,oBAAoB,CAAC;aAC1C,2BAAsB,GAAG,wBAAwB,CAAC;aAElD,+BAA0B,GAAG,4BAA4B,CAAC;aAC1D,8BAAyB,GAAG,2BAA2B,CAAC;aAExD,qCAAgC,GAAG,kCAAkC,CAAC;aACtE,qCAAgC,GAAG,kCAAkC,CAAC;aACtE,kCAA6B,GAAG,+BAA+B,CAAC;aAEhE,+BAA0B,GAAG,4BAA4B,CAAC;aAE1D,wBAAmB,GAAG,qBAAqB,CAAC;aAC5C,wBAAmB,GAAG,qBAAqB,CAAC;aAC5C,6BAAwB,GAAG,0BAA0B,CAAC;aAEtD,4BAAuB,GAAG,yBAAyB,CAAC;aACpD,0BAAqB,GAAG,uBAAuB,CAAC;aAChD,0BAAqB,GAAG,uBAAuB,CAAC;aAChD,8BAAyB,GAAG,2BAA2B,CAAC;aACxD,8BAAyB,GAAG,2BAA2B,CAAC;aACxD,8BAAyB,GAAG,2BAA2B,CAAC;;AA1B1E,0CA2BC"}
1
+ {"version":3,"file":"environments.js","sourceRoot":"","sources":["../../src/common/environments.ts"],"names":[],"mappings":";;;AAAA,iEAAiE;AACjE,MAAa,eAAe;aACV,6BAAwB,GAAG,0BAA0B,CAAC;aACtD,iCAA4B,GAAG,8BAA8B,CAAC;aAC9D,+BAA0B,GAAG,4BAA4B,CAAC;aAE1D,uBAAkB,GAAG,oBAAoB,CAAC;aAC1C,2BAAsB,GAAG,wBAAwB,CAAC;aAElD,+BAA0B,GAAG,4BAA4B,CAAC;aAC1D,8BAAyB,GAAG,2BAA2B,CAAC;aAExD,qCAAgC,GAAG,kCAAkC,CAAC;aACtE,qCAAgC,GAAG,kCAAkC,CAAC;aACtE,kCAA6B,GAAG,+BAA+B,CAAC;aAEhE,+BAA0B,GAAG,4BAA4B,CAAC;aAE1D,wBAAmB,GAAG,qBAAqB,CAAC;aAC5C,wBAAmB,GAAG,qBAAqB,CAAC;aAC5C,6BAAwB,GAAG,0BAA0B,CAAC;aAEtD,4BAAuB,GAAG,yBAAyB,CAAC;aACpD,0BAAqB,GAAG,uBAAuB,CAAC;aAChD,0BAAqB,GAAG,uBAAuB,CAAC;aAChD,8BAAyB,GAAG,2BAA2B,CAAC;aACxD,8BAAyB,GAAG,2BAA2B,CAAC;aACxD,8BAAyB,GAAG,2BAA2B,CAAC;;AA1B1E,0CA2BC"}
@@ -1,7 +1,4 @@
1
- /**
2
- * Defines a comprehensive set of application statuses, categorized into different schemes.
3
- * Provides utility methods to check the status against these schemes.
4
- */
1
+ /** Application statuses categorized by lifecycle phase (initial, pending, active, completed, inactive, failed). */
5
2
  export declare class Statuses {
6
3
  static readonly UNKNOWN = "000_UNKNOWN";
7
4
  static readonly DRAFT = "001_DRAFT";
@@ -54,9 +51,7 @@ export declare class Statuses {
54
51
  static isFailed(status: string): boolean;
55
52
  static isValid(status: string): boolean;
56
53
  }
57
- /**
58
- * Defines statuses specifically for database migrations.
59
- */
54
+ /** Database migration statuses. */
60
55
  export declare class MigrationStatuses {
61
56
  static readonly UNKNOWN = "000_UNKNOWN";
62
57
  static readonly SUCCESS = "302_SUCCESS";
@@ -64,9 +59,7 @@ export declare class MigrationStatuses {
64
59
  static readonly SCHEME_SET: Set<string>;
65
60
  static isValid(scheme: string): boolean;
66
61
  }
67
- /**
68
- * Defines a common set of statuses that can be reused across different entities.
69
- */
62
+ /** Common reusable entity statuses. */
70
63
  export declare class CommonStatuses {
71
64
  static readonly UNKNOWN = "000_UNKNOWN";
72
65
  static readonly ACTIVATED = "201_ACTIVATED";
@@ -76,19 +69,13 @@ export declare class CommonStatuses {
76
69
  static readonly SCHEME_SET: Set<string>;
77
70
  static isValid(scheme: string): boolean;
78
71
  }
79
- /**
80
- * Defines statuses specific to users, inheriting from `CommonStatuses`.
81
- */
72
+ /** User statuses. */
82
73
  export declare class UserStatuses extends CommonStatuses {
83
74
  }
84
- /**
85
- * Defines statuses specific to roles, inheriting from `CommonStatuses`.
86
- */
75
+ /** Role statuses. */
87
76
  export declare class RoleStatuses extends CommonStatuses {
88
77
  }
89
- /**
90
- * Defines different types of users within the application.
91
- */
78
+ /** User types within the application. */
92
79
  export declare class UserTypes {
93
80
  static readonly SYSTEM = "SYSTEM";
94
81
  static readonly LINKED = "LINKED";
@@ -1 +1 @@
1
- {"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../src/common/statuses.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,qBAAa,QAAQ;IAEnB,MAA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UAAU,cAAoD;IAE9E,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;CAGxC;AAED,uCAAuC;AACvC,qBAAa,cAAc;IACzB,MAAM,CAAC,QAAQ,CAAC,OAAO,iBAAoB;IAC3C,MAAM,CAAC,QAAQ,CAAC,SAAS,mBAAsB;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAwB;IACnD,MAAM,CAAC,QAAQ,CAAC,OAAO,iBAAoB;IAC3C,MAAM,CAAC,QAAQ,CAAC,QAAQ,kBAAqB;IAE7C,MAAM,CAAC,QAAQ,CAAC,UAAU,cAMvB;IAEH,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;CAGxC;AAED,qBAAqB;AACrB,qBAAa,YAAa,SAAQ,cAAc;CAAG;AAEnD,qBAAqB;AACrB,qBAAa,YAAa,SAAQ,cAAc;CAAG;AAEnD,yCAAyC;AACzC,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,MAAM,YAAY;IAClC,MAAM,CAAC,QAAQ,CAAC,MAAM,YAAY;IAElC,MAAM,CAAC,QAAQ,CAAC,UAAU,cAAuC;IAEjE,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;CAGzC"}
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserTypes = exports.RoleStatuses = exports.UserStatuses = exports.CommonStatuses = exports.MigrationStatuses = exports.Statuses = void 0;
4
- // -----------------------------------------------------------------------------
5
- /**
6
- * Defines a comprehensive set of application statuses, categorized into different schemes.
7
- * Provides utility methods to check the status against these schemes.
8
- */
4
+ /** Application statuses categorized by lifecycle phase (initial, pending, active, completed, inactive, failed). */
9
5
  class Statuses {
10
6
  // 0xx - Initial
11
7
  static { this.UNKNOWN = '000_UNKNOWN'; }
@@ -49,7 +45,6 @@ class Statuses {
49
45
  static { this.CANCELLED = '505_CANCELLED'; }
50
46
  static { this.DELETED = '506_DELETED'; }
51
47
  static { this.REJECTED = '507_REJECTED'; }
52
- // Scheme sets by group
53
48
  static { this.INITIAL_SCHEME_SET = new Set([this.UNKNOWN, this.DRAFT]); }
54
49
  static { this.PENDING_SCHEME_SET = new Set([
55
50
  this.NEW,
@@ -103,7 +98,6 @@ class Statuses {
103
98
  ...this.INACTIVE_SCHEME_SET,
104
99
  ...this.FAILED_SCHEME_SET,
105
100
  ]); }
106
- // Validation methods
107
101
  static isInitial(status) {
108
102
  return this.INITIAL_SCHEME_SET.has(status);
109
103
  }
@@ -127,10 +121,7 @@ class Statuses {
127
121
  }
128
122
  }
129
123
  exports.Statuses = Statuses;
130
- // -----------------------------------------------------------------------------
131
- /**
132
- * Defines statuses specifically for database migrations.
133
- */
124
+ /** Database migration statuses. */
134
125
  class MigrationStatuses {
135
126
  static { this.UNKNOWN = Statuses.UNKNOWN; }
136
127
  static { this.SUCCESS = Statuses.SUCCESS; }
@@ -141,10 +132,7 @@ class MigrationStatuses {
141
132
  }
142
133
  }
143
134
  exports.MigrationStatuses = MigrationStatuses;
144
- // -----------------------------------------------------------------------------
145
- /**
146
- * Defines a common set of statuses that can be reused across different entities.
147
- */
135
+ /** Common reusable entity statuses. */
148
136
  class CommonStatuses {
149
137
  static { this.UNKNOWN = Statuses.UNKNOWN; }
150
138
  static { this.ACTIVATED = Statuses.ACTIVATED; }
@@ -163,24 +151,15 @@ class CommonStatuses {
163
151
  }
164
152
  }
165
153
  exports.CommonStatuses = CommonStatuses;
166
- // -----------------------------------------------------------------------------
167
- /**
168
- * Defines statuses specific to users, inheriting from `CommonStatuses`.
169
- */
154
+ /** User statuses. */
170
155
  class UserStatuses extends CommonStatuses {
171
156
  }
172
157
  exports.UserStatuses = UserStatuses;
173
- // -----------------------------------------------------------------------------
174
- /**
175
- * Defines statuses specific to roles, inheriting from `CommonStatuses`.
176
- */
158
+ /** Role statuses. */
177
159
  class RoleStatuses extends CommonStatuses {
178
160
  }
179
161
  exports.RoleStatuses = RoleStatuses;
180
- // -----------------------------------------------------------------------------
181
- /**
182
- * Defines different types of users within the application.
183
- */
162
+ /** User types within the application. */
184
163
  class UserTypes {
185
164
  static { this.SYSTEM = 'SYSTEM'; }
186
165
  static { this.LINKED = 'LINKED'; }
@@ -1 +1 @@
1
- {"version":3,"file":"statuses.js","sourceRoot":"","sources":["../../src/common/statuses.ts"],"names":[],"mappings":";;;AAAA,gFAAgF;AAChF;;;GAGG;AACH,MAAa,QAAQ;IACnB,gBAAgB;aACA,YAAO,GAAG,aAAa,CAAC;aACxB,UAAK,GAAG,WAAW,CAAC;IAEpC,mDAAmD;aACnC,QAAG,GAAG,SAAS,CAAC;aAChB,WAAM,GAAG,YAAY,CAAC;aACtB,cAAS,GAAG,eAAe,CAAC;aAC5B,YAAO,GAAG,aAAa,CAAC;aACxB,cAAS,GAAG,eAAe,CAAC;IAE5C,qCAAqC;aACrB,YAAO,GAAG,aAAa,CAAC;aACxB,cAAS,GAAG,eAAe,CAAC;aAC5B,YAAO,GAAG,aAAa,CAAC;aACxB,eAAU,GAAG,gBAAgB,CAAC;aAC9B,SAAI,GAAG,UAAU,CAAC;aAClB,aAAQ,GAAG,cAAc,CAAC;IAE1C,sCAAsC;aACtB,YAAO,GAAG,aAAa,CAAC;aACxB,aAAQ,GAAG,cAAc,CAAC;aAC1B,YAAO,GAAG,aAAa,CAAC;aACxB,cAAS,GAAG,eAAe,CAAC;aAC5B,YAAO,GAAG,aAAa,CAAC;aACxB,cAAS,GAAG,eAAe,CAAC;IAE5C,wCAAwC;aACxB,aAAQ,GAAG,cAAc,CAAC;aAC1B,gBAAW,GAAG,iBAAiB,CAAC;aAChC,cAAS,GAAG,eAAe,CAAC;aAC5B,YAAO,GAAG,aAAa,CAAC;aACxB,WAAM,GAAG,YAAY,CAAC;aACtB,aAAQ,GAAG,cAAc,CAAC;aAC1B,WAAM,GAAG,YAAY,CAAC;aACtB,YAAO,GAAG,aAAa,CAAC;aACxB,aAAQ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CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;;AAjBH,wCAkBC;AAED,qBAAqB;AACrB,MAAa,YAAa,SAAQ,cAAc;CAAG;AAAnD,oCAAmD;AAEnD,qBAAqB;AACrB,MAAa,YAAa,SAAQ,cAAc;CAAG;AAAnD,oCAAmD;AAEnD,yCAAyC;AACzC,MAAa,SAAS;aACJ,WAAM,GAAG,QAAQ,CAAC;aAClB,WAAM,GAAG,QAAQ,CAAC;aAElB,eAAU,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAEjE,MAAM,CAAC,OAAO,CAAC,OAAe;QAC5B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;;AARH,8BASC"}
@@ -0,0 +1,11 @@
1
+ import { IJWTTokenPayload, IPayloadFieldCodec } from './types';
2
+ export declare class AuthenticationFieldCodecs {
3
+ static readonly ROLES_CODEC: IPayloadFieldCodec<IJWTTokenPayload['roles']>;
4
+ /** Builds a single payload field codec. */
5
+ static build<T = unknown>(opts: {
6
+ key: string;
7
+ serialize: IPayloadFieldCodec<T>['serialize'];
8
+ deserialize: IPayloadFieldCodec<T>['deserialize'];
9
+ }): IPayloadFieldCodec<T>;
10
+ }
11
+ //# sourceMappingURL=codecs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codecs.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/authenticate/common/codecs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE/D,qBAAa,yBAAyB;IACpC,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAWxE;IAEF,2CAA2C;IAC3C,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,EAAE;QAC9B,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;QAC9C,WAAW,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;KACnD,GAAG,kBAAkB,CAAC,CAAC,CAAC;CAO1B"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticationFieldCodecs = void 0;
4
+ const ignis_helpers_1 = require("@venizia/ignis-helpers");
5
+ class AuthenticationFieldCodecs {
6
+ static { this.ROLES_CODEC = {
7
+ key: 'roles',
8
+ serialize(opts) {
9
+ return JSON.stringify(opts.value.map(el => `${el.id}|${el.identifier}|${el.priority}`));
10
+ },
11
+ deserialize(opts) {
12
+ return JSON.parse(opts.raw).map(el => {
13
+ const [id, identifier, priority] = el.split('|');
14
+ return { id, identifier, priority: (0, ignis_helpers_1.int)(priority) };
15
+ });
16
+ },
17
+ }; }
18
+ /** Builds a single payload field codec. */
19
+ static build(opts) {
20
+ return {
21
+ key: opts.key,
22
+ serialize: opts.serialize,
23
+ deserialize: opts.deserialize,
24
+ };
25
+ }
26
+ }
27
+ exports.AuthenticationFieldCodecs = AuthenticationFieldCodecs;
28
+ //# sourceMappingURL=codecs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codecs.js","sourceRoot":"","sources":["../../../../../src/components/auth/authenticate/common/codecs.ts"],"names":[],"mappings":";;;AAAA,0DAA6C;AAG7C,MAAa,yBAAyB;aACpB,gBAAW,GAAkD;QAC3E,GAAG,EAAE,OAAO;QACZ,SAAS,CAAC,IAAI;YACZ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,UAAU,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QAC1F,CAAC;QACD,WAAW,CAAC,IAAI;YACd,OAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAc,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE;gBACjD,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACjD,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAA,mBAAG,EAAC,QAAQ,CAAC,EAAE,CAAC;YACrD,CAAC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;IAEF,2CAA2C;IAC3C,MAAM,CAAC,KAAK,CAAc,IAIzB;QACC,OAAO;YACL,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC;;AAzBH,8DA0BC"}
@@ -6,11 +6,14 @@ export declare class AuthenticateStrategy {
6
6
  static isValid(input: string): boolean;
7
7
  }
8
8
  export type TAuthStrategy = TConstValue<typeof AuthenticateStrategy>;
9
+ export declare class JOSEStandards {
10
+ static readonly JWS = "JWS";
11
+ static readonly JWKS = "JWKS";
12
+ static readonly SCHEME_SET: Set<string>;
13
+ static isValid(input: string): boolean;
14
+ }
15
+ export type TJOSEStandard = TConstValue<typeof JOSEStandards>;
9
16
  export declare class Authentication {
10
- static readonly ACCESS_TOKEN_SECRET = "token.secret";
11
- static readonly ACCESS_TOKEN_EXPIRES_IN = 86400;
12
- static readonly REFRESH_TOKEN_SECRET = "refresh.secret";
13
- static readonly REFRESH_TOKEN_EXPIRES_IN = 86400;
14
17
  static readonly STRATEGY_BASIC = "basic";
15
18
  static readonly STRATEGY_JWT = "jwt";
16
19
  static readonly TYPE_BASIC = "Basic";
@@ -32,4 +35,25 @@ export declare class AuthenticationModes {
32
35
  static isValid(input: string): boolean;
33
36
  }
34
37
  export type TAuthMode = TConstValue<typeof AuthenticationModes>;
38
+ export declare class JWKSModes {
39
+ static readonly ISSUER = "issuer";
40
+ static readonly VERIFIER = "verifier";
41
+ static readonly SCHEME_SET: Set<string>;
42
+ static isValid(input: string): boolean;
43
+ }
44
+ export type TJWKSMode = TConstValue<typeof JWKSModes>;
45
+ export declare class JWKSKeyDrivers {
46
+ static readonly TEXT = "text";
47
+ static readonly FILE = "file";
48
+ static readonly SCHEME_SET: Set<string>;
49
+ static isValid(input: string): boolean;
50
+ }
51
+ export type TJWKSKeyDriver = TConstValue<typeof JWKSKeyDrivers>;
52
+ export declare class JWKSKeyFormats {
53
+ static readonly PEM = "pem";
54
+ static readonly JWK = "jwk";
55
+ static readonly SCHEME_SET: Set<string>;
56
+ static isValid(input: string): boolean;
57
+ }
58
+ export type TJWKSKeyFormat = TConstValue<typeof JWKSKeyFormats>;
35
59
  //# sourceMappingURL=constants.d.ts.map