@xeno-js/shared 0.1.0 → 0.1.1

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 (732) hide show
  1. package/dist/index.cjs +3165 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +6062 -0
  4. package/dist/index.d.ts +6062 -5
  5. package/dist/index.js +3085 -4
  6. package/dist/index.js.map +1 -1
  7. package/package.json +5 -4
  8. package/dist/application/cqrs/command/command.d.ts +0 -8
  9. package/dist/application/cqrs/command/command.d.ts.map +0 -1
  10. package/dist/application/cqrs/command/command.js +0 -9
  11. package/dist/application/cqrs/command/command.js.map +0 -1
  12. package/dist/application/cqrs/command/index.d.ts +0 -2
  13. package/dist/application/cqrs/command/index.d.ts.map +0 -1
  14. package/dist/application/cqrs/command/index.js +0 -2
  15. package/dist/application/cqrs/command/index.js.map +0 -1
  16. package/dist/application/cqrs/index.d.ts +0 -3
  17. package/dist/application/cqrs/index.d.ts.map +0 -1
  18. package/dist/application/cqrs/index.js +0 -3
  19. package/dist/application/cqrs/index.js.map +0 -1
  20. package/dist/application/cqrs/query/index.d.ts +0 -2
  21. package/dist/application/cqrs/query/index.d.ts.map +0 -1
  22. package/dist/application/cqrs/query/index.js +0 -2
  23. package/dist/application/cqrs/query/index.js.map +0 -1
  24. package/dist/application/cqrs/query/query.d.ts +0 -9
  25. package/dist/application/cqrs/query/query.d.ts.map +0 -1
  26. package/dist/application/cqrs/query/query.js +0 -11
  27. package/dist/application/cqrs/query/query.js.map +0 -1
  28. package/dist/application/index.d.ts +0 -3
  29. package/dist/application/index.d.ts.map +0 -1
  30. package/dist/application/index.js +0 -3
  31. package/dist/application/index.js.map +0 -1
  32. package/dist/application/loggers/__tests__/base.logger.test.d.ts +0 -2
  33. package/dist/application/loggers/__tests__/base.logger.test.d.ts.map +0 -1
  34. package/dist/application/loggers/__tests__/base.logger.test.js +0 -132
  35. package/dist/application/loggers/__tests__/base.logger.test.js.map +0 -1
  36. package/dist/application/loggers/base.logger.d.ts +0 -48
  37. package/dist/application/loggers/base.logger.d.ts.map +0 -1
  38. package/dist/application/loggers/base.logger.js +0 -68
  39. package/dist/application/loggers/base.logger.js.map +0 -1
  40. package/dist/application/loggers/index.d.ts +0 -2
  41. package/dist/application/loggers/index.d.ts.map +0 -1
  42. package/dist/application/loggers/index.js +0 -2
  43. package/dist/application/loggers/index.js.map +0 -1
  44. package/dist/domain/config/auth.config.d.ts +0 -14
  45. package/dist/domain/config/auth.config.d.ts.map +0 -1
  46. package/dist/domain/config/auth.config.js +0 -2
  47. package/dist/domain/config/auth.config.js.map +0 -1
  48. package/dist/domain/config/cache.config.d.ts +0 -92
  49. package/dist/domain/config/cache.config.d.ts.map +0 -1
  50. package/dist/domain/config/cache.config.js +0 -2
  51. package/dist/domain/config/cache.config.js.map +0 -1
  52. package/dist/domain/config/db.config.d.ts +0 -29
  53. package/dist/domain/config/db.config.d.ts.map +0 -1
  54. package/dist/domain/config/db.config.js +0 -2
  55. package/dist/domain/config/db.config.js.map +0 -1
  56. package/dist/domain/config/http.config.d.ts +0 -148
  57. package/dist/domain/config/http.config.d.ts.map +0 -1
  58. package/dist/domain/config/http.config.js +0 -2
  59. package/dist/domain/config/http.config.js.map +0 -1
  60. package/dist/domain/config/index.d.ts +0 -5
  61. package/dist/domain/config/index.d.ts.map +0 -1
  62. package/dist/domain/config/index.js +0 -2
  63. package/dist/domain/config/index.js.map +0 -1
  64. package/dist/domain/config/resilience.config.d.ts +0 -94
  65. package/dist/domain/config/resilience.config.d.ts.map +0 -1
  66. package/dist/domain/config/resilience.config.js +0 -2
  67. package/dist/domain/config/resilience.config.js.map +0 -1
  68. package/dist/domain/contracts/cache/icache.contracts.d.ts +0 -93
  69. package/dist/domain/contracts/cache/icache.contracts.d.ts.map +0 -1
  70. package/dist/domain/contracts/cache/icache.contracts.js +0 -2
  71. package/dist/domain/contracts/cache/icache.contracts.js.map +0 -1
  72. package/dist/domain/contracts/cache/ikey-builder.contracts.d.ts +0 -34
  73. package/dist/domain/contracts/cache/ikey-builder.contracts.d.ts.map +0 -1
  74. package/dist/domain/contracts/cache/ikey-builder.contracts.js +0 -2
  75. package/dist/domain/contracts/cache/ikey-builder.contracts.js.map +0 -1
  76. package/dist/domain/contracts/cache/index.d.ts +0 -3
  77. package/dist/domain/contracts/cache/index.d.ts.map +0 -1
  78. package/dist/domain/contracts/cache/index.js +0 -2
  79. package/dist/domain/contracts/cache/index.js.map +0 -1
  80. package/dist/domain/contracts/configuration/iconfiguration.contracts.d.ts +0 -61
  81. package/dist/domain/contracts/configuration/iconfiguration.contracts.d.ts.map +0 -1
  82. package/dist/domain/contracts/configuration/iconfiguration.contracts.js +0 -2
  83. package/dist/domain/contracts/configuration/iconfiguration.contracts.js.map +0 -1
  84. package/dist/domain/contracts/configuration/index.d.ts +0 -2
  85. package/dist/domain/contracts/configuration/index.d.ts.map +0 -1
  86. package/dist/domain/contracts/configuration/index.js +0 -2
  87. package/dist/domain/contracts/configuration/index.js.map +0 -1
  88. package/dist/domain/contracts/context/context_types/identity-context.types.d.ts +0 -63
  89. package/dist/domain/contracts/context/context_types/identity-context.types.d.ts.map +0 -1
  90. package/dist/domain/contracts/context/context_types/identity-context.types.js +0 -2
  91. package/dist/domain/contracts/context/context_types/identity-context.types.js.map +0 -1
  92. package/dist/domain/contracts/context/context_types/index.d.ts +0 -6
  93. package/dist/domain/contracts/context/context_types/index.d.ts.map +0 -1
  94. package/dist/domain/contracts/context/context_types/index.js +0 -2
  95. package/dist/domain/contracts/context/context_types/index.js.map +0 -1
  96. package/dist/domain/contracts/context/context_types/messaging-context.types.d.ts +0 -70
  97. package/dist/domain/contracts/context/context_types/messaging-context.types.d.ts.map +0 -1
  98. package/dist/domain/contracts/context/context_types/messaging-context.types.js +0 -2
  99. package/dist/domain/contracts/context/context_types/messaging-context.types.js.map +0 -1
  100. package/dist/domain/contracts/context/context_types/network-context.types.d.ts +0 -82
  101. package/dist/domain/contracts/context/context_types/network-context.types.d.ts.map +0 -1
  102. package/dist/domain/contracts/context/context_types/network-context.types.js +0 -2
  103. package/dist/domain/contracts/context/context_types/network-context.types.js.map +0 -1
  104. package/dist/domain/contracts/context/context_types/request-context.types.d.ts +0 -48
  105. package/dist/domain/contracts/context/context_types/request-context.types.d.ts.map +0 -1
  106. package/dist/domain/contracts/context/context_types/request-context.types.js +0 -2
  107. package/dist/domain/contracts/context/context_types/request-context.types.js.map +0 -1
  108. package/dist/domain/contracts/context/context_types/tracing-context.types.d.ts +0 -54
  109. package/dist/domain/contracts/context/context_types/tracing-context.types.d.ts.map +0 -1
  110. package/dist/domain/contracts/context/context_types/tracing-context.types.js +0 -2
  111. package/dist/domain/contracts/context/context_types/tracing-context.types.js.map +0 -1
  112. package/dist/domain/contracts/context/index.d.ts +0 -3
  113. package/dist/domain/contracts/context/index.d.ts.map +0 -1
  114. package/dist/domain/contracts/context/index.js +0 -2
  115. package/dist/domain/contracts/context/index.js.map +0 -1
  116. package/dist/domain/contracts/context/irequest-context.contracts.d.ts +0 -68
  117. package/dist/domain/contracts/context/irequest-context.contracts.d.ts.map +0 -1
  118. package/dist/domain/contracts/context/irequest-context.contracts.js +0 -2
  119. package/dist/domain/contracts/context/irequest-context.contracts.js.map +0 -1
  120. package/dist/domain/contracts/controllers/icontroller.contracts.d.ts +0 -25
  121. package/dist/domain/contracts/controllers/icontroller.contracts.d.ts.map +0 -1
  122. package/dist/domain/contracts/controllers/icontroller.contracts.js +0 -2
  123. package/dist/domain/contracts/controllers/icontroller.contracts.js.map +0 -1
  124. package/dist/domain/contracts/controllers/index.d.ts +0 -2
  125. package/dist/domain/contracts/controllers/index.d.ts.map +0 -1
  126. package/dist/domain/contracts/controllers/index.js +0 -2
  127. package/dist/domain/contracts/controllers/index.js.map +0 -1
  128. package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.d.ts +0 -30
  129. package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.d.ts.map +0 -1
  130. package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.js +0 -2
  131. package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.js.map +0 -1
  132. package/dist/domain/contracts/cqrs/cqrs_types/index.d.ts +0 -4
  133. package/dist/domain/contracts/cqrs/cqrs_types/index.d.ts.map +0 -1
  134. package/dist/domain/contracts/cqrs/cqrs_types/index.js +0 -2
  135. package/dist/domain/contracts/cqrs/cqrs_types/index.js.map +0 -1
  136. package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.d.ts +0 -32
  137. package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.d.ts.map +0 -1
  138. package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.js +0 -2
  139. package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.js.map +0 -1
  140. package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.d.ts +0 -30
  141. package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.d.ts.map +0 -1
  142. package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.js +0 -2
  143. package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.js.map +0 -1
  144. package/dist/domain/contracts/cqrs/ihandler.contracts.d.ts +0 -30
  145. package/dist/domain/contracts/cqrs/ihandler.contracts.d.ts.map +0 -1
  146. package/dist/domain/contracts/cqrs/ihandler.contracts.js +0 -2
  147. package/dist/domain/contracts/cqrs/ihandler.contracts.js.map +0 -1
  148. package/dist/domain/contracts/cqrs/imediator.contracts.d.ts +0 -41
  149. package/dist/domain/contracts/cqrs/imediator.contracts.d.ts.map +0 -1
  150. package/dist/domain/contracts/cqrs/imediator.contracts.js +0 -2
  151. package/dist/domain/contracts/cqrs/imediator.contracts.js.map +0 -1
  152. package/dist/domain/contracts/cqrs/index.d.ts +0 -5
  153. package/dist/domain/contracts/cqrs/index.d.ts.map +0 -1
  154. package/dist/domain/contracts/cqrs/index.js +0 -2
  155. package/dist/domain/contracts/cqrs/index.js.map +0 -1
  156. package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.d.ts +0 -42
  157. package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.d.ts.map +0 -1
  158. package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.js +0 -2
  159. package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.js.map +0 -1
  160. package/dist/domain/contracts/datasources/index.d.ts +0 -4
  161. package/dist/domain/contracts/datasources/index.d.ts.map +0 -1
  162. package/dist/domain/contracts/datasources/index.js +0 -2
  163. package/dist/domain/contracts/datasources/index.js.map +0 -1
  164. package/dist/domain/contracts/datasources/iread-datasource.contracts.d.ts +0 -41
  165. package/dist/domain/contracts/datasources/iread-datasource.contracts.d.ts.map +0 -1
  166. package/dist/domain/contracts/datasources/iread-datasource.contracts.js +0 -2
  167. package/dist/domain/contracts/datasources/iread-datasource.contracts.js.map +0 -1
  168. package/dist/domain/contracts/datasources/iremote-datasource.contracts.d.ts +0 -73
  169. package/dist/domain/contracts/datasources/iremote-datasource.contracts.d.ts.map +0 -1
  170. package/dist/domain/contracts/datasources/iremote-datasource.contracts.js +0 -2
  171. package/dist/domain/contracts/datasources/iremote-datasource.contracts.js.map +0 -1
  172. package/dist/domain/contracts/datasources/iwrite-datasource.contracts.d.ts +0 -82
  173. package/dist/domain/contracts/datasources/iwrite-datasource.contracts.d.ts.map +0 -1
  174. package/dist/domain/contracts/datasources/iwrite-datasource.contracts.js +0 -2
  175. package/dist/domain/contracts/datasources/iwrite-datasource.contracts.js.map +0 -1
  176. package/dist/domain/contracts/disposables/idisposable.contracts.d.ts +0 -23
  177. package/dist/domain/contracts/disposables/idisposable.contracts.d.ts.map +0 -1
  178. package/dist/domain/contracts/disposables/idisposable.contracts.js +0 -6
  179. package/dist/domain/contracts/disposables/idisposable.contracts.js.map +0 -1
  180. package/dist/domain/contracts/disposables/index.d.ts +0 -2
  181. package/dist/domain/contracts/disposables/index.d.ts.map +0 -1
  182. package/dist/domain/contracts/disposables/index.js +0 -2
  183. package/dist/domain/contracts/disposables/index.js.map +0 -1
  184. package/dist/domain/contracts/factories/ifactory.contracts.d.ts +0 -29
  185. package/dist/domain/contracts/factories/ifactory.contracts.d.ts.map +0 -1
  186. package/dist/domain/contracts/factories/ifactory.contracts.js +0 -2
  187. package/dist/domain/contracts/factories/ifactory.contracts.js.map +0 -1
  188. package/dist/domain/contracts/factories/index.d.ts +0 -2
  189. package/dist/domain/contracts/factories/index.d.ts.map +0 -1
  190. package/dist/domain/contracts/factories/index.js +0 -2
  191. package/dist/domain/contracts/factories/index.js.map +0 -1
  192. package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.d.ts +0 -27
  193. package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.d.ts.map +0 -1
  194. package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.js +0 -2
  195. package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.js.map +0 -1
  196. package/dist/domain/contracts/gate_keepers/index.d.ts +0 -2
  197. package/dist/domain/contracts/gate_keepers/index.d.ts.map +0 -1
  198. package/dist/domain/contracts/gate_keepers/index.js +0 -2
  199. package/dist/domain/contracts/gate_keepers/index.js.map +0 -1
  200. package/dist/domain/contracts/http/iallow-origin.contracts.d.ts +0 -1
  201. package/dist/domain/contracts/http/iallow-origin.contracts.d.ts.map +0 -1
  202. package/dist/domain/contracts/http/iallow-origin.contracts.js +0 -2
  203. package/dist/domain/contracts/http/iallow-origin.contracts.js.map +0 -1
  204. package/dist/domain/contracts/http/ihttp-client.contracts.d.ts +0 -81
  205. package/dist/domain/contracts/http/ihttp-client.contracts.d.ts.map +0 -1
  206. package/dist/domain/contracts/http/ihttp-client.contracts.js +0 -2
  207. package/dist/domain/contracts/http/ihttp-client.contracts.js.map +0 -1
  208. package/dist/domain/contracts/http/index.d.ts +0 -2
  209. package/dist/domain/contracts/http/index.d.ts.map +0 -1
  210. package/dist/domain/contracts/http/index.js +0 -2
  211. package/dist/domain/contracts/http/index.js.map +0 -1
  212. package/dist/domain/contracts/idempotency/idempotency-store.contracts.d.ts +0 -71
  213. package/dist/domain/contracts/idempotency/idempotency-store.contracts.d.ts.map +0 -1
  214. package/dist/domain/contracts/idempotency/idempotency-store.contracts.js +0 -2
  215. package/dist/domain/contracts/idempotency/idempotency-store.contracts.js.map +0 -1
  216. package/dist/domain/contracts/idempotency/index.d.ts +0 -2
  217. package/dist/domain/contracts/idempotency/index.d.ts.map +0 -1
  218. package/dist/domain/contracts/idempotency/index.js +0 -2
  219. package/dist/domain/contracts/idempotency/index.js.map +0 -1
  220. package/dist/domain/contracts/index.d.ts +0 -22
  221. package/dist/domain/contracts/index.d.ts.map +0 -1
  222. package/dist/domain/contracts/index.js +0 -2
  223. package/dist/domain/contracts/index.js.map +0 -1
  224. package/dist/domain/contracts/loggers/ilogger-client.contracts.d.ts +0 -27
  225. package/dist/domain/contracts/loggers/ilogger-client.contracts.d.ts.map +0 -1
  226. package/dist/domain/contracts/loggers/ilogger-client.contracts.js +0 -2
  227. package/dist/domain/contracts/loggers/ilogger-client.contracts.js.map +0 -1
  228. package/dist/domain/contracts/loggers/ilogger.contracts.d.ts +0 -62
  229. package/dist/domain/contracts/loggers/ilogger.contracts.d.ts.map +0 -1
  230. package/dist/domain/contracts/loggers/ilogger.contracts.js +0 -2
  231. package/dist/domain/contracts/loggers/ilogger.contracts.js.map +0 -1
  232. package/dist/domain/contracts/loggers/index.d.ts +0 -3
  233. package/dist/domain/contracts/loggers/index.d.ts.map +0 -1
  234. package/dist/domain/contracts/loggers/index.js +0 -2
  235. package/dist/domain/contracts/loggers/index.js.map +0 -1
  236. package/dist/domain/contracts/mappers/ibase-mapper.contracts.d.ts +0 -33
  237. package/dist/domain/contracts/mappers/ibase-mapper.contracts.d.ts.map +0 -1
  238. package/dist/domain/contracts/mappers/ibase-mapper.contracts.js +0 -2
  239. package/dist/domain/contracts/mappers/ibase-mapper.contracts.js.map +0 -1
  240. package/dist/domain/contracts/mappers/imapper.contracts.d.ts +0 -53
  241. package/dist/domain/contracts/mappers/imapper.contracts.d.ts.map +0 -1
  242. package/dist/domain/contracts/mappers/imapper.contracts.js +0 -2
  243. package/dist/domain/contracts/mappers/imapper.contracts.js.map +0 -1
  244. package/dist/domain/contracts/mappers/index.d.ts +0 -3
  245. package/dist/domain/contracts/mappers/index.d.ts.map +0 -1
  246. package/dist/domain/contracts/mappers/index.js +0 -2
  247. package/dist/domain/contracts/mappers/index.js.map +0 -1
  248. package/dist/domain/contracts/middlewares/imiddleware.contracts.d.ts +0 -34
  249. package/dist/domain/contracts/middlewares/imiddleware.contracts.d.ts.map +0 -1
  250. package/dist/domain/contracts/middlewares/imiddleware.contracts.js +0 -2
  251. package/dist/domain/contracts/middlewares/imiddleware.contracts.js.map +0 -1
  252. package/dist/domain/contracts/middlewares/index.d.ts +0 -2
  253. package/dist/domain/contracts/middlewares/index.d.ts.map +0 -1
  254. package/dist/domain/contracts/middlewares/index.js +0 -2
  255. package/dist/domain/contracts/middlewares/index.js.map +0 -1
  256. package/dist/domain/contracts/policies/index.d.ts +0 -2
  257. package/dist/domain/contracts/policies/index.d.ts.map +0 -1
  258. package/dist/domain/contracts/policies/index.js +0 -2
  259. package/dist/domain/contracts/policies/index.js.map +0 -1
  260. package/dist/domain/contracts/policies/ipolicy-registry.contracts.d.ts +0 -38
  261. package/dist/domain/contracts/policies/ipolicy-registry.contracts.d.ts.map +0 -1
  262. package/dist/domain/contracts/policies/ipolicy-registry.contracts.js +0 -2
  263. package/dist/domain/contracts/policies/ipolicy-registry.contracts.js.map +0 -1
  264. package/dist/domain/contracts/repositories/index.d.ts +0 -3
  265. package/dist/domain/contracts/repositories/index.d.ts.map +0 -1
  266. package/dist/domain/contracts/repositories/index.js +0 -2
  267. package/dist/domain/contracts/repositories/index.js.map +0 -1
  268. package/dist/domain/contracts/repositories/iread-dao.contracts.d.ts +0 -41
  269. package/dist/domain/contracts/repositories/iread-dao.contracts.d.ts.map +0 -1
  270. package/dist/domain/contracts/repositories/iread-dao.contracts.js +0 -2
  271. package/dist/domain/contracts/repositories/iread-dao.contracts.js.map +0 -1
  272. package/dist/domain/contracts/repositories/irepository.contracts.d.ts +0 -95
  273. package/dist/domain/contracts/repositories/irepository.contracts.d.ts.map +0 -1
  274. package/dist/domain/contracts/repositories/irepository.contracts.js +0 -2
  275. package/dist/domain/contracts/repositories/irepository.contracts.js.map +0 -1
  276. package/dist/domain/contracts/services/auth/iauth-service.contracts.d.ts +0 -71
  277. package/dist/domain/contracts/services/auth/iauth-service.contracts.d.ts.map +0 -1
  278. package/dist/domain/contracts/services/auth/iauth-service.contracts.js +0 -2
  279. package/dist/domain/contracts/services/auth/iauth-service.contracts.js.map +0 -1
  280. package/dist/domain/contracts/services/auth/index.d.ts +0 -2
  281. package/dist/domain/contracts/services/auth/index.d.ts.map +0 -1
  282. package/dist/domain/contracts/services/auth/index.js +0 -2
  283. package/dist/domain/contracts/services/auth/index.js.map +0 -1
  284. package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.d.ts +0 -25
  285. package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.d.ts.map +0 -1
  286. package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.js +0 -2
  287. package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.js.map +0 -1
  288. package/dist/domain/contracts/services/concurrency/index.d.ts +0 -2
  289. package/dist/domain/contracts/services/concurrency/index.d.ts.map +0 -1
  290. package/dist/domain/contracts/services/concurrency/index.js +0 -2
  291. package/dist/domain/contracts/services/concurrency/index.js.map +0 -1
  292. package/dist/domain/contracts/services/extractors/iextractor-service.contracts.d.ts +0 -24
  293. package/dist/domain/contracts/services/extractors/iextractor-service.contracts.d.ts.map +0 -1
  294. package/dist/domain/contracts/services/extractors/iextractor-service.contracts.js +0 -2
  295. package/dist/domain/contracts/services/extractors/iextractor-service.contracts.js.map +0 -1
  296. package/dist/domain/contracts/services/extractors/index.d.ts +0 -2
  297. package/dist/domain/contracts/services/extractors/index.d.ts.map +0 -1
  298. package/dist/domain/contracts/services/extractors/index.js +0 -2
  299. package/dist/domain/contracts/services/extractors/index.js.map +0 -1
  300. package/dist/domain/contracts/services/index.d.ts +0 -6
  301. package/dist/domain/contracts/services/index.d.ts.map +0 -1
  302. package/dist/domain/contracts/services/index.js +0 -2
  303. package/dist/domain/contracts/services/index.js.map +0 -1
  304. package/dist/domain/contracts/services/resiliences/index.d.ts +0 -2
  305. package/dist/domain/contracts/services/resiliences/index.d.ts.map +0 -1
  306. package/dist/domain/contracts/services/resiliences/index.js +0 -2
  307. package/dist/domain/contracts/services/resiliences/index.js.map +0 -1
  308. package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.d.ts +0 -26
  309. package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.d.ts.map +0 -1
  310. package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.js +0 -2
  311. package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.js.map +0 -1
  312. package/dist/domain/contracts/services/validators/index.d.ts +0 -2
  313. package/dist/domain/contracts/services/validators/index.d.ts.map +0 -1
  314. package/dist/domain/contracts/services/validators/index.js +0 -2
  315. package/dist/domain/contracts/services/validators/index.js.map +0 -1
  316. package/dist/domain/contracts/services/validators/ivalidator-service.contracts.d.ts +0 -38
  317. package/dist/domain/contracts/services/validators/ivalidator-service.contracts.d.ts.map +0 -1
  318. package/dist/domain/contracts/services/validators/ivalidator-service.contracts.js +0 -2
  319. package/dist/domain/contracts/services/validators/ivalidator-service.contracts.js.map +0 -1
  320. package/dist/domain/contracts/specifications/index.d.ts +0 -2
  321. package/dist/domain/contracts/specifications/index.d.ts.map +0 -1
  322. package/dist/domain/contracts/specifications/index.js +0 -2
  323. package/dist/domain/contracts/specifications/index.js.map +0 -1
  324. package/dist/domain/contracts/specifications/ispecification.contracts.d.ts +0 -58
  325. package/dist/domain/contracts/specifications/ispecification.contracts.d.ts.map +0 -1
  326. package/dist/domain/contracts/specifications/ispecification.contracts.js +0 -2
  327. package/dist/domain/contracts/specifications/ispecification.contracts.js.map +0 -1
  328. package/dist/domain/contracts/storage/index.d.ts +0 -2
  329. package/dist/domain/contracts/storage/index.d.ts.map +0 -1
  330. package/dist/domain/contracts/storage/index.js +0 -2
  331. package/dist/domain/contracts/storage/index.js.map +0 -1
  332. package/dist/domain/contracts/storage/istorage.contracts.d.ts +0 -6
  333. package/dist/domain/contracts/storage/istorage.contracts.d.ts.map +0 -1
  334. package/dist/domain/contracts/storage/istorage.contracts.js +0 -2
  335. package/dist/domain/contracts/storage/istorage.contracts.js.map +0 -1
  336. package/dist/domain/contracts/strategies/index.d.ts +0 -2
  337. package/dist/domain/contracts/strategies/index.d.ts.map +0 -1
  338. package/dist/domain/contracts/strategies/index.js +0 -2
  339. package/dist/domain/contracts/strategies/index.js.map +0 -1
  340. package/dist/domain/contracts/strategies/istrategy.contracts.d.ts +0 -25
  341. package/dist/domain/contracts/strategies/istrategy.contracts.d.ts.map +0 -1
  342. package/dist/domain/contracts/strategies/istrategy.contracts.js +0 -2
  343. package/dist/domain/contracts/strategies/istrategy.contracts.js.map +0 -1
  344. package/dist/domain/contracts/transaction/index.d.ts +0 -3
  345. package/dist/domain/contracts/transaction/index.d.ts.map +0 -1
  346. package/dist/domain/contracts/transaction/index.js +0 -2
  347. package/dist/domain/contracts/transaction/index.js.map +0 -1
  348. package/dist/domain/contracts/transaction/itransaction-state.types.d.ts +0 -44
  349. package/dist/domain/contracts/transaction/itransaction-state.types.d.ts.map +0 -1
  350. package/dist/domain/contracts/transaction/itransaction-state.types.js +0 -2
  351. package/dist/domain/contracts/transaction/itransaction-state.types.js.map +0 -1
  352. package/dist/domain/contracts/transaction/iunit-of-work.types.d.ts +0 -25
  353. package/dist/domain/contracts/transaction/iunit-of-work.types.d.ts.map +0 -1
  354. package/dist/domain/contracts/transaction/iunit-of-work.types.js +0 -2
  355. package/dist/domain/contracts/transaction/iunit-of-work.types.js.map +0 -1
  356. package/dist/domain/entities/__tests__/entity.test.d.ts +0 -2
  357. package/dist/domain/entities/__tests__/entity.test.d.ts.map +0 -1
  358. package/dist/domain/entities/__tests__/entity.test.js +0 -53
  359. package/dist/domain/entities/__tests__/entity.test.js.map +0 -1
  360. package/dist/domain/entities/entity.d.ts +0 -43
  361. package/dist/domain/entities/entity.d.ts.map +0 -1
  362. package/dist/domain/entities/entity.js +0 -55
  363. package/dist/domain/entities/entity.js.map +0 -1
  364. package/dist/domain/entities/ientity.contracts.d.ts +0 -43
  365. package/dist/domain/entities/ientity.contracts.d.ts.map +0 -1
  366. package/dist/domain/entities/ientity.contracts.js +0 -2
  367. package/dist/domain/entities/ientity.contracts.js.map +0 -1
  368. package/dist/domain/entities/index.d.ts +0 -3
  369. package/dist/domain/entities/index.d.ts.map +0 -1
  370. package/dist/domain/entities/index.js +0 -2
  371. package/dist/domain/entities/index.js.map +0 -1
  372. package/dist/domain/errors/__tests__/app-error.test.d.ts +0 -2
  373. package/dist/domain/errors/__tests__/app-error.test.d.ts.map +0 -1
  374. package/dist/domain/errors/__tests__/app-error.test.js +0 -94
  375. package/dist/domain/errors/__tests__/app-error.test.js.map +0 -1
  376. package/dist/domain/errors/app-error.d.ts +0 -243
  377. package/dist/domain/errors/app-error.d.ts.map +0 -1
  378. package/dist/domain/errors/app-error.js +0 -259
  379. package/dist/domain/errors/app-error.js.map +0 -1
  380. package/dist/domain/errors/index.d.ts +0 -2
  381. package/dist/domain/errors/index.d.ts.map +0 -1
  382. package/dist/domain/errors/index.js +0 -2
  383. package/dist/domain/errors/index.js.map +0 -1
  384. package/dist/domain/index.d.ts +0 -8
  385. package/dist/domain/index.d.ts.map +0 -1
  386. package/dist/domain/index.js +0 -6
  387. package/dist/domain/index.js.map +0 -1
  388. package/dist/domain/results/__tests__/result.test.d.ts +0 -2
  389. package/dist/domain/results/__tests__/result.test.d.ts.map +0 -1
  390. package/dist/domain/results/__tests__/result.test.js +0 -109
  391. package/dist/domain/results/__tests__/result.test.js.map +0 -1
  392. package/dist/domain/results/index.d.ts +0 -3
  393. package/dist/domain/results/index.d.ts.map +0 -1
  394. package/dist/domain/results/index.js +0 -2
  395. package/dist/domain/results/index.js.map +0 -1
  396. package/dist/domain/results/result.d.ts +0 -125
  397. package/dist/domain/results/result.d.ts.map +0 -1
  398. package/dist/domain/results/result.js +0 -144
  399. package/dist/domain/results/result.js.map +0 -1
  400. package/dist/domain/results/result.types.d.ts +0 -15
  401. package/dist/domain/results/result.types.d.ts.map +0 -1
  402. package/dist/domain/results/result.types.js +0 -2
  403. package/dist/domain/results/result.types.js.map +0 -1
  404. package/dist/domain/unique_id/__tests__/unique-id.test.d.ts +0 -2
  405. package/dist/domain/unique_id/__tests__/unique-id.test.d.ts.map +0 -1
  406. package/dist/domain/unique_id/__tests__/unique-id.test.js +0 -29
  407. package/dist/domain/unique_id/__tests__/unique-id.test.js.map +0 -1
  408. package/dist/domain/unique_id/index.d.ts +0 -2
  409. package/dist/domain/unique_id/index.d.ts.map +0 -1
  410. package/dist/domain/unique_id/index.js +0 -2
  411. package/dist/domain/unique_id/index.js.map +0 -1
  412. package/dist/domain/unique_id/unique-id.d.ts +0 -72
  413. package/dist/domain/unique_id/unique-id.d.ts.map +0 -1
  414. package/dist/domain/unique_id/unique-id.js +0 -87
  415. package/dist/domain/unique_id/unique-id.js.map +0 -1
  416. package/dist/domain/value_objects/__tests__/value-object.test.d.ts +0 -2
  417. package/dist/domain/value_objects/__tests__/value-object.test.d.ts.map +0 -1
  418. package/dist/domain/value_objects/__tests__/value-object.test.js +0 -43
  419. package/dist/domain/value_objects/__tests__/value-object.test.js.map +0 -1
  420. package/dist/domain/value_objects/index.d.ts +0 -3
  421. package/dist/domain/value_objects/index.d.ts.map +0 -1
  422. package/dist/domain/value_objects/index.js +0 -2
  423. package/dist/domain/value_objects/index.js.map +0 -1
  424. package/dist/domain/value_objects/ivalue-object.contracts.d.ts +0 -46
  425. package/dist/domain/value_objects/ivalue-object.contracts.d.ts.map +0 -1
  426. package/dist/domain/value_objects/ivalue-object.contracts.js +0 -2
  427. package/dist/domain/value_objects/ivalue-object.contracts.js.map +0 -1
  428. package/dist/domain/value_objects/value-object.d.ts +0 -26
  429. package/dist/domain/value_objects/value-object.d.ts.map +0 -1
  430. package/dist/domain/value_objects/value-object.js +0 -37
  431. package/dist/domain/value_objects/value-object.js.map +0 -1
  432. package/dist/index.d.ts.map +0 -1
  433. package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.d.ts +0 -2
  434. package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.d.ts.map +0 -1
  435. package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.js +0 -128
  436. package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.js.map +0 -1
  437. package/dist/infrastructure/auth/index.d.ts +0 -3
  438. package/dist/infrastructure/auth/index.d.ts.map +0 -1
  439. package/dist/infrastructure/auth/index.js +0 -3
  440. package/dist/infrastructure/auth/index.js.map +0 -1
  441. package/dist/infrastructure/auth/storage/cookie.storage.d.ts +0 -4
  442. package/dist/infrastructure/auth/storage/cookie.storage.d.ts.map +0 -1
  443. package/dist/infrastructure/auth/storage/cookie.storage.js +0 -31
  444. package/dist/infrastructure/auth/storage/cookie.storage.js.map +0 -1
  445. package/dist/infrastructure/auth/storage/index.d.ts +0 -4
  446. package/dist/infrastructure/auth/storage/index.d.ts.map +0 -1
  447. package/dist/infrastructure/auth/storage/index.js +0 -4
  448. package/dist/infrastructure/auth/storage/index.js.map +0 -1
  449. package/dist/infrastructure/auth/storage/memory.storage.d.ts +0 -3
  450. package/dist/infrastructure/auth/storage/memory.storage.d.ts.map +0 -1
  451. package/dist/infrastructure/auth/storage/memory.storage.js +0 -14
  452. package/dist/infrastructure/auth/storage/memory.storage.js.map +0 -1
  453. package/dist/infrastructure/auth/storage/storage.utils.d.ts +0 -10
  454. package/dist/infrastructure/auth/storage/storage.utils.d.ts.map +0 -1
  455. package/dist/infrastructure/auth/storage/storage.utils.js +0 -22
  456. package/dist/infrastructure/auth/storage/storage.utils.js.map +0 -1
  457. package/dist/infrastructure/auth/supabase-auth.service.d.ts +0 -31
  458. package/dist/infrastructure/auth/supabase-auth.service.d.ts.map +0 -1
  459. package/dist/infrastructure/auth/supabase-auth.service.js +0 -90
  460. package/dist/infrastructure/auth/supabase-auth.service.js.map +0 -1
  461. package/dist/infrastructure/cache/__tests__/in-memory.cache.test.d.ts +0 -2
  462. package/dist/infrastructure/cache/__tests__/in-memory.cache.test.d.ts.map +0 -1
  463. package/dist/infrastructure/cache/__tests__/in-memory.cache.test.js +0 -69
  464. package/dist/infrastructure/cache/__tests__/in-memory.cache.test.js.map +0 -1
  465. package/dist/infrastructure/cache/in-memory.cache.d.ts +0 -34
  466. package/dist/infrastructure/cache/in-memory.cache.d.ts.map +0 -1
  467. package/dist/infrastructure/cache/in-memory.cache.js +0 -66
  468. package/dist/infrastructure/cache/in-memory.cache.js.map +0 -1
  469. package/dist/infrastructure/cache/index.d.ts +0 -3
  470. package/dist/infrastructure/cache/index.d.ts.map +0 -1
  471. package/dist/infrastructure/cache/index.js +0 -3
  472. package/dist/infrastructure/cache/index.js.map +0 -1
  473. package/dist/infrastructure/cache/key-builder.cache.d.ts +0 -25
  474. package/dist/infrastructure/cache/key-builder.cache.d.ts.map +0 -1
  475. package/dist/infrastructure/cache/key-builder.cache.js +0 -39
  476. package/dist/infrastructure/cache/key-builder.cache.js.map +0 -1
  477. package/dist/infrastructure/datasources/__tests__/remote.datasource.test.d.ts +0 -2
  478. package/dist/infrastructure/datasources/__tests__/remote.datasource.test.d.ts.map +0 -1
  479. package/dist/infrastructure/datasources/__tests__/remote.datasource.test.js +0 -176
  480. package/dist/infrastructure/datasources/__tests__/remote.datasource.test.js.map +0 -1
  481. package/dist/infrastructure/datasources/index.d.ts +0 -2
  482. package/dist/infrastructure/datasources/index.d.ts.map +0 -1
  483. package/dist/infrastructure/datasources/index.js +0 -2
  484. package/dist/infrastructure/datasources/index.js.map +0 -1
  485. package/dist/infrastructure/datasources/remote.datasource.d.ts +0 -43
  486. package/dist/infrastructure/datasources/remote.datasource.d.ts.map +0 -1
  487. package/dist/infrastructure/datasources/remote.datasource.js +0 -111
  488. package/dist/infrastructure/datasources/remote.datasource.js.map +0 -1
  489. package/dist/infrastructure/factories/axios.factory.d.ts +0 -15
  490. package/dist/infrastructure/factories/axios.factory.d.ts.map +0 -1
  491. package/dist/infrastructure/factories/axios.factory.js +0 -26
  492. package/dist/infrastructure/factories/axios.factory.js.map +0 -1
  493. package/dist/infrastructure/factories/cockatiel-resilience.factory.d.ts +0 -16
  494. package/dist/infrastructure/factories/cockatiel-resilience.factory.d.ts.map +0 -1
  495. package/dist/infrastructure/factories/cockatiel-resilience.factory.js +0 -114
  496. package/dist/infrastructure/factories/cockatiel-resilience.factory.js.map +0 -1
  497. package/dist/infrastructure/factories/index.d.ts +0 -2
  498. package/dist/infrastructure/factories/index.d.ts.map +0 -1
  499. package/dist/infrastructure/factories/index.js +0 -2
  500. package/dist/infrastructure/factories/index.js.map +0 -1
  501. package/dist/infrastructure/http/__tests__/axios.http.test.d.ts +0 -2
  502. package/dist/infrastructure/http/__tests__/axios.http.test.d.ts.map +0 -1
  503. package/dist/infrastructure/http/__tests__/axios.http.test.js +0 -196
  504. package/dist/infrastructure/http/__tests__/axios.http.test.js.map +0 -1
  505. package/dist/infrastructure/http/allow-origin.http.d.ts +0 -8
  506. package/dist/infrastructure/http/allow-origin.http.d.ts.map +0 -1
  507. package/dist/infrastructure/http/allow-origin.http.js +0 -13
  508. package/dist/infrastructure/http/allow-origin.http.js.map +0 -1
  509. package/dist/infrastructure/http/axios.http.d.ts +0 -17
  510. package/dist/infrastructure/http/axios.http.d.ts.map +0 -1
  511. package/dist/infrastructure/http/axios.http.js +0 -89
  512. package/dist/infrastructure/http/axios.http.js.map +0 -1
  513. package/dist/infrastructure/http/index.d.ts +0 -2
  514. package/dist/infrastructure/http/index.d.ts.map +0 -1
  515. package/dist/infrastructure/http/index.js +0 -2
  516. package/dist/infrastructure/http/index.js.map +0 -1
  517. package/dist/infrastructure/index.d.ts +0 -7
  518. package/dist/infrastructure/index.d.ts.map +0 -1
  519. package/dist/infrastructure/index.js +0 -7
  520. package/dist/infrastructure/index.js.map +0 -1
  521. package/dist/infrastructure/mappers/index.d.ts +0 -3
  522. package/dist/infrastructure/mappers/index.d.ts.map +0 -1
  523. package/dist/infrastructure/mappers/index.js +0 -3
  524. package/dist/infrastructure/mappers/index.js.map +0 -1
  525. package/dist/infrastructure/mappers/supabase-claims.mapper.d.ts +0 -15
  526. package/dist/infrastructure/mappers/supabase-claims.mapper.d.ts.map +0 -1
  527. package/dist/infrastructure/mappers/supabase-claims.mapper.js +0 -30
  528. package/dist/infrastructure/mappers/supabase-claims.mapper.js.map +0 -1
  529. package/dist/infrastructure/mappers/supabase-session.mapper.d.ts +0 -8
  530. package/dist/infrastructure/mappers/supabase-session.mapper.d.ts.map +0 -1
  531. package/dist/infrastructure/mappers/supabase-session.mapper.js +0 -16
  532. package/dist/infrastructure/mappers/supabase-session.mapper.js.map +0 -1
  533. package/dist/infrastructure/resiliences/__tests__/resilience.service.test.d.ts +0 -2
  534. package/dist/infrastructure/resiliences/__tests__/resilience.service.test.d.ts.map +0 -1
  535. package/dist/infrastructure/resiliences/__tests__/resilience.service.test.js +0 -47
  536. package/dist/infrastructure/resiliences/__tests__/resilience.service.test.js.map +0 -1
  537. package/dist/infrastructure/resiliences/index.d.ts +0 -2
  538. package/dist/infrastructure/resiliences/index.d.ts.map +0 -1
  539. package/dist/infrastructure/resiliences/index.js +0 -2
  540. package/dist/infrastructure/resiliences/index.js.map +0 -1
  541. package/dist/infrastructure/resiliences/resilience.service.d.ts +0 -18
  542. package/dist/infrastructure/resiliences/resilience.service.d.ts.map +0 -1
  543. package/dist/infrastructure/resiliences/resilience.service.js +0 -21
  544. package/dist/infrastructure/resiliences/resilience.service.js.map +0 -1
  545. package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.d.ts +0 -2
  546. package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.d.ts.map +0 -1
  547. package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.js +0 -68
  548. package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.js.map +0 -1
  549. package/dist/infrastructure/validators/__tests__/zod.validator.test.d.ts +0 -2
  550. package/dist/infrastructure/validators/__tests__/zod.validator.test.d.ts.map +0 -1
  551. package/dist/infrastructure/validators/__tests__/zod.validator.test.js +0 -72
  552. package/dist/infrastructure/validators/__tests__/zod.validator.test.js.map +0 -1
  553. package/dist/infrastructure/validators/base-schema.constant.d.ts +0 -30
  554. package/dist/infrastructure/validators/base-schema.constant.d.ts.map +0 -1
  555. package/dist/infrastructure/validators/base-schema.constant.js +0 -41
  556. package/dist/infrastructure/validators/base-schema.constant.js.map +0 -1
  557. package/dist/infrastructure/validators/constants/zod.constant.d.ts +0 -24
  558. package/dist/infrastructure/validators/constants/zod.constant.d.ts.map +0 -1
  559. package/dist/infrastructure/validators/constants/zod.constant.js +0 -23
  560. package/dist/infrastructure/validators/constants/zod.constant.js.map +0 -1
  561. package/dist/infrastructure/validators/index.d.ts +0 -3
  562. package/dist/infrastructure/validators/index.d.ts.map +0 -1
  563. package/dist/infrastructure/validators/index.js +0 -3
  564. package/dist/infrastructure/validators/index.js.map +0 -1
  565. package/dist/infrastructure/validators/schema-zod.utils.d.ts +0 -27
  566. package/dist/infrastructure/validators/schema-zod.utils.d.ts.map +0 -1
  567. package/dist/infrastructure/validators/schema-zod.utils.js +0 -27
  568. package/dist/infrastructure/validators/schema-zod.utils.js.map +0 -1
  569. package/dist/infrastructure/validators/zod.validator.d.ts +0 -31
  570. package/dist/infrastructure/validators/zod.validator.d.ts.map +0 -1
  571. package/dist/infrastructure/validators/zod.validator.js +0 -53
  572. package/dist/infrastructure/validators/zod.validator.js.map +0 -1
  573. package/dist/shared/constants/concurrency.constants.d.ts +0 -42
  574. package/dist/shared/constants/concurrency.constants.d.ts.map +0 -1
  575. package/dist/shared/constants/concurrency.constants.js +0 -42
  576. package/dist/shared/constants/concurrency.constants.js.map +0 -1
  577. package/dist/shared/constants/error.constants.d.ts +0 -272
  578. package/dist/shared/constants/error.constants.d.ts.map +0 -1
  579. package/dist/shared/constants/error.constants.js +0 -278
  580. package/dist/shared/constants/error.constants.js.map +0 -1
  581. package/dist/shared/constants/guest.constants.d.ts +0 -52
  582. package/dist/shared/constants/guest.constants.d.ts.map +0 -1
  583. package/dist/shared/constants/guest.constants.js +0 -53
  584. package/dist/shared/constants/guest.constants.js.map +0 -1
  585. package/dist/shared/constants/idempotency.constants.d.ts +0 -72
  586. package/dist/shared/constants/idempotency.constants.d.ts.map +0 -1
  587. package/dist/shared/constants/idempotency.constants.js +0 -72
  588. package/dist/shared/constants/idempotency.constants.js.map +0 -1
  589. package/dist/shared/constants/index.d.ts +0 -11
  590. package/dist/shared/constants/index.d.ts.map +0 -1
  591. package/dist/shared/constants/index.js +0 -11
  592. package/dist/shared/constants/index.js.map +0 -1
  593. package/dist/shared/constants/log-level.constants.d.ts +0 -64
  594. package/dist/shared/constants/log-level.constants.d.ts.map +0 -1
  595. package/dist/shared/constants/log-level.constants.js +0 -89
  596. package/dist/shared/constants/log-level.constants.js.map +0 -1
  597. package/dist/shared/constants/pagination.constants.d.ts +0 -70
  598. package/dist/shared/constants/pagination.constants.d.ts.map +0 -1
  599. package/dist/shared/constants/pagination.constants.js +0 -88
  600. package/dist/shared/constants/pagination.constants.js.map +0 -1
  601. package/dist/shared/constants/request.constants.d.ts +0 -34
  602. package/dist/shared/constants/request.constants.d.ts.map +0 -1
  603. package/dist/shared/constants/request.constants.js +0 -26
  604. package/dist/shared/constants/request.constants.js.map +0 -1
  605. package/dist/shared/constants/resilience.constants.d.ts +0 -89
  606. package/dist/shared/constants/resilience.constants.d.ts.map +0 -1
  607. package/dist/shared/constants/resilience.constants.js +0 -89
  608. package/dist/shared/constants/resilience.constants.js.map +0 -1
  609. package/dist/shared/constants/roles.constants.d.ts +0 -84
  610. package/dist/shared/constants/roles.constants.d.ts.map +0 -1
  611. package/dist/shared/constants/roles.constants.js +0 -68
  612. package/dist/shared/constants/roles.constants.js.map +0 -1
  613. package/dist/shared/constants/tokens.constants.d.ts +0 -373
  614. package/dist/shared/constants/tokens.constants.d.ts.map +0 -1
  615. package/dist/shared/constants/tokens.constants.js +0 -373
  616. package/dist/shared/constants/tokens.constants.js.map +0 -1
  617. package/dist/shared/index.d.ts +0 -4
  618. package/dist/shared/index.d.ts.map +0 -1
  619. package/dist/shared/index.js +0 -3
  620. package/dist/shared/index.js.map +0 -1
  621. package/dist/shared/types/api-response.types.d.ts +0 -185
  622. package/dist/shared/types/api-response.types.d.ts.map +0 -1
  623. package/dist/shared/types/api-response.types.js +0 -2
  624. package/dist/shared/types/api-response.types.js.map +0 -1
  625. package/dist/shared/types/auth-policy.types.d.ts +0 -48
  626. package/dist/shared/types/auth-policy.types.d.ts.map +0 -1
  627. package/dist/shared/types/auth-policy.types.js +0 -2
  628. package/dist/shared/types/auth-policy.types.js.map +0 -1
  629. package/dist/shared/types/auth.types.d.ts +0 -106
  630. package/dist/shared/types/auth.types.d.ts.map +0 -1
  631. package/dist/shared/types/auth.types.js +0 -2
  632. package/dist/shared/types/auth.types.js.map +0 -1
  633. package/dist/shared/types/cache.types.d.ts +0 -64
  634. package/dist/shared/types/cache.types.d.ts.map +0 -1
  635. package/dist/shared/types/cache.types.js +0 -2
  636. package/dist/shared/types/cache.types.js.map +0 -1
  637. package/dist/shared/types/common.types.d.ts +0 -213
  638. package/dist/shared/types/common.types.d.ts.map +0 -1
  639. package/dist/shared/types/common.types.js +0 -3
  640. package/dist/shared/types/common.types.js.map +0 -1
  641. package/dist/shared/types/http.types.d.ts +0 -188
  642. package/dist/shared/types/http.types.d.ts.map +0 -1
  643. package/dist/shared/types/http.types.js +0 -2
  644. package/dist/shared/types/http.types.js.map +0 -1
  645. package/dist/shared/types/index.d.ts +0 -10
  646. package/dist/shared/types/index.d.ts.map +0 -1
  647. package/dist/shared/types/index.js +0 -2
  648. package/dist/shared/types/index.js.map +0 -1
  649. package/dist/shared/types/injection-token.types.d.ts +0 -38
  650. package/dist/shared/types/injection-token.types.d.ts.map +0 -1
  651. package/dist/shared/types/injection-token.types.js +0 -2
  652. package/dist/shared/types/injection-token.types.js.map +0 -1
  653. package/dist/shared/types/metadata.types.d.ts +0 -150
  654. package/dist/shared/types/metadata.types.d.ts.map +0 -1
  655. package/dist/shared/types/metadata.types.js +0 -2
  656. package/dist/shared/types/metadata.types.js.map +0 -1
  657. package/dist/shared/types/pagination.types.d.ts +0 -88
  658. package/dist/shared/types/pagination.types.d.ts.map +0 -1
  659. package/dist/shared/types/pagination.types.js +0 -3
  660. package/dist/shared/types/pagination.types.js.map +0 -1
  661. package/dist/shared/utils/__tests__/date.utils.test.d.ts +0 -2
  662. package/dist/shared/utils/__tests__/date.utils.test.d.ts.map +0 -1
  663. package/dist/shared/utils/__tests__/date.utils.test.js +0 -97
  664. package/dist/shared/utils/__tests__/date.utils.test.js.map +0 -1
  665. package/dist/shared/utils/__tests__/guards.utils.test.d.ts +0 -2
  666. package/dist/shared/utils/__tests__/guards.utils.test.d.ts.map +0 -1
  667. package/dist/shared/utils/__tests__/guards.utils.test.js +0 -324
  668. package/dist/shared/utils/__tests__/guards.utils.test.js.map +0 -1
  669. package/dist/shared/utils/__tests__/guid.utils.test.d.ts +0 -2
  670. package/dist/shared/utils/__tests__/guid.utils.test.d.ts.map +0 -1
  671. package/dist/shared/utils/__tests__/guid.utils.test.js +0 -97
  672. package/dist/shared/utils/__tests__/guid.utils.test.js.map +0 -1
  673. package/dist/shared/utils/__tests__/http.utils.test.d.ts +0 -2
  674. package/dist/shared/utils/__tests__/http.utils.test.d.ts.map +0 -1
  675. package/dist/shared/utils/__tests__/http.utils.test.js +0 -230
  676. package/dist/shared/utils/__tests__/http.utils.test.js.map +0 -1
  677. package/dist/shared/utils/__tests__/math.utils.test.d.ts +0 -2
  678. package/dist/shared/utils/__tests__/math.utils.test.d.ts.map +0 -1
  679. package/dist/shared/utils/__tests__/math.utils.test.js +0 -93
  680. package/dist/shared/utils/__tests__/math.utils.test.js.map +0 -1
  681. package/dist/shared/utils/__tests__/promise.utils.test.d.ts +0 -2
  682. package/dist/shared/utils/__tests__/promise.utils.test.d.ts.map +0 -1
  683. package/dist/shared/utils/__tests__/promise.utils.test.js +0 -101
  684. package/dist/shared/utils/__tests__/promise.utils.test.js.map +0 -1
  685. package/dist/shared/utils/__tests__/string.utils.test.d.ts +0 -2
  686. package/dist/shared/utils/__tests__/string.utils.test.d.ts.map +0 -1
  687. package/dist/shared/utils/__tests__/string.utils.test.js +0 -153
  688. package/dist/shared/utils/__tests__/string.utils.test.js.map +0 -1
  689. package/dist/shared/utils/abort.utils.d.ts +0 -34
  690. package/dist/shared/utils/abort.utils.d.ts.map +0 -1
  691. package/dist/shared/utils/abort.utils.js +0 -55
  692. package/dist/shared/utils/abort.utils.js.map +0 -1
  693. package/dist/shared/utils/date.utils.d.ts +0 -75
  694. package/dist/shared/utils/date.utils.d.ts.map +0 -1
  695. package/dist/shared/utils/date.utils.js +0 -88
  696. package/dist/shared/utils/date.utils.js.map +0 -1
  697. package/dist/shared/utils/enumerable.utils.d.ts +0 -43
  698. package/dist/shared/utils/enumerable.utils.d.ts.map +0 -1
  699. package/dist/shared/utils/enumerable.utils.js +0 -52
  700. package/dist/shared/utils/enumerable.utils.js.map +0 -1
  701. package/dist/shared/utils/guards.utils.d.ts +0 -245
  702. package/dist/shared/utils/guards.utils.d.ts.map +0 -1
  703. package/dist/shared/utils/guards.utils.js +0 -308
  704. package/dist/shared/utils/guards.utils.js.map +0 -1
  705. package/dist/shared/utils/guid.utils.d.ts +0 -73
  706. package/dist/shared/utils/guid.utils.d.ts.map +0 -1
  707. package/dist/shared/utils/guid.utils.js +0 -89
  708. package/dist/shared/utils/guid.utils.js.map +0 -1
  709. package/dist/shared/utils/http.utils.d.ts +0 -75
  710. package/dist/shared/utils/http.utils.d.ts.map +0 -1
  711. package/dist/shared/utils/http.utils.js +0 -144
  712. package/dist/shared/utils/http.utils.js.map +0 -1
  713. package/dist/shared/utils/index.d.ts +0 -11
  714. package/dist/shared/utils/index.d.ts.map +0 -1
  715. package/dist/shared/utils/index.js +0 -11
  716. package/dist/shared/utils/index.js.map +0 -1
  717. package/dist/shared/utils/math.utils.d.ts +0 -79
  718. package/dist/shared/utils/math.utils.d.ts.map +0 -1
  719. package/dist/shared/utils/math.utils.js +0 -97
  720. package/dist/shared/utils/math.utils.js.map +0 -1
  721. package/dist/shared/utils/promise.utils.d.ts +0 -40
  722. package/dist/shared/utils/promise.utils.d.ts.map +0 -1
  723. package/dist/shared/utils/promise.utils.js +0 -45
  724. package/dist/shared/utils/promise.utils.js.map +0 -1
  725. package/dist/shared/utils/sanitize.utils.d.ts +0 -39
  726. package/dist/shared/utils/sanitize.utils.d.ts.map +0 -1
  727. package/dist/shared/utils/sanitize.utils.js +0 -67
  728. package/dist/shared/utils/sanitize.utils.js.map +0 -1
  729. package/dist/shared/utils/string.utils.d.ts +0 -102
  730. package/dist/shared/utils/string.utils.d.ts.map +0 -1
  731. package/dist/shared/utils/string.utils.js +0 -157
  732. package/dist/shared/utils/string.utils.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-error.test.js","sourceRoot":"","sources":["../../../../src/domain/errors/__tests__/app-error.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,EAAE,CAAC,8EAA8E,EAAE,GAAG,EAAE;QACtF,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;YAC5B,OAAO,EAAE,sBAAsB;YAC/B,IAAI,EAAE,YAAY;YAClB,MAAM,EAAE,GAAG;YACX,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,IAAI,KAAK,CAAC,kBAAkB,CAAC;SACrC,CAAC,CAAA;QAEF,MAAM,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QACtC,MAAM,CAA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,CAAC,WAAW,EAAE,CAAA;IACnC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -1,243 +0,0 @@
