@venizia/ignis 0.0.7-2 → 0.0.7-21

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 (559) hide show
  1. package/README.md +2757 -28
  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 +16 -130
  14. package/dist/base/controllers/abstract.d.ts.map +1 -1
  15. package/dist/base/controllers/abstract.js +62 -112
  16. package/dist/base/controllers/abstract.js.map +1 -1
  17. package/dist/base/controllers/base.d.ts +10 -118
  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 +10 -29
  24. package/dist/base/controllers/common/constants.js.map +1 -1
  25. package/dist/base/controllers/common/types.d.ts +34 -152
  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 +37 -199
  30. package/dist/base/controllers/factory/controller.d.ts.map +1 -1
  31. package/dist/base/controllers/factory/controller.js +21 -146
  32. package/dist/base/controllers/factory/controller.js.map +1 -1
  33. package/dist/base/controllers/factory/definition.d.ts +15 -9
  34. package/dist/base/controllers/factory/definition.d.ts.map +1 -1
  35. package/dist/base/controllers/factory/definition.js +62 -58
  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 +8 -31
  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 +31 -5
  175. package/dist/components/auth/authenticate/common/constants.d.ts.map +1 -1
  176. package/dist/components/auth/authenticate/common/constants.js +41 -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 +63 -37
  187. package/dist/components/auth/authenticate/common/types.d.ts.map +1 -1
  188. package/dist/components/auth/authenticate/component.d.ts +5 -18
  189. package/dist/components/auth/authenticate/component.d.ts.map +1 -1
  190. package/dist/components/auth/authenticate/component.js +114 -82
  191. package/dist/components/auth/authenticate/component.js.map +1 -1
  192. package/dist/components/auth/authenticate/controllers/factory.d.ts +12 -12
  193. package/dist/components/auth/authenticate/controllers/factory.d.ts.map +1 -1
  194. package/dist/components/auth/authenticate/controllers/factory.js +23 -22
  195. package/dist/components/auth/authenticate/controllers/factory.js.map +1 -1
  196. package/dist/components/auth/authenticate/controllers/index.d.ts +1 -0
  197. package/dist/components/auth/authenticate/controllers/index.d.ts.map +1 -1
  198. package/dist/components/auth/authenticate/controllers/index.js +1 -0
  199. package/dist/components/auth/authenticate/controllers/index.js.map +1 -1
  200. package/dist/components/auth/authenticate/controllers/jwks/controller.d.ts +9 -0
  201. package/dist/components/auth/authenticate/controllers/jwks/controller.d.ts.map +1 -0
  202. package/dist/components/auth/authenticate/controllers/jwks/controller.js +54 -0
  203. package/dist/components/auth/authenticate/controllers/jwks/controller.js.map +1 -0
  204. package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts +66 -0
  205. package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts.map +1 -0
  206. package/dist/components/auth/authenticate/controllers/jwks/definitions.js +32 -0
  207. package/dist/components/auth/authenticate/controllers/jwks/definitions.js.map +1 -0
  208. package/dist/components/auth/authenticate/controllers/jwks/index.d.ts +2 -0
  209. package/dist/components/auth/authenticate/controllers/jwks/index.d.ts.map +1 -0
  210. package/dist/components/auth/authenticate/controllers/jwks/index.js +18 -0
  211. package/dist/components/auth/authenticate/controllers/jwks/index.js.map +1 -0
  212. package/dist/components/auth/authenticate/index.d.ts +2 -0
  213. package/dist/components/auth/authenticate/index.d.ts.map +1 -1
  214. package/dist/components/auth/authenticate/index.js +2 -0
  215. package/dist/components/auth/authenticate/index.js.map +1 -1
  216. package/dist/components/auth/authenticate/middlewares/authenticate.middleware.d.ts +6 -0
  217. package/dist/components/auth/authenticate/middlewares/authenticate.middleware.d.ts.map +1 -0
  218. package/dist/components/auth/authenticate/middlewares/authenticate.middleware.js +12 -0
  219. package/dist/components/auth/authenticate/middlewares/authenticate.middleware.js.map +1 -0
  220. package/dist/components/auth/authenticate/middlewares/index.d.ts +2 -0
  221. package/dist/components/auth/authenticate/middlewares/index.d.ts.map +1 -0
  222. package/dist/components/auth/authenticate/middlewares/index.js +18 -0
  223. package/dist/components/auth/authenticate/middlewares/index.js.map +1 -0
  224. package/dist/components/auth/authenticate/providers/authentication.provider.d.ts +12 -0
  225. package/dist/components/auth/authenticate/providers/authentication.provider.d.ts.map +1 -0
  226. package/dist/components/auth/authenticate/providers/authentication.provider.js +117 -0
  227. package/dist/components/auth/authenticate/providers/authentication.provider.js.map +1 -0
  228. package/dist/components/auth/authenticate/providers/index.d.ts +2 -0
  229. package/dist/components/auth/authenticate/providers/index.d.ts.map +1 -0
  230. package/dist/components/auth/authenticate/providers/index.js +18 -0
  231. package/dist/components/auth/authenticate/providers/index.js.map +1 -0
  232. package/dist/components/auth/authenticate/services/basic/index.d.ts +2 -0
  233. package/dist/components/auth/authenticate/services/basic/index.d.ts.map +1 -0
  234. package/dist/components/auth/authenticate/services/basic/index.js +18 -0
  235. package/dist/components/auth/authenticate/services/basic/index.js.map +1 -0
  236. package/dist/components/auth/authenticate/services/basic/service.d.ts +24 -0
  237. package/dist/components/auth/authenticate/services/basic/service.d.ts.map +1 -0
  238. package/dist/components/auth/authenticate/services/{basic-token.service.js → basic/service.js} +10 -49
  239. package/dist/components/auth/authenticate/services/basic/service.js.map +1 -0
  240. package/dist/components/auth/authenticate/services/bearer/abstract.service.d.ts +52 -0
  241. package/dist/components/auth/authenticate/services/bearer/abstract.service.d.ts.map +1 -0
  242. package/dist/components/auth/authenticate/services/bearer/abstract.service.js +177 -0
  243. package/dist/components/auth/authenticate/services/bearer/abstract.service.js.map +1 -0
  244. package/dist/components/auth/authenticate/services/bearer/index.d.ts +4 -0
  245. package/dist/components/auth/authenticate/services/bearer/index.d.ts.map +1 -0
  246. package/dist/components/auth/authenticate/services/bearer/index.js +20 -0
  247. package/dist/components/auth/authenticate/services/bearer/index.js.map +1 -0
  248. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.d.ts +16 -0
  249. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.d.ts.map +1 -0
  250. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.js +32 -0
  251. package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.js.map +1 -0
  252. package/dist/components/auth/authenticate/services/bearer/jwks/index.d.ts +4 -0
  253. package/dist/components/auth/authenticate/services/bearer/jwks/index.d.ts.map +1 -0
  254. package/dist/components/auth/authenticate/services/bearer/jwks/index.js +20 -0
  255. package/dist/components/auth/authenticate/services/bearer/jwks/index.js.map +1 -0
  256. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.d.ts +46 -0
  257. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.d.ts.map +1 -0
  258. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.js +168 -0
  259. package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.js.map +1 -0
  260. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.d.ts +18 -0
  261. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.d.ts.map +1 -0
  262. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.js +73 -0
  263. package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.js.map +1 -0
  264. package/dist/components/auth/authenticate/services/bearer/jws.service.d.ts +19 -0
  265. package/dist/components/auth/authenticate/services/bearer/jws.service.d.ts.map +1 -0
  266. package/dist/components/auth/authenticate/services/bearer/jws.service.js +76 -0
  267. package/dist/components/auth/authenticate/services/bearer/jws.service.js.map +1 -0
  268. package/dist/components/auth/authenticate/services/index.d.ts +2 -2
  269. package/dist/components/auth/authenticate/services/index.d.ts.map +1 -1
  270. package/dist/components/auth/authenticate/services/index.js +2 -2
  271. package/dist/components/auth/authenticate/services/index.js.map +1 -1
  272. package/dist/components/auth/authenticate/strategies/basic.strategy.d.ts +2 -23
  273. package/dist/components/auth/authenticate/strategies/basic.strategy.d.ts.map +1 -1
  274. package/dist/components/auth/authenticate/strategies/basic.strategy.js +12 -26
  275. package/dist/components/auth/authenticate/strategies/basic.strategy.js.map +1 -1
  276. package/dist/components/auth/authenticate/strategies/index.d.ts +2 -1
  277. package/dist/components/auth/authenticate/strategies/index.d.ts.map +1 -1
  278. package/dist/components/auth/authenticate/strategies/index.js +2 -1
  279. package/dist/components/auth/authenticate/strategies/index.js.map +1 -1
  280. package/dist/components/auth/authenticate/strategies/jwks.strategy.d.ts +21 -0
  281. package/dist/components/auth/authenticate/strategies/jwks.strategy.d.ts.map +1 -0
  282. package/dist/components/auth/authenticate/strategies/jwks.strategy.js +68 -0
  283. package/dist/components/auth/authenticate/strategies/jwks.strategy.js.map +1 -0
  284. package/dist/components/auth/authenticate/strategies/{jwt.strategy.d.ts → jws.strategy.d.ts} +6 -5
  285. package/dist/components/auth/authenticate/strategies/jws.strategy.d.ts.map +1 -0
  286. package/dist/components/auth/authenticate/strategies/{jwt.strategy.js → jws.strategy.js} +21 -13
  287. package/dist/components/auth/authenticate/strategies/jws.strategy.js.map +1 -0
  288. package/dist/components/auth/authenticate/strategies/strategy-registry.d.ts +11 -24
  289. package/dist/components/auth/authenticate/strategies/strategy-registry.d.ts.map +1 -1
  290. package/dist/components/auth/authenticate/strategies/strategy-registry.js +9 -132
  291. package/dist/components/auth/authenticate/strategies/strategy-registry.js.map +1 -1
  292. package/dist/components/auth/authorize/adapters/base-filtered.d.ts +73 -0
  293. package/dist/components/auth/authorize/adapters/base-filtered.d.ts.map +1 -0
  294. package/dist/components/auth/authorize/adapters/base-filtered.js +90 -0
  295. package/dist/components/auth/authorize/adapters/base-filtered.js.map +1 -0
  296. package/dist/components/auth/authorize/adapters/drizzle-casbin.d.ts +40 -0
  297. package/dist/components/auth/authorize/adapters/drizzle-casbin.d.ts.map +1 -0
  298. package/dist/components/auth/authorize/adapters/drizzle-casbin.js +99 -0
  299. package/dist/components/auth/authorize/adapters/drizzle-casbin.js.map +1 -0
  300. package/dist/components/auth/authorize/adapters/index.d.ts +3 -0
  301. package/dist/components/auth/authorize/adapters/index.d.ts.map +1 -0
  302. package/dist/components/auth/authorize/adapters/index.js +19 -0
  303. package/dist/components/auth/authorize/adapters/index.js.map +1 -0
  304. package/dist/components/auth/authorize/common/constants.d.ts +70 -0
  305. package/dist/components/auth/authorize/common/constants.d.ts.map +1 -0
  306. package/dist/components/auth/authorize/common/constants.js +130 -0
  307. package/dist/components/auth/authorize/common/constants.js.map +1 -0
  308. package/dist/components/auth/authorize/common/index.d.ts +4 -0
  309. package/dist/components/auth/authorize/common/index.d.ts.map +1 -0
  310. package/dist/components/auth/authorize/common/index.js +20 -0
  311. package/dist/components/auth/authorize/common/index.js.map +1 -0
  312. package/dist/components/auth/authorize/common/keys.d.ts +6 -0
  313. package/dist/components/auth/authorize/common/keys.d.ts.map +1 -0
  314. package/dist/components/auth/authorize/common/keys.js +12 -0
  315. package/dist/components/auth/authorize/common/keys.js.map +1 -0
  316. package/dist/components/auth/authorize/common/types.d.ts +107 -0
  317. package/dist/components/auth/authorize/common/types.d.ts.map +1 -0
  318. package/dist/components/auth/authorize/{middleware.js → common/types.js} +1 -1
  319. package/dist/components/auth/authorize/common/types.js.map +1 -0
  320. package/dist/components/auth/authorize/component.d.ts +10 -0
  321. package/dist/components/auth/authorize/component.d.ts.map +1 -0
  322. package/dist/components/auth/authorize/component.js +58 -0
  323. package/dist/components/auth/authorize/component.js.map +1 -0
  324. package/dist/components/auth/authorize/enforcers/casbin.enforcer.d.ts +56 -0
  325. package/dist/components/auth/authorize/enforcers/casbin.enforcer.d.ts.map +1 -0
  326. package/dist/components/auth/authorize/enforcers/casbin.enforcer.js +254 -0
  327. package/dist/components/auth/authorize/enforcers/casbin.enforcer.js.map +1 -0
  328. package/dist/components/auth/authorize/enforcers/enforcer-registry.d.ts +33 -0
  329. package/dist/components/auth/authorize/enforcers/enforcer-registry.d.ts.map +1 -0
  330. package/dist/components/auth/authorize/enforcers/enforcer-registry.js +79 -0
  331. package/dist/components/auth/authorize/enforcers/enforcer-registry.js.map +1 -0
  332. package/dist/components/auth/authorize/enforcers/index.d.ts +3 -0
  333. package/dist/components/auth/authorize/enforcers/index.d.ts.map +1 -0
  334. package/dist/components/auth/authorize/enforcers/index.js +19 -0
  335. package/dist/components/auth/authorize/enforcers/index.js.map +1 -0
  336. package/dist/components/auth/authorize/index.d.ts +7 -1
  337. package/dist/components/auth/authorize/index.d.ts.map +1 -1
  338. package/dist/components/auth/authorize/index.js +21 -0
  339. package/dist/components/auth/authorize/index.js.map +1 -1
  340. package/dist/components/auth/authorize/middlewares/authorize.middleware.d.ts +6 -0
  341. package/dist/components/auth/authorize/middlewares/authorize.middleware.d.ts.map +1 -0
  342. package/dist/components/auth/authorize/middlewares/authorize.middleware.js +12 -0
  343. package/dist/components/auth/authorize/middlewares/authorize.middleware.js.map +1 -0
  344. package/dist/components/auth/authorize/middlewares/index.d.ts +2 -0
  345. package/dist/components/auth/authorize/middlewares/index.d.ts.map +1 -0
  346. package/dist/components/auth/authorize/middlewares/index.js +18 -0
  347. package/dist/components/auth/authorize/middlewares/index.js.map +1 -0
  348. package/dist/components/auth/authorize/models/abilities/index.d.ts +3 -0
  349. package/dist/components/auth/authorize/models/abilities/index.d.ts.map +1 -0
  350. package/dist/components/auth/authorize/models/abilities/index.js +19 -0
  351. package/dist/components/auth/authorize/models/abilities/index.js.map +1 -0
  352. package/dist/components/auth/authorize/models/abilities/string-action.model.d.ts +14 -0
  353. package/dist/components/auth/authorize/models/abilities/string-action.model.d.ts.map +1 -0
  354. package/dist/components/auth/authorize/models/abilities/string-action.model.js +23 -0
  355. package/dist/components/auth/authorize/models/abilities/string-action.model.js.map +1 -0
  356. package/dist/components/auth/authorize/models/abilities/string-resource.model.d.ts +13 -0
  357. package/dist/components/auth/authorize/models/abilities/string-resource.model.d.ts.map +1 -0
  358. package/dist/components/auth/authorize/models/abilities/string-resource.model.js +19 -0
  359. package/dist/components/auth/authorize/models/abilities/string-resource.model.js.map +1 -0
  360. package/dist/components/auth/authorize/models/authorization-role.model.d.ts +30 -0
  361. package/dist/components/auth/authorize/models/authorization-role.model.d.ts.map +1 -0
  362. package/dist/components/auth/authorize/models/authorization-role.model.js +30 -0
  363. package/dist/components/auth/authorize/models/authorization-role.model.js.map +1 -0
  364. package/dist/components/auth/authorize/models/index.d.ts +3 -0
  365. package/dist/components/auth/authorize/models/index.d.ts.map +1 -0
  366. package/dist/components/auth/authorize/models/index.js +19 -0
  367. package/dist/components/auth/authorize/models/index.js.map +1 -0
  368. package/dist/components/auth/authorize/providers/authorization.provider.d.ts +10 -0
  369. package/dist/components/auth/authorize/providers/authorization.provider.d.ts.map +1 -0
  370. package/dist/components/auth/authorize/providers/authorization.provider.js +135 -0
  371. package/dist/components/auth/authorize/providers/authorization.provider.js.map +1 -0
  372. package/dist/components/auth/authorize/providers/index.d.ts +2 -0
  373. package/dist/components/auth/authorize/providers/index.d.ts.map +1 -0
  374. package/dist/components/auth/authorize/providers/index.js +18 -0
  375. package/dist/components/auth/authorize/providers/index.js.map +1 -0
  376. package/dist/components/auth/base/abstract-auth-registry.d.ts +27 -0
  377. package/dist/components/auth/base/abstract-auth-registry.d.ts.map +1 -0
  378. package/dist/components/auth/base/abstract-auth-registry.js +62 -0
  379. package/dist/components/auth/base/abstract-auth-registry.js.map +1 -0
  380. package/dist/components/auth/base/index.d.ts +2 -0
  381. package/dist/components/auth/base/index.d.ts.map +1 -0
  382. package/dist/components/auth/base/index.js +18 -0
  383. package/dist/components/auth/base/index.js.map +1 -0
  384. package/dist/components/auth/context-variables.d.ts +14 -0
  385. package/dist/components/auth/context-variables.d.ts.map +1 -0
  386. package/dist/components/auth/context-variables.js +3 -0
  387. package/dist/components/auth/context-variables.js.map +1 -0
  388. package/dist/components/auth/index.d.ts +2 -0
  389. package/dist/components/auth/index.d.ts.map +1 -1
  390. package/dist/components/auth/index.js +2 -0
  391. package/dist/components/auth/index.js.map +1 -1
  392. package/dist/components/auth/models/entities/index.d.ts +1 -2
  393. package/dist/components/auth/models/entities/index.d.ts.map +1 -1
  394. package/dist/components/auth/models/entities/index.js +1 -2
  395. package/dist/components/auth/models/entities/index.js.map +1 -1
  396. package/dist/components/auth/models/entities/permission.model.d.ts +0 -1
  397. package/dist/components/auth/models/entities/permission.model.d.ts.map +1 -1
  398. package/dist/components/auth/models/entities/permission.model.js +0 -2
  399. package/dist/components/auth/models/entities/permission.model.js.map +1 -1
  400. package/dist/components/auth/models/entities/policy-definition.model.d.ts +24 -0
  401. package/dist/components/auth/models/entities/policy-definition.model.d.ts.map +1 -0
  402. package/dist/components/auth/models/entities/policy-definition.model.js +39 -0
  403. package/dist/components/auth/models/entities/policy-definition.model.js.map +1 -0
  404. package/dist/components/auth/models/entities/role.model.d.ts +3 -1
  405. package/dist/components/auth/models/entities/role.model.d.ts.map +1 -1
  406. package/dist/components/auth/models/entities/role.model.js +5 -3
  407. package/dist/components/auth/models/entities/role.model.js.map +1 -1
  408. package/dist/components/auth/models/entities/user.model.d.ts +4 -2
  409. package/dist/components/auth/models/entities/user.model.d.ts.map +1 -1
  410. package/dist/components/auth/models/entities/user.model.js +6 -5
  411. package/dist/components/auth/models/entities/user.model.js.map +1 -1
  412. package/dist/components/auth/models/requests/change-password.schema.js +3 -3
  413. package/dist/components/auth/models/requests/change-password.schema.js.map +1 -1
  414. package/dist/components/auth/models/requests/sign-in.schema.js +5 -5
  415. package/dist/components/auth/models/requests/sign-in.schema.js.map +1 -1
  416. package/dist/components/health-check/controller.d.ts.map +1 -1
  417. package/dist/components/health-check/controller.js +0 -1
  418. package/dist/components/health-check/controller.js.map +1 -1
  419. package/dist/components/index.d.ts +0 -2
  420. package/dist/components/index.d.ts.map +1 -1
  421. package/dist/components/index.js +4 -2
  422. package/dist/components/index.js.map +1 -1
  423. package/dist/components/mail/common/types.d.ts +1 -1
  424. package/dist/components/mail/common/types.d.ts.map +1 -1
  425. package/dist/components/mail/component.d.ts.map +1 -1
  426. package/dist/components/mail/component.js +2 -7
  427. package/dist/components/mail/component.js.map +1 -1
  428. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.d.ts +2 -1
  429. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.d.ts.map +1 -1
  430. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.js +10 -9
  431. package/dist/components/mail/helpers/executors/bull-mq-executor.helper.js.map +1 -1
  432. package/dist/components/mail/helpers/executors/direct-executor.helper.d.ts +1 -1
  433. package/dist/components/mail/helpers/executors/direct-executor.helper.d.ts.map +1 -1
  434. package/dist/components/mail/helpers/executors/direct-executor.helper.js +3 -3
  435. package/dist/components/mail/helpers/executors/direct-executor.helper.js.map +1 -1
  436. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.d.ts +1 -1
  437. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.d.ts.map +1 -1
  438. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.js +4 -4
  439. package/dist/components/mail/helpers/executors/internal-queue-executor.helper.js.map +1 -1
  440. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.d.ts +1 -1
  441. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.d.ts.map +1 -1
  442. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.js +3 -3
  443. package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.js.map +1 -1
  444. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.d.ts +1 -1
  445. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.d.ts.map +1 -1
  446. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.js +3 -3
  447. package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.js.map +1 -1
  448. package/dist/components/mail/providers/mail-queue-executor.provider.d.ts.map +1 -1
  449. package/dist/components/mail/providers/mail-queue-executor.provider.js +8 -8
  450. package/dist/components/mail/providers/mail-queue-executor.provider.js.map +1 -1
  451. package/dist/components/mail/providers/mail-transporter.provider.d.ts.map +1 -1
  452. package/dist/components/mail/providers/mail-transporter.provider.js +6 -6
  453. package/dist/components/mail/providers/mail-transporter.provider.js.map +1 -1
  454. package/dist/components/mail/services/mail.service.d.ts +1 -1
  455. package/dist/components/mail/services/mail.service.d.ts.map +1 -1
  456. package/dist/components/mail/services/mail.service.js +9 -9
  457. package/dist/components/mail/services/mail.service.js.map +1 -1
  458. package/dist/components/mail/services/template.service.d.ts +1 -1
  459. package/dist/components/mail/services/template.service.d.ts.map +1 -1
  460. package/dist/components/mail/services/template.service.js +4 -4
  461. package/dist/components/mail/services/template.service.js.map +1 -1
  462. package/dist/components/mail/utilities/type.utility.d.ts +1 -1
  463. package/dist/components/mail/utilities/type.utility.d.ts.map +1 -1
  464. package/dist/components/socket-io/common/types.d.ts +2 -1
  465. package/dist/components/socket-io/common/types.d.ts.map +1 -1
  466. package/dist/components/socket-io/component.d.ts.map +1 -1
  467. package/dist/components/socket-io/component.js +2 -5
  468. package/dist/components/socket-io/component.js.map +1 -1
  469. package/dist/components/socket-io/handlers/node.handler.d.ts +1 -1
  470. package/dist/components/socket-io/handlers/node.handler.d.ts.map +1 -1
  471. package/dist/components/socket-io/handlers/node.handler.js +2 -1
  472. package/dist/components/socket-io/handlers/node.handler.js.map +1 -1
  473. package/dist/components/static-asset/common/constants.d.ts +1 -0
  474. package/dist/components/static-asset/common/constants.d.ts.map +1 -1
  475. package/dist/components/static-asset/common/constants.js +2 -1
  476. package/dist/components/static-asset/common/constants.js.map +1 -1
  477. package/dist/components/static-asset/common/types.d.ts +44 -1
  478. package/dist/components/static-asset/common/types.d.ts.map +1 -1
  479. package/dist/components/static-asset/controller/base.definition.d.ts +81 -80
  480. package/dist/components/static-asset/controller/base.definition.d.ts.map +1 -1
  481. package/dist/components/static-asset/controller/base.definition.js +1 -2
  482. package/dist/components/static-asset/controller/base.definition.js.map +1 -1
  483. package/dist/components/static-asset/controller/factory.d.ts +8 -12
  484. package/dist/components/static-asset/controller/factory.d.ts.map +1 -1
  485. package/dist/components/static-asset/controller/factory.js +41 -42
  486. package/dist/components/static-asset/controller/factory.js.map +1 -1
  487. package/dist/components/static-asset/models/base.model.d.ts +49 -19
  488. package/dist/components/static-asset/models/base.model.d.ts.map +1 -1
  489. package/dist/components/static-asset/models/base.model.js +3 -7
  490. package/dist/components/static-asset/models/base.model.js.map +1 -1
  491. package/dist/components/swagger/ui-factory.d.ts.map +1 -1
  492. package/dist/components/swagger/ui-factory.js +0 -2
  493. package/dist/components/swagger/ui-factory.js.map +1 -1
  494. package/dist/components/websocket/component.d.ts.map +1 -1
  495. package/dist/components/websocket/component.js +0 -3
  496. package/dist/components/websocket/component.js.map +1 -1
  497. package/dist/helpers/base-helper.d.ts +2 -0
  498. package/dist/helpers/base-helper.d.ts.map +1 -0
  499. package/dist/helpers/base-helper.js +6 -0
  500. package/dist/helpers/base-helper.js.map +1 -0
  501. package/dist/helpers/index.d.ts +2 -1
  502. package/dist/helpers/index.d.ts.map +1 -1
  503. package/dist/helpers/index.js +1 -1
  504. package/dist/helpers/index.js.map +1 -1
  505. package/dist/helpers/inversion/common/keys.d.ts.map +1 -1
  506. package/dist/helpers/inversion/common/keys.js +0 -2
  507. package/dist/helpers/inversion/common/keys.js.map +1 -1
  508. package/dist/helpers/inversion/common/types.d.ts +18 -56
  509. package/dist/helpers/inversion/common/types.d.ts.map +1 -1
  510. package/dist/helpers/inversion/container.d.ts.map +1 -1
  511. package/dist/helpers/inversion/container.js +0 -1
  512. package/dist/helpers/inversion/container.js.map +1 -1
  513. package/dist/helpers/inversion/index.d.ts +1 -1
  514. package/dist/helpers/inversion/index.d.ts.map +1 -1
  515. package/dist/helpers/inversion/index.js +5 -1
  516. package/dist/helpers/inversion/index.js.map +1 -1
  517. package/dist/helpers/inversion/mixins/controller.mixin.d.ts.map +1 -1
  518. package/dist/helpers/inversion/mixins/controller.mixin.js +0 -3
  519. package/dist/helpers/inversion/mixins/controller.mixin.js.map +1 -1
  520. package/dist/helpers/inversion/mixins/datasource.mixin.d.ts.map +1 -1
  521. package/dist/helpers/inversion/mixins/datasource.mixin.js +0 -3
  522. package/dist/helpers/inversion/mixins/datasource.mixin.js.map +1 -1
  523. package/dist/helpers/inversion/mixins/model.mixin.d.ts +29 -1
  524. package/dist/helpers/inversion/mixins/model.mixin.d.ts.map +1 -1
  525. package/dist/helpers/inversion/mixins/model.mixin.js +66 -2
  526. package/dist/helpers/inversion/mixins/model.mixin.js.map +1 -1
  527. package/dist/helpers/inversion/mixins/repository.mixin.d.ts.map +1 -1
  528. package/dist/helpers/inversion/mixins/repository.mixin.js +0 -2
  529. package/dist/helpers/inversion/mixins/repository.mixin.js.map +1 -1
  530. package/dist/helpers/inversion/registry.d.ts +22 -0
  531. package/dist/helpers/inversion/registry.d.ts.map +1 -1
  532. package/dist/utilities/jsx.utility.d.ts +2 -16
  533. package/dist/utilities/jsx.utility.d.ts.map +1 -1
  534. package/dist/utilities/jsx.utility.js +2 -16
  535. package/dist/utilities/jsx.utility.js.map +1 -1
  536. package/dist/utilities/schema.utility.d.ts.map +1 -1
  537. package/dist/utilities/schema.utility.js +0 -2
  538. package/dist/utilities/schema.utility.js.map +1 -1
  539. package/package.json +117 -77
  540. package/dist/components/auth/authenticate/services/basic-token.service.d.ts +0 -60
  541. package/dist/components/auth/authenticate/services/basic-token.service.d.ts.map +0 -1
  542. package/dist/components/auth/authenticate/services/basic-token.service.js.map +0 -1
  543. package/dist/components/auth/authenticate/services/jwt-token.service.d.ts +0 -34
  544. package/dist/components/auth/authenticate/services/jwt-token.service.d.ts.map +0 -1
  545. package/dist/components/auth/authenticate/services/jwt-token.service.js +0 -219
  546. package/dist/components/auth/authenticate/services/jwt-token.service.js.map +0 -1
  547. package/dist/components/auth/authenticate/strategies/jwt.strategy.d.ts.map +0 -1
  548. package/dist/components/auth/authenticate/strategies/jwt.strategy.js.map +0 -1
  549. package/dist/components/auth/authorize/middleware.d.ts +0 -2
  550. package/dist/components/auth/authorize/middleware.d.ts.map +0 -1
  551. package/dist/components/auth/authorize/middleware.js.map +0 -1
  552. package/dist/components/auth/models/entities/permission-mapping.model.d.ts +0 -26
  553. package/dist/components/auth/models/entities/permission-mapping.model.d.ts.map +0 -1
  554. package/dist/components/auth/models/entities/permission-mapping.model.js +0 -33
  555. package/dist/components/auth/models/entities/permission-mapping.model.js.map +0 -1
  556. package/dist/components/auth/models/entities/user-role.model.d.ts +0 -17
  557. package/dist/components/auth/models/entities/user-role.model.d.ts.map +0 -1
  558. package/dist/components/auth/models/entities/user-role.model.js +0 -34
  559. package/dist/components/auth/models/entities/user-role.model.js.map +0 -1
