@venizia/ignis 0.0.7-2 → 0.0.7-21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2757 -28
- package/dist/base/applications/abstract.d.ts.map +1 -1
- package/dist/base/applications/abstract.js +0 -8
- package/dist/base/applications/abstract.js.map +1 -1
- package/dist/base/applications/base.d.ts.map +1 -1
- package/dist/base/applications/base.js +0 -17
- package/dist/base/applications/base.js.map +1 -1
- package/dist/base/applications/types.d.ts.map +1 -1
- package/dist/base/applications/types.js.map +1 -1
- package/dist/base/components/base.d.ts.map +1 -1
- package/dist/base/components/base.js +0 -2
- package/dist/base/components/base.js.map +1 -1
- package/dist/base/controllers/abstract.d.ts +16 -130
- package/dist/base/controllers/abstract.d.ts.map +1 -1
- package/dist/base/controllers/abstract.js +62 -112
- package/dist/base/controllers/abstract.js.map +1 -1
- package/dist/base/controllers/base.d.ts +10 -118
- package/dist/base/controllers/base.d.ts.map +1 -1
- package/dist/base/controllers/base.js +5 -113
- package/dist/base/controllers/base.js.map +1 -1
- package/dist/base/controllers/common/constants.d.ts +1 -16
- package/dist/base/controllers/common/constants.d.ts.map +1 -1
- package/dist/base/controllers/common/constants.js +10 -29
- package/dist/base/controllers/common/constants.js.map +1 -1
- package/dist/base/controllers/common/types.d.ts +34 -152
- package/dist/base/controllers/common/types.d.ts.map +1 -1
- package/dist/base/controllers/common/types.js +1 -4
- package/dist/base/controllers/common/types.js.map +1 -1
- package/dist/base/controllers/factory/controller.d.ts +37 -199
- package/dist/base/controllers/factory/controller.d.ts.map +1 -1
- package/dist/base/controllers/factory/controller.js +21 -146
- package/dist/base/controllers/factory/controller.js.map +1 -1
- package/dist/base/controllers/factory/definition.d.ts +15 -9
- package/dist/base/controllers/factory/definition.d.ts.map +1 -1
- package/dist/base/controllers/factory/definition.js +62 -58
- package/dist/base/controllers/factory/definition.js.map +1 -1
- package/dist/base/datasources/base.d.ts +2 -31
- package/dist/base/datasources/base.d.ts.map +1 -1
- package/dist/base/datasources/base.js +2 -39
- package/dist/base/datasources/base.js.map +1 -1
- package/dist/base/datasources/common/types.d.ts +2 -4
- package/dist/base/datasources/common/types.d.ts.map +1 -1
- package/dist/base/datasources/common/types.js +1 -8
- package/dist/base/datasources/common/types.js.map +1 -1
- package/dist/base/metadata/injectors.d.ts +1 -30
- package/dist/base/metadata/injectors.d.ts.map +1 -1
- package/dist/base/metadata/injectors.js +1 -30
- package/dist/base/metadata/injectors.js.map +1 -1
- package/dist/base/metadata/persistents.d.ts +3 -63
- package/dist/base/metadata/persistents.d.ts.map +1 -1
- package/dist/base/metadata/persistents.js +11 -88
- package/dist/base/metadata/persistents.js.map +1 -1
- package/dist/base/metadata/routes.d.ts +8 -31
- package/dist/base/metadata/routes.d.ts.map +1 -1
- package/dist/base/metadata/routes.js +1 -27
- package/dist/base/metadata/routes.js.map +1 -1
- package/dist/base/middlewares/app-error.middleware.d.ts +1 -10
- package/dist/base/middlewares/app-error.middleware.d.ts.map +1 -1
- package/dist/base/middlewares/app-error.middleware.js +2 -14
- package/dist/base/middlewares/app-error.middleware.js.map +1 -1
- package/dist/base/middlewares/emoji-favicon.middleware.d.ts +1 -7
- package/dist/base/middlewares/emoji-favicon.middleware.d.ts.map +1 -1
- package/dist/base/middlewares/emoji-favicon.middleware.js +1 -7
- package/dist/base/middlewares/emoji-favicon.middleware.js.map +1 -1
- package/dist/base/middlewares/not-found.middleware.d.ts +1 -8
- package/dist/base/middlewares/not-found.middleware.d.ts.map +1 -1
- package/dist/base/middlewares/not-found.middleware.js +1 -8
- package/dist/base/middlewares/not-found.middleware.js.map +1 -1
- package/dist/base/middlewares/request-spy.middleware.d.ts +3 -19
- package/dist/base/middlewares/request-spy.middleware.d.ts.map +1 -1
- package/dist/base/middlewares/request-spy.middleware.js +3 -23
- package/dist/base/middlewares/request-spy.middleware.js.map +1 -1
- package/dist/base/mixins/component.mixin.d.ts.map +1 -1
- package/dist/base/mixins/controller.mixin.d.ts.map +1 -1
- package/dist/base/mixins/repository.mixin.d.ts.map +1 -1
- package/dist/base/mixins/service.mixin.d.ts.map +1 -1
- package/dist/base/models/base.d.ts +4 -21
- package/dist/base/models/base.d.ts.map +1 -1
- package/dist/base/models/base.js +1 -11
- package/dist/base/models/base.js.map +1 -1
- package/dist/base/models/common/types.d.ts.map +1 -1
- package/dist/base/models/common/types.js +0 -2
- package/dist/base/models/common/types.js.map +1 -1
- package/dist/base/models/enrichers/id.enricher.d.ts.map +1 -1
- package/dist/base/models/enrichers/id.enricher.js.map +1 -1
- package/dist/base/models/enrichers/user-audit.enricher.d.ts.map +1 -1
- package/dist/base/models/enrichers/user-audit.enricher.js +1 -6
- package/dist/base/models/enrichers/user-audit.enricher.js.map +1 -1
- package/dist/base/repositories/common/constants.d.ts +5 -59
- package/dist/base/repositories/common/constants.d.ts.map +1 -1
- package/dist/base/repositories/common/constants.js +3 -51
- package/dist/base/repositories/common/constants.js.map +1 -1
- package/dist/base/repositories/common/shared.d.ts +1 -13
- package/dist/base/repositories/common/shared.d.ts.map +1 -1
- package/dist/base/repositories/common/shared.js +2 -19
- package/dist/base/repositories/common/shared.js.map +1 -1
- package/dist/base/repositories/common/types.d.ts +32 -461
- package/dist/base/repositories/common/types.d.ts.map +1 -1
- package/dist/base/repositories/common/types.js +13 -159
- package/dist/base/repositories/common/types.js.map +1 -1
- package/dist/base/repositories/core/abstract.d.ts +10 -204
- package/dist/base/repositories/core/abstract.d.ts.map +1 -1
- package/dist/base/repositories/core/abstract.js +6 -126
- package/dist/base/repositories/core/abstract.js.map +1 -1
- package/dist/base/repositories/core/default-crud.d.ts +1 -36
- package/dist/base/repositories/core/default-crud.d.ts.map +1 -1
- package/dist/base/repositories/core/default-crud.js +1 -36
- package/dist/base/repositories/core/default-crud.js.map +1 -1
- package/dist/base/repositories/core/index.d.ts +1 -0
- package/dist/base/repositories/core/index.d.ts.map +1 -1
- package/dist/base/repositories/core/index.js +1 -0
- package/dist/base/repositories/core/index.js.map +1 -1
- package/dist/base/repositories/core/persistable.d.ts +2 -71
- package/dist/base/repositories/core/persistable.d.ts.map +1 -1
- package/dist/base/repositories/core/persistable.js +2 -100
- package/dist/base/repositories/core/persistable.js.map +1 -1
- package/dist/base/repositories/core/readable.d.ts +12 -127
- package/dist/base/repositories/core/readable.d.ts.map +1 -1
- package/dist/base/repositories/core/readable.js +8 -124
- package/dist/base/repositories/core/readable.js.map +1 -1
- package/dist/base/repositories/core/soft-deletable.d.ts +140 -0
- package/dist/base/repositories/core/soft-deletable.d.ts.map +1 -0
- package/dist/base/repositories/core/soft-deletable.js +99 -0
- package/dist/base/repositories/core/soft-deletable.js.map +1 -0
- package/dist/base/repositories/mixins/default-filter.d.ts +3 -49
- package/dist/base/repositories/mixins/default-filter.d.ts.map +1 -1
- package/dist/base/repositories/mixins/default-filter.js +3 -57
- package/dist/base/repositories/mixins/default-filter.js.map +1 -1
- package/dist/base/repositories/mixins/fields-visibility.d.ts +3 -59
- package/dist/base/repositories/mixins/fields-visibility.d.ts.map +1 -1
- package/dist/base/repositories/mixins/fields-visibility.js +3 -67
- package/dist/base/repositories/mixins/fields-visibility.js.map +1 -1
- package/dist/base/repositories/operators/filter.d.ts +10 -115
- package/dist/base/repositories/operators/filter.d.ts.map +1 -1
- package/dist/base/repositories/operators/filter.js +13 -154
- package/dist/base/repositories/operators/filter.js.map +1 -1
- package/dist/base/repositories/operators/json-utils.d.ts +5 -38
- package/dist/base/repositories/operators/json-utils.d.ts.map +1 -1
- package/dist/base/repositories/operators/json-utils.js +5 -47
- package/dist/base/repositories/operators/json-utils.js.map +1 -1
- package/dist/base/repositories/operators/query.d.ts +3 -56
- package/dist/base/repositories/operators/query.d.ts.map +1 -1
- package/dist/base/repositories/operators/query.js +11 -106
- package/dist/base/repositories/operators/query.js.map +1 -1
- package/dist/base/repositories/operators/relation.d.ts +1 -33
- package/dist/base/repositories/operators/relation.d.ts.map +1 -1
- package/dist/base/repositories/operators/relation.js +1 -36
- package/dist/base/repositories/operators/relation.js.map +1 -1
- package/dist/base/repositories/operators/update.d.ts +7 -72
- package/dist/base/repositories/operators/update.d.ts.map +1 -1
- package/dist/base/repositories/operators/update.js +6 -91
- package/dist/base/repositories/operators/update.js.map +1 -1
- package/dist/base/services/types.d.ts.map +1 -1
- package/dist/common/bindings.d.ts +2 -17
- package/dist/common/bindings.d.ts.map +1 -1
- package/dist/common/bindings.js +2 -14
- package/dist/common/bindings.js.map +1 -1
- package/dist/common/constants.d.ts +1 -3
- package/dist/common/constants.d.ts.map +1 -1
- package/dist/common/constants.js +1 -4
- package/dist/common/constants.js.map +1 -1
- package/dist/common/environments.d.ts +1 -4
- package/dist/common/environments.d.ts.map +1 -1
- package/dist/common/environments.js +1 -4
- package/dist/common/environments.js.map +1 -1
- package/dist/common/statuses.d.ts +6 -19
- package/dist/common/statuses.d.ts.map +1 -1
- package/dist/common/statuses.js +6 -27
- package/dist/common/statuses.js.map +1 -1
- package/dist/components/auth/authenticate/common/codecs.d.ts +11 -0
- package/dist/components/auth/authenticate/common/codecs.d.ts.map +1 -0
- package/dist/components/auth/authenticate/common/codecs.js +28 -0
- package/dist/components/auth/authenticate/common/codecs.js.map +1 -0
- package/dist/components/auth/authenticate/common/constants.d.ts +31 -5
- package/dist/components/auth/authenticate/common/constants.d.ts.map +1 -1
- package/dist/components/auth/authenticate/common/constants.js +41 -9
- package/dist/components/auth/authenticate/common/constants.js.map +1 -1
- package/dist/components/auth/authenticate/common/index.d.ts +1 -0
- package/dist/components/auth/authenticate/common/index.d.ts.map +1 -1
- package/dist/components/auth/authenticate/common/index.js +1 -0
- package/dist/components/auth/authenticate/common/index.js.map +1 -1
- package/dist/components/auth/authenticate/common/keys.d.ts +1 -0
- package/dist/components/auth/authenticate/common/keys.d.ts.map +1 -1
- package/dist/components/auth/authenticate/common/keys.js +1 -0
- package/dist/components/auth/authenticate/common/keys.js.map +1 -1
- package/dist/components/auth/authenticate/common/types.d.ts +63 -37
- package/dist/components/auth/authenticate/common/types.d.ts.map +1 -1
- package/dist/components/auth/authenticate/component.d.ts +5 -18
- package/dist/components/auth/authenticate/component.d.ts.map +1 -1
- package/dist/components/auth/authenticate/component.js +114 -82
- package/dist/components/auth/authenticate/component.js.map +1 -1
- package/dist/components/auth/authenticate/controllers/factory.d.ts +12 -12
- package/dist/components/auth/authenticate/controllers/factory.d.ts.map +1 -1
- package/dist/components/auth/authenticate/controllers/factory.js +23 -22
- package/dist/components/auth/authenticate/controllers/factory.js.map +1 -1
- package/dist/components/auth/authenticate/controllers/index.d.ts +1 -0
- package/dist/components/auth/authenticate/controllers/index.d.ts.map +1 -1
- package/dist/components/auth/authenticate/controllers/index.js +1 -0
- package/dist/components/auth/authenticate/controllers/index.js.map +1 -1
- package/dist/components/auth/authenticate/controllers/jwks/controller.d.ts +9 -0
- package/dist/components/auth/authenticate/controllers/jwks/controller.d.ts.map +1 -0
- package/dist/components/auth/authenticate/controllers/jwks/controller.js +54 -0
- package/dist/components/auth/authenticate/controllers/jwks/controller.js.map +1 -0
- package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts +66 -0
- package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts.map +1 -0
- package/dist/components/auth/authenticate/controllers/jwks/definitions.js +32 -0
- package/dist/components/auth/authenticate/controllers/jwks/definitions.js.map +1 -0
- package/dist/components/auth/authenticate/controllers/jwks/index.d.ts +2 -0
- package/dist/components/auth/authenticate/controllers/jwks/index.d.ts.map +1 -0
- package/dist/components/auth/authenticate/controllers/jwks/index.js +18 -0
- package/dist/components/auth/authenticate/controllers/jwks/index.js.map +1 -0
- package/dist/components/auth/authenticate/index.d.ts +2 -0
- package/dist/components/auth/authenticate/index.d.ts.map +1 -1
- package/dist/components/auth/authenticate/index.js +2 -0
- package/dist/components/auth/authenticate/index.js.map +1 -1
- package/dist/components/auth/authenticate/middlewares/authenticate.middleware.d.ts +6 -0
- package/dist/components/auth/authenticate/middlewares/authenticate.middleware.d.ts.map +1 -0
- package/dist/components/auth/authenticate/middlewares/authenticate.middleware.js +12 -0
- package/dist/components/auth/authenticate/middlewares/authenticate.middleware.js.map +1 -0
- package/dist/components/auth/authenticate/middlewares/index.d.ts +2 -0
- package/dist/components/auth/authenticate/middlewares/index.d.ts.map +1 -0
- package/dist/components/auth/authenticate/middlewares/index.js +18 -0
- package/dist/components/auth/authenticate/middlewares/index.js.map +1 -0
- package/dist/components/auth/authenticate/providers/authentication.provider.d.ts +12 -0
- package/dist/components/auth/authenticate/providers/authentication.provider.d.ts.map +1 -0
- package/dist/components/auth/authenticate/providers/authentication.provider.js +117 -0
- package/dist/components/auth/authenticate/providers/authentication.provider.js.map +1 -0
- package/dist/components/auth/authenticate/providers/index.d.ts +2 -0
- package/dist/components/auth/authenticate/providers/index.d.ts.map +1 -0
- package/dist/components/auth/authenticate/providers/index.js +18 -0
- package/dist/components/auth/authenticate/providers/index.js.map +1 -0
- package/dist/components/auth/authenticate/services/basic/index.d.ts +2 -0
- package/dist/components/auth/authenticate/services/basic/index.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/basic/index.js +18 -0
- package/dist/components/auth/authenticate/services/basic/index.js.map +1 -0
- package/dist/components/auth/authenticate/services/basic/service.d.ts +24 -0
- package/dist/components/auth/authenticate/services/basic/service.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/{basic-token.service.js → basic/service.js} +10 -49
- package/dist/components/auth/authenticate/services/basic/service.js.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/abstract.service.d.ts +52 -0
- package/dist/components/auth/authenticate/services/bearer/abstract.service.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/abstract.service.js +177 -0
- package/dist/components/auth/authenticate/services/bearer/abstract.service.js.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/index.d.ts +4 -0
- package/dist/components/auth/authenticate/services/bearer/index.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/index.js +20 -0
- package/dist/components/auth/authenticate/services/bearer/index.js.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.d.ts +16 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.js +32 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/abstract.service.js.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/index.d.ts +4 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/index.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/index.js +20 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/index.js.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.d.ts +46 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.js +168 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/issuer.service.js.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.d.ts +18 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.js +73 -0
- package/dist/components/auth/authenticate/services/bearer/jwks/verifier.service.js.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jws.service.d.ts +19 -0
- package/dist/components/auth/authenticate/services/bearer/jws.service.d.ts.map +1 -0
- package/dist/components/auth/authenticate/services/bearer/jws.service.js +76 -0
- package/dist/components/auth/authenticate/services/bearer/jws.service.js.map +1 -0
- package/dist/components/auth/authenticate/services/index.d.ts +2 -2
- package/dist/components/auth/authenticate/services/index.d.ts.map +1 -1
- package/dist/components/auth/authenticate/services/index.js +2 -2
- package/dist/components/auth/authenticate/services/index.js.map +1 -1
- package/dist/components/auth/authenticate/strategies/basic.strategy.d.ts +2 -23
- package/dist/components/auth/authenticate/strategies/basic.strategy.d.ts.map +1 -1
- package/dist/components/auth/authenticate/strategies/basic.strategy.js +12 -26
- package/dist/components/auth/authenticate/strategies/basic.strategy.js.map +1 -1
- package/dist/components/auth/authenticate/strategies/index.d.ts +2 -1
- package/dist/components/auth/authenticate/strategies/index.d.ts.map +1 -1
- package/dist/components/auth/authenticate/strategies/index.js +2 -1
- package/dist/components/auth/authenticate/strategies/index.js.map +1 -1
- package/dist/components/auth/authenticate/strategies/jwks.strategy.d.ts +21 -0
- package/dist/components/auth/authenticate/strategies/jwks.strategy.d.ts.map +1 -0
- package/dist/components/auth/authenticate/strategies/jwks.strategy.js +68 -0
- package/dist/components/auth/authenticate/strategies/jwks.strategy.js.map +1 -0
- package/dist/components/auth/authenticate/strategies/{jwt.strategy.d.ts → jws.strategy.d.ts} +6 -5
- package/dist/components/auth/authenticate/strategies/jws.strategy.d.ts.map +1 -0
- package/dist/components/auth/authenticate/strategies/{jwt.strategy.js → jws.strategy.js} +21 -13
- package/dist/components/auth/authenticate/strategies/jws.strategy.js.map +1 -0
- package/dist/components/auth/authenticate/strategies/strategy-registry.d.ts +11 -24
- package/dist/components/auth/authenticate/strategies/strategy-registry.d.ts.map +1 -1
- package/dist/components/auth/authenticate/strategies/strategy-registry.js +9 -132
- package/dist/components/auth/authenticate/strategies/strategy-registry.js.map +1 -1
- package/dist/components/auth/authorize/adapters/base-filtered.d.ts +73 -0
- package/dist/components/auth/authorize/adapters/base-filtered.d.ts.map +1 -0
- package/dist/components/auth/authorize/adapters/base-filtered.js +90 -0
- package/dist/components/auth/authorize/adapters/base-filtered.js.map +1 -0
- package/dist/components/auth/authorize/adapters/drizzle-casbin.d.ts +40 -0
- package/dist/components/auth/authorize/adapters/drizzle-casbin.d.ts.map +1 -0
- package/dist/components/auth/authorize/adapters/drizzle-casbin.js +99 -0
- package/dist/components/auth/authorize/adapters/drizzle-casbin.js.map +1 -0
- package/dist/components/auth/authorize/adapters/index.d.ts +3 -0
- package/dist/components/auth/authorize/adapters/index.d.ts.map +1 -0
- package/dist/components/auth/authorize/adapters/index.js +19 -0
- package/dist/components/auth/authorize/adapters/index.js.map +1 -0
- package/dist/components/auth/authorize/common/constants.d.ts +70 -0
- package/dist/components/auth/authorize/common/constants.d.ts.map +1 -0
- package/dist/components/auth/authorize/common/constants.js +130 -0
- package/dist/components/auth/authorize/common/constants.js.map +1 -0
- package/dist/components/auth/authorize/common/index.d.ts +4 -0
- package/dist/components/auth/authorize/common/index.d.ts.map +1 -0
- package/dist/components/auth/authorize/common/index.js +20 -0
- package/dist/components/auth/authorize/common/index.js.map +1 -0
- package/dist/components/auth/authorize/common/keys.d.ts +6 -0
- package/dist/components/auth/authorize/common/keys.d.ts.map +1 -0
- package/dist/components/auth/authorize/common/keys.js +12 -0
- package/dist/components/auth/authorize/common/keys.js.map +1 -0
- package/dist/components/auth/authorize/common/types.d.ts +107 -0
- package/dist/components/auth/authorize/common/types.d.ts.map +1 -0
- package/dist/components/auth/authorize/{middleware.js → common/types.js} +1 -1
- package/dist/components/auth/authorize/common/types.js.map +1 -0
- package/dist/components/auth/authorize/component.d.ts +10 -0
- package/dist/components/auth/authorize/component.d.ts.map +1 -0
- package/dist/components/auth/authorize/component.js +58 -0
- package/dist/components/auth/authorize/component.js.map +1 -0
- package/dist/components/auth/authorize/enforcers/casbin.enforcer.d.ts +56 -0
- package/dist/components/auth/authorize/enforcers/casbin.enforcer.d.ts.map +1 -0
- package/dist/components/auth/authorize/enforcers/casbin.enforcer.js +254 -0
- package/dist/components/auth/authorize/enforcers/casbin.enforcer.js.map +1 -0
- package/dist/components/auth/authorize/enforcers/enforcer-registry.d.ts +33 -0
- package/dist/components/auth/authorize/enforcers/enforcer-registry.d.ts.map +1 -0
- package/dist/components/auth/authorize/enforcers/enforcer-registry.js +79 -0
- package/dist/components/auth/authorize/enforcers/enforcer-registry.js.map +1 -0
- package/dist/components/auth/authorize/enforcers/index.d.ts +3 -0
- package/dist/components/auth/authorize/enforcers/index.d.ts.map +1 -0
- package/dist/components/auth/authorize/enforcers/index.js +19 -0
- package/dist/components/auth/authorize/enforcers/index.js.map +1 -0
- package/dist/components/auth/authorize/index.d.ts +7 -1
- package/dist/components/auth/authorize/index.d.ts.map +1 -1
- package/dist/components/auth/authorize/index.js +21 -0
- package/dist/components/auth/authorize/index.js.map +1 -1
- package/dist/components/auth/authorize/middlewares/authorize.middleware.d.ts +6 -0
- package/dist/components/auth/authorize/middlewares/authorize.middleware.d.ts.map +1 -0
- package/dist/components/auth/authorize/middlewares/authorize.middleware.js +12 -0
- package/dist/components/auth/authorize/middlewares/authorize.middleware.js.map +1 -0
- package/dist/components/auth/authorize/middlewares/index.d.ts +2 -0
- package/dist/components/auth/authorize/middlewares/index.d.ts.map +1 -0
- package/dist/components/auth/authorize/middlewares/index.js +18 -0
- package/dist/components/auth/authorize/middlewares/index.js.map +1 -0
- package/dist/components/auth/authorize/models/abilities/index.d.ts +3 -0
- package/dist/components/auth/authorize/models/abilities/index.d.ts.map +1 -0
- package/dist/components/auth/authorize/models/abilities/index.js +19 -0
- package/dist/components/auth/authorize/models/abilities/index.js.map +1 -0
- package/dist/components/auth/authorize/models/abilities/string-action.model.d.ts +14 -0
- package/dist/components/auth/authorize/models/abilities/string-action.model.d.ts.map +1 -0
- package/dist/components/auth/authorize/models/abilities/string-action.model.js +23 -0
- package/dist/components/auth/authorize/models/abilities/string-action.model.js.map +1 -0
- package/dist/components/auth/authorize/models/abilities/string-resource.model.d.ts +13 -0
- package/dist/components/auth/authorize/models/abilities/string-resource.model.d.ts.map +1 -0
- package/dist/components/auth/authorize/models/abilities/string-resource.model.js +19 -0
- package/dist/components/auth/authorize/models/abilities/string-resource.model.js.map +1 -0
- package/dist/components/auth/authorize/models/authorization-role.model.d.ts +30 -0
- package/dist/components/auth/authorize/models/authorization-role.model.d.ts.map +1 -0
- package/dist/components/auth/authorize/models/authorization-role.model.js +30 -0
- package/dist/components/auth/authorize/models/authorization-role.model.js.map +1 -0
- package/dist/components/auth/authorize/models/index.d.ts +3 -0
- package/dist/components/auth/authorize/models/index.d.ts.map +1 -0
- package/dist/components/auth/authorize/models/index.js +19 -0
- package/dist/components/auth/authorize/models/index.js.map +1 -0
- package/dist/components/auth/authorize/providers/authorization.provider.d.ts +10 -0
- package/dist/components/auth/authorize/providers/authorization.provider.d.ts.map +1 -0
- package/dist/components/auth/authorize/providers/authorization.provider.js +135 -0
- package/dist/components/auth/authorize/providers/authorization.provider.js.map +1 -0
- package/dist/components/auth/authorize/providers/index.d.ts +2 -0
- package/dist/components/auth/authorize/providers/index.d.ts.map +1 -0
- package/dist/components/auth/authorize/providers/index.js +18 -0
- package/dist/components/auth/authorize/providers/index.js.map +1 -0
- package/dist/components/auth/base/abstract-auth-registry.d.ts +27 -0
- package/dist/components/auth/base/abstract-auth-registry.d.ts.map +1 -0
- package/dist/components/auth/base/abstract-auth-registry.js +62 -0
- package/dist/components/auth/base/abstract-auth-registry.js.map +1 -0
- package/dist/components/auth/base/index.d.ts +2 -0
- package/dist/components/auth/base/index.d.ts.map +1 -0
- package/dist/components/auth/base/index.js +18 -0
- package/dist/components/auth/base/index.js.map +1 -0
- package/dist/components/auth/context-variables.d.ts +14 -0
- package/dist/components/auth/context-variables.d.ts.map +1 -0
- package/dist/components/auth/context-variables.js +3 -0
- package/dist/components/auth/context-variables.js.map +1 -0
- package/dist/components/auth/index.d.ts +2 -0
- package/dist/components/auth/index.d.ts.map +1 -1
- package/dist/components/auth/index.js +2 -0
- package/dist/components/auth/index.js.map +1 -1
- package/dist/components/auth/models/entities/index.d.ts +1 -2
- package/dist/components/auth/models/entities/index.d.ts.map +1 -1
- package/dist/components/auth/models/entities/index.js +1 -2
- package/dist/components/auth/models/entities/index.js.map +1 -1
- package/dist/components/auth/models/entities/permission.model.d.ts +0 -1
- package/dist/components/auth/models/entities/permission.model.d.ts.map +1 -1
- package/dist/components/auth/models/entities/permission.model.js +0 -2
- package/dist/components/auth/models/entities/permission.model.js.map +1 -1
- package/dist/components/auth/models/entities/policy-definition.model.d.ts +24 -0
- package/dist/components/auth/models/entities/policy-definition.model.d.ts.map +1 -0
- package/dist/components/auth/models/entities/policy-definition.model.js +39 -0
- package/dist/components/auth/models/entities/policy-definition.model.js.map +1 -0
- package/dist/components/auth/models/entities/role.model.d.ts +3 -1
- package/dist/components/auth/models/entities/role.model.d.ts.map +1 -1
- package/dist/components/auth/models/entities/role.model.js +5 -3
- package/dist/components/auth/models/entities/role.model.js.map +1 -1
- package/dist/components/auth/models/entities/user.model.d.ts +4 -2
- package/dist/components/auth/models/entities/user.model.d.ts.map +1 -1
- package/dist/components/auth/models/entities/user.model.js +6 -5
- package/dist/components/auth/models/entities/user.model.js.map +1 -1
- package/dist/components/auth/models/requests/change-password.schema.js +3 -3
- package/dist/components/auth/models/requests/change-password.schema.js.map +1 -1
- package/dist/components/auth/models/requests/sign-in.schema.js +5 -5
- package/dist/components/auth/models/requests/sign-in.schema.js.map +1 -1
- package/dist/components/health-check/controller.d.ts.map +1 -1
- package/dist/components/health-check/controller.js +0 -1
- package/dist/components/health-check/controller.js.map +1 -1
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/mail/common/types.d.ts +1 -1
- package/dist/components/mail/common/types.d.ts.map +1 -1
- package/dist/components/mail/component.d.ts.map +1 -1
- package/dist/components/mail/component.js +2 -7
- package/dist/components/mail/component.js.map +1 -1
- package/dist/components/mail/helpers/executors/bull-mq-executor.helper.d.ts +2 -1
- package/dist/components/mail/helpers/executors/bull-mq-executor.helper.d.ts.map +1 -1
- package/dist/components/mail/helpers/executors/bull-mq-executor.helper.js +10 -9
- package/dist/components/mail/helpers/executors/bull-mq-executor.helper.js.map +1 -1
- package/dist/components/mail/helpers/executors/direct-executor.helper.d.ts +1 -1
- package/dist/components/mail/helpers/executors/direct-executor.helper.d.ts.map +1 -1
- package/dist/components/mail/helpers/executors/direct-executor.helper.js +3 -3
- package/dist/components/mail/helpers/executors/direct-executor.helper.js.map +1 -1
- package/dist/components/mail/helpers/executors/internal-queue-executor.helper.d.ts +1 -1
- package/dist/components/mail/helpers/executors/internal-queue-executor.helper.d.ts.map +1 -1
- package/dist/components/mail/helpers/executors/internal-queue-executor.helper.js +4 -4
- package/dist/components/mail/helpers/executors/internal-queue-executor.helper.js.map +1 -1
- package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.d.ts +1 -1
- package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.d.ts.map +1 -1
- package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.js +3 -3
- package/dist/components/mail/helpers/transporters/mailgun-transporter.helper.js.map +1 -1
- package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.d.ts +1 -1
- package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.d.ts.map +1 -1
- package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.js +3 -3
- package/dist/components/mail/helpers/transporters/nodemail-transporter.helper.js.map +1 -1
- package/dist/components/mail/providers/mail-queue-executor.provider.d.ts.map +1 -1
- package/dist/components/mail/providers/mail-queue-executor.provider.js +8 -8
- package/dist/components/mail/providers/mail-queue-executor.provider.js.map +1 -1
- package/dist/components/mail/providers/mail-transporter.provider.d.ts.map +1 -1
- package/dist/components/mail/providers/mail-transporter.provider.js +6 -6
- package/dist/components/mail/providers/mail-transporter.provider.js.map +1 -1
- package/dist/components/mail/services/mail.service.d.ts +1 -1
- package/dist/components/mail/services/mail.service.d.ts.map +1 -1
- package/dist/components/mail/services/mail.service.js +9 -9
- package/dist/components/mail/services/mail.service.js.map +1 -1
- package/dist/components/mail/services/template.service.d.ts +1 -1
- package/dist/components/mail/services/template.service.d.ts.map +1 -1
- package/dist/components/mail/services/template.service.js +4 -4
- package/dist/components/mail/services/template.service.js.map +1 -1
- package/dist/components/mail/utilities/type.utility.d.ts +1 -1
- package/dist/components/mail/utilities/type.utility.d.ts.map +1 -1
- package/dist/components/socket-io/common/types.d.ts +2 -1
- package/dist/components/socket-io/common/types.d.ts.map +1 -1
- package/dist/components/socket-io/component.d.ts.map +1 -1
- package/dist/components/socket-io/component.js +2 -5
- package/dist/components/socket-io/component.js.map +1 -1
- package/dist/components/socket-io/handlers/node.handler.d.ts +1 -1
- package/dist/components/socket-io/handlers/node.handler.d.ts.map +1 -1
- package/dist/components/socket-io/handlers/node.handler.js +2 -1
- package/dist/components/socket-io/handlers/node.handler.js.map +1 -1
- package/dist/components/static-asset/common/constants.d.ts +1 -0
- package/dist/components/static-asset/common/constants.d.ts.map +1 -1
- package/dist/components/static-asset/common/constants.js +2 -1
- package/dist/components/static-asset/common/constants.js.map +1 -1
- package/dist/components/static-asset/common/types.d.ts +44 -1
- package/dist/components/static-asset/common/types.d.ts.map +1 -1
- package/dist/components/static-asset/controller/base.definition.d.ts +81 -80
- package/dist/components/static-asset/controller/base.definition.d.ts.map +1 -1
- package/dist/components/static-asset/controller/base.definition.js +1 -2
- package/dist/components/static-asset/controller/base.definition.js.map +1 -1
- package/dist/components/static-asset/controller/factory.d.ts +8 -12
- package/dist/components/static-asset/controller/factory.d.ts.map +1 -1
- package/dist/components/static-asset/controller/factory.js +41 -42
- package/dist/components/static-asset/controller/factory.js.map +1 -1
- package/dist/components/static-asset/models/base.model.d.ts +49 -19
- package/dist/components/static-asset/models/base.model.d.ts.map +1 -1
- package/dist/components/static-asset/models/base.model.js +3 -7
- package/dist/components/static-asset/models/base.model.js.map +1 -1
- package/dist/components/swagger/ui-factory.d.ts.map +1 -1
- package/dist/components/swagger/ui-factory.js +0 -2
- package/dist/components/swagger/ui-factory.js.map +1 -1
- package/dist/components/websocket/component.d.ts.map +1 -1
- package/dist/components/websocket/component.js +0 -3
- package/dist/components/websocket/component.js.map +1 -1
- package/dist/helpers/base-helper.d.ts +2 -0
- package/dist/helpers/base-helper.d.ts.map +1 -0
- package/dist/helpers/base-helper.js +6 -0
- package/dist/helpers/base-helper.js.map +1 -0
- package/dist/helpers/index.d.ts +2 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +1 -1
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/inversion/common/keys.d.ts.map +1 -1
- package/dist/helpers/inversion/common/keys.js +0 -2
- package/dist/helpers/inversion/common/keys.js.map +1 -1
- package/dist/helpers/inversion/common/types.d.ts +18 -56
- package/dist/helpers/inversion/common/types.d.ts.map +1 -1
- package/dist/helpers/inversion/container.d.ts.map +1 -1
- package/dist/helpers/inversion/container.js +0 -1
- package/dist/helpers/inversion/container.js.map +1 -1
- package/dist/helpers/inversion/index.d.ts +1 -1
- package/dist/helpers/inversion/index.d.ts.map +1 -1
- package/dist/helpers/inversion/index.js +5 -1
- package/dist/helpers/inversion/index.js.map +1 -1
- package/dist/helpers/inversion/mixins/controller.mixin.d.ts.map +1 -1
- package/dist/helpers/inversion/mixins/controller.mixin.js +0 -3
- package/dist/helpers/inversion/mixins/controller.mixin.js.map +1 -1
- package/dist/helpers/inversion/mixins/datasource.mixin.d.ts.map +1 -1
- package/dist/helpers/inversion/mixins/datasource.mixin.js +0 -3
- package/dist/helpers/inversion/mixins/datasource.mixin.js.map +1 -1
- package/dist/helpers/inversion/mixins/model.mixin.d.ts +29 -1
- package/dist/helpers/inversion/mixins/model.mixin.d.ts.map +1 -1
- package/dist/helpers/inversion/mixins/model.mixin.js +66 -2
- package/dist/helpers/inversion/mixins/model.mixin.js.map +1 -1
- package/dist/helpers/inversion/mixins/repository.mixin.d.ts.map +1 -1
- package/dist/helpers/inversion/mixins/repository.mixin.js +0 -2
- package/dist/helpers/inversion/mixins/repository.mixin.js.map +1 -1
- package/dist/helpers/inversion/registry.d.ts +22 -0
- package/dist/helpers/inversion/registry.d.ts.map +1 -1
- package/dist/utilities/jsx.utility.d.ts +2 -16
- package/dist/utilities/jsx.utility.d.ts.map +1 -1
- package/dist/utilities/jsx.utility.js +2 -16
- package/dist/utilities/jsx.utility.js.map +1 -1
- package/dist/utilities/schema.utility.d.ts.map +1 -1
- package/dist/utilities/schema.utility.js +0 -2
- package/dist/utilities/schema.utility.js.map +1 -1
- package/package.json +117 -77
- package/dist/components/auth/authenticate/services/basic-token.service.d.ts +0 -60
- package/dist/components/auth/authenticate/services/basic-token.service.d.ts.map +0 -1
- package/dist/components/auth/authenticate/services/basic-token.service.js.map +0 -1
- package/dist/components/auth/authenticate/services/jwt-token.service.d.ts +0 -34
- package/dist/components/auth/authenticate/services/jwt-token.service.d.ts.map +0 -1
- package/dist/components/auth/authenticate/services/jwt-token.service.js +0 -219
- package/dist/components/auth/authenticate/services/jwt-token.service.js.map +0 -1
- package/dist/components/auth/authenticate/strategies/jwt.strategy.d.ts.map +0 -1
- package/dist/components/auth/authenticate/strategies/jwt.strategy.js.map +0 -1
- package/dist/components/auth/authorize/middleware.d.ts +0 -2
- package/dist/components/auth/authorize/middleware.d.ts.map +0 -1
- package/dist/components/auth/authorize/middleware.js.map +0 -1
- package/dist/components/auth/models/entities/permission-mapping.model.d.ts +0 -26
- package/dist/components/auth/models/entities/permission-mapping.model.d.ts.map +0 -1
- package/dist/components/auth/models/entities/permission-mapping.model.js +0 -33
- package/dist/components/auth/models/entities/permission-mapping.model.js.map +0 -1
- package/dist/components/auth/models/entities/user-role.model.d.ts +0 -17
- package/dist/components/auth/models/entities/user-role.model.d.ts.map +0 -1
- package/dist/components/auth/models/entities/user-role.model.js +0 -34
- package/dist/components/auth/models/entities/user-role.model.js.map +0 -1
|
@@ -1,33 +1,13 @@
|
|
|
1
|
-
import { BaseEntity
|
|
2
|
-
import {
|
|
1
|
+
import { BaseEntity } from '../../../base/models/base';
|
|
2
|
+
import { TTableSchemaWithId } from '../../../base/models/common/types';
|
|
3
|
+
import { AbstractRepository } from '../../../base/repositories/core/abstract';
|
|
3
4
|
import { BaseHelper, TClass, TNullable, TResolver, ValueOrPromise } from '@venizia/ignis-helpers';
|
|
4
|
-
import { TAuthMode, TAuthStrategy } from '../../../components/auth/authenticate/common';
|
|
5
|
+
import { TAuthMode, TAuthStrategy } from '../../../components/auth/authenticate/common/constants';
|
|
6
|
+
import { IAuthorizationSpec } from '../../../components/auth/authorize/common/types';
|
|
5
7
|
import { Env, Schema } from 'hono';
|
|
6
8
|
import { z } from '@hono/zod-openapi';
|
|
7
9
|
import { ICustomizableRoutes, TRouteContext } from '../common';
|
|
8
|
-
/**
|
|
9
|
-
* Configuration options for creating a CRUD controller via {@link ControllerFactory.defineCrudController}.
|
|
10
|
-
*
|
|
11
|
-
* @typeParam EntitySchema - The Drizzle table schema type with an ID column
|
|
12
|
-
* @typeParam Routes - The routes configuration type (inferred from routes option)
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```typescript
|
|
16
|
-
* const UserControllerClass = ControllerFactory.defineCrudController<UserSchema>({
|
|
17
|
-
* entity: UserEntity,
|
|
18
|
-
* repository: { name: 'UserRepository' },
|
|
19
|
-
* controller: {
|
|
20
|
-
* name: 'UserController',
|
|
21
|
-
* basePath: '/users'
|
|
22
|
-
* },
|
|
23
|
-
* authenticate: { strategies: ['jwt'] },
|
|
24
|
-
* routes: {
|
|
25
|
-
* find: { skipAuth: true },
|
|
26
|
-
* findById: { skipAuth: true }
|
|
27
|
-
* }
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
10
|
+
/** Configuration options for creating a CRUD controller via ControllerFactory.defineCrudController. */
|
|
31
11
|
export interface ICrudControllerOptions<EntitySchema extends TTableSchemaWithId, Routes extends ICustomizableRoutes = ICustomizableRoutes> {
|
|
32
12
|
/** Entity class or resolver function returning the entity class */
|
|
33
13
|
entity: TClass<BaseEntity<EntitySchema>> | TResolver<TClass<BaseEntity<EntitySchema>>>;
|
|
@@ -44,123 +24,24 @@ export interface ICrudControllerOptions<EntitySchema extends TTableSchemaWithId,
|
|
|
44
24
|
requestSchema?: boolean;
|
|
45
25
|
};
|
|
46
26
|
};
|
|
47
|
-
/**
|
|
48
|
-
* Authentication config applied to all routes (unless overridden per-route)
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* // Apply JWT auth to all routes
|
|
52
|
-
* authenticate: { strategies: ['jwt'] }
|
|
53
|
-
*/
|
|
27
|
+
/** Authentication config applied to all routes (unless overridden per-route). */
|
|
54
28
|
authenticate?: {
|
|
55
29
|
strategies?: TAuthStrategy[];
|
|
56
30
|
mode?: TAuthMode;
|
|
57
31
|
};
|
|
58
|
-
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
* @example
|
|
62
|
-
* // JWT auth on all, skip for public read endpoints
|
|
63
|
-
* authenticate: { strategies: ['jwt'] },
|
|
64
|
-
* routes: {
|
|
65
|
-
* find: { skipAuth: true },
|
|
66
|
-
* findById: { skipAuth: true },
|
|
67
|
-
* count: { skipAuth: true },
|
|
68
|
-
* }
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* // No controller auth, require JWT only for writes
|
|
72
|
-
* routes: {
|
|
73
|
-
* create: { authenticate: { strategies: ['jwt'] } },
|
|
74
|
-
* updateById: { authenticate: { strategies: ['jwt'] }, requestBody: CustomUpdateSchema },
|
|
75
|
-
* deleteById: { authenticate: { strategies: ['jwt'] } },
|
|
76
|
-
* }
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* // Custom response schema with auth
|
|
80
|
-
* authenticate: { strategies: ['jwt'] },
|
|
81
|
-
* routes: {
|
|
82
|
-
* find: { schema: CustomFindResponseSchema, skipAuth: true },
|
|
83
|
-
* create: { schema: CustomCreateResponseSchema, requestBody: CustomCreateBodySchema },
|
|
84
|
-
* }
|
|
85
|
-
*/
|
|
32
|
+
/** Authorization config applied to all routes (unless overridden per-route). */
|
|
33
|
+
authorize?: IAuthorizationSpec | IAuthorizationSpec[];
|
|
34
|
+
/** Per-route configuration combining schema and auth overrides. */
|
|
86
35
|
routes?: Routes;
|
|
87
36
|
}
|
|
88
|
-
/**
|
|
89
|
-
* Factory for generating CRUD controllers from entity definitions.
|
|
90
|
-
*
|
|
91
|
-
* Creates fully-typed controller classes with standard CRUD endpoints
|
|
92
|
-
* (count, find, findById, findOne, create, updateById, updateBy, deleteById, deleteBy)
|
|
93
|
-
* based on entity schemas.
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* ```typescript
|
|
97
|
-
* // Define a CRUD controller for User entity
|
|
98
|
-
* const UserControllerClass = ControllerFactory.defineCrudController<UserSchema>({
|
|
99
|
-
* entity: UserEntity,
|
|
100
|
-
* repository: { name: 'UserRepository' },
|
|
101
|
-
* controller: { name: 'UserController', basePath: '/users' },
|
|
102
|
-
* authenticate: { strategies: ['jwt'] },
|
|
103
|
-
* routes: {
|
|
104
|
-
* find: { skipAuth: true },
|
|
105
|
-
* findById: { skipAuth: true }
|
|
106
|
-
* }
|
|
107
|
-
* });
|
|
108
|
-
*
|
|
109
|
-
* // Instantiate with repository
|
|
110
|
-
* const userController = new UserControllerClass(userRepository);
|
|
111
|
-
* ```
|
|
112
|
-
*/
|
|
37
|
+
/** Factory for generating typed CRUD controllers from entity definitions. */
|
|
113
38
|
export declare class ControllerFactory extends BaseHelper {
|
|
114
39
|
constructor();
|
|
115
|
-
/**
|
|
116
|
-
* Creates a CRUD controller class for the given entity.
|
|
117
|
-
*
|
|
118
|
-
* The returned class extends {@link BaseController} and includes handlers for:
|
|
119
|
-
* - `GET /count` - Count records matching filter
|
|
120
|
-
* - `GET /` - Find all records with pagination
|
|
121
|
-
* - `GET /:id` - Find record by ID
|
|
122
|
-
* - `GET /find-one` - Find single record matching filter
|
|
123
|
-
* - `POST /` - Create new record
|
|
124
|
-
* - `PATCH /:id` - Update record by ID
|
|
125
|
-
* - `PATCH /` - Update records matching filter
|
|
126
|
-
* - `DELETE /:id` - Delete record by ID
|
|
127
|
-
* - `DELETE /` - Delete records matching filter
|
|
128
|
-
*
|
|
129
|
-
* @typeParam EntitySchema - The Drizzle table schema type
|
|
130
|
-
* @typeParam RouteEnv - Hono environment type
|
|
131
|
-
* @typeParam RouteSchema - Combined route schema type
|
|
132
|
-
* @typeParam BasePath - Base path type
|
|
133
|
-
* @typeParam ConfigurableOptions - Controller configuration options type
|
|
134
|
-
* @param defOpts - Controller configuration options
|
|
135
|
-
* @returns A controller class constructor
|
|
136
|
-
*
|
|
137
|
-
* @example
|
|
138
|
-
* ```typescript
|
|
139
|
-
* const ProductController = ControllerFactory.defineCrudController({
|
|
140
|
-
* entity: ProductEntity,
|
|
141
|
-
* repository: { name: 'ProductRepository' },
|
|
142
|
-
* controller: { name: 'ProductController', basePath: '/products' }
|
|
143
|
-
* });
|
|
144
|
-
* ```
|
|
145
|
-
*/
|
|
40
|
+
/** Creates a CRUD controller class with standard endpoints (count, find, findById, create, update, delete). */
|
|
146
41
|
static defineCrudController<EntitySchema extends TTableSchemaWithId, Routes extends ICustomizableRoutes = ICustomizableRoutes, RouteEnv extends Env = Env, RouteSchema extends Schema = {}, BasePath extends string = '/', ConfigurableOptions extends object = {}>(defOpts: ICrudControllerOptions<EntitySchema, Routes>): {
|
|
147
42
|
new (repository: AbstractRepository<EntitySchema>): {
|
|
148
|
-
/** Repository instance for database operations */
|
|
149
43
|
repository: AbstractRepository<EntitySchema>;
|
|
150
|
-
/**
|
|
151
|
-
* Normalizes response data based on the `x-request-count` header.
|
|
152
|
-
*
|
|
153
|
-
* If the header is 'true' (default), returns full response with count.
|
|
154
|
-
* If 'false', returns only the data portion.
|
|
155
|
-
*
|
|
156
|
-
* Also sets the `X-Response-Count-Data` header with the count.
|
|
157
|
-
*
|
|
158
|
-
* @typeParam ResponseSchema - The response data type
|
|
159
|
-
* @typeParam RequestContext - Hono context type
|
|
160
|
-
* @typeParam ResponseData - Full response shape with count and data
|
|
161
|
-
* @param opts - Context and response data
|
|
162
|
-
* @returns Normalized response (full or data-only)
|
|
163
|
-
*/
|
|
44
|
+
/** Normalizes response based on x-request-count header (returns full or data-only). */
|
|
164
45
|
normalizeCountData<ResponseSchema extends unknown, RequestContext extends TRouteContext<RouteEnv> = TRouteContext<RouteEnv>, ResponseData extends {
|
|
165
46
|
count: number;
|
|
166
47
|
data?: TNullable<ResponseSchema>;
|
|
@@ -171,108 +52,56 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
171
52
|
context: RequestContext;
|
|
172
53
|
responseData: ResponseData;
|
|
173
54
|
}): ResponseData | TNullable<ResponseSchema>;
|
|
174
|
-
/**
|
|
175
|
-
* Handles GET /count - Returns count of records matching the filter.
|
|
176
|
-
*
|
|
177
|
-
* @param opts - Request options containing the Hono context
|
|
178
|
-
* @returns JSON response with count
|
|
179
|
-
*/
|
|
55
|
+
/** GET /count */
|
|
180
56
|
count(opts: {
|
|
181
57
|
context: TRouteContext<RouteEnv>;
|
|
182
58
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
183
|
-
/**
|
|
184
|
-
* Handles GET / - Returns paginated list of records with Content-Range header.
|
|
185
|
-
*
|
|
186
|
-
* Sets `Content-Range` header following HTTP RFC 7233 standard for pagination.
|
|
187
|
-
*
|
|
188
|
-
* @param opts - Request options containing the Hono context
|
|
189
|
-
* @returns JSON response with data array and range information
|
|
190
|
-
*/
|
|
59
|
+
/** GET / - Returns paginated list with Content-Range header. */
|
|
191
60
|
find(opts: {
|
|
192
61
|
context: TRouteContext<RouteEnv>;
|
|
193
62
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
194
|
-
/**
|
|
195
|
-
* Handles GET /:id - Returns single record by ID.
|
|
196
|
-
*
|
|
197
|
-
* @param opts - Request options containing the Hono context
|
|
198
|
-
* @returns JSON response with the found record or null
|
|
199
|
-
*/
|
|
63
|
+
/** GET /:id */
|
|
200
64
|
findById(opts: {
|
|
201
65
|
context: TRouteContext<RouteEnv>;
|
|
202
66
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
203
|
-
/**
|
|
204
|
-
* Handles GET /find-one - Returns first record matching the filter.
|
|
205
|
-
*
|
|
206
|
-
* @param opts - Request options containing the Hono context
|
|
207
|
-
* @returns JSON response with the found record or null
|
|
208
|
-
*/
|
|
67
|
+
/** GET /find-one */
|
|
209
68
|
findOne(opts: {
|
|
210
69
|
context: TRouteContext<RouteEnv>;
|
|
211
70
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
212
|
-
/**
|
|
213
|
-
* Handles POST / - Creates a new record.
|
|
214
|
-
*
|
|
215
|
-
* @param opts - Request options containing the Hono context with request body
|
|
216
|
-
* @returns JSON response with created record and count
|
|
217
|
-
*/
|
|
71
|
+
/** POST / */
|
|
218
72
|
create(opts: {
|
|
219
73
|
context: TRouteContext<RouteEnv>;
|
|
220
74
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
221
|
-
/**
|
|
222
|
-
* Handles PATCH /:id - Updates a record by ID.
|
|
223
|
-
*
|
|
224
|
-
* @param opts - Request options containing the Hono context with ID param and body
|
|
225
|
-
* @returns JSON response with updated record and count
|
|
226
|
-
*/
|
|
75
|
+
/** PATCH /:id */
|
|
227
76
|
updateById(opts: {
|
|
228
77
|
context: TRouteContext<RouteEnv>;
|
|
229
78
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
230
|
-
/**
|
|
231
|
-
* Handles PATCH / - Updates records matching the where filter.
|
|
232
|
-
*
|
|
233
|
-
* @param opts - Request options containing the Hono context with where query and body
|
|
234
|
-
* @returns JSON response with updated records array and count
|
|
235
|
-
*/
|
|
79
|
+
/** PATCH / */
|
|
236
80
|
updateBy(opts: {
|
|
237
81
|
context: TRouteContext<RouteEnv>;
|
|
238
82
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
239
|
-
/**
|
|
240
|
-
* Handles DELETE /:id - Deletes a record by ID.
|
|
241
|
-
*
|
|
242
|
-
* @param opts - Request options containing the Hono context with ID param
|
|
243
|
-
* @returns JSON response with deleted record and count
|
|
244
|
-
*/
|
|
83
|
+
/** DELETE /:id */
|
|
245
84
|
deleteById(opts: {
|
|
246
85
|
context: TRouteContext<RouteEnv>;
|
|
247
86
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
248
|
-
/**
|
|
249
|
-
* Handles DELETE / - Deletes records matching the where filter.
|
|
250
|
-
*
|
|
251
|
-
* @param opts - Request options containing the Hono context with where query
|
|
252
|
-
* @returns JSON response with deleted records array and count
|
|
253
|
-
*/
|
|
87
|
+
/** DELETE / */
|
|
254
88
|
deleteBy(opts: {
|
|
255
89
|
context: TRouteContext<RouteEnv>;
|
|
256
90
|
}): Promise<Response & import("hono").TypedResponse<any, 200, "json">>;
|
|
257
|
-
/**
|
|
258
|
-
* Registers all CRUD route handlers.
|
|
259
|
-
*
|
|
260
|
-
* Called during controller configuration. Binds all standard CRUD
|
|
261
|
-
* endpoints to their respective handler methods.
|
|
262
|
-
*/
|
|
91
|
+
/** Registers all CRUD route handlers. */
|
|
263
92
|
binding(): ValueOrPromise<void>;
|
|
264
93
|
toHonoHandler<ResponseType = unknown>(opts: {
|
|
265
94
|
handler: import("../common").TRouteHandler<ResponseType, RouteEnv>;
|
|
266
95
|
}): import("hono").Handler<RouteEnv, string, import("hono").Input, (Response | Promise<Response>) | (import("@hono/zod-openapi").RouteConfigToTypedResponse<import("@hono/zod-openapi").RouteConfig> | Promise<import("@hono/zod-openapi").RouteConfigToTypedResponse<import("@hono/zod-openapi").RouteConfig>>)>;
|
|
267
|
-
bindRoute<RouteConfig extends import("../common").
|
|
96
|
+
bindRoute<RouteConfig extends import("../common").IAuthRouteConfig>(opts: {
|
|
268
97
|
configs: RouteConfig;
|
|
269
98
|
}): import("../common").IBindRouteOptions<RouteConfig, RouteEnv, RouteSchema, BasePath>;
|
|
270
|
-
defineRoute<RouteConfig extends import("../common").
|
|
99
|
+
defineRoute<RouteConfig extends import("../common").IAuthRouteConfig, ResponseType = unknown>(opts: {
|
|
271
100
|
configs: RouteConfig;
|
|
272
101
|
handler: import("../common").TRouteHandler<ResponseType, RouteEnv>;
|
|
273
102
|
hook?: import("@hono/zod-openapi").Hook<any, RouteEnv, string, any> | undefined;
|
|
274
103
|
}): import("../common").IDefineRouteOptions<RouteConfig, RouteEnv, RouteSchema, BasePath>;
|
|
275
|
-
defineJSXRoute<RouteConfig extends import("../common").
|
|
104
|
+
defineJSXRoute<RouteConfig extends import("../common").IAuthRouteConfig, ResponseType = unknown>(opts: {
|
|
276
105
|
configs: RouteConfig;
|
|
277
106
|
handler: import("../common").TRouteHandler<ResponseType, RouteEnv>;
|
|
278
107
|
hook?: import("@hono/zod-openapi").Hook<any, RouteEnv, string, any> | undefined;
|
|
@@ -287,6 +116,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
287
116
|
strategies?: TAuthStrategy[];
|
|
288
117
|
mode?: TAuthMode;
|
|
289
118
|
};
|
|
119
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
290
120
|
readonly request: {
|
|
291
121
|
query: import("../../..").TAnyObjectSchema | z.ZodObject<{
|
|
292
122
|
where: z.ZodUnion<readonly [z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<any, string>>, z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>]> | z.ZodOptional<z.ZodUnion<readonly [z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<any, string>>, z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>]>>;
|
|
@@ -340,6 +170,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
340
170
|
strategies?: TAuthStrategy[];
|
|
341
171
|
mode?: TAuthMode;
|
|
342
172
|
};
|
|
173
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
343
174
|
readonly request: {
|
|
344
175
|
query: import("../../..").TAnyObjectSchema | z.ZodObject<{
|
|
345
176
|
filter: any;
|
|
@@ -394,6 +225,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
394
225
|
strategies?: TAuthStrategy[];
|
|
395
226
|
mode?: TAuthMode;
|
|
396
227
|
};
|
|
228
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
397
229
|
readonly request: {
|
|
398
230
|
params: z.ZodObject<{
|
|
399
231
|
id: z.ZodNumber;
|
|
@@ -453,6 +285,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
453
285
|
strategies?: TAuthStrategy[];
|
|
454
286
|
mode?: TAuthMode;
|
|
455
287
|
};
|
|
288
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
456
289
|
readonly request: {
|
|
457
290
|
query: import("../../..").TAnyObjectSchema | z.ZodObject<{
|
|
458
291
|
filter: any;
|
|
@@ -507,6 +340,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
507
340
|
strategies?: TAuthStrategy[];
|
|
508
341
|
mode?: TAuthMode;
|
|
509
342
|
};
|
|
343
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
510
344
|
readonly request: {
|
|
511
345
|
readonly body: {
|
|
512
346
|
description: string;
|
|
@@ -567,6 +401,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
567
401
|
strategies?: TAuthStrategy[];
|
|
568
402
|
mode?: TAuthMode;
|
|
569
403
|
};
|
|
404
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
570
405
|
readonly request: {
|
|
571
406
|
readonly params: z.ZodObject<{
|
|
572
407
|
id: z.ZodNumber;
|
|
@@ -632,6 +467,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
632
467
|
strategies?: TAuthStrategy[];
|
|
633
468
|
mode?: TAuthMode;
|
|
634
469
|
};
|
|
470
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
635
471
|
readonly request: {
|
|
636
472
|
readonly query: import("../../..").TAnyObjectSchema | z.ZodObject<{
|
|
637
473
|
where: z.ZodUnion<readonly [z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<any, string>>, z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>]>;
|
|
@@ -695,6 +531,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
695
531
|
strategies?: TAuthStrategy[];
|
|
696
532
|
mode?: TAuthMode;
|
|
697
533
|
};
|
|
534
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
698
535
|
readonly request: {
|
|
699
536
|
params: z.ZodObject<{
|
|
700
537
|
id: z.ZodNumber;
|
|
@@ -751,6 +588,7 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
751
588
|
strategies?: TAuthStrategy[];
|
|
752
589
|
mode?: TAuthMode;
|
|
753
590
|
};
|
|
591
|
+
readonly authorize: IAuthorizationSpec<Env, string, string> | IAuthorizationSpec<Env, string, string>[] | undefined;
|
|
754
592
|
readonly request: {
|
|
755
593
|
query: import("../../..").TAnyObjectSchema | z.ZodObject<{
|
|
756
594
|
where: z.ZodUnion<readonly [z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<any, string>>, z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>]>;
|
|
@@ -802,12 +640,12 @@ export declare class ControllerFactory extends BaseHelper {
|
|
|
802
640
|
getRouter(): import("@hono/zod-openapi").OpenAPIHono<RouteEnv, RouteSchema, BasePath>;
|
|
803
641
|
registerRoutesFromRegistry(): void;
|
|
804
642
|
configure(opts?: ConfigurableOptions | undefined): Promise<import("@hono/zod-openapi").OpenAPIHono<RouteEnv, RouteSchema, BasePath>>;
|
|
805
|
-
getRouteConfigs<RouteConfig extends import("../common").
|
|
643
|
+
getRouteConfigs<RouteConfig extends import("../common").IAuthRouteConfig>(opts: {
|
|
806
644
|
configs: RouteConfig;
|
|
807
645
|
}): RouteConfig & {
|
|
808
646
|
getRoutingPath(): RouteConfig["path"] extends infer T ? T extends RouteConfig["path"] ? T extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${/*elided*/ any}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : T : never : never;
|
|
809
647
|
};
|
|
810
|
-
getJSXRouteConfigs<RouteConfig extends import("../common").
|
|
648
|
+
getJSXRouteConfigs<RouteConfig extends import("../common").IAuthRouteConfig>(opts: {
|
|
811
649
|
configs: RouteConfig;
|
|
812
650
|
}): RouteConfig & {
|
|
813
651
|
getRoutingPath(): RouteConfig["path"] extends infer T ? T extends RouteConfig["path"] ? T extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${Tail extends `${infer Head}/{${infer Param}}${infer Tail}` ? `${Head}/:${Param}${/*elided*/ any}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : Tail}` : T : never : never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/base/controllers/factory/controller.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/base/controllers/factory/controller.ts"],"names":[],"mappings":"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"}
|