1
- import type { Maybe, Optional } from '../../shared';
2
- /**
3
- * A class representing an application error, which extends the built-in Error class.
4
- * It includes additional properties such as an error code and an HTTP status code.
5
-
6
- *
7
- * @author Xeno
8
- * @version 1.0.0
9
- * @since 2025-09-30
10
- * @link https://github.com/xeno-js/xeno-js
11
- */
12
- interface ErrorPayload {
13
- /** The error message describing the error.
14
- *
15
- * @author Xeno
16
- * @version 1.0.0
17
- * @since 2025-09-30
18
- * @link https://github.com/xeno-js/xeno-js
19
- */
20
- message: string;
21
- /** The error code representing the type of error.
22
- *
23
- * @author Xeno
24
- * @version 1.0.0
25
- * @since 2025-09-30
26
- * @link https://github.com/xeno-js/xeno-js
27
- */
28
- code: string;
29
- /** The HTTP status code associated with the error.
30
- *
31
- * @author Xeno
32
- * @version 1.0.0
33
- * @since 2025-09-30
34
- * @link https://github.com/xeno-js/xeno-js
35
- */
36
- status: number;
37
- /** The name of the error, typically the class name.
38
- *
39
- * @author Xeno
40
- * @version 1.0.0
41
- * @since 2025-09-30
42
- * @link https://github.com/xeno-js/xeno-js
43
- */
44
- name: string;
45
- /** An optional property to hold the original error or any additional context.
46
- *
47
- * @author Xeno
48
- * @version 1.0.0
49
- * @since 2025-09-30
50
- * @link https://github.com/xeno-js/xeno-js
51
- */
52
- cause: Optional<unknown>;
53
- /** A Dictionary to hold any additional context or information related to the error.
54
- *
55
- * @author Xeno
56
- * @version 1.0.0
57
- * @since 2025-09-30
58
- * @link https://github.com/xeno-js/xeno-js
59
- */
60
- [key: string]: unknown;
61
- }
62
- /**
63
- * A class representing an application error, which extends the built-in Error class.
64
- * It includes additional properties such as an error code and an HTTP status code.
65
-
66
- *
67
- * @author Xeno
68
- * @version 1.0.0
69
- * @since 2025-09-30
70
- * @link https://github.com/xeno-js/xeno-js
71
- */
72
- export declare class AppError extends Error {
73
- /**
74
- * The error code representing the type of error.
75
-
76
- *
77
- * @author Xeno
78
- * @version 1.0.0
79
- * @since 2025-09-30
80
- * @link https://github.com/xeno-js/xeno-js
81
- */
82
- readonly code: string;
83
- /**
84
- * The HTTP status code associated with the error.
85
-
86
- *
87
- * @author Xeno
88
- * @version 1.0.0
89
- * @since 2025-09-30
90
- * @link https://github.com/xeno-js/xeno-js
91
- */
92
- readonly status: number;
93
- /**
94
- * A Dictionary to hold any additional context or information related to the error.
95
- *
96
- * @author Xeno
97
- * @version 1.0.0
98
- * @since 2025-09-30
99
- * @link https://github.com/xeno-js/xeno-js
100
- */
101
- readonly [key: string]: unknown;
102
- /**
103
- * Private constructor to prevent direct instantiation. Use the static methods `create` and `throw` to create instances.
104
- *
105
- * @param payload - The payload containing error details.
106
-
107
- *
108
- * @author Xeno
109
- * @version 1.0.0
110
- * @since 2025-09-30
111
- * @link https://github.com/xeno-js/xeno-js
112
- */
113
- private constructor();
114
- /**
115
- * Creates an AppError instance with the given error payload.
116
- *
117
- * @param payload - The payload containing error details.
118
- * @returns An AppError instance representing the error.
119
-
120
- *
121
- * @author Xeno
122
- * @version 1.0.0
123
- * @since 2025-09-30
124
- * @link https://github.com/xeno-js/xeno-js
125
- */
126
- static create(payload: ErrorPayload): AppError;
127
- /**
128
- * Creates an AppError instance and throws it immediately.
129
- * @param payload - The payload containing error details.
130
- * @throws An AppError instance representing the error.
131
-
132
- *
133
- * @author Xeno
134
- * @version 1.0.0
135
- * @since 2025-09-30
136
- * @link https://github.com/xeno-js/xeno-js
137
- */
138
- static throw(payload: ErrorPayload): never;
139
- /**
140
- * Creates an AppError instance representing an aborted request.
141
- * @param name - The name of the error, typically the class name or context where the error occurred.
142
- * @returns An AppError instance representing the aborted request error.
143
-
144
- *
145
- * @author Xeno
146
- * @version 1.0.0
147
- * @since 2025-09-30
148
- * @link https://github.com/xeno-js/xeno-js
149
- */
150
- static aborted(name: string): AppError;
151
- /**
152
- * Utility method to check if an AbortSignal has been triggered and throw an AppError if it has.
153
- * @param signal - The AbortSignal to check for abortion.
154
- * @param name - The name of the error, typically the class name or context where the error occurred.
155
-
156
- *
157
- * @author Xeno
158
- * @version 1.0.0
159
- * @since 2025-09-30
160
- * @link https://github.com/xeno-js/xeno-js
161
- */
162
- static throwIfAborted(signal: Maybe<AbortSignal>, name: string): void;
163
- /** @description Creates an AppError instance representing an unauthorized access error. This method is used to generate a standardized error response when a user attempts to access a resource or perform an action without the necessary authentication or authorization.
164
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
165
- * @param message A custom message describing the reason for the unauthorized access. This message is included in the AppError's cause for detailed error reporting.
166
- * @returns An AppError instance representing the unauthorized access error.
167
- *
168
- * @author Xeno
169
- * @version 1.0.0
170
- * @since 2025-09-30
171
- * @link https://github.com/xeno-js/xeno-js
172
- */
173
- static unauthorized(name: string, message: string): AppError;
174
- static notSupported(name: string, message: string): AppError;
175
- /** @description Creates an AppError instance representing a forbidden access error. This method is used to generate a standardized error response when a user attempts to access a resource or perform an action that they are not authorized to access, even if they are authenticated.
176
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
177
- * @param message A custom message describing the reason for the forbidden access. This message is included in the AppError's cause for detailed error reporting.
178
- * @returns An AppError instance representing the forbidden access error.
179
- *
180
- * @author Xeno
181
- * @version 1.0.0
182
- * @since 2025-09-30
183
- * @link https://github.com/xeno-js/xeno-js
184
- */
185
- static forbidden(name: string, message: string): AppError;
186
- /** @description Creates an AppError instance representing a bad request error. This method is used to generate a standardized error response when a request made by the client is invalid or cannot be processed due to client-side issues, such as validation errors or malformed requests.
187
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
188
- * @param message A custom message describing the reason for the bad request. This message is included in the AppError's cause for detailed error reporting.
189
- * @returns An AppError instance representing the bad request error.
190
- *
191
- * @author Xeno
192
- * @version 1.0.0
193
- * @since 2025-09-30
194
- * @link https://github.com/xeno-js/xeno-js
195
- */
196
- static badRequest(name: string, message: string): AppError;
197
- /** @description Creates an AppError instance representing a validation error. This method is used to generate a standardized error response when one or more input fields fail invariant or schema validation, indicating that the request cannot be processed due to invalid data.
198
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
199
- * @param message A custom message describing the reason for the validation failure. This message is included in the AppError's cause for detailed error reporting.
200
- * @returns An AppError instance representing the validation error.
201
- *
202
- * @author Xeno
203
- * @version 1.0.0
204
- * @since 2025-09-30
205
- * @link https://github.com/xeno-js/xeno-js
206
- */
207
- static validationError(name: string, message: string): AppError;
208
- /** @description Creates an AppError instance representing a conflict error. This method is used to generate a standardized error response when a request conflicts with the current state of the resource, such as when attempting to create a resource that already exists or update a resource that has been modified by another process.
209
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
210
- * @param message A custom message describing the reason for the conflict. This message is included in the AppError's cause for detailed error reporting.
211
- * @returns An AppError instance representing the conflict error.
212
- *
213
- * @author Xeno
214
- * @version 1.0.0
215
- * @since 2025-09-30
216
- * @link https://github.com/xeno-js/xeno-js
217
- */
218
- static conflict(name: string, message: string): AppError;
219
- /** @description Creates an AppError instance representing a not found error. This method is used to generate a standardized error response when a requested resource does not exist, indicating that the client attempted to access a resource that could not be found on the server.
220
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
221
- * @param message A custom message describing the reason for the not found error. This message is included in the AppError's cause for detailed error reporting.
222
- * @returns An AppError instance representing the not found error.
223
- *
224
- * @author Xeno
225
- * @version 1.0.0
226
- * @since 2025-09-30
227
- * @link https://github.com/xeno-js/xeno-js
228
- */
229
- static notFound(name: string, message: string): AppError;
230
- /** @description Creates an AppError instance representing a Authentication failed. This method is used to generate a standardized error response when an auth requested produce an error..
231
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
232
- * @param message A custom message describing the reason for the Authentication failed. This message is included in the AppError's cause for detailed error reporting.
233
- * @returns An AppError instance representing the Authentication failed.
234
- *
235
- * @author Xeno
236
- * @version 1.0.0
237
- * @since 2025-09-30
238
- * @link https://github.com/xeno-js/xeno-js
239
- */
240
- static authFailed(name: string, message: string): AppError;
241
- }
242
- export {};
243
- //# sourceMappingURL=app-error.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-error.d.ts","sourceRoot":"","sources":["../../../src/domain/errors/app-error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAE/C;;;;;;;;;KASK;AACL,UAAU,YAAY;IACpB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;OAMG;IACH,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IACxB;;;;;;OAMG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED;;;;;;;;;KASK;AACL,qBAAa,QAAS,SAAQ,KAAK;IACjC;;;;;;;;OAQG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAA;IAC5B;;;;;;;;OAQG;IACH,SAAgB,MAAM,EAAE,MAAM,CAAA;IAE9B;;;;;;;OAOG;IACH,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;IAE/B;;;;;;;;;;OAUG;IACH,OAAO;IAOP;;;;;;;;;;;OAWG;WACW,MAAM,CAAC,OAAO,EAAE,YAAY,GAAG,QAAQ;IAIrD;;;;;;;;;;OAUG;WACW,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,KAAK;IAIjD;;;;;;;;;;OAUG;WACW,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ;IAU7C;;;;;;;;;;OAUG;WACW,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAM5E;;;;;;;;;OASG;WACW,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;WAWrD,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;IAUnE;;;;;;;;;OASG;WACW,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;IAUhE;;;;;;;;;OASG;WACW,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;IAUjE;;;;;;;;;OASG;WACW,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;IAUtE;;;;;;;;;OASG;WACW,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;IAU/D;;;;;;;;;OASG;WACW,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;IAU/D;;;;;;;;;OASG;WACW,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;CASlE"}
@@ -1,259 +0,0 @@
1
- import { ERROR_CODE_MESSAGES, ERROR_CODES, Guards, STATUS_CODES } from '../../shared';
2
- /**
3
- * A class representing an application error, which extends the built-in Error class.
4
- * It includes additional properties such as an error code and an HTTP status code.
5
-
6
- *
7
- * @author Xeno
8
- * @version 1.0.0
9
- * @since 2025-09-30
10
- * @link https://github.com/xeno-js/xeno-js
11
- */
12
- export class AppError extends Error {
13
- /**
14
- * The error code representing the type of error.
15
-
16
- *
17
- * @author Xeno
18
- * @version 1.0.0
19
- * @since 2025-09-30
20
- * @link https://github.com/xeno-js/xeno-js
21
- */
22
- code;
23
- /**
24
- * The HTTP status code associated with the error.
25
-
26
- *
27
- * @author Xeno
28
- * @version 1.0.0
29
- * @since 2025-09-30
30
- * @link https://github.com/xeno-js/xeno-js
31
- */
32
- status;
33
- /**
34
- * Private constructor to prevent direct instantiation. Use the static methods `create` and `throw` to create instances.
35
- *
36
- * @param payload - The payload containing error details.
37
-
38
- *
39
- * @author Xeno
40
- * @version 1.0.0
41
- * @since 2025-09-30
42
- * @link https://github.com/xeno-js/xeno-js
43
- */
44
- constructor(payload) {
45
- super(payload.message);
46
- this.code = payload.code;
47
- this.status = payload.status;
48
- Object.assign(this, payload);
49
- }
50
- /**
51
- * Creates an AppError instance with the given error payload.
52
- *
53
- * @param payload - The payload containing error details.
54
- * @returns An AppError instance representing the error.
55
-
56
- *
57
- * @author Xeno
58
- * @version 1.0.0
59
- * @since 2025-09-30
60
- * @link https://github.com/xeno-js/xeno-js
61
- */
62
- static create(payload) {
63
- return new AppError(payload);
64
- }
65
- /**
66
- * Creates an AppError instance and throws it immediately.
67
- * @param payload - The payload containing error details.
68
- * @throws An AppError instance representing the error.
69
-
70
- *
71
- * @author Xeno
72
- * @version 1.0.0
73
- * @since 2025-09-30
74
- * @link https://github.com/xeno-js/xeno-js
75
- */
76
- static throw(payload) {
77
- throw new AppError(payload);
78
- }
79
- /**
80
- * Creates an AppError instance representing an aborted request.
81
- * @param name - The name of the error, typically the class name or context where the error occurred.
82
- * @returns An AppError instance representing the aborted request error.
83
-
84
- *
85
- * @author Xeno
86
- * @version 1.0.0
87
- * @since 2025-09-30
88
- * @link https://github.com/xeno-js/xeno-js
89
- */
90
- static aborted(name) {
91
- return new AppError({
92
- code: ERROR_CODES.ABORTED,
93
- message: ERROR_CODE_MESSAGES[ERROR_CODES.ABORTED],
94
- status: STATUS_CODES.ABORTED,
95
- name,
96
- cause: new Error('The client closed the connection before the server finished responding.'),
97
- });
98
- }
99
- /**
100
- * Utility method to check if an AbortSignal has been triggered and throw an AppError if it has.
101
- * @param signal - The AbortSignal to check for abortion.
102
- * @param name - The name of the error, typically the class name or context where the error occurred.
103
-
104
- *
105
- * @author Xeno
106
- * @version 1.0.0
107
- * @since 2025-09-30
108
- * @link https://github.com/xeno-js/xeno-js
109
- */
110
- static throwIfAborted(signal, name) {
111
- if (Guards.isDefined(signal) && signal.aborted) {
112
- throw AppError.aborted(name);
113
- }
114
- }
115
- /** @description Creates an AppError instance representing an unauthorized access error. This method is used to generate a standardized error response when a user attempts to access a resource or perform an action without the necessary authentication or authorization.
116
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
117
- * @param message A custom message describing the reason for the unauthorized access. This message is included in the AppError's cause for detailed error reporting.
118
- * @returns An AppError instance representing the unauthorized access error.
119
- *
120
- * @author Xeno
121
- * @version 1.0.0
122
- * @since 2025-09-30
123
- * @link https://github.com/xeno-js/xeno-js
124
- */
125
- static unauthorized(name, message) {
126
- return AppError.create({
127
- code: ERROR_CODES.UNAUTHORIZED,
128
- message: ERROR_CODE_MESSAGES[ERROR_CODES.UNAUTHORIZED],
129
- status: STATUS_CODES.UNAUTHORIZED,
130
- name,
131
- cause: new Error(message),
132
- header: { 'WWW-Authenticate': ['Bearer realm="api"'] },
133
- });
134
- }
135
- static notSupported(name, message) {
136
- return AppError.create({
137
- code: ERROR_CODES.NOT_ALLOWED,
138
- message: ERROR_CODE_MESSAGES[ERROR_CODES.NOT_ALLOWED],
139
- status: STATUS_CODES.NOT_ALLOWED,
140
- name,
141
- cause: new Error(message),
142
- });
143
- }
144
- /** @description Creates an AppError instance representing a forbidden access error. This method is used to generate a standardized error response when a user attempts to access a resource or perform an action that they are not authorized to access, even if they are authenticated.
145
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
146
- * @param message A custom message describing the reason for the forbidden access. This message is included in the AppError's cause for detailed error reporting.
147
- * @returns An AppError instance representing the forbidden access error.
148
- *
149
- * @author Xeno
150
- * @version 1.0.0
151
- * @since 2025-09-30
152
- * @link https://github.com/xeno-js/xeno-js
153
- */
154
- static forbidden(name, message) {
155
- return AppError.create({
156
- code: ERROR_CODES.FORBIDDEN,
157
- message: ERROR_CODE_MESSAGES[ERROR_CODES.FORBIDDEN],
158
- status: STATUS_CODES.FORBIDDEN,
159
- name,
160
- cause: new Error(message),
161
- });
162
- }
163
- /** @description Creates an AppError instance representing a bad request error. This method is used to generate a standardized error response when a request made by the client is invalid or cannot be processed due to client-side issues, such as validation errors or malformed requests.
164
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
165
- * @param message A custom message describing the reason for the bad request. This message is included in the AppError's cause for detailed error reporting.
166
- * @returns An AppError instance representing the bad request error.
167
- *
168
- * @author Xeno
169
- * @version 1.0.0
170
- * @since 2025-09-30
171
- * @link https://github.com/xeno-js/xeno-js
172
- */
173
- static badRequest(name, message) {
174
- return AppError.create({
175
- code: ERROR_CODES.BAD_REQUEST,
176
- message: ERROR_CODE_MESSAGES[ERROR_CODES.BAD_REQUEST],
177
- status: STATUS_CODES.BAD_REQUEST,
178
- name,
179
- cause: new Error(message),
180
- });
181
- }
182
- /** @description Creates an AppError instance representing a validation error. This method is used to generate a standardized error response when one or more input fields fail invariant or schema validation, indicating that the request cannot be processed due to invalid data.
183
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
184
- * @param message A custom message describing the reason for the validation failure. This message is included in the AppError's cause for detailed error reporting.
185
- * @returns An AppError instance representing the validation error.
186
- *
187
- * @author Xeno
188
- * @version 1.0.0
189
- * @since 2025-09-30
190
- * @link https://github.com/xeno-js/xeno-js
191
- */
192
- static validationError(name, message) {
193
- return AppError.create({
194
- code: ERROR_CODES.VALIDATION_FAILED,
195
- message: ERROR_CODE_MESSAGES[ERROR_CODES.VALIDATION_FAILED],
196
- status: STATUS_CODES.BAD_REQUEST,
197
- name,
198
- cause: new Error(message),
199
- });
200
- }
201
- /** @description Creates an AppError instance representing a conflict error. This method is used to generate a standardized error response when a request conflicts with the current state of the resource, such as when attempting to create a resource that already exists or update a resource that has been modified by another process.
202
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
203
- * @param message A custom message describing the reason for the conflict. This message is included in the AppError's cause for detailed error reporting.
204
- * @returns An AppError instance representing the conflict error.
205
- *
206
- * @author Xeno
207
- * @version 1.0.0
208
- * @since 2025-09-30
209
- * @link https://github.com/xeno-js/xeno-js
210
- */
211
- static conflict(name, message) {
212
- return AppError.create({
213
- code: ERROR_CODES.CONFLICT,
214
- message: ERROR_CODE_MESSAGES[ERROR_CODES.CONFLICT],
215
- status: STATUS_CODES.CONFLICT,
216
- name,
217
- cause: new Error(message),
218
- });
219
- }
220
- /** @description Creates an AppError instance representing a not found error. This method is used to generate a standardized error response when a requested resource does not exist, indicating that the client attempted to access a resource that could not be found on the server.
221
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
222
- * @param message A custom message describing the reason for the not found error. This message is included in the AppError's cause for detailed error reporting.
223
- * @returns An AppError instance representing the not found error.
224
- *
225
- * @author Xeno
226
- * @version 1.0.0
227
- * @since 2025-09-30
228
- * @link https://github.com/xeno-js/xeno-js
229
- */
230
- static notFound(name, message) {
231
- return AppError.create({
232
- code: ERROR_CODES.NOT_FOUND,
233
- message: ERROR_CODE_MESSAGES[ERROR_CODES.NOT_FOUND],
234
- status: STATUS_CODES.NOT_FOUND,
235
- name,
236
- cause: new Error(message),
237
- });
238
- }
239
- /** @description Creates an AppError instance representing a Authentication failed. This method is used to generate a standardized error response when an auth requested produce an error..
240
- * @param name The name of the error, typically the class name or context where the error occurred. This helps in identifying the source of the error in logs and error reports.
241
- * @param message A custom message describing the reason for the Authentication failed. This message is included in the AppError's cause for detailed error reporting.
242
- * @returns An AppError instance representing the Authentication failed.
243
- *
244
- * @author Xeno
245
- * @version 1.0.0
246
- * @since 2025-09-30
247
- * @link https://github.com/xeno-js/xeno-js
248
- */
249
- static authFailed(name, message) {
250
- return AppError.create({
251
- code: ERROR_CODES.AUTHENTICATION_FAILED,
252
- message: ERROR_CODE_MESSAGES[ERROR_CODES.AUTHENTICATION_FAILED],
253
- name,
254
- status: STATUS_CODES.UNAUTHORIZED,
255
- cause: new Error(message),
256
- });
257
- }
258
- }
259
- //# sourceMappingURL=app-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-error.js","sourceRoot":"","sources":["../../../src/domain/errors/app-error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AA8DjF;;;;;;;;;KASK;AACL,MAAM,OAAO,QAAS,SAAQ,KAAK;IACjC;;;;;;;;OAQG;IACa,IAAI,CAAQ;IAC5B;;;;;;;;OAQG;IACa,MAAM,CAAQ;IAY9B;;;;;;;;;;OAUG;IACH,YAAoB,OAAqB;QACvC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9B,CAAC;IAED;;;;;;;;;;;OAWG;IACI,MAAM,CAAC,MAAM,CAAC,OAAqB;QACxC,OAAO,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC9B,CAAC;IAED;;;;;;;;;;OAUG;IACI,MAAM,CAAC,KAAK,CAAC,OAAqB;QACvC,MAAM,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC7B,CAAC;IAED;;;;;;;;;;OAUG;IACI,MAAM,CAAC,OAAO,CAAC,IAAY;QAChC,OAAO,IAAI,QAAQ,CAAC;YAClB,IAAI,EAAE,WAAW,CAAC,OAAO;YACzB,OAAO,EAAE,mBAAmB,CAAC,WAAW,CAAC,OAAO,CAAC;YACjD,MAAM,EAAE,YAAY,CAAC,OAAO;YAC5B,IAAI;YACJ,KAAK,EAAE,IAA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AAmB,CAAC,WAAW,CAAC,SAAS,CAAC;YACnD,MAAM,EAAE,YAAY,CAAC,SAAS;YAC9B,IAAI;YACJ,KAAK,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC;SAC1B,CAAC,CAAA;IACJ,CAAC;IAED;;;;;;;;;OASG;IACI,MAAM,CAAC,UAAU,CAAC,IAAY,EAAE,OAAe;QACpD,OAAO,QAAQ,CAAC,MAAM,CAAC;YACrB,IAAI,EAAE,WAAW,CAAC,qBAAqB;YACvC,OAAO,EAAE,mBAAmB,CAAC,WAAW,CAAC,qBAAqB,CAAC;YAC/D,IAAI;YACJ,MAAM,EAAE,YAAY,CAAC,YAAY;YACjC,KAAK,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC;SAC1B,CAAC,CAAA;IACJ,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- export * from './app-error';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/domain/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './app-error';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domain/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -1,8 +0,0 @@
1
- export type * from './config/index';
2
- export type * from './contracts/index';
3
- export * from './entities/index';
4
- export * from './errors/index';
5
- export * from './results/index';
6
- export * from './unique_id/index';
7
- export * from './value_objects/index';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,mBAAmB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './entities/index';
2
- export * from './errors/index';
3
- export * from './results/index';
4
- export * from './unique_id/index';
5
- export * from './value_objects/index';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=result.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"result.test.d.ts","sourceRoot":"","sources":["../../../../src/domain/results/__tests__/result.test.ts"],"names":[],"mappings":""}