@@ -4,199 +4,44 @@ import { z } from '@hono/zod-openapi';
4
4
  import { TLogLevel, TNullable } from '@venizia/ignis-helpers';
5
5
  import { Column, SQL, createTableRelationsHelpers } from 'drizzle-orm';
6
6
  import { RelationTypes } from './constants';
7
- /**
8
- * Zod schema for pagination skip parameter.
9
- * Specifies how many items to skip from the beginning of the result set.
10
- *
11
- * @example
12
- * ```typescript
13
- * // Skip first 10 items
14
- * const filter = { skip: 10, limit: 5 };
15
- * ```
16
- */
17
- export declare const SkipSchema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
18
- /** Type for pagination skip parameter. Inferred from {@link SkipSchema}. */
7
+ /** Zod schema for pagination skip parameter. */
8
+ export declare const SkipSchema: z.ZodOptional<z.ZodNumber>;
19
9
  export type TSkip = z.infer<typeof SkipSchema>;
20
- /**
21
- * Zod schema for pagination offset parameter.
22
- * Alternative to skip - specifies the starting position in the result set.
23
- *
24
- * @example
25
- * ```typescript
26
- * // Start from the 20th item
27
- * const filter = { offset: 20, limit: 10 };
28
- * ```
29
- */
30
- export declare const OffsetSchema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
31
- /** Type for pagination offset parameter. Inferred from {@link OffsetSchema}. */
10
+ /** Zod schema for pagination offset parameter. */
11
+ export declare const OffsetSchema: z.ZodOptional<z.ZodNumber>;
32
12
  export type TOffset = z.infer<typeof OffsetSchema>;
