@mrxsys/mrx-core 2.8.0 → 2.9.0-1-and-259-20250918

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 (345) hide show
  1. package/dist/chunk-00s6t4tw.js +26 -0
  2. package/dist/{chunk-sepwfqdh.js → chunk-0601exyg.js} +2 -1
  3. package/dist/chunk-4mvsje21.js +7 -0
  4. package/dist/chunk-547mr88s.js +10 -0
  5. package/dist/chunk-5pwb7peq.js +9 -0
  6. package/dist/{chunk-syhskygx.js → chunk-6g29g0tk.js} +15 -24
  7. package/dist/{chunk-z1skzn1j.js → chunk-6tqh339a.js} +4 -3
  8. package/dist/{chunk-m18th1g5.js → chunk-75hgws2d.js} +18 -39
  9. package/dist/chunk-8y9b2m5a.js +53 -0
  10. package/dist/chunk-9cgzhc50.js +15 -0
  11. package/dist/chunk-9dzsj7f2.js +23 -0
  12. package/dist/{chunk-kv9hms2z.js → chunk-b23dvm2d.js} +2 -1
  13. package/dist/chunk-b6f6ez2w.js +8 -0
  14. package/dist/{chunk-zaje5tv4.js → chunk-c9vjf06h.js} +31 -30
  15. package/dist/chunk-d0p9787v.js +272 -0
  16. package/dist/{chunk-5qtpggzv.js → chunk-grfyngq0.js} +3 -2
  17. package/dist/{chunk-4n72ks5x.js → chunk-h4dyeeqg.js} +4 -5
  18. package/dist/{chunk-9nw6qekv.js → chunk-h9t48r9q.js} +2 -1
  19. package/dist/{chunk-7g8k2epn.js → chunk-k9dtqf1p.js} +6 -9
  20. package/dist/{chunk-26brdrbz.js → chunk-kje1qysg.js} +59 -46
  21. package/dist/{chunk-4mt568fz.js → chunk-m3grz32t.js} +4 -3
  22. package/dist/{chunk-yvyahr2h.js → chunk-mvrxngm7.js} +2 -1
  23. package/dist/{chunk-j28jpfv2.js → chunk-n6d9ncnv.js} +2 -1
  24. package/dist/chunk-ngrxhdkb.js +32 -0
  25. package/dist/{chunk-79mw7w0g.js → chunk-nvt16s80.js} +2 -1
  26. package/dist/{chunk-yd82hdxv.js → chunk-w1547qd4.js} +2 -1
  27. package/dist/chunk-yagxbm1r.js +9 -0
  28. package/dist/{chunk-snqdnkk7.js → chunk-z9a175mk.js} +4 -3
  29. package/dist/{chunk-r1kcf1q6.js → chunk-zwrygafm.js} +5 -6
  30. package/dist/errors/base-error.d.ts +5 -0
  31. package/dist/errors/enums/index.d.ts +1 -1
  32. package/dist/errors/enums/index.js +1 -1
  33. package/dist/errors/http-error.d.ts +11 -0
  34. package/dist/errors/index.d.ts +2 -2
  35. package/dist/errors/index.js +3 -3
  36. package/dist/errors/utils/index.d.ts +1 -0
  37. package/dist/errors/utils/index.js +16 -0
  38. package/dist/errors/utils/is-nowarajs-error.ts.d.ts +4 -0
  39. package/dist/modules/data/data.d.ts +2 -2
  40. package/dist/modules/data/enums/index.d.ts +1 -1
  41. package/dist/modules/data/enums/index.js +1 -1
  42. package/dist/modules/data/index.js +3 -3
  43. package/dist/modules/data/transformers/{camelCase.d.ts → camel-case.d.ts} +2 -2
  44. package/dist/modules/data/transformers/index.d.ts +4 -4
  45. package/dist/modules/data/transformers/index.js +4 -4
  46. package/dist/modules/data/transformers/{kebabCase.d.ts → kebab-case.d.ts} +2 -2
  47. package/dist/modules/data/transformers/{pascalCase.d.ts → pascal-case.d.ts} +2 -2
  48. package/dist/modules/data/transformers/{snakeCase.d.ts → snake-case.d.ts} +2 -2
  49. package/dist/modules/data/types/index.d.ts +10 -10
  50. package/dist/modules/data/types/{pascalCase.d.ts → pascal-case.d.ts} +1 -1
  51. package/dist/modules/data/types/{transformKeysCamelCase.d.ts → transform-keys-camel-case.d.ts} +1 -1
  52. package/dist/modules/data/types/{transformKeysKebabCase.d.ts → transform-keys-kebab-case.d.ts} +1 -1
  53. package/dist/modules/data/types/{transformKeysPascalCase.d.ts → transform-keys-pascal-case.d.ts} +1 -1
  54. package/dist/modules/data/types/{transformKeysSnakeCase.d.ts → transform-keys-snake-case.d.ts} +1 -1
  55. package/dist/modules/data/types/{transformObjectKeys.d.ts → transform-object-keys.d.ts} +8 -8
  56. package/dist/modules/database/enums/index.d.ts +2 -2
  57. package/dist/modules/database/enums/index.js +1 -1
  58. package/dist/modules/database/events/index.d.ts +2 -2
  59. package/dist/modules/database/events/{mssqlEventMap.d.ts → mssql-event-map.d.ts} +1 -1
  60. package/dist/modules/database/events/{tableEventMap.d.ts → table-event-map.d.ts} +1 -1
  61. package/dist/modules/database/index.js +8 -8
  62. package/dist/modules/database/mssql.d.ts +3 -3
  63. package/dist/modules/database/table.d.ts +2 -2
  64. package/dist/modules/database/types/index.d.ts +3 -3
  65. package/dist/modules/elysia/cache/cache.d.ts +15 -132
  66. package/dist/modules/elysia/cache/index.js +8 -6
  67. package/dist/modules/elysia/cache/types/{cacheOptions.d.ts → cache-options.d.ts} +1 -1
  68. package/dist/modules/elysia/cache/types/index.d.ts +1 -1
  69. package/dist/modules/elysia/cache/utils/index.d.ts +1 -1
  70. package/dist/modules/elysia/cache/utils/index.js +1 -1
  71. package/dist/modules/elysia/{crudSchema/crudSchema.d.ts → crud/crud-schema.d.ts} +4 -4
  72. package/dist/modules/elysia/crud/crud.d.ts +34 -42
  73. package/dist/modules/elysia/crud/index.d.ts +1 -0
  74. package/dist/modules/elysia/crud/index.js +125 -280
  75. package/dist/modules/elysia/crud/operations/count.d.ts +258 -0
  76. package/dist/modules/elysia/crud/operations/delete.d.ts +258 -0
  77. package/dist/modules/elysia/crud/operations/deleteOne.d.ts +258 -0
  78. package/dist/modules/elysia/crud/operations/find.d.ts +258 -0
  79. package/dist/modules/elysia/crud/operations/findOne.d.ts +258 -0
  80. package/dist/modules/elysia/crud/operations/index.d.ts +8 -0
  81. package/dist/modules/elysia/crud/operations/index.js +33 -0
  82. package/dist/modules/elysia/crud/operations/insert.d.ts +258 -0
  83. package/dist/modules/elysia/crud/operations/update.d.ts +268 -0
  84. package/dist/modules/elysia/crud/operations/updateOne.d.ts +268 -0
  85. package/dist/modules/elysia/{crudSchema/types/adaptiveWhereClauseSchema.d.ts → crud/types/adaptive-where-clause-schema.d.ts} +1 -1
  86. package/dist/modules/elysia/crud/types/count-response-200-schema.d.ts +5 -0
  87. package/dist/modules/elysia/crud/types/count-schema.d.ts +10 -0
  88. package/dist/modules/elysia/crud/types/crud-operation-base.d.ts +4 -0
  89. package/dist/modules/elysia/crud/types/crud-operation-count.d.ts +14 -0
  90. package/dist/modules/elysia/crud/types/crud-operation-delete-one.d.ts +14 -0
  91. package/dist/modules/elysia/crud/types/crud-operation-delete.d.ts +14 -0
  92. package/dist/modules/elysia/crud/types/crud-operation-find-one.d.ts +14 -0
  93. package/dist/modules/elysia/crud/types/crud-operation-find.d.ts +14 -0
  94. package/dist/modules/elysia/crud/types/crud-operation-insert.d.ts +14 -0
  95. package/dist/modules/elysia/crud/types/crud-operation-update-one.d.ts +16 -0
  96. package/dist/modules/elysia/crud/types/crud-operation-update.d.ts +14 -0
  97. package/dist/modules/elysia/crud/types/crud-operations.d.ts +19 -0
  98. package/dist/modules/elysia/crud/types/crud-options.d.ts +44 -0
  99. package/dist/modules/elysia/crud/types/crud-schema-models-type.d.ts +12 -0
  100. package/dist/modules/elysia/{crudSchema/types/crudSchemaOptions.d.ts → crud/types/crud-schema-options.d.ts} +1 -1
  101. package/dist/modules/elysia/crud/types/delete-schema.d.ts +12 -0
  102. package/dist/modules/elysia/crud/types/filter-schema.d.ts +9 -0
  103. package/dist/modules/elysia/crud/types/find-schema.d.ts +16 -0
  104. package/dist/modules/elysia/{crudSchema/utils/createIdParamSchema.d.ts → crud/types/id-param-schema.d.ts} +1 -1
  105. package/dist/modules/elysia/crud/types/index.d.ts +29 -11
  106. package/dist/modules/elysia/crud/types/insert-schema.d.ts +11 -0
  107. package/dist/modules/elysia/{crudSchema/types/orderSchema.d.ts → crud/types/order-schema.d.ts} +1 -1
  108. package/dist/modules/elysia/crud/types/properties-schema.d.ts +9 -0
  109. package/dist/modules/elysia/{crudSchema/types/qSchema.d.ts → crud/types/q-schema.d.ts} +1 -1
  110. package/dist/modules/elysia/crud/types/response-200-schema.d.ts +11 -0
  111. package/dist/modules/elysia/{crudSchema/types/selectedFieldSchema.d.ts → crud/types/selected-field-schema.d.ts} +1 -1
  112. package/dist/modules/elysia/crud/types/update-one-schema.d.ts +4 -0
  113. package/dist/modules/elysia/crud/types/update-schema.d.ts +13 -0
  114. package/dist/modules/elysia/{crudSchema/utils/createAdaptiveWhereClauseSchema.d.ts → crud/utils/create-adaptive-where-clause-schema.d.ts} +2 -2
  115. package/dist/modules/elysia/crud/utils/create-count-response-200-schema.d.ts +8 -0
  116. package/dist/modules/elysia/crud/utils/create-count-schema.d.ts +12 -0
  117. package/dist/modules/elysia/crud/utils/create-delete-schema.d.ts +12 -0
  118. package/dist/modules/elysia/{crudSchema/utils/createFiltersSchema.d.ts → crud/utils/create-filters-schema.d.ts} +3 -6
  119. package/dist/modules/elysia/crud/utils/create-find-schema.d.ts +12 -0
  120. package/dist/modules/elysia/crud/utils/create-id-param-schema.d.ts +2 -0
  121. package/dist/modules/elysia/crud/utils/create-insert-schema.d.ts +8 -0
  122. package/dist/modules/elysia/{crudSchema/utils/createOrderSchema.d.ts → crud/utils/create-order-schema.d.ts} +2 -2
  123. package/dist/modules/elysia/crud/utils/create-properties-schema.d.ts +12 -0
  124. package/dist/modules/elysia/{crudSchema/utils/createQSchema.d.ts → crud/utils/create-q-schema.d.ts} +2 -2
  125. package/dist/modules/elysia/crud/utils/create-response-200-schema.d.ts +3 -0
  126. package/dist/modules/elysia/{crudSchema/utils/createSelectedFieldsSchema.d.ts → crud/utils/create-selected-fields-schema.d.ts} +2 -2
  127. package/dist/modules/elysia/crud/utils/create-update-one-schema.d.ts +3 -0
  128. package/dist/modules/elysia/crud/utils/create-update-schema.d.ts +3 -0
  129. package/dist/modules/elysia/crud/utils/index.d.ts +16 -0
  130. package/dist/modules/elysia/{crudSchema → crud}/utils/index.js +7 -4
  131. package/dist/modules/elysia/{crudSchema/utils/isDateFromElysiaTypeBox.d.ts → crud/utils/is-date-from-elysia-typebox.d.ts} +1 -1
  132. package/dist/modules/elysia/db-resolver/db-resolver.d.ts +193 -0
  133. package/dist/modules/elysia/db-resolver/enums/db-resolver-error-keys.d.ts +3 -0
  134. package/dist/modules/elysia/db-resolver/enums/index.d.ts +1 -0
  135. package/dist/modules/elysia/{dbResolver → db-resolver}/enums/index.js +1 -1
  136. package/dist/modules/elysia/db-resolver/index.d.ts +1 -0
  137. package/dist/modules/elysia/db-resolver/index.js +18 -0
  138. package/dist/modules/elysia/error/error.d.ts +14 -3
  139. package/dist/modules/elysia/error/index.js +5 -5
  140. package/dist/modules/elysia/microservice/microservice.d.ts +17 -14
  141. package/dist/modules/elysia/rate-limit/enums/index.d.ts +1 -0
  142. package/dist/modules/elysia/{rateLimit → rate-limit}/enums/index.js +1 -1
  143. package/dist/modules/elysia/rate-limit/index.d.ts +1 -0
  144. package/dist/modules/elysia/{rateLimit → rate-limit}/index.js +12 -16
  145. package/dist/modules/elysia/{rateLimit/rateLimit.d.ts → rate-limit/rate-limit.d.ts} +5 -2
  146. package/dist/modules/elysia/rate-limit/types/index.d.ts +1 -0
  147. package/dist/modules/elysia/{rateLimit/types/rateLimitOptions.d.ts → rate-limit/types/rate-limit-options.d.ts} +1 -1
  148. package/dist/modules/jwt/enums/index.d.ts +2 -2
  149. package/dist/modules/jwt/enums/index.js +2 -2
  150. package/dist/modules/jwt/index.js +8 -15
  151. package/dist/modules/jwt/utils/index.d.ts +1 -1
  152. package/dist/modules/jwt/utils/index.js +3 -3
  153. package/dist/modules/kv-store/enums/index.d.ts +1 -0
  154. package/dist/modules/{kvStore → kv-store}/enums/index.js +1 -1
  155. package/dist/modules/kv-store/ioredis/index.d.ts +1 -0
  156. package/dist/modules/{kvStore → kv-store}/ioredis/index.js +7 -17
  157. package/dist/modules/{kvStore/ioredis/ioredisStore.d.ts → kv-store/ioredis/ioredis-store.d.ts} +1 -1
  158. package/dist/modules/kv-store/memory/index.d.ts +1 -0
  159. package/dist/modules/kv-store/memory/index.js +9 -0
  160. package/dist/modules/{kvStore/memory/memoryStore.d.ts → kv-store/memory/memory-store.d.ts} +1 -1
  161. package/dist/modules/kv-store/types/index.d.ts +1 -0
  162. package/dist/modules/logger/enums/index.d.ts +1 -1
  163. package/dist/modules/logger/enums/index.js +1 -1
  164. package/dist/modules/logger/enums/logger-error-keys.d.ts +6 -0
  165. package/dist/modules/logger/events/index.d.ts +1 -1
  166. package/dist/modules/logger/events/logger-events.d.ts +11 -0
  167. package/dist/modules/logger/index.js +40 -52
  168. package/dist/modules/logger/logger.d.ts +172 -172
  169. package/dist/modules/logger/sinks/console-logger.d.ts +22 -0
  170. package/dist/modules/logger/sinks/file-logger.d.ts +25 -0
  171. package/dist/modules/logger/sinks/index.d.ts +2 -0
  172. package/dist/modules/logger/{strategies → sinks}/index.js +6 -6
  173. package/dist/modules/logger/types/bodies-intersection.d.ts +2 -0
  174. package/dist/modules/logger/types/index.d.ts +6 -6
  175. package/dist/modules/logger/types/log-stream-chunk.d.ts +15 -0
  176. package/dist/modules/logger/types/{loggerStrategy.d.ts → logger-sink.d.ts} +3 -3
  177. package/dist/modules/logger/types/sink-body.d.ts +2 -0
  178. package/dist/modules/logger/types/sink-map.d.ts +2 -0
  179. package/dist/modules/mailer/enums/index.d.ts +1 -1
  180. package/dist/modules/mailer/enums/index.js +1 -1
  181. package/dist/modules/mailer/index.js +5 -8
  182. package/dist/modules/mailer/smtp.d.ts +1 -1
  183. package/dist/modules/mailer/types/index.d.ts +3 -3
  184. package/dist/modules/mailer/types/{smtpOptions.d.ts → smtp-options.d.ts} +2 -2
  185. package/dist/modules/repository/index.js +6 -6
  186. package/dist/modules/repository/repository.d.ts +5 -5
  187. package/dist/modules/repository/types/filter.d.ts +2 -2
  188. package/dist/modules/repository/types/index.d.ts +6 -6
  189. package/dist/modules/repository/types/{queryOptionsExtendPagination.d.ts → query-options-extend-pagination.d.ts} +1 -1
  190. package/dist/modules/repository/types/{queryOptionsExtendStream.d.ts → query-options-extend-stream.d.ts} +1 -1
  191. package/dist/modules/repository/types/{queryOptions.d.ts → query-options.d.ts} +4 -4
  192. package/dist/modules/singleton-manager/enums/index.d.ts +1 -0
  193. package/dist/modules/{singletonManager → singleton-manager}/enums/index.js +1 -1
  194. package/dist/modules/singleton-manager/enums/singleton-manager-error-keys.d.ts +4 -0
  195. package/dist/modules/singleton-manager/index.d.ts +1 -0
  196. package/dist/modules/singleton-manager/index.js +9 -0
  197. package/dist/modules/{singletonManager/singletonManager.d.ts → singleton-manager/singleton-manager.d.ts} +9 -11
  198. package/dist/modules/totp/enums/index.d.ts +1 -1
  199. package/dist/modules/totp/enums/index.js +1 -1
  200. package/dist/modules/totp/hotp.d.ts +1 -1
  201. package/dist/modules/totp/index.d.ts +1 -1
  202. package/dist/modules/totp/index.js +7 -13
  203. package/dist/modules/totp/{otpAuthUri.d.ts → otp-auth-uri.d.ts} +1 -1
  204. package/dist/modules/totp/totp.d.ts +2 -2
  205. package/dist/modules/totp/types/index.d.ts +3 -3
  206. package/dist/modules/totp/types/{verifyOptions.d.ts → verify-options.d.ts} +1 -1
  207. package/dist/modules/totp/utils/index.d.ts +5 -5
  208. package/dist/modules/totp/utils/index.js +7 -12
  209. package/dist/modules/typed-event-emitter/index.d.ts +1 -0
  210. package/dist/modules/{typedEventEmitter → typed-event-emitter}/index.js +1 -1
  211. package/dist/modules/typed-event-emitter/typed-event-emitter.d.ts +221 -0
  212. package/dist/modules/typed-event-emitter/types/index.d.ts +1 -0
  213. package/dist/shared/enums/index.d.ts +1 -0
  214. package/dist/{utils → shared}/enums/index.js +1 -1
  215. package/dist/shared/types/index.d.ts +3 -0
  216. package/dist/shared/types/tflatten.d.ts +5 -0
  217. package/dist/shared/utils/flatten.d.ts +3 -0
  218. package/dist/{utils → shared/utils}/index.d.ts +2 -1
  219. package/dist/{utils → shared/utils}/index.js +10 -9
  220. package/package.json +39 -40
  221. package/CHANGELOG.md +0 -98
  222. package/dist/chunk-45gt9273.js +0 -8
  223. package/dist/chunk-4xs0e8cm.js +0 -9
  224. package/dist/chunk-683sda6e.js +0 -28
  225. package/dist/chunk-7jsxw1ts.js +0 -40
  226. package/dist/chunk-dwfyt1m6.js +0 -6
  227. package/dist/chunk-g821m8gq.js +0 -77
  228. package/dist/chunk-hcc6g1fd.js +0 -7
  229. package/dist/chunk-ncc0m208.js +0 -8
  230. package/dist/chunk-vknq69e0.js +0 -23
  231. package/dist/chunk-y78xrx17.js +0 -54
  232. package/dist/errors/baseError.d.ts +0 -9
  233. package/dist/errors/httpError.d.ts +0 -14
  234. package/dist/errors/types/baseErrorOptions.d.ts +0 -15
  235. package/dist/errors/types/httpErrorOptions.d.ts +0 -13
  236. package/dist/errors/types/index.d.ts +0 -2
  237. package/dist/modules/elysia/crud/types/crudOperationBaseOptions.d.ts +0 -6
  238. package/dist/modules/elysia/crud/types/crudOperationCountOptions.d.ts +0 -2
  239. package/dist/modules/elysia/crud/types/crudOperationDeleteOneOptions.d.ts +0 -2
  240. package/dist/modules/elysia/crud/types/crudOperationDeleteOptions.d.ts +0 -2
  241. package/dist/modules/elysia/crud/types/crudOperationFindOneOptions.d.ts +0 -2
  242. package/dist/modules/elysia/crud/types/crudOperationFindOptions.d.ts +0 -2
  243. package/dist/modules/elysia/crud/types/crudOperationInsertOptions.d.ts +0 -2
  244. package/dist/modules/elysia/crud/types/crudOperationUpdateOneOptions.d.ts +0 -2
  245. package/dist/modules/elysia/crud/types/crudOperationUpdateOptions.d.ts +0 -2
  246. package/dist/modules/elysia/crud/types/crudOperationsOptions.d.ts +0 -18
  247. package/dist/modules/elysia/crud/types/crudOptions.d.ts +0 -25
  248. package/dist/modules/elysia/crudSchema/index.d.ts +0 -1
  249. package/dist/modules/elysia/crudSchema/index.js +0 -11
  250. package/dist/modules/elysia/crudSchema/types/crudModelsType.d.ts +0 -14
  251. package/dist/modules/elysia/crudSchema/types/index.d.ts +0 -8
  252. package/dist/modules/elysia/crudSchema/types/queryOptionsBuilderOptions.d.ts +0 -11
  253. package/dist/modules/elysia/crudSchema/utils/createCountResponse200Schema.d.ts +0 -11
  254. package/dist/modules/elysia/crudSchema/utils/createCountSchema.d.ts +0 -16
  255. package/dist/modules/elysia/crudSchema/utils/createDeleteSchema.d.ts +0 -18
  256. package/dist/modules/elysia/crudSchema/utils/createFindSchema.d.ts +0 -22
  257. package/dist/modules/elysia/crudSchema/utils/createInsertSchema.d.ts +0 -8
  258. package/dist/modules/elysia/crudSchema/utils/createPropertiesSchema.d.ts +0 -12
  259. package/dist/modules/elysia/crudSchema/utils/createResponse200Schema.d.ts +0 -5
  260. package/dist/modules/elysia/crudSchema/utils/createUpdateOneSchema.d.ts +0 -4
  261. package/dist/modules/elysia/crudSchema/utils/createUpdateSchema.d.ts +0 -10
  262. package/dist/modules/elysia/crudSchema/utils/index.d.ts +0 -15
  263. package/dist/modules/elysia/dbResolver/dbResolver.d.ts +0 -17
  264. package/dist/modules/elysia/dbResolver/enums/dbResolverErrorKeys.d.ts +0 -3
  265. package/dist/modules/elysia/dbResolver/enums/index.d.ts +0 -1
  266. package/dist/modules/elysia/dbResolver/index.d.ts +0 -1
  267. package/dist/modules/elysia/dbResolver/index.js +0 -18
  268. package/dist/modules/elysia/dbResolver/types/dynamicDbOptions.d.ts +0 -7
  269. package/dist/modules/elysia/dbResolver/types/index.d.ts +0 -1
  270. package/dist/modules/elysia/rateLimit/enums/index.d.ts +0 -1
  271. package/dist/modules/elysia/rateLimit/index.d.ts +0 -1
  272. package/dist/modules/elysia/rateLimit/types/index.d.ts +0 -1
  273. package/dist/modules/kvStore/enums/index.d.ts +0 -1
  274. package/dist/modules/kvStore/ioredis/index.d.ts +0 -1
  275. package/dist/modules/kvStore/memory/index.d.ts +0 -1
  276. package/dist/modules/kvStore/memory/index.js +0 -9
  277. package/dist/modules/kvStore/types/index.d.ts +0 -1
  278. package/dist/modules/kvStore/types/index.js +0 -1
  279. package/dist/modules/logger/enums/loggerErrorKeys.d.ts +0 -6
  280. package/dist/modules/logger/events/loggerEvents.d.ts +0 -11
  281. package/dist/modules/logger/strategies/consoleLogger.d.ts +0 -22
  282. package/dist/modules/logger/strategies/fileLogger.d.ts +0 -25
  283. package/dist/modules/logger/strategies/index.d.ts +0 -2
  284. package/dist/modules/logger/types/bodiesIntersection.d.ts +0 -2
  285. package/dist/modules/logger/types/logStreamChunk.d.ts +0 -15
  286. package/dist/modules/logger/types/strategyBody.d.ts +0 -2
  287. package/dist/modules/logger/types/strategyMap.d.ts +0 -2
  288. package/dist/modules/singletonManager/enums/index.d.ts +0 -1
  289. package/dist/modules/singletonManager/enums/singletonManagerErrorKeys.d.ts +0 -4
  290. package/dist/modules/singletonManager/index.d.ts +0 -1
  291. package/dist/modules/singletonManager/index.js +0 -9
  292. package/dist/modules/typedEventEmitter/index.d.ts +0 -1
  293. package/dist/modules/typedEventEmitter/typedEventEmitter.d.ts +0 -221
  294. package/dist/modules/typedEventEmitter/types/index.d.ts +0 -1
  295. package/dist/modules/typedEventEmitter/types/index.js +0 -1
  296. package/dist/utils/enums/index.d.ts +0 -1
  297. package/dist/utils/types/index.d.ts +0 -2
  298. package/dist/utils/types/index.js +0 -1
  299. package/dist/errors/enums/{httpErrorStatusCodes.d.ts → http-status-codes.d.ts} +0 -0
  300. package/dist/modules/data/enums/{dataErrorKeys.d.ts → data-error-keys.d.ts} +0 -0
  301. package/dist/modules/data/types/{camelCase.d.ts → camel-case.d.ts} +0 -0
  302. package/dist/modules/data/types/{caseTransformer.d.ts → case-transformer.d.ts} +0 -0
  303. package/dist/modules/data/types/{kebabCase.d.ts → kebab-case.d.ts} +0 -0
  304. package/dist/modules/data/types/{snakeCase.d.ts → snake-case.d.ts} +0 -0
  305. package/dist/modules/database/enums/{databaseErrorKeys.d.ts → database-error-keys.d.ts} +15 -15
  306. package/dist/modules/database/enums/{mssqlErrorCode.d.ts → mssql-error-code.d.ts} +12 -12
  307. package/dist/modules/database/types/{mssqlDatabaseOption.d.ts → mssql-database-option.d.ts} +0 -0
  308. package/dist/modules/database/types/{mssqlEventLog.d.ts → mssql-event-log.d.ts} +0 -0
  309. package/dist/modules/database/types/{queryContext.d.ts → query-context.d.ts} +0 -0
  310. package/dist/modules/elysia/cache/types/{cacheItem.d.ts → cache-item.d.ts} +0 -0
  311. package/dist/modules/elysia/cache/utils/{generateCacheKey.d.ts → generate-cache-key.d.ts} +0 -0
  312. package/dist/modules/elysia/{crudSchema/types/crudSchemaOperations.d.ts → crud/types/crud-schema-operations.d.ts} +0 -0
  313. package/dist/modules/elysia/{rateLimit/enums/rateLimitErrorKeys.d.ts → rate-limit/enums/rate-limit-error-keys.d.ts} +0 -0
  314. package/dist/{errors → modules/elysia/rate-limit}/types/index.js +0 -0
  315. package/dist/modules/jwt/enums/{jwtErrorKeys.d.ts → jwt-error-keys.d.ts} +2 -2
  316. package/dist/modules/jwt/enums/{parseHumanTimeToSecondsErrorKeys.d.ts → parse-human-time-to-seconds-error-keys.d.ts} +0 -0
  317. package/dist/modules/jwt/utils/{parseHumanTimeToSeconds.d.ts → parse-human-time-to-seconds.d.ts} +0 -0
  318. package/dist/modules/{kvStore/enums/kvStoreErrorKeys.d.ts → kv-store/enums/kv-store-error-keys.d.ts} +2 -2
  319. package/dist/modules/{kvStore/memory/types/memoryStoreEntry.d.ts → kv-store/memory/types/memory-store-entry.d.ts} +0 -0
  320. package/dist/modules/{elysia/crudSchema → kv-store}/types/index.js +0 -0
  321. package/dist/modules/{kvStore/types/kvStore.d.ts → kv-store/types/kv-store.d.ts} +0 -0
  322. package/dist/modules/logger/types/{logLevels.d.ts → log-levels.d.ts} +0 -0
  323. package/dist/modules/mailer/enums/{mailerErrorKeys.d.ts → mailer-error-keys.d.ts} +1 -1
  324. package/dist/modules/mailer/types/{smtpCredentials.d.ts → smtp-credentials.d.ts} +0 -0
  325. package/dist/modules/mailer/types/{smtpPoolOptions.d.ts → smtp-pool-options.d.ts} +0 -0
  326. package/dist/modules/repository/types/{adaptiveWhereClause.d.ts → adaptive-where-clause.d.ts} +0 -0
  327. package/dist/modules/repository/types/{orderByItem.d.ts → order-by-item.d.ts} +0 -0
  328. package/dist/modules/repository/types/{selectedFields.d.ts → selected-fields.d.ts} +0 -0
  329. package/dist/modules/totp/enums/{totpErrorKeys.d.ts → totp-error-keys.d.ts} +2 -2
  330. /package/dist/modules/totp/types/{otpAuthUri.d.ts → otp-auth-uri.d.ts} +0 -0
  331. /package/dist/modules/totp/types/{totpOptions.d.ts → totp-options.d.ts} +0 -0
  332. /package/dist/modules/totp/utils/{createCounterBuffer.d.ts → create-counter-buffer.d.ts} +0 -0
  333. /package/dist/modules/totp/utils/{dynamicTruncation.d.ts → dynamic-truncation.d.ts} +0 -0
  334. /package/dist/modules/totp/utils/{generateHmac.d.ts → generate-hmac.d.ts} +0 -0
  335. /package/dist/modules/totp/utils/{generateSecretBytes.d.ts → generate-secret-bytes.d.ts} +0 -0
  336. /package/dist/modules/totp/utils/{timeRemaining.d.ts → time-remaining.d.ts} +0 -0
  337. /package/dist/modules/{typedEventEmitter/types/eventMap.d.ts → typed-event-emitter/types/event-map.d.ts} +0 -0
  338. /package/dist/modules/{elysia/dbResolver → typed-event-emitter}/types/index.js +0 -0
  339. /package/dist/{utils/enums/utilsErrorKeys.d.ts → shared/enums/utils-error-keys.d.ts} +0 -0
  340. /package/dist/{modules/elysia/rateLimit → shared}/types/index.js +0 -0
  341. /package/dist/{utils/types/renameKey.d.ts → shared/types/rename-key.d.ts} +0 -0
  342. /package/dist/{utils/types/streamWithAsyncIterable.d.ts → shared/types/stream-with-async-iterable.d.ts} +0 -0
  343. /package/dist/{utils → shared/utils}/env.d.ts +0 -0
  344. /package/dist/{utils/isDateString.d.ts → shared/utils/is-date-string.d.ts} +0 -0
  345. /package/dist/{utils → shared/utils}/stream.d.ts +0 -0
