@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.
- 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 +5 -4
- 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,373 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description This file defines the tokens used for dependency injection in the application.
|
|
3
|
-
* Tokens are unique identifiers that are used to register and resolve dependencies in the container.
|
|
4
|
-
* They can be symbols, strings, or classes, but using symbols is a common practice to avoid naming collisions.
|
|
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 TOKENS = Object.freeze({
|
|
13
|
-
ALLOW_ORIGIN: 'ALLOW_ORIGIN',
|
|
14
|
-
ALLOW_METHOD: 'ALLOW_METHOD',
|
|
15
|
-
/** @description Token used to register and resolve the AuthorizationPipeline instance in the dependency injection container.
|
|
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
|
-
AUTHORIZATION_PIPELINE: 'AUTHORIZATION_PIPELINE',
|
|
23
|
-
/** @description Token used to register and resolve the AuthService instance in the dependency injection container.
|
|
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
|
-
AUTH_SERVICE: 'AUTH_SERVICE',
|
|
31
|
-
BASE_AUTH_SERVICE: 'BASE_AUTH_SERVICE',
|
|
32
|
-
/** @description Token used to register and resolve the BearerTokenExtractor instance in the dependency injection container.
|
|
33
|
-
*
|
|
34
|
-
* @author Xeno
|
|
35
|
-
* @version 1.0.0
|
|
36
|
-
* @since 2025-09-30
|
|
37
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
38
|
-
*/
|
|
39
|
-
BEARER_TOKEN_EXTRACTOR: 'BEARER_TOKEN_EXTRACTOR',
|
|
40
|
-
/** @description Token used to register and resolve the InMemoryCache instance in the dependency injection container.
|
|
41
|
-
*
|
|
42
|
-
* @author Xeno
|
|
43
|
-
* @version 1.0.0
|
|
44
|
-
* @since 2025-09-30
|
|
45
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
46
|
-
*/
|
|
47
|
-
CACHE: 'CACHE',
|
|
48
|
-
/** @description Token used to register and resolve the CacheKeyBuilder instance in the dependency injection container.
|
|
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
|
-
CACHE_KEY_BUILDER: 'CACHE_KEY_BUILDER',
|
|
56
|
-
/** @description Token used to register and resolve the ClaimsIdentityMapper instance in the dependency injection container.
|
|
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
|
-
CLAIMS_IDENTITY_MAPPER: 'CLAIMS_IDENTITY_MAPPER',
|
|
64
|
-
/** @description Token used to register and resolve command pipeline behaviors in the dependency injection container.
|
|
65
|
-
*
|
|
66
|
-
* @author Xeno
|
|
67
|
-
* @version 1.0.0
|
|
68
|
-
* @since 2025-09-30
|
|
69
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
70
|
-
*/
|
|
71
|
-
COMMAND_PIPELINES_BEHAVIOR: 'COMMAND_PIPELINES_BEHAVIOR',
|
|
72
|
-
/** @description Token used to register and resolve the CompositePipeline instance in the dependency injection container.
|
|
73
|
-
*
|
|
74
|
-
* @author Xeno
|
|
75
|
-
* @version 1.0.0
|
|
76
|
-
* @since 2025-09-30
|
|
77
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
78
|
-
*/
|
|
79
|
-
COMPOSITE_PIPELINE: 'COMPOSITE_PIPELINE',
|
|
80
|
-
/** @description Token used to register and resolve the ConcurrencyRetryPipeline instance in the dependency injection container.
|
|
81
|
-
*
|
|
82
|
-
* @author Xeno
|
|
83
|
-
* @version 1.0.0
|
|
84
|
-
* @since 2025-09-30
|
|
85
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
86
|
-
*/
|
|
87
|
-
CONCURRENCY_RETRY_PIPELINE: 'CONCURRENCY_RETRY_PIPELINE',
|
|
88
|
-
/** @description Token used to register and resolve the ConcurrencyService instance in the dependency injection container.
|
|
89
|
-
*
|
|
90
|
-
* @author Xeno
|
|
91
|
-
* @version 1.0.0
|
|
92
|
-
* @since 2025-09-30
|
|
93
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
94
|
-
*/
|
|
95
|
-
CONCURRENCY_SERVICE: 'CONCURRENCY_SERVICE',
|
|
96
|
-
/** @description Token used to register and resolve the ConfigurationService instance in the dependency injection container.
|
|
97
|
-
*
|
|
98
|
-
* @author Xeno
|
|
99
|
-
* @version 1.0.0
|
|
100
|
-
* @since 2025-09-30
|
|
101
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
102
|
-
*/
|
|
103
|
-
CONFIGURATION_SERVICE: 'CONFIGURATION_SERVICE',
|
|
104
|
-
/** @description Token used to register and resolve the ConsoleLogger instance in the dependency injection container.
|
|
105
|
-
*
|
|
106
|
-
* @author Xeno
|
|
107
|
-
* @version 1.0.0
|
|
108
|
-
* @since 2025-09-30
|
|
109
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
110
|
-
*/
|
|
111
|
-
CONSOLE_LOGGER: 'CONSOLE_LOGGER',
|
|
112
|
-
/** @description Token used to register and resolve the ContextAccessor instance in the dependency injection container.
|
|
113
|
-
*
|
|
114
|
-
* @author Xeno
|
|
115
|
-
* @version 1.0.0
|
|
116
|
-
* @since 2025-09-30
|
|
117
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
118
|
-
*/
|
|
119
|
-
CONTEXT_ACCESSOR: 'CONTEXT_ACCESSOR',
|
|
120
|
-
/** @description Token used to register and resolve the DbContext instance in the dependency injection container.
|
|
121
|
-
*
|
|
122
|
-
* @author Xeno
|
|
123
|
-
* @version 1.0.0
|
|
124
|
-
* @since 2025-09-30
|
|
125
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
126
|
-
*/
|
|
127
|
-
DB_CONTEXT: 'DB_CONTEXT',
|
|
128
|
-
/** @description Token used to register and resolve the ExceptionPipeline instance in the dependency injection container.
|
|
129
|
-
*
|
|
130
|
-
* @author Xeno
|
|
131
|
-
* @version 1.0.0
|
|
132
|
-
* @since 2025-09-30
|
|
133
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
134
|
-
*/
|
|
135
|
-
EXCEPTION_PIPELINE: 'EXCEPTION_PIPELINE',
|
|
136
|
-
/** @description Token used to register and resolve the GateKeeper instance in the dependency injection container.
|
|
137
|
-
*
|
|
138
|
-
* @author Xeno
|
|
139
|
-
* @version 1.0.0
|
|
140
|
-
* @since 2025-09-30
|
|
141
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
142
|
-
*/
|
|
143
|
-
GATE_KEEPER: 'GATE_KEEPER',
|
|
144
|
-
/** @description Token used to register and resolve the IdempotencyPipeline instance in the dependency injection container.
|
|
145
|
-
*
|
|
146
|
-
* @author Xeno
|
|
147
|
-
* @version 1.0.0
|
|
148
|
-
* @since 2025-09-30
|
|
149
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
150
|
-
*/
|
|
151
|
-
IDEMPOTENCY_PIPELINE: 'IDEMPOTENCY_PIPELINE',
|
|
152
|
-
/** @description Token used to register and resolve the IdempotencyStore instance in the dependency injection container.
|
|
153
|
-
*
|
|
154
|
-
* @author Xeno
|
|
155
|
-
* @version 1.0.0
|
|
156
|
-
* @since 2025-09-30
|
|
157
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
158
|
-
*/
|
|
159
|
-
IDEMPOTENCY_STORE: 'IDEMPOTENCY_STORE',
|
|
160
|
-
/** @description Token used to register and resolve the IdentityAccessor instance in the dependency injection container.
|
|
161
|
-
*
|
|
162
|
-
* @author Xeno
|
|
163
|
-
* @version 1.0.0
|
|
164
|
-
* @since 2025-09-30
|
|
165
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
166
|
-
*/
|
|
167
|
-
IDENTITY_ACCESSOR: 'IDENTITY_ACCESSOR',
|
|
168
|
-
/** @description Token used to register and resolve the Logger instance in the dependency injection container.
|
|
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
|
-
LOGGER: 'LOGGER',
|
|
176
|
-
/** @description Token used to register and resolve the LoggerConfig instance in the dependency injection container.
|
|
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
|
-
LOGGER_CONFIG: 'LOGGER_CONFIG',
|
|
184
|
-
/** @description Token used to register and resolve the LoggingPipeline instance in the dependency injection container.
|
|
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
|
-
LOGGING_PIPELINE: 'LOGGING_PIPELINE',
|
|
192
|
-
/** @description Token used to register and resolve the Mediator instance in the dependency injection container.
|
|
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
|
-
MEDIATOR: 'MEDIATOR',
|
|
200
|
-
/** @description Token used to register and resolve the PerformancePipeline instance in the dependency injection container.
|
|
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
|
-
PERFORMANCE_PIPELINE: 'PERFORMANCE_PIPELINE',
|
|
208
|
-
/** @description Token used to register and resolve the PermissionAuthorizationPipeline instance in the dependency injection container.
|
|
209
|
-
*
|
|
210
|
-
* @author Xeno
|
|
211
|
-
* @version 1.0.0
|
|
212
|
-
* @since 2025-09-30
|
|
213
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
214
|
-
*/
|
|
215
|
-
PERMISSION_AUTHORIZATION_PIPELINE: 'PERMISSION_AUTHORIZATION_PIPELINE',
|
|
216
|
-
/** @description Token used to register and resolve the PinoLogger instance in the dependency injection container.
|
|
217
|
-
*
|
|
218
|
-
* @author Xeno
|
|
219
|
-
* @version 1.0.0
|
|
220
|
-
* @since 2025-09-30
|
|
221
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
222
|
-
*/
|
|
223
|
-
PINO_LOGGER: 'PINO_LOGGER',
|
|
224
|
-
/** @description Token used to register and resolve the PolicyRegistry instance in the dependency injection container.
|
|
225
|
-
*
|
|
226
|
-
* @author Xeno
|
|
227
|
-
* @version 1.0.0
|
|
228
|
-
* @since 2025-09-30
|
|
229
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
230
|
-
*/
|
|
231
|
-
POLICY_REGISTRY: 'POLICY_REGISTRY',
|
|
232
|
-
/** @description Token used to register and resolve the QueryCachingPipeline instance in the dependency injection container.
|
|
233
|
-
*
|
|
234
|
-
* @author Xeno
|
|
235
|
-
* @version 1.0.0
|
|
236
|
-
* @since 2025-09-30
|
|
237
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
238
|
-
*/
|
|
239
|
-
QUERY_CACHING_PIPELINE: 'QUERY_CACHING_PIPELINE',
|
|
240
|
-
/** @description Token used to register and resolve query pipeline behaviors in the dependency injection container.
|
|
241
|
-
*
|
|
242
|
-
* @author Xeno
|
|
243
|
-
* @version 1.0.0
|
|
244
|
-
* @since 2025-09-30
|
|
245
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
246
|
-
*/
|
|
247
|
-
QUERY_PIPELINES_BEHAVIOR: 'QUERY_PIPELINES_BEHAVIOR',
|
|
248
|
-
/** @description Token used to register and resolve the RequestContext instance in the dependency injection container.
|
|
249
|
-
*
|
|
250
|
-
* @author Xeno
|
|
251
|
-
* @version 1.0.0
|
|
252
|
-
* @since 2025-09-30
|
|
253
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
254
|
-
*/
|
|
255
|
-
REQUEST_CONTEXT: 'REQUEST_CONTEXT',
|
|
256
|
-
/** @description Token used to register and resolve the RequestContextMiddleware in the dependency injection container.
|
|
257
|
-
*
|
|
258
|
-
* @author Xeno
|
|
259
|
-
* @version 1.0.0
|
|
260
|
-
* @since 2025-09-30
|
|
261
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
262
|
-
*/
|
|
263
|
-
MIDDLEWARE: 'MIDDLEWARE',
|
|
264
|
-
AUTH_MIDDLEWARE: 'AUTH_MIDDLEWARE',
|
|
265
|
-
CSRF_MIDDLEWARE: 'CSRF_MIDDLEWARE',
|
|
266
|
-
ALLOW_ORIGIN_MIDDLEWARE: 'ALLOW_ORIGIN_MIDDLEWARE',
|
|
267
|
-
CORS_MIDDLEWARE: 'CORS_MIDDLEWARE',
|
|
268
|
-
METHOD_CHECK_MIDDLEWARE: 'METHOD_CHECK_MIDDLEWARE',
|
|
269
|
-
OPTIONS_MIDDLEWARE: 'OPTIONS_MIDDLEWARE',
|
|
270
|
-
REQUEST_CONTEXT_MIDDLEWARE: 'REQUEST_CONTEXT_MIDDLEWARE',
|
|
271
|
-
RATE_LIMITER_MIDDLEWARE: 'RATE_LIMITER_MIDDLEWARE',
|
|
272
|
-
/** @description Token used to register and resolve the IServiceResilience instance in the dependency injection container.
|
|
273
|
-
*
|
|
274
|
-
* @author Xeno
|
|
275
|
-
* @version 1.0.0
|
|
276
|
-
* @since 2025-09-30
|
|
277
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
278
|
-
*/
|
|
279
|
-
RESILIENCE_CLIENT: 'RESILIENCE_CLIENT',
|
|
280
|
-
/** @description Token used to register and resolve the RoleAuthorizationPipeline instance in the dependency injection container.
|
|
281
|
-
*
|
|
282
|
-
* @author Xeno
|
|
283
|
-
* @version 1.0.0
|
|
284
|
-
* @since 2025-09-30
|
|
285
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
286
|
-
*/
|
|
287
|
-
ROLE_AUTHORIZATION_PIPELINE: 'ROLE_AUTHORIZATION_PIPELINE',
|
|
288
|
-
/** @description Token used to register and resolve the SchemaValidationStrategy instance in the dependency injection container.
|
|
289
|
-
*
|
|
290
|
-
* @author Xeno
|
|
291
|
-
* @version 1.0.0
|
|
292
|
-
* @since 2025-09-30
|
|
293
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
294
|
-
*/
|
|
295
|
-
SCHEMA_VALIDATION_STRATEGY: 'SCHEMA_VALIDATION_STRATEGY',
|
|
296
|
-
/** @description Token used to register and resolve the SentryLogger instance in the dependency injection container.
|
|
297
|
-
*
|
|
298
|
-
* @author Xeno
|
|
299
|
-
* @version 1.0.0
|
|
300
|
-
* @since 2025-09-30
|
|
301
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
302
|
-
*/
|
|
303
|
-
SENTRY_LOGGER: 'SENTRY_LOGGER',
|
|
304
|
-
/** @description Token used to register and resolve the ServiceContainer instance in the dependency injection container.
|
|
305
|
-
*
|
|
306
|
-
* @author Xeno
|
|
307
|
-
* @version 1.0.0
|
|
308
|
-
* @since 2025-09-30
|
|
309
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
310
|
-
*/
|
|
311
|
-
SERVICE_CONTAINER: 'SERVICE_CONTAINER',
|
|
312
|
-
/** @description Token used to register and resolve the ServiceExtractor instance in the dependency injection container.
|
|
313
|
-
*
|
|
314
|
-
* @author Xeno
|
|
315
|
-
* @version 1.0.0
|
|
316
|
-
* @since 2025-09-30
|
|
317
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
318
|
-
*/
|
|
319
|
-
SERVICE_EXTRACTOR: 'SERVICE_EXTRACTOR',
|
|
320
|
-
/** @description Token used to register and resolve the ServiceScopeFactory instance in the dependency injection container.
|
|
321
|
-
*
|
|
322
|
-
* @author Xeno
|
|
323
|
-
* @version 1.0.0
|
|
324
|
-
* @since 2025-09-30
|
|
325
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
326
|
-
*/
|
|
327
|
-
SERVICE_SCOPE_FACTORY: 'SERVICE_SCOPE_FACTORY',
|
|
328
|
-
/** @description Token used to register and resolve the TenantAuthorizationPipeline instance in the dependency injection container.
|
|
329
|
-
*
|
|
330
|
-
* @author Xeno
|
|
331
|
-
* @version 1.0.0
|
|
332
|
-
* @since 2025-09-30
|
|
333
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
334
|
-
*/
|
|
335
|
-
TENANT_AUTHORIZATION_PIPELINE: 'TENANT_AUTHORIZATION_PIPELINE',
|
|
336
|
-
/** @description Token used to register and resolve the UnitOfWork instance in the dependency injection container.
|
|
337
|
-
*
|
|
338
|
-
* @author Xeno
|
|
339
|
-
* @version 1.0.0
|
|
340
|
-
* @since 2025-09-30
|
|
341
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
342
|
-
*/
|
|
343
|
-
UNIT_OF_WORK: 'UNIT_OF_WORK',
|
|
344
|
-
/** @description Token used to register and resolve the UserAuthorizationPipeline instance in the dependency injection container.
|
|
345
|
-
*
|
|
346
|
-
* @author Xeno
|
|
347
|
-
* @version 1.0.0
|
|
348
|
-
* @since 2025-09-30
|
|
349
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
350
|
-
*/
|
|
351
|
-
USER_AUTHORIZATION_PIPELINE: 'USER_AUTHORIZATION_PIPELINE',
|
|
352
|
-
/** @description Token used to register and resolve the ValidationPipeline instance in the dependency injection container.
|
|
353
|
-
*
|
|
354
|
-
* @author Xeno
|
|
355
|
-
* @version 1.0.0
|
|
356
|
-
* @since 2025-09-30
|
|
357
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
358
|
-
*/
|
|
359
|
-
VALIDATION_PIPELINE: 'VALIDATION_PIPELINE',
|
|
360
|
-
/** @description Token used to register and resolve the ZodValidator instance in the dependency injection container.
|
|
361
|
-
*
|
|
362
|
-
* @author Xeno
|
|
363
|
-
* @version 1.0.0
|
|
364
|
-
* @since 2025-09-30
|
|
365
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
366
|
-
*/
|
|
367
|
-
ZOD_VALIDATOR: 'ZOD_VALIDATOR',
|
|
368
|
-
SERVICE_SCOPE_ACCESSOR: 'SERVICE_SCOPE_ACCESSOR',
|
|
369
|
-
NETWORK_CONTEXT_ACCESSOR: 'NETWORK_CONTEXT_ACCESSOR',
|
|
370
|
-
USER_CONTEXT_FACTORY: 'USER_CONTEXT_FACTORY',
|
|
371
|
-
TRANSACTION_STATE: 'TRANSACTION_STATE',
|
|
372
|
-
});
|
|
373
|
-
//# sourceMappingURL=tokens.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.constants.js","sourceRoot":"","sources":["../../../src/shared/constants/tokens.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;KAUK;AACL,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IAClC,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B;;;;;;OAMG;IACH,sBAAsB,EAAE,wBAAwB;IAChD;;;;;;OAMG;IACH,YAAY,EAAE,cAAc;IAE5B,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;OAMG;IACH,sBAAsB,EAAE,wBAAwB;IAChD;;;;;;OAMG;IACH,KAAK,EAAE,OAAO;IACd;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;OAMG;IACH,sBAAsB,EAAE,wBAAwB;IAChD;;;;;;OAMG;IACH,0BAA0B,EAAE,4BAA4B;IACxD;;;;;;OAMG;IACH,kBAAkB,EAAE,oBAAoB;IACxC;;;;;;OAMG;IACH,0BAA0B,EAAE,4BAA4B;IACxD;;;;;;OAMG;IACH,mBAAmB,EAAE,qBAAqB;IAC1C;;;;;;OAMG;IACH,qBAAqB,EAAE,uBAAuB;IAC9C;;;;;;OAMG;IACH,cAAc,EAAE,gBAAgB;IAChC;;;;;;OAMG;IACH,gBAAgB,EAAE,kBAAkB;IACpC;;;;;;OAMG;IACH,UAAU,EAAE,YAAY;IACxB;;;;;;OAMG;IACH,kBAAkB,EAAE,oBAAoB;IACxC;;;;;;OAMG;IACH,WAAW,EAAE,aAAa;IAC1B;;;;;;OAMG;IACH,oBAAoB,EAAE,sBAAsB;IAC5C;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;OAMG;IACH,MAAM,EAAE,QAAQ;IAChB;;;;;;OAMG;IACH,aAAa,EAAE,eAAe;IAC9B;;;;;;OAMG;IACH,gBAAgB,EAAE,kBAAkB;IACpC;;;;;;OAMG;IACH,QAAQ,EAAE,UAAU;IACpB;;;;;;OAMG;IACH,oBAAoB,EAAE,sBAAsB;IAC5C;;;;;;OAMG;IACH,iCAAiC,EAAE,mCAAmC;IACtE;;;;;;OAMG;IACH,WAAW,EAAE,aAAa;IAC1B;;;;;;OAMG;IACH,eAAe,EAAE,iBAAiB;IAClC;;;;;;OAMG;IACH,sBAAsB,EAAE,wBAAwB;IAChD;;;;;;OAMG;IACH,wBAAwB,EAAE,0BAA0B;IACpD;;;;;;OAMG;IACH,eAAe,EAAE,iBAAiB;IAClC;;;;;;OAMG;IACH,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,uBAAuB,EAAE,yBAAyB;IAClD,eAAe,EAAE,iBAAiB;IAClC,uBAAuB,EAAE,yBAAyB;IAClD,kBAAkB,EAAE,oBAAoB;IACxC,0BAA0B,EAAE,4BAA4B;IACxD,uBAAuB,EAAE,yBAAyB;IAClD;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;OAMG;IACH,2BAA2B,EAAE,6BAA6B;IAC1D;;;;;;OAMG;IACH,0BAA0B,EAAE,4BAA4B;IACxD;;;;;;OAMG;IACH,aAAa,EAAE,eAAe;IAC9B;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;OAMG;IACH,qBAAqB,EAAE,uBAAuB;IAC9C;;;;;;OAMG;IACH,6BAA6B,EAAE,+BAA+B;IAC9D;;;;;;OAMG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;;OAMG;IACH,2BAA2B,EAAE,6BAA6B;IAC1D;;;;;;OAMG;IACH,mBAAmB,EAAE,qBAAqB;IAC1C;;;;;;OAMG;IACH,aAAa,EAAE,eAAe;IAC9B,sBAAsB,EAAE,wBAAwB;IAChD,wBAAwB,EAAE,0BAA0B;IACpD,oBAAoB,EAAE,sBAAsB;IAC5C,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC,CAAA"}
|
package/dist/shared/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,mBAAmB,eAAe,CAAA;AAClC,cAAc,eAAe,CAAA"}
|
package/dist/shared/index.js
DELETED
package/dist/shared/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AAEjC,cAAc,eAAe,CAAA"}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import type { Dictionary, Guid, Optional } from './common.types';
|
|
2
|
-
import type { HttpHeaders } from './http.types';
|
|
3
|
-
import type { IPaginatedResult } from './pagination.types';
|
|
4
|
-
/**
|
|
5
|
-
* @file api-response.types.ts
|
|
6
|
-
* @description Defines types related to API responses, including the structure of successful and error responses returned by the server.
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
* @author Xeno
|
|
10
|
-
* @version 1.0.0
|
|
11
|
-
* @since 2025-09-30
|
|
12
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @description Defines the structure of the API response returned by the server. It includes a status indicating whether the request was successful or resulted in an error, a boolean flag 'ok' for quick checks, headers containing any relevant HTTP headers, and a data field that can either be a successful response with the expected data or an error response with details about the failure.
|
|
16
|
-
|
|
17
|
-
*
|
|
18
|
-
* @author Xeno
|
|
19
|
-
* @version 1.0.0
|
|
20
|
-
* @since 2025-09-30
|
|
21
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
22
|
-
*/
|
|
23
|
-
export interface ResponseDto<T = unknown> {
|
|
24
|
-
/** @description Indicates the overall status of the API response, which can be either 'success' or 'error'.
|
|
25
|
-
*
|
|
26
|
-
* @author Xeno
|
|
27
|
-
* @version 1.0.0
|
|
28
|
-
* @since 2025-09-30
|
|
29
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
30
|
-
*/
|
|
31
|
-
status: number;
|
|
32
|
-
/** @description A boolean flag that is true if the response status is 'success' and false if it is 'error'. This provides a convenient way to check the success of the API call without having to compare the status string.
|
|
33
|
-
*
|
|
34
|
-
* @author Xeno
|
|
35
|
-
* @version 1.0.0
|
|
36
|
-
* @since 2025-09-30
|
|
37
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
38
|
-
*/
|
|
39
|
-
ok: boolean;
|
|
40
|
-
/** @description A dictionary of HTTP headers included in the API response. This can contain any relevant headers returned by the server, such as content type, caching directives, or custom headers.
|
|
41
|
-
*
|
|
42
|
-
* @author Xeno
|
|
43
|
-
* @version 1.0.0
|
|
44
|
-
* @since 2025-09-30
|
|
45
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
46
|
-
*/
|
|
47
|
-
headers: HttpHeaders;
|
|
48
|
-
/** @description The payload of the API response, which can either be a successful response containing the expected data or an error response containing details about the failure. The structure of this field depends on whether the API call was successful or resulted in an error.
|
|
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
|
-
data: ApiResponseDto<T>;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @description Defines the structure of a successful API response, which includes a data field containing the expected response payload. This interface is used when the API call is successful and the server returns the requested data.
|
|
59
|
-
|
|
60
|
-
*
|
|
61
|
-
* @author Xeno
|
|
62
|
-
* @version 1.0.0
|
|
63
|
-
* @since 2025-09-30
|
|
64
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
65
|
-
*/
|
|
66
|
-
export interface SuccessResponseDto<T = unknown> {
|
|
67
|
-
/** @description A boolean flag that is always true for successful responses. This provides a consistent way to check for success in the API response.
|
|
68
|
-
*
|
|
69
|
-
* @author Xeno
|
|
70
|
-
* @version 1.0.0
|
|
71
|
-
* @since 2025-09-30
|
|
72
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
73
|
-
*/
|
|
74
|
-
readonly success: true;
|
|
75
|
-
/** @description The actual data payload returned by the API call. The structure of this field can vary depending on the specific endpoint and the type of data being returned. It is defined as a generic type T, allowing for flexibility in the shape of the response data.
|
|
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 data: T | IPaginatedResult<T>;
|
|
83
|
-
/** @description Metadata associated with the successful API response. This can include pagination information, rate limit details, or other relevant metadata.
|
|
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
|
-
readonly meta: Dictionary;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* @description Defines the structure of an error API response, which includes an error object containing details about the failure. This interface is used when the API call results in an error and the server returns information about what went wrong.
|
|
94
|
-
|
|
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
|
-
export interface ErrorResponseDto {
|
|
102
|
-
/** @description A boolean flag that is always false for error responses. This provides a consistent way to check for errors in the API response.
|
|
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
|
-
readonly success: false;
|
|
110
|
-
/** @description An object containing details about the error that occurred during the API call. This includes an error code, a human-readable error message, and optionally additional details that can help diagnose the issue.
|
|
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
|
-
readonly error: {
|
|
118
|
-
/** @description A string code that categorizes the type of error that occurred. This can be used for programmatic handling of different error types.
|
|
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
|
-
readonly code: string;
|
|
126
|
-
/** @description A human-readable message that describes the error. This should provide enough information for developers to understand what went wrong and how to address it.
|
|
127
|
-
*
|
|
128
|
-
* @author Xeno
|
|
129
|
-
* @version 1.0.0
|
|
130
|
-
* @since 2025-09-30
|
|
131
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
132
|
-
*/
|
|
133
|
-
readonly message: string;
|
|
134
|
-
/** @description Optional additional details about the error. This can include stack traces, validation errors, or any other relevant information that can assist in diagnosing and fixing the issue.
|
|
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
|
-
readonly details: Optional<string>;
|
|
142
|
-
/** @description Optional path of the request that led to the error. This can be useful for logging and debugging purposes, allowing developers to trace back to the specific endpoint that caused the error.
|
|
143
|
-
*
|
|
144
|
-
* @author Xeno
|
|
145
|
-
* @version 1.0.0
|
|
146
|
-
* @since 2025-09-30
|
|
147
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
148
|
-
*/
|
|
149
|
-
readonly path: Optional<string>;
|
|
150
|
-
};
|
|
151
|
-
/** @description Metadata associated with the error API response. This can include information about the request that led to the error, timestamps, or any other relevant metadata that can help in understanding the context of the error.
|
|
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
|
-
readonly correlationId: Guid;
|
|
159
|
-
/** @description The timestamp indicating when the error occurred. This can be useful for logging and debugging purposes, allowing developers to correlate errors with specific events or requests.
|
|
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
|
-
readonly requestId: Guid;
|
|
167
|
-
/** @description The timestamp indicating when the error occurred. This can be useful for logging and debugging purposes, allowing developers to correlate errors with specific events or requests.
|
|
168
|
-
*
|
|
169
|
-
* @author Xeno
|
|
170
|
-
* @version 1.0.0
|
|
171
|
-
* @since 2025-09-30
|
|
172
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
173
|
-
*/
|
|
174
|
-
readonly timestamp: string;
|
|
175
|
-
/** @description An optional identifier for distributed tracing, which can be used to track the flow of requests across multiple services in a microservices architecture. This can help in diagnosing issues and understanding the context of the error within a larger system.
|
|
176
|
-
*
|
|
177
|
-
* @author Xeno
|
|
178
|
-
* @version 1.0.0
|
|
179
|
-
* @since 2025-09-30
|
|
180
|
-
* @link https://github.com/xeno-js/xeno-js
|
|
181
|
-
*/
|
|
182
|
-
readonly spanId: Optional<string>;
|
|
183
|
-
}
|
|
184
|
-
export type ApiResponseDto<T = unknown> = SuccessResponseDto<T> | ErrorResponseDto;
|
|
185
|
-
//# sourceMappingURL=api-response.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-response.types.d.ts","sourceRoot":"","sources":["../../../src/shared/types/api-response.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D;;;;;;;;;KASK;AAEL;;;;;;;;KAQK;AACL,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,OAAO;IACtC;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;OAMG;IACH,EAAE,EAAE,OAAO,CAAA;IACX;;;;;;OAMG;IACH,OAAO,EAAE,WAAW,CAAA;IACpB;;;;;;OAMG;IACH,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;CACxB;AAED;;;;;;;;KAQK;AACL,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,OAAO;IAC7C;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAA;IACtB;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;IACtC;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAC1B;AAED;;;;;;;;KAQK;AACL,MAAM,WAAW,gBAAgB;IAC/B;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAA;IACvB;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,EAAE;QACd;;;;;;WAMG;QACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB;;;;;;WAMG;QACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;QACxB;;;;;;WAMG;QACH,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;QAClC;;;;;;WAMG;QACH,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;KAChC,CAAA;IACD;;;;;;OAMG;IACH,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAA;IAC5B;;;;;;OAMG;IACH,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAA;IACxB;;;;;;OAMG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;CAClC;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-response.types.js","sourceRoot":"","sources":["../../../src/shared/types/api-response.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description The AuthPolicy interface defines the structure of an authorization policy, which includes a list of roles and permissions. This interface is used to represent the access control policies associated with different intents or actions within the application. Implementations of this interface can be used to enforce role-based and permission-based access control by specifying which roles and permissions are required for specific operations.
|
|
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 interface AuthPolicy {
|
|
11
|
-
/**
|
|
12
|
-
* An optional boolean flag indicating whether the authorization policy requires a user ID for authentication. If set to true, the policy enforces that a valid user ID must be present in the request context for authorization to succeed. This flag can be used to differentiate between policies that require user-level authentication and those that do not.
|
|
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?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* An optional boolean flag indicating whether the authorization policy requires a tenant ID for authentication. If set to true, the policy enforces that a valid tenant ID must be present in the request context for authorization to succeed. This flag can be used to differentiate between policies that require tenant-level authentication and those that do not.
|
|
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 tenantId?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* An array of roles that are associated with the authorization policy. These roles define the access level and permissions granted to users who possess them. The roles can be used to determine whether a user is authorized to perform certain actions or access specific resources within the application.
|
|
29
|
-
|
|
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
|
-
readonly roles?: string[];
|
|
37
|
-
/**
|
|
38
|
-
* An array of permissions that are associated with the authorization policy. These permissions define the specific actions or operations that a user is allowed to perform within the application. The permissions can be used to enforce fine-grained access control by specifying which operations require certain permissions.
|
|
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 permissions?: string[];
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=auth-policy.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-policy.types.d.ts","sourceRoot":"","sources":["../../../src/shared/types/auth-policy.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;KAQK;AACL,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IAEzB;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAE3B;;;;;;;;OAQG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB;;;;;;;;OAQG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CAChC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-policy.types.js","sourceRoot":"","sources":["../../../src/shared/types/auth-policy.types.ts"],"names":[],"mappings":""}
|