33
- /**
34
- * Zod schema for pagination limit parameter.
35
- * Specifies the maximum number of items to return in a query.
36
- * Defaults to {@link DEFAULT_LIMIT} (10).
37
- *
38
- * @example
39
- * ```typescript
40
- * // Return at most 25 items
41
- * const filter = { limit: 25 };
42
- * ```
43
- */
13
+ /** Zod schema for pagination limit parameter. Defaults to DEFAULT_LIMIT (10). */
44
14
  export declare const LimitSchema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
45
- /** Type for pagination limit parameter. Inferred from {@link LimitSchema}. */
46
15
  export type TLimit = z.infer<typeof LimitSchema>;
47
- /**
48
- * Zod schema for query ordering/sorting.
49
- * Supports sorting by regular columns and JSON/JSONB paths.
50
- *
51
- * @example
52
- * ```typescript
53
- * // Sort by single column
54
- * const filter = { order: ['createdAt DESC'] };
55
- *
56
- * // Sort by multiple columns
57
- * const filter = { order: ['priority DESC', 'createdAt ASC'] };
58
- *
59
- * // Sort by JSON path
60
- * const filter = { order: ['metadata.score DESC'] };
61
- * ```
62
- */
16
+ /** Zod schema for query ordering. Supports regular columns and JSON/JSONB paths. */
63
17
  export declare const OrderBySchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