@@ -1,9 +1,10 @@
1
- // source/modules/totp/enums/totpErrorKeys.ts
1
+ // @bun
2
+ // source/modules/totp/enums/totp-error-keys.ts
2
3
  var TOTP_ERROR_KEYS = {
3
- INVALID_BASE32_CHARACTER: "totp.error.invalid_base32_character",
4
- INVALID_SECRET_LENGTH: "totp.error.invalid_secret_length",
5
4
  INVALID_ALGORITHM: "totp.error.invalid_algorithm",
5
+ INVALID_BASE32_CHARACTER: "totp.error.invalid_base32_character",
6
6
  INVALID_OTP_AUTH_URI: "totp.error.invalid_otp_auth_uri",
7
+ INVALID_SECRET_LENGTH: "totp.error.invalid_secret_length",
7
8
  MISSING_SECRET: "totp.error.missing_secret"
8
9
  };
9
10
 
@@ -1,11 +1,12 @@
1
+ // @bun
1
2
  import {
2
3
  PARSE_HUMAN_TIME_TO_SECONDS_ERROR_KEYS
3
- } from "./chunk-sepwfqdh.js";
4
+ } from "./chunk-0601exyg.js";
4
5
  import {
5
6
  BaseError
6
- } from "./chunk-vknq69e0.js";
7
+ } from "./chunk-9cgzhc50.js";
7
8
 
