@xeno-js/shared 0.1.0 → 0.1.2
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.
- package/dist/index.cjs +3165 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +6062 -0
- package/dist/index.d.ts +6062 -5
- package/dist/index.js +3085 -4
- package/dist/index.js.map +1 -1
- package/package.json +112 -111
- package/dist/application/cqrs/command/command.d.ts +0 -8
- package/dist/application/cqrs/command/command.d.ts.map +0 -1
- package/dist/application/cqrs/command/command.js +0 -9
- package/dist/application/cqrs/command/command.js.map +0 -1
- package/dist/application/cqrs/command/index.d.ts +0 -2
- package/dist/application/cqrs/command/index.d.ts.map +0 -1
- package/dist/application/cqrs/command/index.js +0 -2
- package/dist/application/cqrs/command/index.js.map +0 -1
- package/dist/application/cqrs/index.d.ts +0 -3
- package/dist/application/cqrs/index.d.ts.map +0 -1
- package/dist/application/cqrs/index.js +0 -3
- package/dist/application/cqrs/index.js.map +0 -1
- package/dist/application/cqrs/query/index.d.ts +0 -2
- package/dist/application/cqrs/query/index.d.ts.map +0 -1
- package/dist/application/cqrs/query/index.js +0 -2
- package/dist/application/cqrs/query/index.js.map +0 -1
- package/dist/application/cqrs/query/query.d.ts +0 -9
- package/dist/application/cqrs/query/query.d.ts.map +0 -1
- package/dist/application/cqrs/query/query.js +0 -11
- package/dist/application/cqrs/query/query.js.map +0 -1
- package/dist/application/index.d.ts +0 -3
- package/dist/application/index.d.ts.map +0 -1
- package/dist/application/index.js +0 -3
- package/dist/application/index.js.map +0 -1
- package/dist/application/loggers/__tests__/base.logger.test.d.ts +0 -2
- package/dist/application/loggers/__tests__/base.logger.test.d.ts.map +0 -1
- package/dist/application/loggers/__tests__/base.logger.test.js +0 -132
- package/dist/application/loggers/__tests__/base.logger.test.js.map +0 -1
- package/dist/application/loggers/base.logger.d.ts +0 -48
- package/dist/application/loggers/base.logger.d.ts.map +0 -1
- package/dist/application/loggers/base.logger.js +0 -68
- package/dist/application/loggers/base.logger.js.map +0 -1
- package/dist/application/loggers/index.d.ts +0 -2
- package/dist/application/loggers/index.d.ts.map +0 -1
- package/dist/application/loggers/index.js +0 -2
- package/dist/application/loggers/index.js.map +0 -1
- package/dist/domain/config/auth.config.d.ts +0 -14
- package/dist/domain/config/auth.config.d.ts.map +0 -1
- package/dist/domain/config/auth.config.js +0 -2
- package/dist/domain/config/auth.config.js.map +0 -1
- package/dist/domain/config/cache.config.d.ts +0 -92
- package/dist/domain/config/cache.config.d.ts.map +0 -1
- package/dist/domain/config/cache.config.js +0 -2
- package/dist/domain/config/cache.config.js.map +0 -1
- package/dist/domain/config/db.config.d.ts +0 -29
- package/dist/domain/config/db.config.d.ts.map +0 -1
- package/dist/domain/config/db.config.js +0 -2
- package/dist/domain/config/db.config.js.map +0 -1
- package/dist/domain/config/http.config.d.ts +0 -148
- package/dist/domain/config/http.config.d.ts.map +0 -1
- package/dist/domain/config/http.config.js +0 -2
- package/dist/domain/config/http.config.js.map +0 -1
- package/dist/domain/config/index.d.ts +0 -5
- package/dist/domain/config/index.d.ts.map +0 -1
- package/dist/domain/config/index.js +0 -2
- package/dist/domain/config/index.js.map +0 -1
- package/dist/domain/config/resilience.config.d.ts +0 -94
- package/dist/domain/config/resilience.config.d.ts.map +0 -1
- package/dist/domain/config/resilience.config.js +0 -2
- package/dist/domain/config/resilience.config.js.map +0 -1
- package/dist/domain/contracts/cache/icache.contracts.d.ts +0 -93
- package/dist/domain/contracts/cache/icache.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/cache/icache.contracts.js +0 -2
- package/dist/domain/contracts/cache/icache.contracts.js.map +0 -1
- package/dist/domain/contracts/cache/ikey-builder.contracts.d.ts +0 -34
- package/dist/domain/contracts/cache/ikey-builder.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/cache/ikey-builder.contracts.js +0 -2
- package/dist/domain/contracts/cache/ikey-builder.contracts.js.map +0 -1
- package/dist/domain/contracts/cache/index.d.ts +0 -3
- package/dist/domain/contracts/cache/index.d.ts.map +0 -1
- package/dist/domain/contracts/cache/index.js +0 -2
- package/dist/domain/contracts/cache/index.js.map +0 -1
- package/dist/domain/contracts/configuration/iconfiguration.contracts.d.ts +0 -61
- package/dist/domain/contracts/configuration/iconfiguration.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/configuration/iconfiguration.contracts.js +0 -2
- package/dist/domain/contracts/configuration/iconfiguration.contracts.js.map +0 -1
- package/dist/domain/contracts/configuration/index.d.ts +0 -2
- package/dist/domain/contracts/configuration/index.d.ts.map +0 -1
- package/dist/domain/contracts/configuration/index.js +0 -2
- package/dist/domain/contracts/configuration/index.js.map +0 -1
- package/dist/domain/contracts/context/context_types/identity-context.types.d.ts +0 -63
- package/dist/domain/contracts/context/context_types/identity-context.types.d.ts.map +0 -1
- package/dist/domain/contracts/context/context_types/identity-context.types.js +0 -2
- package/dist/domain/contracts/context/context_types/identity-context.types.js.map +0 -1
- package/dist/domain/contracts/context/context_types/index.d.ts +0 -6
- package/dist/domain/contracts/context/context_types/index.d.ts.map +0 -1
- package/dist/domain/contracts/context/context_types/index.js +0 -2
- package/dist/domain/contracts/context/context_types/index.js.map +0 -1
- package/dist/domain/contracts/context/context_types/messaging-context.types.d.ts +0 -70
- package/dist/domain/contracts/context/context_types/messaging-context.types.d.ts.map +0 -1
- package/dist/domain/contracts/context/context_types/messaging-context.types.js +0 -2
- package/dist/domain/contracts/context/context_types/messaging-context.types.js.map +0 -1
- package/dist/domain/contracts/context/context_types/network-context.types.d.ts +0 -82
- package/dist/domain/contracts/context/context_types/network-context.types.d.ts.map +0 -1
- package/dist/domain/contracts/context/context_types/network-context.types.js +0 -2
- package/dist/domain/contracts/context/context_types/network-context.types.js.map +0 -1
- package/dist/domain/contracts/context/context_types/request-context.types.d.ts +0 -48
- package/dist/domain/contracts/context/context_types/request-context.types.d.ts.map +0 -1
- package/dist/domain/contracts/context/context_types/request-context.types.js +0 -2
- package/dist/domain/contracts/context/context_types/request-context.types.js.map +0 -1
- package/dist/domain/contracts/context/context_types/tracing-context.types.d.ts +0 -54
- package/dist/domain/contracts/context/context_types/tracing-context.types.d.ts.map +0 -1
- package/dist/domain/contracts/context/context_types/tracing-context.types.js +0 -2
- package/dist/domain/contracts/context/context_types/tracing-context.types.js.map +0 -1
- package/dist/domain/contracts/context/index.d.ts +0 -3
- package/dist/domain/contracts/context/index.d.ts.map +0 -1
- package/dist/domain/contracts/context/index.js +0 -2
- package/dist/domain/contracts/context/index.js.map +0 -1
- package/dist/domain/contracts/context/irequest-context.contracts.d.ts +0 -68
- package/dist/domain/contracts/context/irequest-context.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/context/irequest-context.contracts.js +0 -2
- package/dist/domain/contracts/context/irequest-context.contracts.js.map +0 -1
- package/dist/domain/contracts/controllers/icontroller.contracts.d.ts +0 -25
- package/dist/domain/contracts/controllers/icontroller.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/controllers/icontroller.contracts.js +0 -2
- package/dist/domain/contracts/controllers/icontroller.contracts.js.map +0 -1
- package/dist/domain/contracts/controllers/index.d.ts +0 -2
- package/dist/domain/contracts/controllers/index.d.ts.map +0 -1
- package/dist/domain/contracts/controllers/index.js +0 -2
- package/dist/domain/contracts/controllers/index.js.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.d.ts +0 -30
- package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.js +0 -2
- package/dist/domain/contracts/cqrs/cqrs_types/icommand.types.js.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/index.d.ts +0 -4
- package/dist/domain/contracts/cqrs/cqrs_types/index.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/index.js +0 -2
- package/dist/domain/contracts/cqrs/cqrs_types/index.js.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.d.ts +0 -32
- package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.js +0 -2
- package/dist/domain/contracts/cqrs/cqrs_types/iquery.types.js.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.d.ts +0 -30
- package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.js +0 -2
- package/dist/domain/contracts/cqrs/cqrs_types/irequest.types.js.map +0 -1
- package/dist/domain/contracts/cqrs/ihandler.contracts.d.ts +0 -30
- package/dist/domain/contracts/cqrs/ihandler.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/ihandler.contracts.js +0 -2
- package/dist/domain/contracts/cqrs/ihandler.contracts.js.map +0 -1
- package/dist/domain/contracts/cqrs/imediator.contracts.d.ts +0 -41
- package/dist/domain/contracts/cqrs/imediator.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/imediator.contracts.js +0 -2
- package/dist/domain/contracts/cqrs/imediator.contracts.js.map +0 -1
- package/dist/domain/contracts/cqrs/index.d.ts +0 -5
- package/dist/domain/contracts/cqrs/index.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/index.js +0 -2
- package/dist/domain/contracts/cqrs/index.js.map +0 -1
- package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.d.ts +0 -42
- package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.js +0 -2
- package/dist/domain/contracts/cqrs/ipipeline-behavior.contracts.js.map +0 -1
- package/dist/domain/contracts/datasources/index.d.ts +0 -4
- package/dist/domain/contracts/datasources/index.d.ts.map +0 -1
- package/dist/domain/contracts/datasources/index.js +0 -2
- package/dist/domain/contracts/datasources/index.js.map +0 -1
- package/dist/domain/contracts/datasources/iread-datasource.contracts.d.ts +0 -41
- package/dist/domain/contracts/datasources/iread-datasource.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/datasources/iread-datasource.contracts.js +0 -2
- package/dist/domain/contracts/datasources/iread-datasource.contracts.js.map +0 -1
- package/dist/domain/contracts/datasources/iremote-datasource.contracts.d.ts +0 -73
- package/dist/domain/contracts/datasources/iremote-datasource.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/datasources/iremote-datasource.contracts.js +0 -2
- package/dist/domain/contracts/datasources/iremote-datasource.contracts.js.map +0 -1
- package/dist/domain/contracts/datasources/iwrite-datasource.contracts.d.ts +0 -82
- package/dist/domain/contracts/datasources/iwrite-datasource.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/datasources/iwrite-datasource.contracts.js +0 -2
- package/dist/domain/contracts/datasources/iwrite-datasource.contracts.js.map +0 -1
- package/dist/domain/contracts/disposables/idisposable.contracts.d.ts +0 -23
- package/dist/domain/contracts/disposables/idisposable.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/disposables/idisposable.contracts.js +0 -6
- package/dist/domain/contracts/disposables/idisposable.contracts.js.map +0 -1
- package/dist/domain/contracts/disposables/index.d.ts +0 -2
- package/dist/domain/contracts/disposables/index.d.ts.map +0 -1
- package/dist/domain/contracts/disposables/index.js +0 -2
- package/dist/domain/contracts/disposables/index.js.map +0 -1
- package/dist/domain/contracts/factories/ifactory.contracts.d.ts +0 -29
- package/dist/domain/contracts/factories/ifactory.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/factories/ifactory.contracts.js +0 -2
- package/dist/domain/contracts/factories/ifactory.contracts.js.map +0 -1
- package/dist/domain/contracts/factories/index.d.ts +0 -2
- package/dist/domain/contracts/factories/index.d.ts.map +0 -1
- package/dist/domain/contracts/factories/index.js +0 -2
- package/dist/domain/contracts/factories/index.js.map +0 -1
- package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.d.ts +0 -27
- package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.js +0 -2
- package/dist/domain/contracts/gate_keepers/igate-keeper.contracts.js.map +0 -1
- package/dist/domain/contracts/gate_keepers/index.d.ts +0 -2
- package/dist/domain/contracts/gate_keepers/index.d.ts.map +0 -1
- package/dist/domain/contracts/gate_keepers/index.js +0 -2
- package/dist/domain/contracts/gate_keepers/index.js.map +0 -1
- package/dist/domain/contracts/http/iallow-origin.contracts.d.ts +0 -1
- package/dist/domain/contracts/http/iallow-origin.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/http/iallow-origin.contracts.js +0 -2
- package/dist/domain/contracts/http/iallow-origin.contracts.js.map +0 -1
- package/dist/domain/contracts/http/ihttp-client.contracts.d.ts +0 -81
- package/dist/domain/contracts/http/ihttp-client.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/http/ihttp-client.contracts.js +0 -2
- package/dist/domain/contracts/http/ihttp-client.contracts.js.map +0 -1
- package/dist/domain/contracts/http/index.d.ts +0 -2
- package/dist/domain/contracts/http/index.d.ts.map +0 -1
- package/dist/domain/contracts/http/index.js +0 -2
- package/dist/domain/contracts/http/index.js.map +0 -1
- package/dist/domain/contracts/idempotency/idempotency-store.contracts.d.ts +0 -71
- package/dist/domain/contracts/idempotency/idempotency-store.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/idempotency/idempotency-store.contracts.js +0 -2
- package/dist/domain/contracts/idempotency/idempotency-store.contracts.js.map +0 -1
- package/dist/domain/contracts/idempotency/index.d.ts +0 -2
- package/dist/domain/contracts/idempotency/index.d.ts.map +0 -1
- package/dist/domain/contracts/idempotency/index.js +0 -2
- package/dist/domain/contracts/idempotency/index.js.map +0 -1
- package/dist/domain/contracts/index.d.ts +0 -22
- package/dist/domain/contracts/index.d.ts.map +0 -1
- package/dist/domain/contracts/index.js +0 -2
- package/dist/domain/contracts/index.js.map +0 -1
- package/dist/domain/contracts/loggers/ilogger-client.contracts.d.ts +0 -27
- package/dist/domain/contracts/loggers/ilogger-client.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/loggers/ilogger-client.contracts.js +0 -2
- package/dist/domain/contracts/loggers/ilogger-client.contracts.js.map +0 -1
- package/dist/domain/contracts/loggers/ilogger.contracts.d.ts +0 -62
- package/dist/domain/contracts/loggers/ilogger.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/loggers/ilogger.contracts.js +0 -2
- package/dist/domain/contracts/loggers/ilogger.contracts.js.map +0 -1
- package/dist/domain/contracts/loggers/index.d.ts +0 -3
- package/dist/domain/contracts/loggers/index.d.ts.map +0 -1
- package/dist/domain/contracts/loggers/index.js +0 -2
- package/dist/domain/contracts/loggers/index.js.map +0 -1
- package/dist/domain/contracts/mappers/ibase-mapper.contracts.d.ts +0 -33
- package/dist/domain/contracts/mappers/ibase-mapper.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/mappers/ibase-mapper.contracts.js +0 -2
- package/dist/domain/contracts/mappers/ibase-mapper.contracts.js.map +0 -1
- package/dist/domain/contracts/mappers/imapper.contracts.d.ts +0 -53
- package/dist/domain/contracts/mappers/imapper.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/mappers/imapper.contracts.js +0 -2
- package/dist/domain/contracts/mappers/imapper.contracts.js.map +0 -1
- package/dist/domain/contracts/mappers/index.d.ts +0 -3
- package/dist/domain/contracts/mappers/index.d.ts.map +0 -1
- package/dist/domain/contracts/mappers/index.js +0 -2
- package/dist/domain/contracts/mappers/index.js.map +0 -1
- package/dist/domain/contracts/middlewares/imiddleware.contracts.d.ts +0 -34
- package/dist/domain/contracts/middlewares/imiddleware.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/middlewares/imiddleware.contracts.js +0 -2
- package/dist/domain/contracts/middlewares/imiddleware.contracts.js.map +0 -1
- package/dist/domain/contracts/middlewares/index.d.ts +0 -2
- package/dist/domain/contracts/middlewares/index.d.ts.map +0 -1
- package/dist/domain/contracts/middlewares/index.js +0 -2
- package/dist/domain/contracts/middlewares/index.js.map +0 -1
- package/dist/domain/contracts/policies/index.d.ts +0 -2
- package/dist/domain/contracts/policies/index.d.ts.map +0 -1
- package/dist/domain/contracts/policies/index.js +0 -2
- package/dist/domain/contracts/policies/index.js.map +0 -1
- package/dist/domain/contracts/policies/ipolicy-registry.contracts.d.ts +0 -38
- package/dist/domain/contracts/policies/ipolicy-registry.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/policies/ipolicy-registry.contracts.js +0 -2
- package/dist/domain/contracts/policies/ipolicy-registry.contracts.js.map +0 -1
- package/dist/domain/contracts/repositories/index.d.ts +0 -3
- package/dist/domain/contracts/repositories/index.d.ts.map +0 -1
- package/dist/domain/contracts/repositories/index.js +0 -2
- package/dist/domain/contracts/repositories/index.js.map +0 -1
- package/dist/domain/contracts/repositories/iread-dao.contracts.d.ts +0 -41
- package/dist/domain/contracts/repositories/iread-dao.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/repositories/iread-dao.contracts.js +0 -2
- package/dist/domain/contracts/repositories/iread-dao.contracts.js.map +0 -1
- package/dist/domain/contracts/repositories/irepository.contracts.d.ts +0 -95
- package/dist/domain/contracts/repositories/irepository.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/repositories/irepository.contracts.js +0 -2
- package/dist/domain/contracts/repositories/irepository.contracts.js.map +0 -1
- package/dist/domain/contracts/services/auth/iauth-service.contracts.d.ts +0 -71
- package/dist/domain/contracts/services/auth/iauth-service.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/services/auth/iauth-service.contracts.js +0 -2
- package/dist/domain/contracts/services/auth/iauth-service.contracts.js.map +0 -1
- package/dist/domain/contracts/services/auth/index.d.ts +0 -2
- package/dist/domain/contracts/services/auth/index.d.ts.map +0 -1
- package/dist/domain/contracts/services/auth/index.js +0 -2
- package/dist/domain/contracts/services/auth/index.js.map +0 -1
- package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.d.ts +0 -25
- package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.js +0 -2
- package/dist/domain/contracts/services/concurrency/concurrency-service.contracts.js.map +0 -1
- package/dist/domain/contracts/services/concurrency/index.d.ts +0 -2
- package/dist/domain/contracts/services/concurrency/index.d.ts.map +0 -1
- package/dist/domain/contracts/services/concurrency/index.js +0 -2
- package/dist/domain/contracts/services/concurrency/index.js.map +0 -1
- package/dist/domain/contracts/services/extractors/iextractor-service.contracts.d.ts +0 -24
- package/dist/domain/contracts/services/extractors/iextractor-service.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/services/extractors/iextractor-service.contracts.js +0 -2
- package/dist/domain/contracts/services/extractors/iextractor-service.contracts.js.map +0 -1
- package/dist/domain/contracts/services/extractors/index.d.ts +0 -2
- package/dist/domain/contracts/services/extractors/index.d.ts.map +0 -1
- package/dist/domain/contracts/services/extractors/index.js +0 -2
- package/dist/domain/contracts/services/extractors/index.js.map +0 -1
- package/dist/domain/contracts/services/index.d.ts +0 -6
- package/dist/domain/contracts/services/index.d.ts.map +0 -1
- package/dist/domain/contracts/services/index.js +0 -2
- package/dist/domain/contracts/services/index.js.map +0 -1
- package/dist/domain/contracts/services/resiliences/index.d.ts +0 -2
- package/dist/domain/contracts/services/resiliences/index.d.ts.map +0 -1
- package/dist/domain/contracts/services/resiliences/index.js +0 -2
- package/dist/domain/contracts/services/resiliences/index.js.map +0 -1
- package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.d.ts +0 -26
- package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.js +0 -2
- package/dist/domain/contracts/services/resiliences/iresilience-service.contracts.js.map +0 -1
- package/dist/domain/contracts/services/validators/index.d.ts +0 -2
- package/dist/domain/contracts/services/validators/index.d.ts.map +0 -1
- package/dist/domain/contracts/services/validators/index.js +0 -2
- package/dist/domain/contracts/services/validators/index.js.map +0 -1
- package/dist/domain/contracts/services/validators/ivalidator-service.contracts.d.ts +0 -38
- package/dist/domain/contracts/services/validators/ivalidator-service.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/services/validators/ivalidator-service.contracts.js +0 -2
- package/dist/domain/contracts/services/validators/ivalidator-service.contracts.js.map +0 -1
- package/dist/domain/contracts/specifications/index.d.ts +0 -2
- package/dist/domain/contracts/specifications/index.d.ts.map +0 -1
- package/dist/domain/contracts/specifications/index.js +0 -2
- package/dist/domain/contracts/specifications/index.js.map +0 -1
- package/dist/domain/contracts/specifications/ispecification.contracts.d.ts +0 -58
- package/dist/domain/contracts/specifications/ispecification.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/specifications/ispecification.contracts.js +0 -2
- package/dist/domain/contracts/specifications/ispecification.contracts.js.map +0 -1
- package/dist/domain/contracts/storage/index.d.ts +0 -2
- package/dist/domain/contracts/storage/index.d.ts.map +0 -1
- package/dist/domain/contracts/storage/index.js +0 -2
- package/dist/domain/contracts/storage/index.js.map +0 -1
- package/dist/domain/contracts/storage/istorage.contracts.d.ts +0 -6
- package/dist/domain/contracts/storage/istorage.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/storage/istorage.contracts.js +0 -2
- package/dist/domain/contracts/storage/istorage.contracts.js.map +0 -1
- package/dist/domain/contracts/strategies/index.d.ts +0 -2
- package/dist/domain/contracts/strategies/index.d.ts.map +0 -1
- package/dist/domain/contracts/strategies/index.js +0 -2
- package/dist/domain/contracts/strategies/index.js.map +0 -1
- package/dist/domain/contracts/strategies/istrategy.contracts.d.ts +0 -25
- package/dist/domain/contracts/strategies/istrategy.contracts.d.ts.map +0 -1
- package/dist/domain/contracts/strategies/istrategy.contracts.js +0 -2
- package/dist/domain/contracts/strategies/istrategy.contracts.js.map +0 -1
- package/dist/domain/contracts/transaction/index.d.ts +0 -3
- package/dist/domain/contracts/transaction/index.d.ts.map +0 -1
- package/dist/domain/contracts/transaction/index.js +0 -2
- package/dist/domain/contracts/transaction/index.js.map +0 -1
- package/dist/domain/contracts/transaction/itransaction-state.types.d.ts +0 -44
- package/dist/domain/contracts/transaction/itransaction-state.types.d.ts.map +0 -1
- package/dist/domain/contracts/transaction/itransaction-state.types.js +0 -2
- package/dist/domain/contracts/transaction/itransaction-state.types.js.map +0 -1
- package/dist/domain/contracts/transaction/iunit-of-work.types.d.ts +0 -25
- package/dist/domain/contracts/transaction/iunit-of-work.types.d.ts.map +0 -1
- package/dist/domain/contracts/transaction/iunit-of-work.types.js +0 -2
- package/dist/domain/contracts/transaction/iunit-of-work.types.js.map +0 -1
- package/dist/domain/entities/__tests__/entity.test.d.ts +0 -2
- package/dist/domain/entities/__tests__/entity.test.d.ts.map +0 -1
- package/dist/domain/entities/__tests__/entity.test.js +0 -53
- package/dist/domain/entities/__tests__/entity.test.js.map +0 -1
- package/dist/domain/entities/entity.d.ts +0 -43
- package/dist/domain/entities/entity.d.ts.map +0 -1
- package/dist/domain/entities/entity.js +0 -55
- package/dist/domain/entities/entity.js.map +0 -1
- package/dist/domain/entities/ientity.contracts.d.ts +0 -43
- package/dist/domain/entities/ientity.contracts.d.ts.map +0 -1
- package/dist/domain/entities/ientity.contracts.js +0 -2
- package/dist/domain/entities/ientity.contracts.js.map +0 -1
- package/dist/domain/entities/index.d.ts +0 -3
- package/dist/domain/entities/index.d.ts.map +0 -1
- package/dist/domain/entities/index.js +0 -2
- package/dist/domain/entities/index.js.map +0 -1
- package/dist/domain/errors/__tests__/app-error.test.d.ts +0 -2
- package/dist/domain/errors/__tests__/app-error.test.d.ts.map +0 -1
- package/dist/domain/errors/__tests__/app-error.test.js +0 -94
- package/dist/domain/errors/__tests__/app-error.test.js.map +0 -1
- package/dist/domain/errors/app-error.d.ts +0 -243
- package/dist/domain/errors/app-error.d.ts.map +0 -1
- package/dist/domain/errors/app-error.js +0 -259
- package/dist/domain/errors/app-error.js.map +0 -1
- package/dist/domain/errors/index.d.ts +0 -2
- package/dist/domain/errors/index.d.ts.map +0 -1
- package/dist/domain/errors/index.js +0 -2
- package/dist/domain/errors/index.js.map +0 -1
- package/dist/domain/index.d.ts +0 -8
- package/dist/domain/index.d.ts.map +0 -1
- package/dist/domain/index.js +0 -6
- package/dist/domain/index.js.map +0 -1
- package/dist/domain/results/__tests__/result.test.d.ts +0 -2
- package/dist/domain/results/__tests__/result.test.d.ts.map +0 -1
- package/dist/domain/results/__tests__/result.test.js +0 -109
- package/dist/domain/results/__tests__/result.test.js.map +0 -1
- package/dist/domain/results/index.d.ts +0 -3
- package/dist/domain/results/index.d.ts.map +0 -1
- package/dist/domain/results/index.js +0 -2
- package/dist/domain/results/index.js.map +0 -1
- package/dist/domain/results/result.d.ts +0 -125
- package/dist/domain/results/result.d.ts.map +0 -1
- package/dist/domain/results/result.js +0 -144
- package/dist/domain/results/result.js.map +0 -1
- package/dist/domain/results/result.types.d.ts +0 -15
- package/dist/domain/results/result.types.d.ts.map +0 -1
- package/dist/domain/results/result.types.js +0 -2
- package/dist/domain/results/result.types.js.map +0 -1
- package/dist/domain/unique_id/__tests__/unique-id.test.d.ts +0 -2
- package/dist/domain/unique_id/__tests__/unique-id.test.d.ts.map +0 -1
- package/dist/domain/unique_id/__tests__/unique-id.test.js +0 -29
- package/dist/domain/unique_id/__tests__/unique-id.test.js.map +0 -1
- package/dist/domain/unique_id/index.d.ts +0 -2
- package/dist/domain/unique_id/index.d.ts.map +0 -1
- package/dist/domain/unique_id/index.js +0 -2
- package/dist/domain/unique_id/index.js.map +0 -1
- package/dist/domain/unique_id/unique-id.d.ts +0 -72
- package/dist/domain/unique_id/unique-id.d.ts.map +0 -1
- package/dist/domain/unique_id/unique-id.js +0 -87
- package/dist/domain/unique_id/unique-id.js.map +0 -1
- package/dist/domain/value_objects/__tests__/value-object.test.d.ts +0 -2
- package/dist/domain/value_objects/__tests__/value-object.test.d.ts.map +0 -1
- package/dist/domain/value_objects/__tests__/value-object.test.js +0 -43
- package/dist/domain/value_objects/__tests__/value-object.test.js.map +0 -1
- package/dist/domain/value_objects/index.d.ts +0 -3
- package/dist/domain/value_objects/index.d.ts.map +0 -1
- package/dist/domain/value_objects/index.js +0 -2
- package/dist/domain/value_objects/index.js.map +0 -1
- package/dist/domain/value_objects/ivalue-object.contracts.d.ts +0 -46
- package/dist/domain/value_objects/ivalue-object.contracts.d.ts.map +0 -1
- package/dist/domain/value_objects/ivalue-object.contracts.js +0 -2
- package/dist/domain/value_objects/ivalue-object.contracts.js.map +0 -1
- package/dist/domain/value_objects/value-object.d.ts +0 -26
- package/dist/domain/value_objects/value-object.d.ts.map +0 -1
- package/dist/domain/value_objects/value-object.js +0 -37
- package/dist/domain/value_objects/value-object.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.d.ts +0 -2
- package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.d.ts.map +0 -1
- package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.js +0 -128
- package/dist/infrastructure/auth/__tests__/supabase-auth.service.test.js.map +0 -1
- package/dist/infrastructure/auth/index.d.ts +0 -3
- package/dist/infrastructure/auth/index.d.ts.map +0 -1
- package/dist/infrastructure/auth/index.js +0 -3
- package/dist/infrastructure/auth/index.js.map +0 -1
- package/dist/infrastructure/auth/storage/cookie.storage.d.ts +0 -4
- package/dist/infrastructure/auth/storage/cookie.storage.d.ts.map +0 -1
- package/dist/infrastructure/auth/storage/cookie.storage.js +0 -31
- package/dist/infrastructure/auth/storage/cookie.storage.js.map +0 -1
- package/dist/infrastructure/auth/storage/index.d.ts +0 -4
- package/dist/infrastructure/auth/storage/index.d.ts.map +0 -1
- package/dist/infrastructure/auth/storage/index.js +0 -4
- package/dist/infrastructure/auth/storage/index.js.map +0 -1
- package/dist/infrastructure/auth/storage/memory.storage.d.ts +0 -3
- package/dist/infrastructure/auth/storage/memory.storage.d.ts.map +0 -1
- package/dist/infrastructure/auth/storage/memory.storage.js +0 -14
- package/dist/infrastructure/auth/storage/memory.storage.js.map +0 -1
- package/dist/infrastructure/auth/storage/storage.utils.d.ts +0 -10
- package/dist/infrastructure/auth/storage/storage.utils.d.ts.map +0 -1
- package/dist/infrastructure/auth/storage/storage.utils.js +0 -22
- package/dist/infrastructure/auth/storage/storage.utils.js.map +0 -1
- package/dist/infrastructure/auth/supabase-auth.service.d.ts +0 -31
- package/dist/infrastructure/auth/supabase-auth.service.d.ts.map +0 -1
- package/dist/infrastructure/auth/supabase-auth.service.js +0 -90
- package/dist/infrastructure/auth/supabase-auth.service.js.map +0 -1
- package/dist/infrastructure/cache/__tests__/in-memory.cache.test.d.ts +0 -2
- package/dist/infrastructure/cache/__tests__/in-memory.cache.test.d.ts.map +0 -1
- package/dist/infrastructure/cache/__tests__/in-memory.cache.test.js +0 -69
- package/dist/infrastructure/cache/__tests__/in-memory.cache.test.js.map +0 -1
- package/dist/infrastructure/cache/in-memory.cache.d.ts +0 -34
- package/dist/infrastructure/cache/in-memory.cache.d.ts.map +0 -1
- package/dist/infrastructure/cache/in-memory.cache.js +0 -66
- package/dist/infrastructure/cache/in-memory.cache.js.map +0 -1
- package/dist/infrastructure/cache/index.d.ts +0 -3
- package/dist/infrastructure/cache/index.d.ts.map +0 -1
- package/dist/infrastructure/cache/index.js +0 -3
- package/dist/infrastructure/cache/index.js.map +0 -1
- package/dist/infrastructure/cache/key-builder.cache.d.ts +0 -25
- package/dist/infrastructure/cache/key-builder.cache.d.ts.map +0 -1
- package/dist/infrastructure/cache/key-builder.cache.js +0 -39
- package/dist/infrastructure/cache/key-builder.cache.js.map +0 -1
- package/dist/infrastructure/datasources/__tests__/remote.datasource.test.d.ts +0 -2
- package/dist/infrastructure/datasources/__tests__/remote.datasource.test.d.ts.map +0 -1
- package/dist/infrastructure/datasources/__tests__/remote.datasource.test.js +0 -176
- package/dist/infrastructure/datasources/__tests__/remote.datasource.test.js.map +0 -1
- package/dist/infrastructure/datasources/index.d.ts +0 -2
- package/dist/infrastructure/datasources/index.d.ts.map +0 -1
- package/dist/infrastructure/datasources/index.js +0 -2
- package/dist/infrastructure/datasources/index.js.map +0 -1
- package/dist/infrastructure/datasources/remote.datasource.d.ts +0 -43
- package/dist/infrastructure/datasources/remote.datasource.d.ts.map +0 -1
- package/dist/infrastructure/datasources/remote.datasource.js +0 -111
- package/dist/infrastructure/datasources/remote.datasource.js.map +0 -1
- package/dist/infrastructure/factories/axios.factory.d.ts +0 -15
- package/dist/infrastructure/factories/axios.factory.d.ts.map +0 -1
- package/dist/infrastructure/factories/axios.factory.js +0 -26
- package/dist/infrastructure/factories/axios.factory.js.map +0 -1
- package/dist/infrastructure/factories/cockatiel-resilience.factory.d.ts +0 -16
- package/dist/infrastructure/factories/cockatiel-resilience.factory.d.ts.map +0 -1
- package/dist/infrastructure/factories/cockatiel-resilience.factory.js +0 -114
- package/dist/infrastructure/factories/cockatiel-resilience.factory.js.map +0 -1
- package/dist/infrastructure/factories/index.d.ts +0 -2
- package/dist/infrastructure/factories/index.d.ts.map +0 -1
- package/dist/infrastructure/factories/index.js +0 -2
- package/dist/infrastructure/factories/index.js.map +0 -1
- package/dist/infrastructure/http/__tests__/axios.http.test.d.ts +0 -2
- package/dist/infrastructure/http/__tests__/axios.http.test.d.ts.map +0 -1
- package/dist/infrastructure/http/__tests__/axios.http.test.js +0 -196
- package/dist/infrastructure/http/__tests__/axios.http.test.js.map +0 -1
- package/dist/infrastructure/http/allow-origin.http.d.ts +0 -8
- package/dist/infrastructure/http/allow-origin.http.d.ts.map +0 -1
- package/dist/infrastructure/http/allow-origin.http.js +0 -13
- package/dist/infrastructure/http/allow-origin.http.js.map +0 -1
- package/dist/infrastructure/http/axios.http.d.ts +0 -17
- package/dist/infrastructure/http/axios.http.d.ts.map +0 -1
- package/dist/infrastructure/http/axios.http.js +0 -89
- package/dist/infrastructure/http/axios.http.js.map +0 -1
- package/dist/infrastructure/http/index.d.ts +0 -2
- package/dist/infrastructure/http/index.d.ts.map +0 -1
- package/dist/infrastructure/http/index.js +0 -2
- package/dist/infrastructure/http/index.js.map +0 -1
- package/dist/infrastructure/index.d.ts +0 -7
- package/dist/infrastructure/index.d.ts.map +0 -1
- package/dist/infrastructure/index.js +0 -7
- package/dist/infrastructure/index.js.map +0 -1
- package/dist/infrastructure/mappers/index.d.ts +0 -3
- package/dist/infrastructure/mappers/index.d.ts.map +0 -1
- package/dist/infrastructure/mappers/index.js +0 -3
- package/dist/infrastructure/mappers/index.js.map +0 -1
- package/dist/infrastructure/mappers/supabase-claims.mapper.d.ts +0 -15
- package/dist/infrastructure/mappers/supabase-claims.mapper.d.ts.map +0 -1
- package/dist/infrastructure/mappers/supabase-claims.mapper.js +0 -30
- package/dist/infrastructure/mappers/supabase-claims.mapper.js.map +0 -1
- package/dist/infrastructure/mappers/supabase-session.mapper.d.ts +0 -8
- package/dist/infrastructure/mappers/supabase-session.mapper.d.ts.map +0 -1
- package/dist/infrastructure/mappers/supabase-session.mapper.js +0 -16
- package/dist/infrastructure/mappers/supabase-session.mapper.js.map +0 -1
- package/dist/infrastructure/resiliences/__tests__/resilience.service.test.d.ts +0 -2
- package/dist/infrastructure/resiliences/__tests__/resilience.service.test.d.ts.map +0 -1
- package/dist/infrastructure/resiliences/__tests__/resilience.service.test.js +0 -47
- package/dist/infrastructure/resiliences/__tests__/resilience.service.test.js.map +0 -1
- package/dist/infrastructure/resiliences/index.d.ts +0 -2
- package/dist/infrastructure/resiliences/index.d.ts.map +0 -1
- package/dist/infrastructure/resiliences/index.js +0 -2
- package/dist/infrastructure/resiliences/index.js.map +0 -1
- package/dist/infrastructure/resiliences/resilience.service.d.ts +0 -18
- package/dist/infrastructure/resiliences/resilience.service.d.ts.map +0 -1
- package/dist/infrastructure/resiliences/resilience.service.js +0 -21
- package/dist/infrastructure/resiliences/resilience.service.js.map +0 -1
- package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.d.ts +0 -2
- package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.d.ts.map +0 -1
- package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.js +0 -68
- package/dist/infrastructure/validators/__tests__/schema-zod.utils.test.js.map +0 -1
- package/dist/infrastructure/validators/__tests__/zod.validator.test.d.ts +0 -2
- package/dist/infrastructure/validators/__tests__/zod.validator.test.d.ts.map +0 -1
- package/dist/infrastructure/validators/__tests__/zod.validator.test.js +0 -72
- package/dist/infrastructure/validators/__tests__/zod.validator.test.js.map +0 -1
- package/dist/infrastructure/validators/base-schema.constant.d.ts +0 -30
- package/dist/infrastructure/validators/base-schema.constant.d.ts.map +0 -1
- package/dist/infrastructure/validators/base-schema.constant.js +0 -41
- package/dist/infrastructure/validators/base-schema.constant.js.map +0 -1
- package/dist/infrastructure/validators/constants/zod.constant.d.ts +0 -24
- package/dist/infrastructure/validators/constants/zod.constant.d.ts.map +0 -1
- package/dist/infrastructure/validators/constants/zod.constant.js +0 -23
- package/dist/infrastructure/validators/constants/zod.constant.js.map +0 -1
- package/dist/infrastructure/validators/index.d.ts +0 -3
- package/dist/infrastructure/validators/index.d.ts.map +0 -1
- package/dist/infrastructure/validators/index.js +0 -3
- package/dist/infrastructure/validators/index.js.map +0 -1
- package/dist/infrastructure/validators/schema-zod.utils.d.ts +0 -27
- package/dist/infrastructure/validators/schema-zod.utils.d.ts.map +0 -1
- package/dist/infrastructure/validators/schema-zod.utils.js +0 -27
- package/dist/infrastructure/validators/schema-zod.utils.js.map +0 -1
- package/dist/infrastructure/validators/zod.validator.d.ts +0 -31
- package/dist/infrastructure/validators/zod.validator.d.ts.map +0 -1
- package/dist/infrastructure/validators/zod.validator.js +0 -53
- package/dist/infrastructure/validators/zod.validator.js.map +0 -1
- package/dist/shared/constants/concurrency.constants.d.ts +0 -42
- package/dist/shared/constants/concurrency.constants.d.ts.map +0 -1
- package/dist/shared/constants/concurrency.constants.js +0 -42
- package/dist/shared/constants/concurrency.constants.js.map +0 -1
- package/dist/shared/constants/error.constants.d.ts +0 -272
- package/dist/shared/constants/error.constants.d.ts.map +0 -1
- package/dist/shared/constants/error.constants.js +0 -278
- package/dist/shared/constants/error.constants.js.map +0 -1
- package/dist/shared/constants/guest.constants.d.ts +0 -52
- package/dist/shared/constants/guest.constants.d.ts.map +0 -1
- package/dist/shared/constants/guest.constants.js +0 -53
- package/dist/shared/constants/guest.constants.js.map +0 -1
- package/dist/shared/constants/idempotency.constants.d.ts +0 -72
- package/dist/shared/constants/idempotency.constants.d.ts.map +0 -1
- package/dist/shared/constants/idempotency.constants.js +0 -72
- package/dist/shared/constants/idempotency.constants.js.map +0 -1
- package/dist/shared/constants/index.d.ts +0 -11
- package/dist/shared/constants/index.d.ts.map +0 -1
- package/dist/shared/constants/index.js +0 -11
- package/dist/shared/constants/index.js.map +0 -1
- package/dist/shared/constants/log-level.constants.d.ts +0 -64
- package/dist/shared/constants/log-level.constants.d.ts.map +0 -1
- package/dist/shared/constants/log-level.constants.js +0 -89
- package/dist/shared/constants/log-level.constants.js.map +0 -1
- package/dist/shared/constants/pagination.constants.d.ts +0 -70
- package/dist/shared/constants/pagination.constants.d.ts.map +0 -1
- package/dist/shared/constants/pagination.constants.js +0 -88
- package/dist/shared/constants/pagination.constants.js.map +0 -1
- package/dist/shared/constants/request.constants.d.ts +0 -34
- package/dist/shared/constants/request.constants.d.ts.map +0 -1
- package/dist/shared/constants/request.constants.js +0 -26
- package/dist/shared/constants/request.constants.js.map +0 -1
- package/dist/shared/constants/resilience.constants.d.ts +0 -89
- package/dist/shared/constants/resilience.constants.d.ts.map +0 -1
- package/dist/shared/constants/resilience.constants.js +0 -89
- package/dist/shared/constants/resilience.constants.js.map +0 -1
- package/dist/shared/constants/roles.constants.d.ts +0 -84
- package/dist/shared/constants/roles.constants.d.ts.map +0 -1
- package/dist/shared/constants/roles.constants.js +0 -68
- package/dist/shared/constants/roles.constants.js.map +0 -1
- package/dist/shared/constants/tokens.constants.d.ts +0 -373
- package/dist/shared/constants/tokens.constants.d.ts.map +0 -1
- package/dist/shared/constants/tokens.constants.js +0 -373
- package/dist/shared/constants/tokens.constants.js.map +0 -1
- package/dist/shared/index.d.ts +0 -4
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js +0 -3
- package/dist/shared/index.js.map +0 -1
- package/dist/shared/types/api-response.types.d.ts +0 -185
- package/dist/shared/types/api-response.types.d.ts.map +0 -1
- package/dist/shared/types/api-response.types.js +0 -2
- package/dist/shared/types/api-response.types.js.map +0 -1
- package/dist/shared/types/auth-policy.types.d.ts +0 -48
- package/dist/shared/types/auth-policy.types.d.ts.map +0 -1
- package/dist/shared/types/auth-policy.types.js +0 -2
- package/dist/shared/types/auth-policy.types.js.map +0 -1
- package/dist/shared/types/auth.types.d.ts +0 -106
- package/dist/shared/types/auth.types.d.ts.map +0 -1
- package/dist/shared/types/auth.types.js +0 -2
- package/dist/shared/types/auth.types.js.map +0 -1
- package/dist/shared/types/cache.types.d.ts +0 -64
- package/dist/shared/types/cache.types.d.ts.map +0 -1
- package/dist/shared/types/cache.types.js +0 -2
- package/dist/shared/types/cache.types.js.map +0 -1
- package/dist/shared/types/common.types.d.ts +0 -213
- package/dist/shared/types/common.types.d.ts.map +0 -1
- package/dist/shared/types/common.types.js +0 -3
- package/dist/shared/types/common.types.js.map +0 -1
- package/dist/shared/types/http.types.d.ts +0 -188
- package/dist/shared/types/http.types.d.ts.map +0 -1
- package/dist/shared/types/http.types.js +0 -2
- package/dist/shared/types/http.types.js.map +0 -1
- package/dist/shared/types/index.d.ts +0 -10
- package/dist/shared/types/index.d.ts.map +0 -1
- package/dist/shared/types/index.js +0 -2
- package/dist/shared/types/index.js.map +0 -1
- package/dist/shared/types/injection-token.types.d.ts +0 -38
- package/dist/shared/types/injection-token.types.d.ts.map +0 -1
- package/dist/shared/types/injection-token.types.js +0 -2
- package/dist/shared/types/injection-token.types.js.map +0 -1
- package/dist/shared/types/metadata.types.d.ts +0 -150
- package/dist/shared/types/metadata.types.d.ts.map +0 -1
- package/dist/shared/types/metadata.types.js +0 -2
- package/dist/shared/types/metadata.types.js.map +0 -1
- package/dist/shared/types/pagination.types.d.ts +0 -88
- package/dist/shared/types/pagination.types.d.ts.map +0 -1
- package/dist/shared/types/pagination.types.js +0 -3
- package/dist/shared/types/pagination.types.js.map +0 -1
- package/dist/shared/utils/__tests__/date.utils.test.d.ts +0 -2
- package/dist/shared/utils/__tests__/date.utils.test.d.ts.map +0 -1
- package/dist/shared/utils/__tests__/date.utils.test.js +0 -97
- package/dist/shared/utils/__tests__/date.utils.test.js.map +0 -1
- package/dist/shared/utils/__tests__/guards.utils.test.d.ts +0 -2
- package/dist/shared/utils/__tests__/guards.utils.test.d.ts.map +0 -1
- package/dist/shared/utils/__tests__/guards.utils.test.js +0 -324
- package/dist/shared/utils/__tests__/guards.utils.test.js.map +0 -1
- package/dist/shared/utils/__tests__/guid.utils.test.d.ts +0 -2
- package/dist/shared/utils/__tests__/guid.utils.test.d.ts.map +0 -1
- package/dist/shared/utils/__tests__/guid.utils.test.js +0 -97
- package/dist/shared/utils/__tests__/guid.utils.test.js.map +0 -1
- package/dist/shared/utils/__tests__/http.utils.test.d.ts +0 -2
- package/dist/shared/utils/__tests__/http.utils.test.d.ts.map +0 -1
- package/dist/shared/utils/__tests__/http.utils.test.js +0 -230
- package/dist/shared/utils/__tests__/http.utils.test.js.map +0 -1
- package/dist/shared/utils/__tests__/math.utils.test.d.ts +0 -2
- package/dist/shared/utils/__tests__/math.utils.test.d.ts.map +0 -1
- package/dist/shared/utils/__tests__/math.utils.test.js +0 -93
- package/dist/shared/utils/__tests__/math.utils.test.js.map +0 -1
- package/dist/shared/utils/__tests__/promise.utils.test.d.ts +0 -2
- package/dist/shared/utils/__tests__/promise.utils.test.d.ts.map +0 -1
- package/dist/shared/utils/__tests__/promise.utils.test.js +0 -101
- package/dist/shared/utils/__tests__/promise.utils.test.js.map +0 -1
- package/dist/shared/utils/__tests__/string.utils.test.d.ts +0 -2
- package/dist/shared/utils/__tests__/string.utils.test.d.ts.map +0 -1
- package/dist/shared/utils/__tests__/string.utils.test.js +0 -153
- package/dist/shared/utils/__tests__/string.utils.test.js.map +0 -1
- package/dist/shared/utils/abort.utils.d.ts +0 -34
- package/dist/shared/utils/abort.utils.d.ts.map +0 -1
- package/dist/shared/utils/abort.utils.js +0 -55
- package/dist/shared/utils/abort.utils.js.map +0 -1
- package/dist/shared/utils/date.utils.d.ts +0 -75
- package/dist/shared/utils/date.utils.d.ts.map +0 -1
- package/dist/shared/utils/date.utils.js +0 -88
- package/dist/shared/utils/date.utils.js.map +0 -1
- package/dist/shared/utils/enumerable.utils.d.ts +0 -43
- package/dist/shared/utils/enumerable.utils.d.ts.map +0 -1
- package/dist/shared/utils/enumerable.utils.js +0 -52
- package/dist/shared/utils/enumerable.utils.js.map +0 -1
- package/dist/shared/utils/guards.utils.d.ts +0 -245
- package/dist/shared/utils/guards.utils.d.ts.map +0 -1
- package/dist/shared/utils/guards.utils.js +0 -308
- package/dist/shared/utils/guards.utils.js.map +0 -1
- package/dist/shared/utils/guid.utils.d.ts +0 -73
- package/dist/shared/utils/guid.utils.d.ts.map +0 -1
- package/dist/shared/utils/guid.utils.js +0 -89
- package/dist/shared/utils/guid.utils.js.map +0 -1
- package/dist/shared/utils/http.utils.d.ts +0 -75
- package/dist/shared/utils/http.utils.d.ts.map +0 -1
- package/dist/shared/utils/http.utils.js +0 -144
- package/dist/shared/utils/http.utils.js.map +0 -1
- package/dist/shared/utils/index.d.ts +0 -11
- package/dist/shared/utils/index.d.ts.map +0 -1
- package/dist/shared/utils/index.js +0 -11
- package/dist/shared/utils/index.js.map +0 -1
- package/dist/shared/utils/math.utils.d.ts +0 -79
- package/dist/shared/utils/math.utils.d.ts.map +0 -1
- package/dist/shared/utils/math.utils.js +0 -97
- package/dist/shared/utils/math.utils.js.map +0 -1
- package/dist/shared/utils/promise.utils.d.ts +0 -40
- package/dist/shared/utils/promise.utils.d.ts.map +0 -1
- package/dist/shared/utils/promise.utils.js +0 -45
- package/dist/shared/utils/promise.utils.js.map +0 -1
- package/dist/shared/utils/sanitize.utils.d.ts +0 -39
- package/dist/shared/utils/sanitize.utils.d.ts.map +0 -1
- package/dist/shared/utils/sanitize.utils.js +0 -67
- package/dist/shared/utils/sanitize.utils.js.map +0 -1
- package/dist/shared/utils/string.utils.d.ts +0 -102
- package/dist/shared/utils/string.utils.d.ts.map +0 -1
- package/dist/shared/utils/string.utils.js +0 -157
- package/dist/shared/utils/string.utils.js.map +0 -1
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description Machine-readable, kebab-case error codes for all cross-cutting failures.
|
|
3
|
-
* Used by AppError and Result to communicate failure semantics across layer boundaries
|
|
4
|
-
* without relying on human-readable strings.
|
|
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 const ERROR_CODES = Object.freeze({
|
|
13
|
-
// ── Generic / System ─────────────────────────────────────────────────────
|
|
14
|
-
/** @description Unclassified or unexpected infrastructure-level failure.
|
|
15
|
-
*
|
|
16
|
-
* @author Xeno
|
|
17
|
-
* @version 1.0.0
|
|
18
|
-
* @since 2025-09-30
|
|
19
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
20
|
-
*/
|
|
21
|
-
SYSTEM_ERROR: 'SYSTEM_ERROR',
|
|
22
|
-
/** @description An operation that has not yet been implemented was invoked.
|
|
23
|
-
*
|
|
24
|
-
* @author Xeno
|
|
25
|
-
* @version 1.0.0
|
|
26
|
-
* @since 2025-09-30
|
|
27
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
28
|
-
*/
|
|
29
|
-
NOT_IMPLEMENTED: 'NOT_IMPLEMENTED',
|
|
30
|
-
/** @description An external API call failed due to network issues or a 5xx response.
|
|
31
|
-
*
|
|
32
|
-
* @author Xeno
|
|
33
|
-
* @version 1.0.0
|
|
34
|
-
* @since 2025-09-30
|
|
35
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
36
|
-
*/
|
|
37
|
-
EXTERNAL_SERVICE_ERROR: 'EXTERNAL_SERVICE_ERROR',
|
|
38
|
-
/** @description One or more input fields failed invariant or schema validation.
|
|
39
|
-
*
|
|
40
|
-
* @author Xeno
|
|
41
|
-
* @version 1.0.0
|
|
42
|
-
* @since 2025-09-30
|
|
43
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
44
|
-
*/
|
|
45
|
-
VALIDATION_FAILED: 'VALIDATION_FAILED',
|
|
46
|
-
/** @description Authentication failed due to invalid credentials or token.
|
|
47
|
-
*
|
|
48
|
-
* @author Xeno
|
|
49
|
-
* @version 1.0.0
|
|
50
|
-
* @since 2025-09-30
|
|
51
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
52
|
-
*/
|
|
53
|
-
AUTHENTICATION_FAILED: 'AUTHENTICATION_FAILED',
|
|
54
|
-
/** @description The caller is not authenticated.
|
|
55
|
-
*
|
|
56
|
-
* @author Xeno
|
|
57
|
-
* @version 1.0.0
|
|
58
|
-
* @since 2025-09-30
|
|
59
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
60
|
-
*/
|
|
61
|
-
UNAUTHORIZED: 'UNAUTHORIZED',
|
|
62
|
-
/** @description The caller is authenticated but lacks the required permissions.
|
|
63
|
-
*
|
|
64
|
-
* @author Xeno
|
|
65
|
-
* @version 1.0.0
|
|
66
|
-
* @since 2025-09-30
|
|
67
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
68
|
-
*/
|
|
69
|
-
FORBIDDEN: 'FORBIDDEN',
|
|
70
|
-
/** @description The request was well-formed but semantically invalid.
|
|
71
|
-
*
|
|
72
|
-
* @author Xeno
|
|
73
|
-
* @version 1.0.0
|
|
74
|
-
* @since 2025-09-30
|
|
75
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
76
|
-
*/
|
|
77
|
-
BAD_REQUEST: 'BAD_REQUEST',
|
|
78
|
-
/** @description The request was aborted before it could be processed.
|
|
79
|
-
*
|
|
80
|
-
* @author Xeno
|
|
81
|
-
* @version 1.0.0
|
|
82
|
-
* @since 2025-09-30
|
|
83
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
84
|
-
*/
|
|
85
|
-
ABORTED: 'ABORTED',
|
|
86
|
-
/** @description Required service scope is not available in the request context.
|
|
87
|
-
*
|
|
88
|
-
* @author Xeno
|
|
89
|
-
* @version 1.0.0
|
|
90
|
-
* @since 2025-09-30
|
|
91
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
92
|
-
*/
|
|
93
|
-
SCOPE_NOT_AVAILABLE: 'SCOPE_NOT_AVAILABLE',
|
|
94
|
-
/** @description The request conflicts with the current state of the resource.
|
|
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
|
-
CONFLICT: 'CONFLICT',
|
|
102
|
-
/** @description The requested resource does not exist.
|
|
103
|
-
*
|
|
104
|
-
* @author Xeno
|
|
105
|
-
* @version 1.0.0
|
|
106
|
-
* @since 2025-09-30
|
|
107
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
108
|
-
*/
|
|
109
|
-
NOT_FOUND: 'NOT_FOUND',
|
|
110
|
-
/** @description No handler was found for the given request type.
|
|
111
|
-
*
|
|
112
|
-
* @author Xeno
|
|
113
|
-
* @version 1.0.0
|
|
114
|
-
* @since 2025-09-30
|
|
115
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
116
|
-
*/
|
|
117
|
-
HANDLER_NOT_FOUND: 'HANDLER_NOT_FOUND',
|
|
118
|
-
/** @description No pipeline behavior was found for the given request type.
|
|
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
|
-
PIPELINE_NOT_AVAILABLE: 'PIPELINE_NOT_AVAILABLE',
|
|
126
|
-
NOT_ALLOWED: 'METHOD_NOT_ALLOWED',
|
|
127
|
-
TOO_MANY_REQUESTS: 'TOO_MANY_REQUESTS',
|
|
128
|
-
});
|
|
129
|
-
// ─────────────────────────────────────────────────────────────────────────────
|
|
130
|
-
/**
|
|
131
|
-
* @description Canonical HTTP status codes used across Presentation and Infrastructure layers.
|
|
132
|
-
* Centralising these values prevents magic-number sprawl and ensures
|
|
133
|
-
* consistent semantics between the AppError, Result and ApiResponse contracts.
|
|
134
|
-
|
|
135
|
-
*
|
|
136
|
-
* @author Xeno
|
|
137
|
-
* @version 1.0.0
|
|
138
|
-
* @since 2025-09-30
|
|
139
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
140
|
-
*/
|
|
141
|
-
export const STATUS_CODES = Object.freeze({
|
|
142
|
-
// ── 2xx Success ───────────────────────────────────────────────────────────
|
|
143
|
-
/** @description The request succeeded and a response body is present.
|
|
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
|
-
OK: 200,
|
|
151
|
-
/** @description A new resource has been successfully created.
|
|
152
|
-
*
|
|
153
|
-
* @author Xeno
|
|
154
|
-
* @version 1.0.0
|
|
155
|
-
* @since 2025-09-30
|
|
156
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
157
|
-
*/
|
|
158
|
-
CREATED: 201,
|
|
159
|
-
/** @description The request succeeded but there is no response body (e.g. DELETE).
|
|
160
|
-
*
|
|
161
|
-
* @author Xeno
|
|
162
|
-
* @version 1.0.0
|
|
163
|
-
* @since 2025-09-30
|
|
164
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
165
|
-
*/
|
|
166
|
-
NO_CONTENT: 204,
|
|
167
|
-
// ── 4xx Client Errors ─────────────────────────────────────────────────────
|
|
168
|
-
/** @description The request payload is malformed or contains invalid parameters.
|
|
169
|
-
*
|
|
170
|
-
* @author Xeno
|
|
171
|
-
* @version 1.0.0
|
|
172
|
-
* @since 2025-09-30
|
|
173
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
174
|
-
*/
|
|
175
|
-
BAD_REQUEST: 400,
|
|
176
|
-
/** @description Authentication credentials are missing or invalid.
|
|
177
|
-
*
|
|
178
|
-
* @author Xeno
|
|
179
|
-
* @version 1.0.0
|
|
180
|
-
* @since 2025-09-30
|
|
181
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
182
|
-
*/
|
|
183
|
-
UNAUTHORIZED: 401,
|
|
184
|
-
/** @description The caller lacks permission to perform the requested operation.
|
|
185
|
-
*
|
|
186
|
-
* @author Xeno
|
|
187
|
-
* @version 1.0.0
|
|
188
|
-
* @since 2025-09-30
|
|
189
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
190
|
-
*/
|
|
191
|
-
FORBIDDEN: 403,
|
|
192
|
-
/** @description The requested resource does not exist.
|
|
193
|
-
*
|
|
194
|
-
* @author Xeno
|
|
195
|
-
* @version 1.0.0
|
|
196
|
-
* @since 2025-09-30
|
|
197
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
198
|
-
*/
|
|
199
|
-
NOT_FOUND: 404,
|
|
200
|
-
NOT_ALLOWED: 405,
|
|
201
|
-
/** @description The request conflicts with the current state of the resource.
|
|
202
|
-
*
|
|
203
|
-
* @author Xeno
|
|
204
|
-
* @version 1.0.0
|
|
205
|
-
* @since 2025-09-30
|
|
206
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
207
|
-
*/
|
|
208
|
-
CONFLICT: 409,
|
|
209
|
-
/** @description The payload is syntactically valid but semantically unprocessable.
|
|
210
|
-
*
|
|
211
|
-
* @author Xeno
|
|
212
|
-
* @version 1.0.0
|
|
213
|
-
* @since 2025-09-30
|
|
214
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
215
|
-
*/
|
|
216
|
-
UNPROCESSABLE_ENTITY: 422,
|
|
217
|
-
/** @description The caller has exceeded its allowed rate limit.
|
|
218
|
-
*
|
|
219
|
-
* @author Xeno
|
|
220
|
-
* @version 1.0.0
|
|
221
|
-
* @since 2025-09-30
|
|
222
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
223
|
-
*/
|
|
224
|
-
TOO_MANY_REQUESTS: 429,
|
|
225
|
-
/** @description The client closed the connection before the server finished responding.
|
|
226
|
-
*
|
|
227
|
-
* @author Xeno
|
|
228
|
-
* @version 1.0.0
|
|
229
|
-
* @since 2025-09-30
|
|
230
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
231
|
-
*/
|
|
232
|
-
ABORTED: 499,
|
|
233
|
-
// ── 5xx Server Errors ─────────────────────────────────────────────────────
|
|
234
|
-
/** @description An unexpected condition was encountered by the server.
|
|
235
|
-
*
|
|
236
|
-
* @author Xeno
|
|
237
|
-
* @version 1.0.0
|
|
238
|
-
* @since 2025-09-30
|
|
239
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
240
|
-
*/
|
|
241
|
-
INTERNAL_SERVER_ERROR: 500,
|
|
242
|
-
/** @description A downstream dependency is temporarily unavailable.
|
|
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
|
-
SERVICE_UNAVAILABLE: 503,
|
|
250
|
-
});
|
|
251
|
-
/**
|
|
252
|
-
* @description A mapping of ERROR_CODES to human-readable messages, used for logging and user feedback when an AppError is created with a specific error code. This allows for consistent and centralized management of error messages across the application, ensuring that each error code corresponds to a clear and descriptive message that can be easily maintained and localized if necessary.
|
|
253
|
-
|
|
254
|
-
*
|
|
255
|
-
* @author Xeno
|
|
256
|
-
* @version 1.0.0
|
|
257
|
-
* @since 2025-09-30
|
|
258
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
259
|
-
*/
|
|
260
|
-
export const ERROR_CODE_MESSAGES = Object.freeze({
|
|
261
|
-
[ERROR_CODES.SYSTEM_ERROR]: 'errors.system_error',
|
|
262
|
-
[ERROR_CODES.NOT_IMPLEMENTED]: 'errors.not_implemented',
|
|
263
|
-
[ERROR_CODES.EXTERNAL_SERVICE_ERROR]: 'errors.external_service_error',
|
|
264
|
-
[ERROR_CODES.VALIDATION_FAILED]: 'errors.validation_failed',
|
|
265
|
-
[ERROR_CODES.UNAUTHORIZED]: 'errors.unauthorized',
|
|
266
|
-
[ERROR_CODES.FORBIDDEN]: 'errors.forbidden',
|
|
267
|
-
[ERROR_CODES.BAD_REQUEST]: 'errors.bad_request',
|
|
268
|
-
[ERROR_CODES.ABORTED]: 'errors.aborted',
|
|
269
|
-
[ERROR_CODES.AUTHENTICATION_FAILED]: 'errors.authentication_failed',
|
|
270
|
-
[ERROR_CODES.SCOPE_NOT_AVAILABLE]: 'errors.scope_not_available',
|
|
271
|
-
[ERROR_CODES.CONFLICT]: 'errors.conflict',
|
|
272
|
-
[ERROR_CODES.NOT_FOUND]: 'errors.not_found',
|
|
273
|
-
[ERROR_CODES.HANDLER_NOT_FOUND]: 'errors.handler_not_found',
|
|
274
|
-
[ERROR_CODES.PIPELINE_NOT_AVAILABLE]: 'errors.pipeline_not_available',
|
|
275
|
-
[ERROR_CODES.NOT_ALLOWED]: 'errors.method_not_allowed',
|
|
276
|
-
[ERROR_CODES.TOO_MANY_REQUESTS]: 'errors.too_many_requests',
|
|
277
|
-
});
|
|
278
|
-
//# sourceMappingURL=error.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error.constants.js","sourceRoot":"","sources":["../../../src/shared/constants/error.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;KAUK;AACL,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;IACvC,4EAA4E;IAE5E;;;;;;OAMG;IACH,YAAY,EAAE,cAAc;IAE5B;;;;;;OAMG;IACH,eAAe,EAAE,iBAAiB;IAElC;;;;;;OAMG;IACH,sBAAsB,EAAE,wBAAwB;IAEhD;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IAEtC;;;;;;OAMG;IACH,qBAAqB,EAAE,uBAAuB;IAE9C;;;;;;OAMG;IACH,YAAY,EAAE,cAAc;IAE5B;;;;;;OAMG;IACH,SAAS,EAAE,WAAW;IAEtB;;;;;;OAMG;IACH,WAAW,EAAE,aAAa;IAE1B;;;;;;OAMG;IACH,OAAO,EAAE,SAAS;IAElB;;;;;;OAMG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;;;;;OAMG;IACH,QAAQ,EAAE,UAAU;IACpB;;;;;;OAMG;IACH,SAAS,EAAE,WAAW;IAEtB;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IAEtC;;;;;;OAMG;IACH,sBAAsB,EAAE,wBAAwB;IAEhD,WAAW,EAAE,oBAAoB;IAEjC,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC,CAAA;AAWX,gFAAgF;AAEhF;;;;;;;;;;KAUK;AACL,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;IACxC,6EAA6E;IAE7E;;;;;;OAMG;IACH,EAAE,EAAE,GAAG;IAEP;;;;;;OAMG;IACH,OAAO,EAAE,GAAG;IAEZ;;;;;;OAMG;IACH,UAAU,EAAE,GAAG;IAEf,6EAA6E;IAE7E;;;;;;OAMG;IACH,WAAW,EAAE,GAAG;IAEhB;;;;;;OAMG;IACH,YAAY,EAAE,GAAG;IAEjB;;;;;;OAMG;IACH,SAAS,EAAE,GAAG;IAEd;;;;;;OAMG;IACH,SAAS,EAAE,GAAG;IAEd,WAAW,EAAE,GAAG;IAEhB;;;;;;OAMG;IACH,QAAQ,EAAE,GAAG;IAEb;;;;;;OAMG;IACH,oBAAoB,EAAE,GAAG;IAEzB;;;;;;OAMG;IACH,iBAAiB,EAAE,GAAG;IAEtB;;;;;;OAMG;IACH,OAAO,EAAE,GAAG;IAEZ,6EAA6E;IAE7E;;;;;;OAMG;IACH,qBAAqB,EAAE,GAAG;IAE1B;;;;;;OAMG;IACH,mBAAmB,EAAE,GAAG;CAChB,CAAC,CAAA;AAWX;;;;;;;;KAQK;AACL,MAAM,CAAC,MAAM,mBAAmB,GAA8B,MAAM,CAAC,MAAM,CAAC;IAC1E,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE,qBAAqB;IACjD,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,wBAAwB;IACvD,CAAC,WAAW,CAAC,sBAAsB,CAAC,EAAE,+BAA+B;IACrE,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,0BAA0B;IAC3D,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE,qBAAqB;IACjD,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,kBAAkB;IAC3C,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,oBAAoB;IAC/C,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,gBAAgB;IACvC,CAAC,WAAW,CAAC,qBAAqB,CAAC,EAAE,8BAA8B;IACnE,CAAC,WAAW,CAAC,mBAAmB,CAAC,EAAE,4BAA4B;IAC/D,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,iBAAiB;IACzC,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,kBAAkB;IAC3C,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,0BAA0B;IAC3D,CAAC,WAAW,CAAC,sBAAsB,CAAC,EAAE,+BAA+B;IACrE,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,2BAA2B;IACtD,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,0BAA0B;CACnD,CAAC,CAAA"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description The GUEST constant represents a default guest user identity with no specific user ID or tenant ID, assigned the GUEST role, and no permissions. This constant can be used throughout the application to represent unauthenticated users or users with minimal access rights, ensuring a consistent representation of guest users across the system.
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* @author Xeno
|
|
6
|
-
* @version 1.0.0
|
|
7
|
-
* @since 2025-09-30
|
|
8
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
9
|
-
*/
|
|
10
|
-
export declare const GUEST: Readonly<{
|
|
11
|
-
/** @description The unique identifier for the guest user, which is set to undefined since guest users do not have a specific user ID. This allows the application to differentiate between authenticated users with valid IDs and unauthenticated guest users.
|
|
12
|
-
*
|
|
13
|
-
* @author Xeno
|
|
14
|
-
* @version 1.0.0
|
|
15
|
-
* @since 2025-09-30
|
|
16
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
17
|
-
*/
|
|
18
|
-
readonly userId: undefined;
|
|
19
|
-
/** @description The email for guest user, which is set to undefined since guest users do not have a specific email.
|
|
20
|
-
*
|
|
21
|
-
* @author Xeno
|
|
22
|
-
* @version 1.0.0
|
|
23
|
-
* @since 2025-09-30
|
|
24
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
25
|
-
*/
|
|
26
|
-
readonly email: undefined;
|
|
27
|
-
/** @description The unique identifier for the tenant associated with the guest user, which is set to undefined since guest users do not belong to a specific tenant. This allows the application to handle multi-tenancy scenarios while still accommodating unauthenticated users who do not have an associated tenant.
|
|
28
|
-
*
|
|
29
|
-
* @author Xeno
|
|
30
|
-
* @version 1.0.0
|
|
31
|
-
* @since 2025-09-30
|
|
32
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
33
|
-
*/
|
|
34
|
-
readonly tenantId: undefined;
|
|
35
|
-
/** @description An array of roles assigned to the guest user, which includes only the GUEST role. This indicates that the user has minimal access rights and is typically used to represent unauthenticated users or users with limited permissions in the application.
|
|
36
|
-
*
|
|
37
|
-
* @author Xeno
|
|
38
|
-
* @version 1.0.0
|
|
39
|
-
* @since 2025-09-30
|
|
40
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
41
|
-
*/
|
|
42
|
-
readonly roles: readonly ["guest"];
|
|
43
|
-
/** @description An array of permissions assigned to the guest user, which is empty since guest users do not have any specific permissions. This reinforces the idea that guest users have minimal access rights and cannot perform actions that require specific permissions in the application.
|
|
44
|
-
*
|
|
45
|
-
* @author Xeno
|
|
46
|
-
* @version 1.0.0
|
|
47
|
-
* @since 2025-09-30
|
|
48
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
49
|
-
*/
|
|
50
|
-
readonly permissions: readonly ["read"];
|
|
51
|
-
}>;
|
|
52
|
-
//# sourceMappingURL=guest.constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"guest.constants.d.ts","sourceRoot":"","sources":["../../../src/shared/constants/guest.constants.ts"],"names":[],"mappings":"AAEA;;;;;;;;KAQK;AACL,eAAO,MAAM,KAAK;IAChB;;;;;;OAMG;;IAEH;;;;;;OAMG;;IAEH;;;;;;OAMG;;IAEH;;;;;;OAMG;;IAEH;;;;;;OAMG;;EAEM,CAAA"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { PERMISSIONS, ROLES } from './roles.constants';
|
|
2
|
-
/**
|
|
3
|
-
* @description The GUEST constant represents a default guest user identity with no specific user ID or tenant ID, assigned the GUEST role, and no permissions. This constant can be used throughout the application to represent unauthenticated users or users with minimal access rights, ensuring a consistent representation of guest users across the system.
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
* @author Xeno
|
|
7
|
-
* @version 1.0.0
|
|
8
|
-
* @since 2025-09-30
|
|
9
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
10
|
-
*/
|
|
11
|
-
export const GUEST = Object.freeze({
|
|
12
|
-
/** @description The unique identifier for the guest user, which is set to undefined since guest users do not have a specific user ID. This allows the application to differentiate between authenticated users with valid IDs and unauthenticated guest users.
|
|
13
|
-
*
|
|
14
|
-
* @author Xeno
|
|
15
|
-
* @version 1.0.0
|
|
16
|
-
* @since 2025-09-30
|
|
17
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
18
|
-
*/
|
|
19
|
-
userId: undefined,
|
|
20
|
-
/** @description The email for guest user, which is set to undefined since guest users do not have a specific email.
|
|
21
|
-
*
|
|
22
|
-
* @author Xeno
|
|
23
|
-
* @version 1.0.0
|
|
24
|
-
* @since 2025-09-30
|
|
25
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
26
|
-
*/
|
|
27
|
-
email: undefined,
|
|
28
|
-
/** @description The unique identifier for the tenant associated with the guest user, which is set to undefined since guest users do not belong to a specific tenant. This allows the application to handle multi-tenancy scenarios while still accommodating unauthenticated users who do not have an associated tenant.
|
|
29
|
-
*
|
|
30
|
-
* @author Xeno
|
|
31
|
-
* @version 1.0.0
|
|
32
|
-
* @since 2025-09-30
|
|
33
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
34
|
-
*/
|
|
35
|
-
tenantId: undefined,
|
|
36
|
-
/** @description An array of roles assigned to the guest user, which includes only the GUEST role. This indicates that the user has minimal access rights and is typically used to represent unauthenticated users or users with limited permissions in the application.
|
|
37
|
-
*
|
|
38
|
-
* @author Xeno
|
|
39
|
-
* @version 1.0.0
|
|
40
|
-
* @since 2025-09-30
|
|
41
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
42
|
-
*/
|
|
43
|
-
roles: [ROLES.GUEST],
|
|
44
|
-
/** @description An array of permissions assigned to the guest user, which is empty since guest users do not have any specific permissions. This reinforces the idea that guest users have minimal access rights and cannot perform actions that require specific permissions in the application.
|
|
45
|
-
*
|
|
46
|
-
* @author Xeno
|
|
47
|
-
* @version 1.0.0
|
|
48
|
-
* @since 2025-09-30
|
|
49
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
50
|
-
*/
|
|
51
|
-
permissions: [PERMISSIONS.READ],
|
|
52
|
-
});
|
|
53
|
-
//# sourceMappingURL=guest.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"guest.constants.js","sourceRoot":"","sources":["../../../src/shared/constants/guest.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAEtD;;;;;;;;KAQK;AACL,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;IACjC;;;;;;OAMG;IACH,MAAM,EAAE,SAAS;IACjB;;;;;;OAMG;IACH,KAAK,EAAE,SAAS;IAChB;;;;;;OAMG;IACH,QAAQ,EAAE,SAAS;IACnB;;;;;;OAMG;IACH,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;IACpB;;;;;;OAMG;IACH,WAAW,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC;CACvB,CAAC,CAAA"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description Constants used in the idempotency store implementation, including key prefixes for locks and processed commands, default time-to-live (TTL) values, and standard values for indicating locked and processed states. These constants are defined as a frozen object to ensure immutability and provide a centralized location for managing configuration values related to idempotency handling in the application.
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* @author Xeno
|
|
6
|
-
* @version 1.0.0
|
|
7
|
-
* @since 2025-09-30
|
|
8
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
9
|
-
*/
|
|
10
|
-
export declare const IDEMPOTENCY_CONSTANTS: Readonly<{
|
|
11
|
-
/**
|
|
12
|
-
* @description Prefix for keys used to store locks in the idempotency store. This prefix is used to differentiate lock entries from other types of entries in the cache, allowing for efficient management of locks when acquiring and releasing them during command processing. The lock key prefix helps ensure that lock-related data is organized and easily identifiable within the caching mechanism.
|
|
13
|
-
|
|
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
|
-
readonly LOCK_KEY_PREFIX: "idempotency_lock:";
|
|
21
|
-
/**
|
|
22
|
-
* @description Prefix for keys used to store processed command results in the idempotency store. This prefix is used to differentiate processed command entries from lock entries and other types of data in the cache, allowing for efficient retrieval of stored results when checking if a command has already been processed. The processed key prefix helps maintain a clear structure within the caching mechanism, making it easier to manage and query processed command data.
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
* @author Xeno
|
|
26
|
-
* @version 1.0.0
|
|
27
|
-
* @since 2025-09-30
|
|
28
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
29
|
-
*/
|
|
30
|
-
readonly PROCESSED_KEY_PREFIX: "idempotency_processed:";
|
|
31
|
-
/**
|
|
32
|
-
* @description Default time-to-live (TTL) in seconds for locks and processed command entries in the idempotency store. This value is used when acquiring locks and marking commands as processed to specify how long the lock or stored result should remain valid before it expires. The default TTL helps ensure that locks and processed command entries do not persist indefinitely, allowing for automatic cleanup of stale data and preventing potential issues with long-lived locks or outdated results in the idempotency store.
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
* @author Xeno
|
|
36
|
-
* @version 1.0.0
|
|
37
|
-
* @since 2025-09-30
|
|
38
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
39
|
-
*/
|
|
40
|
-
readonly DEFAULT_TTL_SECONDS: 86400;
|
|
41
|
-
/**
|
|
42
|
-
* @description Default time-to-live (TTL) in seconds for locks in the idempotency store. This value is used when acquiring locks to specify how long the lock should remain valid before it expires. The default lock TTL helps ensure that locks do not persist indefinitely, allowing for automatic cleanup of stale locks and preventing potential issues with long-lived locks in the idempotency mechanism.
|
|
43
|
-
|
|
44
|
-
*
|
|
45
|
-
* @author Xeno
|
|
46
|
-
* @version 1.0.0
|
|
47
|
-
* @since 2025-09-30
|
|
48
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
49
|
-
*/
|
|
50
|
-
readonly DEFAULT_IDEMPOTENCY_LOCK_TTL_SECONDS: 60;
|
|
51
|
-
/**
|
|
52
|
-
* @description Standard value used to indicate that a lock has been acquired for a specific commandId in the idempotency store. This value is stored in the cache when a lock is successfully acquired, allowing other instances of the command to recognize that the command is currently being processed and prevent duplicate processing. The locked value serves as a marker for active locks in the idempotency mechanism, helping to manage concurrent command processing effectively.
|
|
53
|
-
|
|
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
|
-
readonly LOCKED_VALUE: "LOCKED";
|
|
61
|
-
/**
|
|
62
|
-
* @description Standard value used to indicate that a command has been processed and its result has been stored in the idempotency store. This value is stored in the cache when a command is marked as processed, allowing subsequent attempts to process the same commandId to recognize that it has already been handled and return the stored result instead of executing the command again. The processed value serves as a marker for completed commands in the idempotency mechanism, helping to manage command processing outcomes and prevent redundant executions.
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
* @author Xeno
|
|
66
|
-
* @version 1.0.0
|
|
67
|
-
* @since 2025-09-30
|
|
68
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
69
|
-
*/
|
|
70
|
-
readonly PROCESSED_VALUE: "PROCESSED";
|
|
71
|
-
}>;
|
|
72
|
-
//# sourceMappingURL=idempotency.constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"idempotency.constants.d.ts","sourceRoot":"","sources":["../../../src/shared/constants/idempotency.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;KAQK;AACL,eAAO,MAAM,qBAAqB;IAChC;;;;;;;;OAQG;;IAGH;;;;;;;;OAQG;;IAGH;;;;;;;;OAQG;;IAGH;;;;;;;;OAQG;;IAGH;;;;;;;;OAQG;;IAGH;;;;;;;;OAQG;;EAEM,CAAA"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description Constants used in the idempotency store implementation, including key prefixes for locks and processed commands, default time-to-live (TTL) values, and standard values for indicating locked and processed states. These constants are defined as a frozen object to ensure immutability and provide a centralized location for managing configuration values related to idempotency handling in the application.
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* @author Xeno
|
|
6
|
-
* @version 1.0.0
|
|
7
|
-
* @since 2025-09-30
|
|
8
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
9
|
-
*/
|
|
10
|
-
export const IDEMPOTENCY_CONSTANTS = Object.freeze({
|
|
11
|
-
/**
|
|
12
|
-
* @description Prefix for keys used to store locks in the idempotency store. This prefix is used to differentiate lock entries from other types of entries in the cache, allowing for efficient management of locks when acquiring and releasing them during command processing. The lock key prefix helps ensure that lock-related data is organized and easily identifiable within the caching mechanism.
|
|
13
|
-
|
|
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
|
-
LOCK_KEY_PREFIX: 'idempotency_lock:',
|
|
21
|
-
/**
|
|
22
|
-
* @description Prefix for keys used to store processed command results in the idempotency store. This prefix is used to differentiate processed command entries from lock entries and other types of data in the cache, allowing for efficient retrieval of stored results when checking if a command has already been processed. The processed key prefix helps maintain a clear structure within the caching mechanism, making it easier to manage and query processed command data.
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
* @author Xeno
|
|
26
|
-
* @version 1.0.0
|
|
27
|
-
* @since 2025-09-30
|
|
28
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
29
|
-
*/
|
|
30
|
-
PROCESSED_KEY_PREFIX: 'idempotency_processed:',
|
|
31
|
-
/**
|
|
32
|
-
* @description Default time-to-live (TTL) in seconds for locks and processed command entries in the idempotency store. This value is used when acquiring locks and marking commands as processed to specify how long the lock or stored result should remain valid before it expires. The default TTL helps ensure that locks and processed command entries do not persist indefinitely, allowing for automatic cleanup of stale data and preventing potential issues with long-lived locks or outdated results in the idempotency store.
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
* @author Xeno
|
|
36
|
-
* @version 1.0.0
|
|
37
|
-
* @since 2025-09-30
|
|
38
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
39
|
-
*/
|
|
40
|
-
DEFAULT_TTL_SECONDS: 86400,
|
|
41
|
-
/**
|
|
42
|
-
* @description Default time-to-live (TTL) in seconds for locks in the idempotency store. This value is used when acquiring locks to specify how long the lock should remain valid before it expires. The default lock TTL helps ensure that locks do not persist indefinitely, allowing for automatic cleanup of stale locks and preventing potential issues with long-lived locks in the idempotency mechanism.
|
|
43
|
-
|
|
44
|
-
*
|
|
45
|
-
* @author Xeno
|
|
46
|
-
* @version 1.0.0
|
|
47
|
-
* @since 2025-09-30
|
|
48
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
49
|
-
*/
|
|
50
|
-
DEFAULT_IDEMPOTENCY_LOCK_TTL_SECONDS: 60,
|
|
51
|
-
/**
|
|
52
|
-
* @description Standard value used to indicate that a lock has been acquired for a specific commandId in the idempotency store. This value is stored in the cache when a lock is successfully acquired, allowing other instances of the command to recognize that the command is currently being processed and prevent duplicate processing. The locked value serves as a marker for active locks in the idempotency mechanism, helping to manage concurrent command processing effectively.
|
|
53
|
-
|
|
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
|
-
LOCKED_VALUE: 'LOCKED',
|
|
61
|
-
/**
|
|
62
|
-
* @description Standard value used to indicate that a command has been processed and its result has been stored in the idempotency store. This value is stored in the cache when a command is marked as processed, allowing subsequent attempts to process the same commandId to recognize that it has already been handled and return the stored result instead of executing the command again. The processed value serves as a marker for completed commands in the idempotency mechanism, helping to manage command processing outcomes and prevent redundant executions.
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
* @author Xeno
|
|
66
|
-
* @version 1.0.0
|
|
67
|
-
* @since 2025-09-30
|
|
68
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
69
|
-
*/
|
|
70
|
-
PROCESSED_VALUE: 'PROCESSED',
|
|
71
|
-
});
|
|
72
|
-
//# sourceMappingURL=idempotency.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"idempotency.constants.js","sourceRoot":"","sources":["../../../src/shared/constants/idempotency.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;KAQK;AACL,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC;IACjD;;;;;;;;OAQG;IACH,eAAe,EAAE,mBAAmB;IAEpC;;;;;;;;OAQG;IACH,oBAAoB,EAAE,wBAAwB;IAE9C;;;;;;;;OAQG;IACH,mBAAmB,EAAE,KAAK;IAE1B;;;;;;;;OAQG;IACH,oCAAoC,EAAE,EAAE;IAExC;;;;;;;;OAQG;IACH,YAAY,EAAE,QAAQ;IAEtB;;;;;;;;OAQG;IACH,eAAe,EAAE,WAAW;CACpB,CAAC,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './concurrency.constants';
|
|
2
|
-
export * from './error.constants';
|
|
3
|
-
export * from './guest.constants';
|
|
4
|
-
export * from './idempotency.constants';
|
|
5
|
-
export * from './log-level.constants';
|
|
6
|
-
export * from './pagination.constants';
|
|
7
|
-
export * from './request.constants';
|
|
8
|
-
export * from './resilience.constants';
|
|
9
|
-
export * from './roles.constants';
|
|
10
|
-
export * from './tokens.constants';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './concurrency.constants';
|
|
2
|
-
export * from './error.constants';
|
|
3
|
-
export * from './guest.constants';
|
|
4
|
-
export * from './idempotency.constants';
|
|
5
|
-
export * from './log-level.constants';
|
|
6
|
-
export * from './pagination.constants';
|
|
7
|
-
export * from './request.constants';
|
|
8
|
-
export * from './resilience.constants';
|
|
9
|
-
export * from './roles.constants';
|
|
10
|
-
export * from './tokens.constants';
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Log levels for the logger.
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* @author Xeno
|
|
6
|
-
* @version 1.0.0
|
|
7
|
-
* @since 2025-09-30
|
|
8
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
9
|
-
*/
|
|
10
|
-
export declare const LOG_LEVEL: Readonly<{
|
|
11
|
-
/** * Debug level for detailed debugging information. This level is typically used during development and should be turned off in production to avoid verbose logging.
|
|
12
|
-
|
|
13
|
-
*
|
|
14
|
-
* @author Xeno
|
|
15
|
-
* @version 1.0.0
|
|
16
|
-
* @since 2025-09-30
|
|
17
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
18
|
-
*/
|
|
19
|
-
readonly DEBUG: 0;
|
|
20
|
-
/** * Info level for general informational messages that highlight the progress of the application at a coarse-grained level. This level is suitable for production environments to track the normal operation of the application.
|
|
21
|
-
|
|
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
|
-
readonly INFO: 1;
|
|
29
|
-
/** * Warn level for potentially harmful situations that are not necessarily errors but may require attention. This level is useful for identifying issues that could lead to errors if not addressed.
|
|
30
|
-
|
|
31
|
-
*
|
|
32
|
-
* @author Xeno
|
|
33
|
-
* @version 1.0.0
|
|
34
|
-
* @since 2025-09-30
|
|
35
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
36
|
-
*/
|
|
37
|
-
readonly WARN: 2;
|
|
38
|
-
/** * Error level for serious issues that have caused or are likely to cause the application to fail. This level is critical for identifying and addressing problems that need immediate attention.
|
|
39
|
-
|
|
40
|
-
*
|
|
41
|
-
* @author Xeno
|
|
42
|
-
* @version 1.0.0
|
|
43
|
-
* @since 2025-09-30
|
|
44
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
45
|
-
*/
|
|
46
|
-
readonly ERROR: 3;
|
|
47
|
-
}>;
|
|
48
|
-
/** @description Inferred union of valid log level values.
|
|
49
|
-
*
|
|
50
|
-
* @author Xeno
|
|
51
|
-
* @version 1.0.0
|
|
52
|
-
* @since 2025-09-30
|
|
53
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
54
|
-
*/
|
|
55
|
-
export type LogLevel = (typeof LOG_LEVEL)[keyof typeof LOG_LEVEL];
|
|
56
|
-
/** @description Mapping of log level values to their corresponding string representations for easier readability in log outputs.
|
|
57
|
-
*
|
|
58
|
-
* @author Xeno
|
|
59
|
-
* @version 1.0.0
|
|
60
|
-
* @since 2025-09-30
|
|
61
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
62
|
-
*/
|
|
63
|
-
export declare const LOG_LEVEL_NAMES: Record<LogLevel, string>;
|
|
64
|
-
//# sourceMappingURL=log-level.constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-level.constants.d.ts","sourceRoot":"","sources":["../../../src/shared/constants/log-level.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;KAQK;AACL,eAAO,MAAM,SAAS;IACpB;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;EAEM,CAAA;AAEX;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAiCpD,CAAA"}
|