- /** Type for ordering/sorting parameter. Inferred from {@link OrderBySchema}. */
65
18
  export type TOrderBy = z.infer<typeof OrderBySchema>;
66
- /**
67
- * Zod schema for query where conditions.
68
- * Supports both object format and JSON string format (for URL query params).
69
- *
70
- * Features:
71
- * - Field equality: `{ name: 'John' }`
72
- * - Comparison operators: `{ age: { gte: 18 } }`
73
- * - Logical AND: `{ and: [{ status: 'active' }, { role: 'admin' }] }`
74
- * - Logical OR: `{ or: [{ status: 'active' }, { isPublished: true }] }`
75
- * - JSON path queries: `{ 'metadata.score': { gt: 50 } }`
76
- *
77
- * @example
78
- * ```typescript
79
- * // Simple equality
80
- * const where = { status: 'active' };
81
- *
82
- * // With operators
83
- * const where = { age: { gte: 18, lt: 65 } };
84
- *
85
- * // Logical operations
86
- * const where = { or: [{ role: 'admin' }, { role: 'moderator' }] };
87
- * ```
88
- */
19
+ /** Zod schema for query where conditions. Supports object format and JSON string format. */
89
20
  export declare const WhereSchema: z.ZodUnion<readonly [z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<any, string>>, z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>]>;