8
- // source/modules/jwt/utils/parseHumanTimeToSeconds.ts
9
+ // source/modules/jwt/utils/parse-human-time-to-seconds.ts
9
10
  var TIME_UNITS = {
10
11
  SECOND: 1,
11
12
  MINUTE: 60,
@@ -46,9 +47,7 @@ var UNIT_MAPPINGS = {
46
47
  var parseHumanTimeToSeconds = (timeExpression) => {
47
48
  const match = TIME_EXPRESSION_REGEX.exec(timeExpression);
48
49
  if (!match || match[4] && match[1])
49
- throw new BaseError({
50
- message: PARSE_HUMAN_TIME_TO_SECONDS_ERROR_KEYS.INVALID_TIME_EXPRESSION
51
- });
50
+ throw new BaseError(PARSE_HUMAN_TIME_TO_SECONDS_ERROR_KEYS.INVALID_TIME_EXPRESSION);
52
51
  const [, sign, valueStr, unitStr, direction] = match;
53
52
  const value = parseFloat(valueStr);
54
53
  const unit = unitStr.toLowerCase();
@@ -0,0 +1,5 @@
1
+ export declare class BaseError<const TCause = unknown> extends Error {
2
+ readonly cause: TCause | undefined;
3
+ readonly date: Date;
4
+ constructor(message: string, cause?: TCause);
5
+ }
@@ -1 +1 @@
1
- export { HTTP_ERROR_STATUS_CODES } from './httpErrorStatusCodes';
1
+ export { HTTP_ERROR_STATUS_CODES } from './http-status-codes';
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  HTTP_ERROR_STATUS_CODES
4
- } from "../../chunk-9nw6qekv.js";
4
+ } from "../../chunk-h9t48r9q.js";
5
5
  export {
6
6
  HTTP_ERROR_STATUS_CODES
7
7
  };
@@ -0,0 +1,11 @@
1
+ import { BaseError } from './base-error';
2
+ import { HTTP_ERROR_STATUS_CODES } from './enums/http-status-codes';
3
+ export type HttpStatusKey = keyof typeof HTTP_ERROR_STATUS_CODES;
4
+ export type HttpStatusCode = typeof HTTP_ERROR_STATUS_CODES[HttpStatusKey];
5
+ export declare class HttpError<const TCause = unknown> extends BaseError<TCause> {
6
+ readonly httpStatusCode: number;
7
+ constructor(message: string, cause?: TCause);
8
+ constructor(message: string, httpStatusCode: HttpStatusKey | HttpStatusCode, cause?: TCause);
9
+ get isClientError(): boolean;
10
+ get isServerError(): boolean;
11
+ }
@@ -1,2 +1,2 @@
1
- export { BaseError } from './baseError';
2
- export { HttpError } from './httpError';
1
+ export { BaseError } from './base-error';
2
+ export { HttpError } from './http-error';
@@ -1,11 +1,11 @@
1
1
  // @bun
2
2
  import {
3
3
  HttpError
4
- } from "../chunk-683sda6e.js";
5
- import"../chunk-9nw6qekv.js";
4
+ } from "../chunk-00s6t4tw.js";
5
+ import"../chunk-h9t48r9q.js";
6
6
  import {
7
7
  BaseError
8
- } from "../chunk-vknq69e0.js";
8
+ } from "../chunk-9cgzhc50.js";
9
9
  export {
10
10
  HttpError,
11
11
  BaseError
@@ -0,0 +1 @@
1
+ export { isBaseError, isHttpError } from './is-nowarajs-error.ts';
@@ -0,0 +1,16 @@
1
+ // @bun
2
+ import {
3
+ HttpError
4
+ } from "../../chunk-00s6t4tw.js";
5
+ import"../../chunk-h9t48r9q.js";
6
+ import {
7
+ BaseError
8
+ } from "../../chunk-9cgzhc50.js";
9
+
10
+ // source/errors/utils/is-nowarajs-error.ts.ts
11
+ var isBaseError = (e) => e instanceof BaseError;
12
+ var isHttpError = (e) => e instanceof HttpError;
13
+ export {
14
+ isHttpError,
15
+ isBaseError
16
+ };
@@ -0,0 +1,4 @@
1
+ import { BaseError } from '../../errors/base-error';
2
+ import { HttpError } from '../../errors/http-error';
3
+ export declare const isBaseError: (e: unknown) => e is BaseError;
4
+ export declare const isHttpError: (e: unknown) => e is HttpError;
@@ -1,5 +1,5 @@
1
- import type { CaseTransformer } from './types/caseTransformer';
2
- import type { TransformObjectKeys } from './types/transformObjectKeys';
1
+ import type { CaseTransformer } from './types/case-transformer';
2
+ import type { TransformObjectKeys } from './types/transform-object-keys';
3
3
  /**
4
4
  * Filters the provided data by excluding the specified keys.
5
5
  *
@@ -1 +1 @@
1
- export { DATA_ERROR_KEYS } from './dataErrorKeys';
1
+ export { DATA_ERROR_KEYS } from './data-error-keys';
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  DATA_ERROR_KEYS
4
- } from "../../../chunk-j28jpfv2.js";
4
+ } from "../../../chunk-n6d9ncnv.js";
5
5
  export {
6
6
  DATA_ERROR_KEYS
7
7
  };
@@ -5,9 +5,9 @@ import {
5
5
  filterByKeyInclusion,
6
6
  filterByValue,
7
7
  transformKeys
8
- } from "../../chunk-4n72ks5x.js";
9
- import"../../chunk-j28jpfv2.js";
10
- import"../../chunk-vknq69e0.js";
8
+ } from "../../chunk-h4dyeeqg.js";
9
+ import"../../chunk-n6d9ncnv.js";
10
+ import"../../chunk-9cgzhc50.js";
11
11
  export {
12
12
  transformKeys,
13
13
  filterByValue,
@@ -1,5 +1,5 @@
1
- import type { CamelCase } from '../../../modules/data/types/camelCase';
2
- import type { CaseTransformer } from '../../../modules/data/types/caseTransformer';
1
+ import type { CamelCase } from '../../../modules/data/types/camel-case';
2
+ import type { CaseTransformer } from '../../../modules/data/types/case-transformer';
3
3
  /**
4
4
  * Transforms string into `camelCase` format.
5
5
  * Implements ({@link CaseTransformer}).
@@ -1,4 +1,4 @@
1
- export { CamelCaseTransformer } from './camelCase.ts';
2
- export { KebabCaseTransformer } from './kebabCase.ts';
3
- export { PascalCaseTransformer } from './pascalCase.ts';
4
- export { SnakeCaseTransformer } from './snakeCase.ts';
1
+ export { CamelCaseTransformer } from './camel-case.ts';
2
+ export { KebabCaseTransformer } from './kebab-case.ts';
3
+ export { PascalCaseTransformer } from './pascal-case.ts';
4
+ export { SnakeCaseTransformer } from './snake-case.ts';
@@ -1,24 +1,24 @@
1
1
  // @bun
2
- // source/modules/data/transformers/camelCase.ts
2
+ // source/modules/data/transformers/camel-case.ts
3
3
  class CamelCaseTransformer {
4
4
  convertCase(str) {
5
5
  return str.replace(/(?:[-_][a-z])/giu, (group) => group[1].toUpperCase()).replace(/^[A-Z]/u, (firstLetter) => firstLetter.toLowerCase());
6
6
  }
7
7
  }
8
- // source/modules/data/transformers/kebabCase.ts
8
+ // source/modules/data/transformers/kebab-case.ts
9
9
  class KebabCaseTransformer {
10
10
  convertCase(str) {
11
11
  return str.replace(/_/gu, "-").replace(/(?<=[a-z])(?=[A-Z])/gu, "-").replace(/(?<=[A-Z]+)(?=[A-Z][a-z])/gu, "-").toLowerCase();
12
12
  }
13
13
  }
14
- // source/modules/data/transformers/pascalCase.ts
14
+ // source/modules/data/transformers/pascal-case.ts
15
15
  class PascalCaseTransformer {
16
16
  convertCase(str) {
17
17
  const camelCaseKey = str.replace(/(?:[-_][a-z])/giu, (group) => group[1].toUpperCase());
18
18
  return camelCaseKey.charAt(0).toUpperCase() + camelCaseKey.slice(1);
19
19
  }
20
20
  }
21
- // source/modules/data/transformers/snakeCase.ts
21
+ // source/modules/data/transformers/snake-case.ts
22
22
  class SnakeCaseTransformer {
23
23
  convertCase(str) {
24
24
  return str.replace(/(?<lower>[a-z])(?<upper>[A-Z])/gu, "$<lower>_$<upper>").replace(/[-\s]/gu, "_").toLowerCase();
@@ -1,5 +1,5 @@
1
- import type { CaseTransformer } from '../../../modules/data/types/caseTransformer';
2
- import type { KebabCase } from '../../../modules/data/types/kebabCase';
1
+ import type { CaseTransformer } from '../../../modules/data/types/case-transformer';
2
+ import type { KebabCase } from '../../../modules/data/types/kebab-case';
3
3
  /**
4
4
  * Transforms string into `kebab-case` format.
5
5
  * Implements ({@link CaseTransformer}).
@@ -1,5 +1,5 @@
1
- import type { CaseTransformer } from '../../../modules/data/types/caseTransformer';
2
- import type { PascalCase } from '../../../modules/data/types/pascalCase';
1
+ import type { CaseTransformer } from '../../../modules/data/types/case-transformer';
2
+ import type { PascalCase } from '../../../modules/data/types/pascal-case';
3
3
  /**
4
4
  * Transforms string into `PascalCase` format.
5
5
  * Implements ({@link CaseTransformer}).
@@ -1,5 +1,5 @@
1
- import type { CaseTransformer } from '../../../modules/data/types/caseTransformer';
2
- import type { SnakeCase } from '../../../modules/data/types/snakeCase';
1
+ import type { CaseTransformer } from '../../../modules/data/types/case-transformer';
2
+ import type { SnakeCase } from '../../../modules/data/types/snake-case';
3
3
  /**
4
4
  * Transforms string into `snake_case` format.
5
5
  * Implements ({@link CaseTransformer}).
@@ -1,10 +1,10 @@
1
- export type { CamelCase } from './camelCase';
2
- export type { CaseTransformer } from './caseTransformer';
3
- export type { KebabCase } from './kebabCase';
4
- export type { PascalCase } from './pascalCase';
5
- export type { SnakeCase } from './snakeCase';
6
- export type { TransformKeysCamelCase } from './transformKeysCamelCase';
7
- export type { TransformKeysKebabCase } from './transformKeysKebabCase';
8
- export type { TransformKeysPascalCase } from './transformKeysPascalCase';
9
- export type { TransformKeysSnakeCase } from './transformKeysSnakeCase';
10
- export type { TransformObjectKeys } from './transformObjectKeys';
1
+ export type { CamelCase } from './camel-case';
2
+ export type { CaseTransformer } from './case-transformer';
3
+ export type { KebabCase } from './kebab-case';
4
+ export type { PascalCase } from './pascal-case';
5
+ export type { SnakeCase } from './snake-case';
6
+ export type { TransformKeysCamelCase } from './transform-keys-camel-case';
7
+ export type { TransformKeysKebabCase } from './transform-keys-kebab-case';
8
+ export type { TransformKeysPascalCase } from './transform-keys-pascal-case';
9
+ export type { TransformKeysSnakeCase } from './transform-keys-snake-case';
10
+ export type { TransformObjectKeys } from './transform-object-keys';
@@ -1,2 +1,2 @@
1
- import type { CamelCase } from './camelCase';
1
+ import type { CamelCase } from './camel-case';
2
2
  export type PascalCase<S extends string> = S extends `${infer First}${infer Rest}` ? `${Uppercase<First>}${CamelCase<Rest>}` : S;
@@ -1,4 +1,4 @@
1
- import type { CamelCase } from './camelCase';
1
+ import type { CamelCase } from './camel-case';
2
2
  export type TransformKeysCamelCase<T> = {
3
3
  [K in keyof T as CamelCase<Extract<K, string>>]: T[K];
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { KebabCase } from './kebabCase';
1
+ import type { KebabCase } from './kebab-case';
2
2
  export type TransformKeysKebabCase<T> = {
3
3
  [K in keyof T as KebabCase<Extract<K, string>>]: T[K];
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { PascalCase } from './pascalCase';
1
+ import type { PascalCase } from './pascal-case';
2
2
  export type TransformKeysPascalCase<T> = {
3
3
  [K in keyof T as PascalCase<Extract<K, string>>]: T[K];
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { SnakeCase } from './snakeCase';
1
+ import type { SnakeCase } from './snake-case';
2
2
  export type TransformKeysSnakeCase<T> = {
3
3
  [K in keyof T as SnakeCase<Extract<K, string>>]: T[K];
4
4
  };
@@ -1,9 +1,9 @@
1
- import type { CamelCaseTransformer } from '../../../modules/data/transformers/camelCase';
2
- import type { KebabCaseTransformer } from '../../../modules/data/transformers/kebabCase';
3
- import type { PascalCaseTransformer } from '../../../modules/data/transformers/pascalCase';
4
- import type { SnakeCaseTransformer } from '../../../modules/data/transformers/snakeCase';
5
- import type { TransformKeysCamelCase } from './transformKeysCamelCase';
6
- import type { TransformKeysKebabCase } from './transformKeysKebabCase';
7
- import type { TransformKeysPascalCase } from './transformKeysPascalCase';
8
- import type { TransformKeysSnakeCase } from './transformKeysSnakeCase';
1
+ import type { CamelCaseTransformer } from '../../../modules/data/transformers/camel-case';
2
+ import type { KebabCaseTransformer } from '../../../modules/data/transformers/kebab-case';
3
+ import type { PascalCaseTransformer } from '../../../modules/data/transformers/pascal-case';
4
+ import type { SnakeCaseTransformer } from '../../../modules/data/transformers/snake-case';
5
+ import type { TransformKeysCamelCase } from './transform-keys-camel-case';
6
+ import type { TransformKeysKebabCase } from './transform-keys-kebab-case';
7
+ import type { TransformKeysPascalCase } from './transform-keys-pascal-case';
8
+ import type { TransformKeysSnakeCase } from './transform-keys-snake-case';
9
9
  export type TransformObjectKeys<T, TTransformer> = TTransformer extends PascalCaseTransformer ? TransformKeysPascalCase<T> : TTransformer extends KebabCaseTransformer ? TransformKeysKebabCase<T> : TTransformer extends SnakeCaseTransformer ? TransformKeysSnakeCase<T> : TTransformer extends CamelCaseTransformer ? TransformKeysCamelCase<T> : Record<string, T[keyof T]>;
@@ -1,2 +1,2 @@
1
- export { DATABASE_ERROR_KEYS } from './databaseErrorKeys';
2
- export { MSSQL_ERROR_CODE } from './mssqlErrorCode';
1
+ export { DATABASE_ERROR_KEYS } from './database-error-keys';
2
+ export { MSSQL_ERROR_CODE } from './mssql-error-code';
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  DATABASE_ERROR_KEYS,
4
4
  MSSQL_ERROR_CODE
5
- } from "../../../chunk-zaje5tv4.js";
5
+ } from "../../../chunk-c9vjf06h.js";
6
6
  export {
7
7
  MSSQL_ERROR_CODE,
8
8
  DATABASE_ERROR_KEYS
@@ -1,2 +1,2 @@
1
- export type { MssqlEventMap } from './mssqlEventMap';
2
- export type { TableEventMap } from './tableEventMap';
1
+ export type { MssqlEventMap } from './mssql-event-map';
2
+ export type { TableEventMap } from './table-event-map';
@@ -1,4 +1,4 @@
1
- import type { QueryContext } from '../../../modules/database/types/queryContext';
1
+ import type { QueryContext } from '../../../modules/database/types/query-context';
2
2
  export interface MssqlEventMap {
3
3
  readonly query: [QueryContext];
4
4
  readonly 'query:response': [unknown[], QueryContext];
@@ -1,4 +1,4 @@
1
- import type { QueryContext } from '../../../modules/database/types/queryContext';
1
+ import type { QueryContext } from '../../../modules/database/types/query-context';
2
2
  export interface TableEventMap {
3
3
  readonly selected: [unknown, QueryContext];
4
4
  readonly inserted: [unknown, QueryContext];
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  MSSQL,
4
4
  Table
5
- } from "../../chunk-m18th1g5.js";
6
- import"../../chunk-syhskygx.js";
7
- import"../../chunk-5qtpggzv.js";
8
- import"../../chunk-yvyahr2h.js";
9
- import"../../chunk-zaje5tv4.js";
10
- import"../../chunk-683sda6e.js";
11
- import"../../chunk-9nw6qekv.js";
12
- import"../../chunk-vknq69e0.js";
5
+ } from "../../chunk-75hgws2d.js";
6
+ import"../../chunk-6g29g0tk.js";
7
+ import"../../chunk-grfyngq0.js";
8
+ import"../../chunk-mvrxngm7.js";
9
+ import"../../chunk-c9vjf06h.js";
10
+ import"../../chunk-00s6t4tw.js";
11
+ import"../../chunk-h9t48r9q.js";
12
+ import"../../chunk-9cgzhc50.js";
13
13
  export {
14
14
  Table,
15
15
  MSSQL
@@ -1,9 +1,9 @@
1
1
  import { type Knex } from 'knex';
2
2
  import { Repository } from '../../modules/repository/repository';
3
- import { TypedEventEmitter } from '../../modules/typedEventEmitter/typedEventEmitter';
4
- import type { MssqlEventMap } from './events/mssqlEventMap';
3
+ import { TypedEventEmitter } from '../../modules/typed-event-emitter/typed-event-emitter';
4
+ import type { MssqlEventMap } from './events/mssql-event-map';
5
5
  import { Table } from './table';
6
- import type { MSSQLDatabaseOptions } from './types/mssqlDatabaseOption';
6
+ import type { MSSQLDatabaseOptions } from './types/mssql-database-option';
7
7
  /**
8
8
  * Manages the connection with an MSSQL database.
9
9
  * The class extends {@link TypedEventEmitter}<{@link MssqlEventMap}>.
@@ -1,5 +1,5 @@
1
- import type { TableEventMap } from '../../modules/database/events/tableEventMap';
2
- import { TypedEventEmitter } from '../../modules/typedEventEmitter/typedEventEmitter';
1
+ import type { TableEventMap } from '../../modules/database/events/table-event-map';
2
+ import { TypedEventEmitter } from '../../modules/typed-event-emitter/typed-event-emitter';
3
3
  /**
4
4
  * Represents a database table and provides access to its metadata (name, fields, primary key).
5
5
  * The class extends `TypedEventEmitter`<{@link TableEventMap}> to allow for event-driven programming.
@@ -1,3 +1,3 @@
1
- export type { MSSQLDatabaseOptions } from './mssqlDatabaseOption';
2
- export type { MssqlEventLog } from './mssqlEventLog';
3
- export type { QueryContext } from './queryContext';
1
+ export type { MSSQLDatabaseOptions } from './mssql-database-option';
2
+ export type { MssqlEventLog } from './mssql-event-log';
3
+ export type { QueryContext } from './query-context';