90
- /**
91
- * Type for where clause conditions.
92
- * Supports field-level conditions and logical AND/OR grouping.
93
- *
94
- * @template T - The entity type for type-safe field names
95
- *
96
- * @example
97
- * ```typescript
98
- * // Type-safe where with entity
99
- * const where: TWhere<User> = {
100
- * email: 'john@example.com',
101
- * and: [{ isActive: true }, { role: 'admin' }]
102
- * };
103
- * ```
104
- */
21
+ /** Where clause conditions with field-level conditions and logical AND/OR grouping. */
105
22
  export type TWhere<T = any> = {
106
23
  [key in keyof T]?: any;
107
24
  } & {
108
25
  and?: TWhere<T>[];
109
26
  or?: TWhere<T>[];
110
27
  };
111
- /**
112
- * Zod schema for field/column selection.
113
- * Supports two formats:
114
- * - Array format: `['id', 'name', 'email']` - include only these fields
115
- * - Object format: `{ id: true, name: true, password: false }` - include/exclude fields
116
- *
117
- * @example
118
- * ```typescript
119
- * // Array format - include only specified fields
120
- * const filter = { fields: ['id', 'name', 'email'] };
121
- *
122
- * // Object format - include specific, exclude others
123
- * const filter = { fields: { id: true, name: true, password: false } };
124
- * ```
125
- */
28
+ /** Zod schema for field/column selection. Supports array format or object format. */
126
29
  export declare const FieldsSchema: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodArray<z.ZodString>]>>;
127
- /**
128
- * Type for field selection.
129
- * Can be an object mapping field names to booleans, or an array of field names.
130
- *
131
- * @template T - The entity type for type-safe field names
132
- */
30
+ /** Field selection -- object mapping field names to booleans, or array of field names. */
133
31
  export type TFields<T = any> = Partial<{
134
32
  [K in keyof T]: boolean;
135
33
  }> | Array<keyof T>;
136
- /**
137
- * Zod schema for including related entities in queries.
138
- * Allows eager loading of related data with optional nested filtering.
139
- *
140
- * @example
141
- * ```typescript
142
- * // Simple inclusion
143
- * const filter = { include: [{ relation: 'posts' }] };
144
- *
145
- * // With nested scope/filter
146
- * const filter = {
147
- * include: [{
148
- * relation: 'posts',
149
- * scope: { where: { isPublished: true }, limit: 5 }
150
- * }]
151
- * };
152
- * ```
153
- */
34
+ /** Zod schema for including related entities in queries with optional nested filtering. */
154
35
  export declare const InclusionSchema: any;
155
- /**
156
- * Type for a single relation inclusion configuration.
157
- *
158
- * @property relation - The name of the relation to include
159
- * @property scope - Optional filter to apply to the related entities
160
- * @property shouldSkipDefaultFilter - If true, skip the default filter for this relation
161
- */
36
+ /** Single relation inclusion configuration. */
162
37
  export type TInclusion = {
163
38
  relation: string;
164
39
  scope?: TFilter;
165
40
  shouldSkipDefaultFilter?: boolean;
166
41
  };
167
- /**
168
- * Comprehensive Zod schema for repository query filtering.
169
- * Combines where conditions, field selection, relation inclusion, pagination, and sorting.
170
- * Supports both object format and JSON string format (for URL query params).
171
- *
172
- * @example
173
- * ```typescript
174
- * // Complete filter example
175
- * const filter = {
176
- * where: { status: 'active', role: { in: ['admin', 'moderator'] } },
177
- * fields: ['id', 'name', 'email'],
178
- * include: [{ relation: 'posts', scope: { limit: 5 } }],
179
- * order: ['createdAt DESC'],
180
- * limit: 20,
181
- * skip: 0
182
- * };
183
- * ```
184
- */
42
+ /** Comprehensive Zod schema for repository query filtering. Supports object and JSON string formats. */
185
43
  export declare const FilterSchema: any;
186
- /**
187
- * Type for comprehensive filter configuration.
188
- * Used across all repository query methods.
189
- *
190
- * @template T - The entity type for type-safe where conditions
191
- *
192
- * @property where - Query conditions for filtering results
193
- * @property fields - Field selection (include/exclude columns)
194
- * @property include - Related entities to eager load
195
- * @property order - Sorting order for results
196
- * @property limit - Maximum number of results to return
197
- * @property offset - Number of results to skip (alternative to skip)
198
- * @property skip - Number of results to skip
199
- */
44
+ /** Comprehensive filter configuration used across all repository query methods. */
200
45
  export type TFilter<T = any> = {
201
46
  where?: TWhere<T>;
202
47
  fields?: TFields;
@@ -206,85 +51,22 @@ export type TFilter<T = any> = {
206
51
  offset?: number;
207
52
  skip?: number;
208
53
  };
209
- /**
210
- * Update data supporting both regular fields and JSON path updates.
211
- * Allows nested JSON/JSONB field updates using dot notation.
212
- *
213
- * @template T - The base entity type
214
- *
215
- * @example
216
- * ```typescript
217
- * // Regular update
218
- * const data: TUpdateData<User> = { name: 'John' };
219
- *
220
- * // JSON path update (nested field)
221
- * const data: TUpdateData<User> = { 'metadata.theme': 'dark' };
222
- *
223
- * // Nested path with array index
224
- * const data: TUpdateData<User> = { 'settings.items[0].enabled': true };
225
- *
226
- * // Mixed regular and JSON path updates
227
- * const data: TUpdateData<User> = {
228
- * name: 'John',
229
- * 'metadata.theme': 'dark',
230
- * 'metadata.settings.notifications': true
231
- * };
232
- * ```
233
- */
54
+ /** Update data supporting both regular fields and JSON path updates via dot notation. */
234
55
  export type TUpdateData<T = any> = Partial<T> & {
235
56
  [jsonPath: string]: any;
236
57
  };
237
- /**
238
- * Zod schema for count operation results.
239
- * Returns the total number of matching records.
240
- */
58
+ /** Zod schema for count operation results. */
241
59
  export declare const CountSchema: z.ZodObject<{
242
60
  count: z.ZodDefault<z.ZodNumber>;
243
61
  }, z.core.$strip>;
244
- /** Type for count operation results. Inferred from {@link CountSchema}. */
245
62
  export type TCount = z.infer<typeof CountSchema>;
246
- /**
247
- * Data range information for paginated queries.
248
- * Follows HTTP Content-Range header standard format.
249
- *
250
- * @property start - The starting index (0-based, inclusive)
251
- * @property end - The ending index (0-based, inclusive)
252
- * @property total - The total number of records matching the query
253
- * @property contentRange - Formatted Content-Range header string
254
- *
255
- * @example
256
- * ```typescript
257
- * // Query with limit: 10, skip: 20, total records: 100
258
- * const range: TDataRange = {
259
- * start: 20,
260
- * end: 29,
261
- * total: 100,
262
- * contentRange: 'items 20-29/100'
263
- * };
264
- *
265
- * // Use in HTTP response header
266
- * res.setHeader('Content-Range', range.contentRange);
267
- * ```
268
- */
63
+ /** Data range information for paginated queries. Follows HTTP Content-Range standard. */
269
64
  export type TDataRange = {
270
- /** Starting index (0-based, inclusive) */
271
65
  start: number;
272
- /** Ending index (0-based, inclusive) */
273
66
  end: number;
274
- /** Total number of records matching the query */
275
67
  total: number;
276
68
  };
277
- /**
278
- * Options for Drizzle ORM query building.
279
- * Internal type used by the FilterBuilder to construct Drizzle queries.
280
- *
281
- * @property limit - Maximum records to return
282
- * @property offset - Records to skip
283
- * @property orderBy - SQL order expressions
284
- * @property where - SQL where condition
285
- * @property with - Relation inclusion configuration
286
- * @property columns - Column selection configuration
287
- */
69
+ /** Options for Drizzle ORM query building, used internally by FilterBuilder. */
288
70
  export type TDrizzleQueryOptions = Partial<{
289
71
  limit: number;
290
72
  offset: number;
@@ -293,25 +75,7 @@ export type TDrizzleQueryOptions = Partial<{
293
75
  with: Record<string, true | TDrizzleQueryOptions>;
294
76
  columns: Record<string, boolean>;
295
77
  }>;
296
- /**
297
- * Configuration for entity relationships.
298
- * Used to define one-to-one, one-to-many, and many-to-one relations.
299
- *
300
- * @property name - The relation name used in include queries
301
- * @property type - The relation type ('one' or 'many')
302
- * @property schema - The related entity's table schema
303
- * @property metadata - Drizzle relation metadata (fields, references)
304
- *
305
- * @example
306
- * ```typescript
307
- * const postsRelation: TRelationConfig = {
308
- * name: 'posts',
309
- * type: RelationTypes.MANY,
310
- * schema: PostSchema,
311
- * metadata: { fields: [Post.schema.authorId], references: [User.schema.id] }
312
- * };
313
- * ```
314
- */
78
+ /** Configuration for entity relationships (one-to-one, one-to-many, many-to-one). */
315
79
  export type TRelationConfig = {
316
80
  name: string;
317
81
  } & ({
@@ -323,119 +87,44 @@ export type TRelationConfig = {
323
87
  schema: TTableSchemaWithId;
324
88
  metadata: Parameters<ReturnType<typeof createTableRelationsHelpers>[typeof RelationTypes.MANY]>[1];
325
89
  });
326
- /**
327
- * Configuration for repository operation logging.
328
- *
329
- * @property use - Whether to enable logging for this operation
330
- * @property level - The log level to use (defaults to 'info')
331
- */
90
+ /** Configuration for repository operation logging. */
332
91
  export type TRepositoryLogOptions = {
333
92
  use: boolean;
334
93
  level?: TLogLevel;
335
94
  };
336
- /**
337
- * Interface for objects that can be associated with a database transaction.
338
- */
95
+ /** Interface for objects that can be associated with a database transaction. */
339
96
  export interface IWithTransaction {
340
- /** The active transaction to use for this operation. */
341
97
  transaction?: ITransaction;
342
98
  }
343
- /**
344
- * Extended options for repository operations.
345
- * Includes transaction support, logging configuration, and default filter bypass.
346
- *
347
- * @example
348
- * ```typescript
349
- * // Use with transaction
350
- * const tx = await repository.beginTransaction();
351
- * await repository.create({ data: user, options: { transaction: tx } });
352
- * await tx.commit();
353
- *
354
- * // Enable logging for debugging
355
- * await repository.find({ filter: {}, options: { log: { use: true, level: 'debug' } } });
356
- *
357
- * // Bypass default filter (e.g., soft delete)
358
- * await repository.find({ filter: {}, options: { shouldSkipDefaultFilter: true } });
359
- * ```
360
- */
99
+ /** Extended options for repository operations with transaction, logging, and default filter bypass. */
361
100
  export interface IExtraOptions extends IWithTransaction {
362
- /** Optional logging configuration for this operation. */
363
101
  log?: TRepositoryLogOptions;
364
- /**
365
- * If true, bypass the default filter configured in model settings.
366
- * Use this when you need to query all records regardless of default filter constraints.
367
- *
368
- * @example
369
- * ```typescript
370
- * // Bypass default filter: { where: { isDeleted: false } }
371
- * repository.find({ filter: {}, options: { shouldSkipDefaultFilter: true } });
372
- * ```
373
- */
102
+ /** If true, bypass the default filter configured in model settings (e.g., soft delete). */
374
103
  shouldSkipDefaultFilter?: boolean;
375
104
  }
376
- /**
377
- * @deprecated Use {@link IExtraOptions} instead.
378
- */
105
+ /** @deprecated Use IExtraOptions instead. */
379
106
  export type TTransactionOption = IExtraOptions;
380
- /**
381
- * Base repository interface.
382
- * Defines the core properties and methods that all repositories must implement.
383
- *
384
- * @template EntitySchema - The Drizzle table schema type with an 'id' column
385
- */
107
+ /** Base repository interface defining core properties and methods. */
386
108
  export interface IRepository<EntitySchema extends TTableSchemaWithId = TTableSchemaWithId> {
387
- /** The data source providing database connectivity. */
388
109
  dataSource: IDataSource;
389
- /** The entity/model instance associated with this repository. */
390
110
  entity: BaseEntity<EntitySchema>;
391
- /** Returns the entity instance. */
392
111
  getEntity(): BaseEntity<EntitySchema>;
393
- /** Returns the Drizzle table schema. */
394
112
  getEntitySchema(): EntitySchema;
395
- /** Returns the database connector from the data source. */
396
113
  getConnector(): IDataSource['connector'];
397
114
  }
398
- /**
399
- * Interface for read-only repository operations.
400
- * Provides methods for querying data without modification capabilities.
401
- *
402
- * @template EntitySchema - The Drizzle table schema type
403
- * @template DataObject - The type of objects returned from queries
404
- * @template ExtraOptions - Additional options type extending IExtraOptions
405
- */
115
+ /** Interface for read-only repository operations. */
406
116
  export interface IReadableRepository<EntitySchema extends TTableSchemaWithId = TTableSchemaWithId, DataObject extends TTableObject<EntitySchema> = TTableObject<EntitySchema>, ExtraOptions extends IExtraOptions = IExtraOptions> extends IRepository<EntitySchema> {
407
- /**
408
- * Builds Drizzle query options from a filter object.
409
- * @param opts - Options containing the filter to convert
410
- * @returns Drizzle-compatible query options
411
- */
412
117
  buildQuery(opts: {
413
118
  filter: TFilter<DataObject>;
414
119
  }): TDrizzleQueryOptions;
415
- /**
416
- * Counts records matching the where condition.
417
- * @param opts - Options containing where condition
418
- * @returns Promise resolving to count result
419
- */
420
120
  count(opts: {
421
121
  where: TWhere<DataObject>;
422
122
  options?: ExtraOptions;
423
123
  }): Promise<TCount>;
424
- /**
425
- * Checks if any records match the where condition.
426
- * @param opts - Options containing where condition
427
- * @returns Promise resolving to true if records exist
428
- */
429
124
  existsWith(opts: {
430
125
  where: TWhere<DataObject>;
431
126
  options?: ExtraOptions;
432
127
  }): Promise<boolean>;
433
- /**
434
- * Finds all records matching the filter.
435
- * @template R - Return type (defaults to DataObject)
436
- * @param opts - Options containing filter and extra options with shouldQueryRange: true
437
- * @returns Promise resolving to object with data array and range information
438
- */
439
128
  find<R = DataObject>(opts: {
440
129
  filter: TFilter<DataObject>;
441
130
  options: ExtraOptions & {
@@ -445,55 +134,24 @@ export interface IReadableRepository<EntitySchema extends TTableSchemaWithId = T
445
134
  data: Array<R>;
446
135
  range: TDataRange;
447
136
  }>;
448
- /**
449
- * Finds all records matching the filter.
450
- * @template R - Return type (defaults to DataObject)
451
- * @param opts - Options containing filter and extra options
452
- * @returns Promise resolving to array of matching records
453
- */
454
137
  find<R = DataObject>(opts: {
455
138
  filter: TFilter<DataObject>;
456
139
  options?: ExtraOptions & {
457
140
  shouldQueryRange?: false;
458
141
  };
459
142
  }): Promise<Array<R>>;
460
- /**
461
- * Finds the first record matching the filter.
462
- * @template R - Return type (defaults to DataObject)
463
- * @param opts - Options containing filter and extra options
464
- * @returns Promise resolving to the found record or null
465
- */
466
143
  findOne<R = DataObject>(opts: {
467
144
  filter: TFilter<DataObject>;
468
145
  options?: ExtraOptions;
469
146
  }): Promise<TNullable<R>>;
470
- /**
471
- * Finds a record by its ID.
472
- * @template R - Return type (defaults to DataObject)
473
- * @param opts - Options containing id and optional filter (without where)
474
- * @returns Promise resolving to the found record or null
475
- */
476
147
  findById<R = DataObject>(opts: {
477
148
  id: IdType;
478
149
  filter?: Omit<TFilter<DataObject>, 'where'>;
479
150
  options?: ExtraOptions;
480
151
  }): Promise<TNullable<R>>;
481
152
  }
482
- /**
483
- * Interface for full CRUD repository operations.
484
- * Extends IReadableRepository with create, update, and delete capabilities.
485
- *
486
- * @template EntitySchema - The Drizzle table schema type
487
- * @template DataObject - The type of objects returned from queries
488
- * @template PersistObject - The type for insert/update operations
489
- * @template ExtraOptions - Additional options type extending IExtraOptions
490
- */
153
+ /** Interface for full CRUD repository operations. */
491
154
  export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId = TTableSchemaWithId, DataObject extends TTableObject<EntitySchema> = TTableObject<EntitySchema>, PersistObject extends TTableInsert<EntitySchema> = TTableInsert<EntitySchema>, ExtraOptions extends IExtraOptions = IExtraOptions> extends IReadableRepository<EntitySchema, DataObject, ExtraOptions> {
492
- /**
493
- * Creates a single record.
494
- * @param opts - Options with data and shouldReturn: false
495
- * @returns Promise with count only (no data returned)
496
- */
497
155
  create(opts: {
498
156
  data: PersistObject;
499
157
  options: ExtraOptions & {
@@ -502,12 +160,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
502
160
  }): Promise<TCount & {
503
161
  data: undefined | null;
504
162
  }>;
505
- /**
506
- * Creates a single record and returns it.
507
- * @template R - Return type (defaults to DataObject)
508
- * @param opts - Options with data to create
509
- * @returns Promise with count and created record
510
- */
511
163
  create<R = DataObject>(opts: {
512
164
  data: PersistObject;
513
165
  options?: ExtraOptions & {
@@ -516,11 +168,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
516
168
  }): Promise<TCount & {
517
169
  data: R;
518
170
  }>;
519
- /**
520
- * Creates multiple records in bulk.
521
- * @param opts - Options with data array and shouldReturn: false
522
- * @returns Promise with count only
523
- */
524
171
  createAll(opts: {
525
172
  data: Array<PersistObject>;
526
173
  options: ExtraOptions & {
@@ -529,12 +176,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
529
176
  }): Promise<TCount & {
530
177
  data: undefined | null;
531
178
  }>;
532
- /**
533
- * Creates multiple records and returns them.
534
- * @template R - Return type (defaults to DataObject)
535
- * @param opts - Options with data array
536
- * @returns Promise with count and created records
537
- */
538
179
  createAll<R = DataObject>(opts: {
539
180
  data: Array<PersistObject>;
540
181
  options?: ExtraOptions & {
@@ -543,11 +184,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
543
184
  }): Promise<TCount & {
544
185
  data: Array<R>;
545
186
  }>;
546
- /**
547
- * Updates a record by its ID.
548
- * @param opts - Options with id, partial data, and shouldReturn: false
549
- * @returns Promise with count only
550
- */
551
187
  updateById(opts: {
552
188
  id: IdType;
553
189
  data: Partial<PersistObject>;
@@ -557,12 +193,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
557
193
  }): Promise<TCount & {
558
194
  data: undefined | null;
559
195
  }>;
560
- /**
561
- * Updates a record by its ID and returns it.
562
- * @template R - Return type (defaults to DataObject)
563
- * @param opts - Options with id and partial data
564
- * @returns Promise with count and updated record
565
- */
566
196
  updateById<R = DataObject>(opts: {
567
197
  id: IdType;
568
198
  data: Partial<PersistObject>;
@@ -572,11 +202,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
572
202
  }): Promise<TCount & {
573
203
  data: R;
574
204
  }>;
575
- /**
576
- * Updates all records matching the where condition.
577
- * @param opts - Options with data, where, and shouldReturn: false
578
- * @returns Promise with count only
579
- */
580
205
  updateAll(opts: {
581
206
  data: Partial<PersistObject>;
582
207
  where: TWhere<DataObject>;
@@ -587,12 +212,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
587
212
  }): Promise<TCount & {
588
213
  data: undefined | null;
589
214
  }>;
590
- /**
591
- * Updates all records matching the where condition and returns them.
592
- * @template R - Return type (defaults to DataObject)
593
- * @param opts - Options with data and where condition
594
- * @returns Promise with count and updated records
595
- */
596
215
  updateAll<R = DataObject>(opts: {
597
216
  data: Partial<PersistObject>;
598
217
  where: TWhere<DataObject>;
@@ -603,11 +222,7 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
603
222
  }): Promise<TCount & {
604
223
  data: Array<R>;
605
224
  }>;
606
- /**
607
- * Alias for updateAll. Updates records matching the where condition.
608
- * @param opts - Options with data, where, and shouldReturn: false
609
- * @returns Promise with count only
610
- */
225
+ /** Alias for updateAll. */
611
226
  updateBy(opts: {
612
227
  data: Partial<PersistObject>;
613
228
  where: TWhere<DataObject>;
@@ -618,12 +233,7 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
618
233
  }): Promise<TCount & {
619
234
  data: undefined | null;
620
235
  }>;
621
- /**
622
- * Alias for updateAll. Updates records and returns them.
623
- * @template R - Return type (defaults to DataObject)
624
- * @param opts - Options with data and where condition
625
- * @returns Promise with count and updated records
626
- */
236
+ /** Alias for updateAll. */
627
237
  updateBy<R = DataObject>(opts: {
628
238
  data: Partial<PersistObject>;
629
239
  where: TWhere<DataObject>;
@@ -634,11 +244,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
634
244
  }): Promise<TCount & {
635
245
  data: Array<R>;
636
246
  }>;
637
- /**
638
- * Deletes a record by its ID.
639
- * @param opts - Options with id and shouldReturn: false
640
- * @returns Promise with count only
641
- */
642
247
  deleteById(opts: {
643
248
  id: IdType;
644
249
  options: ExtraOptions & {
@@ -647,12 +252,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
647
252
  }): Promise<TCount & {
648
253
  data: undefined | null;
649
254
  }>;
650
- /**
651
- * Deletes a record by its ID and returns it.
652
- * @template R - Return type (defaults to DataObject)
653
- * @param opts - Options with id
654
- * @returns Promise with count and deleted record
655
- */
656
255
  deleteById<R = DataObject>(opts: {
657
256
  id: IdType;
658
257
  options?: ExtraOptions & {
@@ -661,11 +260,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
661
260
  }): Promise<TCount & {
662
261
  data: R;
663
262
  }>;
664
- /**
665
- * Deletes all records matching the where condition.
666
- * @param opts - Options with where and shouldReturn: false
667
- * @returns Promise with count only
668
- */
669
263
  deleteAll(opts: {
670
264
  where?: TWhere<DataObject>;
671
265
  options: ExtraOptions & {
@@ -675,12 +269,6 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
675
269
  }): Promise<TCount & {
676
270
  data: undefined | null;
677
271
  }>;
678
- /**
679
- * Deletes all records matching the where condition and returns them.
680
- * @template R - Return type (defaults to DataObject)
681
- * @param opts - Options with where condition
682
- * @returns Promise with count and deleted records
683
- */
684
272
  deleteAll<R = DataObject>(opts: {
685
273
  where?: TWhere<DataObject>;
686
274
  options?: ExtraOptions & {
@@ -690,11 +278,7 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
690
278
  }): Promise<TCount & {
691
279
  data: Array<R>;
692
280
  }>;
693
- /**
694
- * Alias for deleteAll. Deletes records matching the where condition.
695
- * @param opts - Options with where and shouldReturn: false
696
- * @returns Promise with count only
697
- */
281
+ /** Alias for deleteAll. */
698
282
  deleteBy(opts: {
699
283
  where?: TWhere<DataObject>;
700
284
  options: ExtraOptions & {
@@ -704,12 +288,7 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
704
288
  }): Promise<TCount & {
705
289
  data: undefined | null;
706
290
  }>;
707
- /**
708
- * Alias for deleteAll. Deletes records and returns them.
709
- * @template R - Return type (defaults to DataObject)
710
- * @param opts - Options with where condition
711
- * @returns Promise with count and deleted records
712
- */
291
+ /** Alias for deleteAll. */
713
292
  deleteBy<R = DataObject>(opts: {
714
293
  where?: TWhere<DataObject>;
715
294
  options?: ExtraOptions & {
@@ -720,15 +299,7 @@ export interface IPersistableRepository<EntitySchema extends TTableSchemaWithId
720
299
  data: Array<R>;
721
300
  }>;
722
301
  }
723
- /**
724
- * Options passed to query operator handler functions.
725
- * Used internally by {@link QueryOperators} to build SQL conditions.
726
- *
727
- * @template T - The type of the comparison value
728
- *
729
- * @property column - The Drizzle column to compare against
730
- * @property value - The value to compare with
731
- */
302
+ /** Options passed to query operator handler functions. */
732
303
  export interface IQueryHandlerOptions<T = any> {
733
304
  column: Column;
734
305
  value: T;