@lenne.tech/nest-server 11.43.3 → 12.0.0
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/.claude/rules/architecture.md +82 -0
- package/.claude/rules/module-deprecation.md +3 -2
- package/.claude/rules/package-management.md +26 -15
- package/.claude/rules/role-system.md +9 -0
- package/.claude/rules/testing.md +24 -15
- package/CLAUDE.md +29 -4
- package/FRAMEWORK-API.md +215 -215
- package/bin/migrate.js +18 -17
- package/bin/package.json +3 -0
- package/dist/config.env.d.ts +1 -1
- package/dist/config.env.js +34 -43
- package/dist/config.env.js.map +1 -1
- package/dist/core/common/args/filter.args.d.ts +2 -2
- package/dist/core/common/args/filter.args.js +13 -16
- package/dist/core/common/args/filter.args.js.map +1 -1
- package/dist/core/common/args/pagination.args.d.ts +2 -2
- package/dist/core/common/args/pagination.args.js +20 -23
- package/dist/core/common/args/pagination.args.js.map +1 -1
- package/dist/core/common/decorators/api-methods.decorator.js +3 -7
- package/dist/core/common/decorators/api-methods.decorator.js.map +1 -1
- package/dist/core/common/decorators/common-error.decorator.js +6 -10
- package/dist/core/common/decorators/common-error.decorator.js.map +1 -1
- package/dist/core/common/decorators/current-user.decorator.js +3 -6
- package/dist/core/common/decorators/current-user.decorator.js.map +1 -1
- package/dist/core/common/decorators/graphql-populate.decorator.d.ts +1 -1
- package/dist/core/common/decorators/graphql-populate.decorator.js +3 -6
- package/dist/core/common/decorators/graphql-populate.decorator.js.map +1 -1
- package/dist/core/common/decorators/graphql-service-options.decorator.d.ts +1 -1
- package/dist/core/common/decorators/graphql-service-options.decorator.js +7 -10
- package/dist/core/common/decorators/graphql-service-options.decorator.js.map +1 -1
- package/dist/core/common/decorators/graphql-user.decorator.js +4 -7
- package/dist/core/common/decorators/graphql-user.decorator.js.map +1 -1
- package/dist/core/common/decorators/nested-type.registry.js +3 -7
- package/dist/core/common/decorators/nested-type.registry.js.map +1 -1
- package/dist/core/common/decorators/response-model.decorator.d.ts +1 -1
- package/dist/core/common/decorators/response-model.decorator.js +3 -7
- package/dist/core/common/decorators/response-model.decorator.js.map +1 -1
- package/dist/core/common/decorators/rest-service-options.decorator.js +4 -7
- package/dist/core/common/decorators/rest-service-options.decorator.js.map +1 -1
- package/dist/core/common/decorators/rest-user.decorator.js +2 -5
- package/dist/core/common/decorators/rest-user.decorator.js.map +1 -1
- package/dist/core/common/decorators/restricted.decorator.d.ts +3 -3
- package/dist/core/common/decorators/restricted.decorator.js +42 -52
- package/dist/core/common/decorators/restricted.decorator.js.map +1 -1
- package/dist/core/common/decorators/restrictions-checked.marker.js +8 -14
- package/dist/core/common/decorators/restrictions-checked.marker.js.map +1 -1
- package/dist/core/common/decorators/roles.decorator.js +2 -6
- package/dist/core/common/decorators/roles.decorator.js.map +1 -1
- package/dist/core/common/decorators/translatable.decorator.js +4 -9
- package/dist/core/common/decorators/translatable.decorator.js.map +1 -1
- package/dist/core/common/decorators/unified-field.decorator.d.ts +4 -4
- package/dist/core/common/decorators/unified-field.decorator.js +56 -64
- package/dist/core/common/decorators/unified-field.decorator.js.map +1 -1
- package/dist/core/common/enums/comparison-operator.enum.js +4 -7
- package/dist/core/common/enums/comparison-operator.enum.js.map +1 -1
- package/dist/core/common/enums/logical-operator.enum.js +4 -7
- package/dist/core/common/enums/logical-operator.enum.js.map +1 -1
- package/dist/core/common/enums/process-type.enum.js +2 -5
- package/dist/core/common/enums/process-type.enum.js.map +1 -1
- package/dist/core/common/enums/role.enum.js +14 -22
- package/dist/core/common/enums/role.enum.js.map +1 -1
- package/dist/core/common/enums/sort-order.emum.js +4 -7
- package/dist/core/common/enums/sort-order.emum.js.map +1 -1
- package/dist/core/common/exceptions/access-denied.exception.js +5 -8
- package/dist/core/common/exceptions/access-denied.exception.js.map +1 -1
- package/dist/core/common/filters/http-exception-log.filter.js +7 -9
- package/dist/core/common/filters/http-exception-log.filter.js.map +1 -1
- package/dist/core/common/filters/mongoose-cast-error.filter.js +16 -23
- package/dist/core/common/filters/mongoose-cast-error.filter.js.map +1 -1
- package/dist/core/common/helpers/clone.helper.js +6 -10
- package/dist/core/common/helpers/clone.helper.js.map +1 -1
- package/dist/core/common/helpers/common.helper.js +2 -6
- package/dist/core/common/helpers/common.helper.js.map +1 -1
- package/dist/core/common/helpers/config.helper.d.ts +1 -0
- package/dist/core/common/helpers/config.helper.js +35 -40
- package/dist/core/common/helpers/config.helper.js.map +1 -1
- package/dist/core/common/helpers/content-disposition.helper.js +1 -4
- package/dist/core/common/helpers/content-disposition.helper.js.map +1 -1
- package/dist/core/common/helpers/context.helper.js +4 -8
- package/dist/core/common/helpers/context.helper.js.map +1 -1
- package/dist/core/common/helpers/cookies.helper.d.ts +1 -1
- package/dist/core/common/helpers/cookies.helper.js +20 -37
- package/dist/core/common/helpers/cookies.helper.js.map +1 -1
- package/dist/core/common/helpers/db.helper.d.ts +5 -5
- package/dist/core/common/helpers/db.helper.js +32 -52
- package/dist/core/common/helpers/db.helper.js.map +1 -1
- package/dist/core/common/helpers/decorator.helper.js +9 -13
- package/dist/core/common/helpers/decorator.helper.js.map +1 -1
- package/dist/core/common/helpers/execution-context-request.helper.js +1 -4
- package/dist/core/common/helpers/execution-context-request.helper.js.map +1 -1
- package/dist/core/common/helpers/file.helper.d.ts +1 -1
- package/dist/core/common/helpers/file.helper.js +24 -32
- package/dist/core/common/helpers/file.helper.js.map +1 -1
- package/dist/core/common/helpers/filter.helper.d.ts +2 -2
- package/dist/core/common/helpers/filter.helper.js +35 -44
- package/dist/core/common/helpers/filter.helper.js.map +1 -1
- package/dist/core/common/helpers/graceful-shutdown.helper.js +5 -8
- package/dist/core/common/helpers/graceful-shutdown.helper.js.map +1 -1
- package/dist/core/common/helpers/graphql-ws-connection.helper.d.ts +3 -1
- package/dist/core/common/helpers/graphql-ws-connection.helper.js +25 -32
- package/dist/core/common/helpers/graphql-ws-connection.helper.js.map +1 -1
- package/dist/core/common/helpers/graphql-ws-context.helper.d.ts +2 -2
- package/dist/core/common/helpers/graphql-ws-context.helper.js +25 -33
- package/dist/core/common/helpers/graphql-ws-context.helper.js.map +1 -1
- package/dist/core/common/helpers/graphql.helper.js +14 -29
- package/dist/core/common/helpers/graphql.helper.js.map +1 -1
- package/dist/core/common/helpers/gridfs.helper.js +3 -7
- package/dist/core/common/helpers/gridfs.helper.js.map +1 -1
- package/dist/core/common/helpers/id.helper.d.ts +1 -1
- package/dist/core/common/helpers/id.helper.js +9 -15
- package/dist/core/common/helpers/id.helper.js.map +1 -1
- package/dist/core/common/helpers/input.helper.d.ts +3 -3
- package/dist/core/common/helpers/input.helper.js +68 -110
- package/dist/core/common/helpers/input.helper.js.map +1 -1
- package/dist/core/common/helpers/interceptor.helper.d.ts +1 -1
- package/dist/core/common/helpers/interceptor.helper.js +7 -11
- package/dist/core/common/helpers/interceptor.helper.js.map +1 -1
- package/dist/core/common/helpers/logging.helper.js +7 -16
- package/dist/core/common/helpers/logging.helper.js.map +1 -1
- package/dist/core/common/helpers/meta.helper.js +14 -20
- package/dist/core/common/helpers/meta.helper.js.map +1 -1
- package/dist/core/common/helpers/model.helper.js +20 -31
- package/dist/core/common/helpers/model.helper.js.map +1 -1
- package/dist/core/common/helpers/module-location.helper.d.ts +1 -0
- package/dist/core/common/helpers/module-location.helper.js +20 -0
- package/dist/core/common/helpers/module-location.helper.js.map +1 -0
- package/dist/core/common/helpers/outbound-url.helper.js +24 -33
- package/dist/core/common/helpers/outbound-url.helper.js.map +1 -1
- package/dist/core/common/helpers/process-diagnostics.helper.js +6 -10
- package/dist/core/common/helpers/process-diagnostics.helper.js.map +1 -1
- package/dist/core/common/helpers/project-name.helper.js +4 -8
- package/dist/core/common/helpers/project-name.helper.js.map +1 -1
- package/dist/core/common/helpers/register-enum.helper.js +11 -16
- package/dist/core/common/helpers/register-enum.helper.js.map +1 -1
- package/dist/core/common/helpers/scim.helper.js +1 -4
- package/dist/core/common/helpers/scim.helper.js.map +1 -1
- package/dist/core/common/helpers/service.helper.d.ts +3 -3
- package/dist/core/common/helpers/service.helper.js +29 -36
- package/dist/core/common/helpers/service.helper.js.map +1 -1
- package/dist/core/common/helpers/swagger.helper.d.ts +2 -2
- package/dist/core/common/helpers/swagger.helper.js +116 -86
- package/dist/core/common/helpers/swagger.helper.js.map +1 -1
- package/dist/core/common/helpers/table.helper.js +1 -4
- package/dist/core/common/helpers/table.helper.js.map +1 -1
- package/dist/core/common/helpers/validation-message.helper.js +2 -6
- package/dist/core/common/helpers/validation-message.helper.js.map +1 -1
- package/dist/core/common/inputs/combined-filter.input.d.ts +1 -1
- package/dist/core/common/inputs/combined-filter.input.js +1 -5
- package/dist/core/common/inputs/combined-filter.input.js.map +1 -1
- package/dist/core/common/inputs/core-input.input.d.ts +1 -1
- package/dist/core/common/inputs/core-input.input.js +4 -8
- package/dist/core/common/inputs/core-input.input.js.map +1 -1
- package/dist/core/common/inputs/filter.input.d.ts +3 -3
- package/dist/core/common/inputs/filter.input.js +31 -34
- package/dist/core/common/inputs/filter.input.js.map +1 -1
- package/dist/core/common/inputs/single-filter.input.d.ts +2 -2
- package/dist/core/common/inputs/single-filter.input.js +28 -31
- package/dist/core/common/inputs/single-filter.input.js.map +1 -1
- package/dist/core/common/inputs/sort.input.d.ts +2 -2
- package/dist/core/common/inputs/sort.input.js +16 -19
- package/dist/core/common/inputs/sort.input.js.map +1 -1
- package/dist/core/common/interceptors/check-response.interceptor.d.ts +1 -1
- package/dist/core/common/interceptors/check-response.interceptor.js +12 -15
- package/dist/core/common/interceptors/check-response.interceptor.js.map +1 -1
- package/dist/core/common/interceptors/check-security.interceptor.d.ts +1 -1
- package/dist/core/common/interceptors/check-security.interceptor.js +16 -19
- package/dist/core/common/interceptors/check-security.interceptor.js.map +1 -1
- package/dist/core/common/interceptors/response-model.interceptor.d.ts +1 -1
- package/dist/core/common/interceptors/response-model.interceptor.js +16 -19
- package/dist/core/common/interceptors/response-model.interceptor.js.map +1 -1
- package/dist/core/common/interceptors/translate-response.interceptor.js +12 -15
- package/dist/core/common/interceptors/translate-response.interceptor.js.map +1 -1
- package/dist/core/common/interfaces/core-persistence-model.interface.d.ts +1 -1
- package/dist/core/common/interfaces/core-persistence-model.interface.js +1 -2
- package/dist/core/common/interfaces/cron-job-config-with-time-zone.interface.d.ts +1 -1
- package/dist/core/common/interfaces/cron-job-config-with-time-zone.interface.js +1 -2
- package/dist/core/common/interfaces/cron-job-config-with-utc-offset.interface.d.ts +1 -1
- package/dist/core/common/interfaces/cron-job-config-with-utc-offset.interface.js +1 -2
- package/dist/core/common/interfaces/cron-job-config.interface.js +1 -2
- package/dist/core/common/interfaces/mailjet-options.interface.js +1 -2
- package/dist/core/common/interfaces/prepare-input-options.interface.js +1 -2
- package/dist/core/common/interfaces/prepare-output-options.interface.js +1 -2
- package/dist/core/common/interfaces/resolve-selector.interface.js +1 -2
- package/dist/core/common/interfaces/scim-array-filter-node.interface.d.ts +1 -1
- package/dist/core/common/interfaces/scim-array-filter-node.interface.js +1 -2
- package/dist/core/common/interfaces/scim-condition-node.interface.d.ts +1 -1
- package/dist/core/common/interfaces/scim-condition-node.interface.js +1 -2
- package/dist/core/common/interfaces/scim-logical-node.interface.d.ts +2 -2
- package/dist/core/common/interfaces/scim-logical-node.interface.js +1 -2
- package/dist/core/common/interfaces/server-options.interface.d.ts +8 -9
- package/dist/core/common/interfaces/server-options.interface.js +1 -2
- package/dist/core/common/interfaces/service-options.interface.d.ts +3 -3
- package/dist/core/common/interfaces/service-options.interface.js +1 -2
- package/dist/core/common/interfaces/swagger-setup-options.interface.js +1 -2
- package/dist/core/common/middleware/request-context.middleware.js +6 -9
- package/dist/core/common/middleware/request-context.middleware.js.map +1 -1
- package/dist/core/common/middlewares/security-headers.middleware.d.ts +2 -2
- package/dist/core/common/middlewares/security-headers.middleware.js +6 -9
- package/dist/core/common/middlewares/security-headers.middleware.js.map +1 -1
- package/dist/core/common/middlewares/to-lower-case.middleware.js +1 -5
- package/dist/core/common/middlewares/to-lower-case.middleware.js.map +1 -1
- package/dist/core/common/models/core-model.model.js +3 -7
- package/dist/core/common/models/core-model.model.js.map +1 -1
- package/dist/core/common/models/core-persistence.model.d.ts +1 -1
- package/dist/core/common/models/core-persistence.model.js +27 -30
- package/dist/core/common/models/core-persistence.model.js.map +1 -1
- package/dist/core/common/models/pagination-info.model.js +11 -14
- package/dist/core/common/models/pagination-info.model.js.map +1 -1
- package/dist/core/common/pipes/check-input.pipe.js +10 -13
- package/dist/core/common/pipes/check-input.pipe.js.map +1 -1
- package/dist/core/common/pipes/map-and-validate.pipe.js +63 -66
- package/dist/core/common/pipes/map-and-validate.pipe.js.map +1 -1
- package/dist/core/common/plugins/complexity.plugin.d.ts +1 -1
- package/dist/core/common/plugins/complexity.plugin.js +13 -16
- package/dist/core/common/plugins/complexity.plugin.js.map +1 -1
- package/dist/core/common/plugins/mongoose-audit-fields.plugin.js +7 -10
- package/dist/core/common/plugins/mongoose-audit-fields.plugin.js.map +1 -1
- package/dist/core/common/plugins/mongoose-id.plugin.js +1 -4
- package/dist/core/common/plugins/mongoose-id.plugin.js.map +1 -1
- package/dist/core/common/plugins/mongoose-password.plugin.js +10 -16
- package/dist/core/common/plugins/mongoose-password.plugin.js.map +1 -1
- package/dist/core/common/plugins/mongoose-role-guard.plugin.js +14 -17
- package/dist/core/common/plugins/mongoose-role-guard.plugin.js.map +1 -1
- package/dist/core/common/plugins/mongoose-system-role.plugin.js +6 -9
- package/dist/core/common/plugins/mongoose-system-role.plugin.js.map +1 -1
- package/dist/core/common/plugins/mongoose-tenant.plugin.js +15 -18
- package/dist/core/common/plugins/mongoose-tenant.plugin.js.map +1 -1
- package/dist/core/common/scalars/any.scalar.js +14 -17
- package/dist/core/common/scalars/any.scalar.js.map +1 -1
- package/dist/core/common/scalars/date-timestamp.scalar.js +7 -10
- package/dist/core/common/scalars/date-timestamp.scalar.js.map +1 -1
- package/dist/core/common/scalars/date.scalar.js +7 -10
- package/dist/core/common/scalars/date.scalar.js.map +1 -1
- package/dist/core/common/scalars/json.scalar.js +14 -17
- package/dist/core/common/scalars/json.scalar.js.map +1 -1
- package/dist/core/common/scalars/upload.scalar.d.ts +2 -0
- package/dist/core/common/scalars/upload.scalar.js +3 -0
- package/dist/core/common/scalars/upload.scalar.js.map +1 -0
- package/dist/core/common/services/brevo.service.d.ts +7 -3
- package/dist/core/common/services/brevo.service.js +11 -13
- package/dist/core/common/services/brevo.service.js.map +1 -1
- package/dist/core/common/services/config.service.d.ts +1 -1
- package/dist/core/common/services/config.service.js +18 -23
- package/dist/core/common/services/config.service.js.map +1 -1
- package/dist/core/common/services/core-body-parser.initializer.d.ts +1 -1
- package/dist/core/common/services/core-body-parser.initializer.js +17 -21
- package/dist/core/common/services/core-body-parser.initializer.js.map +1 -1
- package/dist/core/common/services/core-cron-jobs.initializer.d.ts +2 -2
- package/dist/core/common/services/core-cron-jobs.initializer.js +12 -17
- package/dist/core/common/services/core-cron-jobs.initializer.js.map +1 -1
- package/dist/core/common/services/core-cron-jobs.registry.d.ts +1 -1
- package/dist/core/common/services/core-cron-jobs.registry.js +2 -6
- package/dist/core/common/services/core-cron-jobs.registry.js.map +1 -1
- package/dist/core/common/services/core-cron-jobs.service.d.ts +4 -4
- package/dist/core/common/services/core-cron-jobs.service.js +37 -35
- package/dist/core/common/services/core-cron-jobs.service.js.map +1 -1
- package/dist/core/common/services/core-redis-pubsub.d.ts +1 -1
- package/dist/core/common/services/core-redis-pubsub.js +4 -8
- package/dist/core/common/services/core-redis-pubsub.js.map +1 -1
- package/dist/core/common/services/core-redis.service.d.ts +2 -2
- package/dist/core/common/services/core-redis.service.js +11 -14
- package/dist/core/common/services/core-redis.service.js.map +1 -1
- package/dist/core/common/services/core-s3.service.d.ts +2 -2
- package/dist/core/common/services/core-s3.service.js +21 -17
- package/dist/core/common/services/core-s3.service.js.map +1 -1
- package/dist/core/common/services/core-tenant-context.registry.d.ts +1 -1
- package/dist/core/common/services/core-tenant-context.registry.js +2 -6
- package/dist/core/common/services/core-tenant-context.registry.js.map +1 -1
- package/dist/core/common/services/core-trust-proxy.initializer.d.ts +1 -1
- package/dist/core/common/services/core-trust-proxy.initializer.js +11 -14
- package/dist/core/common/services/core-trust-proxy.initializer.js.map +1 -1
- package/dist/core/common/services/crud.service.d.ts +6 -6
- package/dist/core/common/services/crud.service.js +35 -39
- package/dist/core/common/services/crud.service.js.map +1 -1
- package/dist/core/common/services/email.service.d.ts +5 -5
- package/dist/core/common/services/email.service.js +27 -30
- package/dist/core/common/services/email.service.js.map +1 -1
- package/dist/core/common/services/mailjet.service.d.ts +1 -1
- package/dist/core/common/services/mailjet.service.js +9 -11
- package/dist/core/common/services/mailjet.service.js.map +1 -1
- package/dist/core/common/services/model-doc.service.d.ts +1 -1
- package/dist/core/common/services/model-doc.service.js +9 -13
- package/dist/core/common/services/model-doc.service.js.map +1 -1
- package/dist/core/common/services/model-registry.service.d.ts +1 -1
- package/dist/core/common/services/model-registry.service.js +1 -5
- package/dist/core/common/services/model-registry.service.js.map +1 -1
- package/dist/core/common/services/module.service.d.ts +5 -5
- package/dist/core/common/services/module.service.js +25 -29
- package/dist/core/common/services/module.service.js.map +1 -1
- package/dist/core/common/services/rate-limit-store.d.ts +1 -1
- package/dist/core/common/services/rate-limit-store.js +9 -15
- package/dist/core/common/services/rate-limit-store.js.map +1 -1
- package/dist/core/common/services/request-context.service.js +3 -7
- package/dist/core/common/services/request-context.service.js.map +1 -1
- package/dist/core/common/services/template.service.d.ts +1 -1
- package/dist/core/common/services/template.service.js +12 -15
- package/dist/core/common/services/template.service.js.map +1 -1
- package/dist/core/common/types/array-element.type.js +1 -2
- package/dist/core/common/types/core-model-constructor.type.d.ts +1 -1
- package/dist/core/common/types/core-model-constructor.type.js +1 -2
- package/dist/core/common/types/falsy.type.js +1 -2
- package/dist/core/common/types/field-selection.type.d.ts +1 -1
- package/dist/core/common/types/field-selection.type.js +1 -2
- package/dist/core/common/types/id.type.js +1 -2
- package/dist/core/common/types/ids.type.d.ts +1 -1
- package/dist/core/common/types/ids.type.js +1 -2
- package/dist/core/common/types/is-one-of.type.js +1 -2
- package/dist/core/common/types/maybe-promise.type.js +1 -2
- package/dist/core/common/types/plain-input.type.js +1 -2
- package/dist/core/common/types/plain-object-deep.type.js +1 -2
- package/dist/core/common/types/plain-object.type.js +1 -2
- package/dist/core/common/types/populate-config.type.js +1 -2
- package/dist/core/common/types/remove-methods.type.js +1 -2
- package/dist/core/common/types/require-only-one.type.js +1 -2
- package/dist/core/common/types/required-at-least-one.type.js +1 -2
- package/dist/core/common/types/scim-comparator.type.js +1 -2
- package/dist/core/common/types/scim-logical-operator.type.js +1 -2
- package/dist/core/common/types/scim-node.type.d.ts +3 -3
- package/dist/core/common/types/scim-node.type.js +1 -2
- package/dist/core/common/types/string-or-object-id.type.js +1 -2
- package/dist/core/common/types/wrapper.type.js +1 -2
- package/dist/core/modules/ai/core-ai-mcp-oauth.initializer.d.ts +1 -1
- package/dist/core/modules/ai/core-ai-mcp-oauth.initializer.js +39 -42
- package/dist/core/modules/ai/core-ai-mcp-oauth.initializer.js.map +1 -1
- package/dist/core/modules/ai/core-ai-mcp.controller.d.ts +4 -4
- package/dist/core/modules/ai/core-ai-mcp.controller.js +47 -50
- package/dist/core/modules/ai/core-ai-mcp.controller.js.map +1 -1
- package/dist/core/modules/ai/core-ai.constants.js +22 -25
- package/dist/core/modules/ai/core-ai.constants.js.map +1 -1
- package/dist/core/modules/ai/core-ai.controller.d.ts +38 -38
- package/dist/core/modules/ai/core-ai.controller.js +223 -226
- package/dist/core/modules/ai/core-ai.controller.js.map +1 -1
- package/dist/core/modules/ai/core-ai.module.d.ts +19 -19
- package/dist/core/modules/ai/core-ai.module.js +136 -139
- package/dist/core/modules/ai/core-ai.module.js.map +1 -1
- package/dist/core/modules/ai/core-ai.resolver.d.ts +36 -36
- package/dist/core/modules/ai/core-ai.resolver.js +236 -239
- package/dist/core/modules/ai/core-ai.resolver.js.map +1 -1
- package/dist/core/modules/ai/helpers/ai-mcp-oauth-consent.helper.js +11 -17
- package/dist/core/modules/ai/helpers/ai-mcp-oauth-consent.helper.js.map +1 -1
- package/dist/core/modules/ai/helpers/ai-mcp-oauth.helper.d.ts +2 -2
- package/dist/core/modules/ai/helpers/ai-mcp-oauth.helper.js +13 -17
- package/dist/core/modules/ai/helpers/ai-mcp-oauth.helper.js.map +1 -1
- package/dist/core/modules/ai/helpers/ai-mcp-oauth.registry.js +2 -6
- package/dist/core/modules/ai/helpers/ai-mcp-oauth.registry.js.map +1 -1
- package/dist/core/modules/ai/hooks/ai-hook.base.d.ts +2 -2
- package/dist/core/modules/ai/hooks/ai-hook.base.js +7 -10
- package/dist/core/modules/ai/hooks/ai-hook.base.js.map +1 -1
- package/dist/core/modules/ai/hooks/ai-hook.registry.d.ts +3 -3
- package/dist/core/modules/ai/hooks/ai-hook.registry.js +5 -8
- package/dist/core/modules/ai/hooks/ai-hook.registry.js.map +1 -1
- package/dist/core/modules/ai/index.d.ts +71 -71
- package/dist/core/modules/ai/index.js +71 -87
- package/dist/core/modules/ai/index.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-budget-limit-create.input.d.ts +1 -1
- package/dist/core/modules/ai/inputs/core-ai-budget-limit-create.input.js +16 -19
- package/dist/core/modules/ai/inputs/core-ai-budget-limit-create.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-budget-limit.input.js +21 -24
- package/dist/core/modules/ai/inputs/core-ai-budget-limit.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-connection-create.input.d.ts +1 -1
- package/dist/core/modules/ai/inputs/core-ai-connection-create.input.js +16 -19
- package/dist/core/modules/ai/inputs/core-ai-connection-create.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-connection-preference.input.js +18 -21
- package/dist/core/modules/ai/inputs/core-ai-connection-preference.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-connection.input.js +52 -55
- package/dist/core/modules/ai/inputs/core-ai-connection.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-conversation-create.input.d.ts +1 -1
- package/dist/core/modules/ai/inputs/core-ai-conversation-create.input.js +9 -12
- package/dist/core/modules/ai/inputs/core-ai-conversation-create.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-conversation.input.js +12 -15
- package/dist/core/modules/ai/inputs/core-ai-conversation.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt-create.input.d.ts +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt-create.input.js +20 -23
- package/dist/core/modules/ai/inputs/core-ai-prompt-create.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt-hint-create.input.d.ts +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt-hint-create.input.js +14 -17
- package/dist/core/modules/ai/inputs/core-ai-prompt-hint-create.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt-hint.input.js +18 -21
- package/dist/core/modules/ai/inputs/core-ai-prompt-hint.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt-update.input.d.ts +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt-update.input.js +19 -22
- package/dist/core/modules/ai/inputs/core-ai-prompt-update.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-prompt.input.js +37 -40
- package/dist/core/modules/ai/inputs/core-ai-prompt.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-slot-create.input.d.ts +1 -1
- package/dist/core/modules/ai/inputs/core-ai-slot-create.input.js +14 -17
- package/dist/core/modules/ai/inputs/core-ai-slot-create.input.js.map +1 -1
- package/dist/core/modules/ai/inputs/core-ai-slot-update.input.js +24 -27
- package/dist/core/modules/ai/inputs/core-ai-slot-update.input.js.map +1 -1
- package/dist/core/modules/ai/interfaces/ai-hook.interface.d.ts +3 -3
- package/dist/core/modules/ai/interfaces/ai-hook.interface.js +1 -2
- package/dist/core/modules/ai/interfaces/ai-interaction-record.interface.js +1 -2
- package/dist/core/modules/ai/interfaces/ai-placeholder.interface.d.ts +1 -1
- package/dist/core/modules/ai/interfaces/ai-placeholder.interface.js +1 -2
- package/dist/core/modules/ai/interfaces/ai-tool.interface.d.ts +2 -2
- package/dist/core/modules/ai/interfaces/ai-tool.interface.js +1 -2
- package/dist/core/modules/ai/interfaces/llm-provider.interface.js +1 -2
- package/dist/core/modules/ai/interfaces/resolved-ai-connection.interface.js +1 -2
- package/dist/core/modules/ai/models/core-ai-action.model.js +12 -15
- package/dist/core/modules/ai/models/core-ai-action.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-available-connection.model.js +13 -16
- package/dist/core/modules/ai/models/core-ai-available-connection.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-budget-limit.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-budget-limit.model.js +24 -27
- package/dist/core/modules/ai/models/core-ai-budget-limit.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-connection-preference.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-connection-preference.model.js +22 -25
- package/dist/core/modules/ai/models/core-ai-connection-preference.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-connection.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-connection.model.js +56 -59
- package/dist/core/modules/ai/models/core-ai-connection.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-conversation.model.d.ts +2 -2
- package/dist/core/modules/ai/models/core-ai-conversation.model.js +31 -34
- package/dist/core/modules/ai/models/core-ai-conversation.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-interaction.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-interaction.model.js +39 -42
- package/dist/core/modules/ai/models/core-ai-interaction.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-message.model.js +10 -13
- package/dist/core/modules/ai/models/core-ai-message.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-mode.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-mode.model.js +27 -30
- package/dist/core/modules/ai/models/core-ai-mode.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-prompt-hint.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-prompt-hint.model.js +26 -29
- package/dist/core/modules/ai/models/core-ai-prompt-hint.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-prompt.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-prompt.model.js +29 -32
- package/dist/core/modules/ai/models/core-ai-prompt.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-response.model.d.ts +3 -3
- package/dist/core/modules/ai/models/core-ai-response.model.js +28 -31
- package/dist/core/modules/ai/models/core-ai-response.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-slot.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-slot.model.js +32 -35
- package/dist/core/modules/ai/models/core-ai-slot.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-tool-grant.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-tool-grant.model.js +26 -29
- package/dist/core/modules/ai/models/core-ai-tool-grant.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-tool-policy.model.d.ts +1 -1
- package/dist/core/modules/ai/models/core-ai-tool-policy.model.js +36 -39
- package/dist/core/modules/ai/models/core-ai-tool-policy.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-usage-info.model.js +33 -36
- package/dist/core/modules/ai/models/core-ai-usage-info.model.js.map +1 -1
- package/dist/core/modules/ai/models/core-ai-usage.model.js +10 -13
- package/dist/core/modules/ai/models/core-ai-usage.model.js.map +1 -1
- package/dist/core/modules/ai/providers/claude-cli.provider.d.ts +2 -2
- package/dist/core/modules/ai/providers/claude-cli.provider.js +14 -18
- package/dist/core/modules/ai/providers/claude-cli.provider.js.map +1 -1
- package/dist/core/modules/ai/providers/llm-provider.factory.d.ts +2 -2
- package/dist/core/modules/ai/providers/llm-provider.factory.js +7 -10
- package/dist/core/modules/ai/providers/llm-provider.factory.js.map +1 -1
- package/dist/core/modules/ai/providers/openai-compatible.provider.d.ts +2 -2
- package/dist/core/modules/ai/providers/openai-compatible.provider.js +12 -16
- package/dist/core/modules/ai/providers/openai-compatible.provider.js.map +1 -1
- package/dist/core/modules/ai/services/ai-crypto.service.js +15 -18
- package/dist/core/modules/ai/services/ai-crypto.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-budget.service.d.ts +8 -8
- package/dist/core/modules/ai/services/core-ai-budget.service.js +22 -28
- package/dist/core/modules/ai/services/core-ai-budget.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-connection-preference.service.d.ts +5 -5
- package/dist/core/modules/ai/services/core-ai-connection-preference.service.js +14 -19
- package/dist/core/modules/ai/services/core-ai-connection-preference.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-connection-resolver.service.d.ts +5 -5
- package/dist/core/modules/ai/services/core-ai-connection-resolver.service.js +17 -20
- package/dist/core/modules/ai/services/core-ai-connection-resolver.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-connection.service.d.ts +11 -11
- package/dist/core/modules/ai/services/core-ai-connection.service.js +27 -32
- package/dist/core/modules/ai/services/core-ai-connection.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-conversation.service.d.ts +8 -8
- package/dist/core/modules/ai/services/core-ai-conversation.service.js +18 -23
- package/dist/core/modules/ai/services/core-ai-conversation.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-interaction.service.d.ts +5 -5
- package/dist/core/modules/ai/services/core-ai-interaction.service.js +13 -18
- package/dist/core/modules/ai/services/core-ai-interaction.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-mcp-client.service.d.ts +3 -3
- package/dist/core/modules/ai/services/core-ai-mcp-client.service.js +9 -12
- package/dist/core/modules/ai/services/core-ai-mcp-client.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-mcp-oauth.service.d.ts +28 -4
- package/dist/core/modules/ai/services/core-ai-mcp-oauth.service.js +44 -48
- package/dist/core/modules/ai/services/core-ai-mcp-oauth.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-mcp.service.d.ts +1 -1
- package/dist/core/modules/ai/services/core-ai-mcp.service.js +9 -12
- package/dist/core/modules/ai/services/core-ai-mcp.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-mode.service.d.ts +4 -4
- package/dist/core/modules/ai/services/core-ai-mode.service.js +14 -19
- package/dist/core/modules/ai/services/core-ai-mode.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-placeholder.registry.d.ts +2 -2
- package/dist/core/modules/ai/services/core-ai-placeholder.registry.js +9 -12
- package/dist/core/modules/ai/services/core-ai-placeholder.registry.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-prompt-builder.service.d.ts +5 -5
- package/dist/core/modules/ai/services/core-ai-prompt-builder.service.js +20 -23
- package/dist/core/modules/ai/services/core-ai-prompt-builder.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-prompt-hint.service.d.ts +6 -6
- package/dist/core/modules/ai/services/core-ai-prompt-hint.service.js +16 -21
- package/dist/core/modules/ai/services/core-ai-prompt-hint.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-prompt.service.d.ts +7 -7
- package/dist/core/modules/ai/services/core-ai-prompt.service.js +26 -31
- package/dist/core/modules/ai/services/core-ai-prompt.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-slot.service.d.ts +7 -7
- package/dist/core/modules/ai/services/core-ai-slot.service.js +25 -31
- package/dist/core/modules/ai/services/core-ai-slot.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-tool-grant.service.d.ts +4 -4
- package/dist/core/modules/ai/services/core-ai-tool-grant.service.js +14 -19
- package/dist/core/modules/ai/services/core-ai-tool-grant.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai-tool-policy.service.d.ts +4 -4
- package/dist/core/modules/ai/services/core-ai-tool-policy.service.js +14 -19
- package/dist/core/modules/ai/services/core-ai-tool-policy.service.js.map +1 -1
- package/dist/core/modules/ai/services/core-ai.service.d.ts +27 -27
- package/dist/core/modules/ai/services/core-ai.service.js +82 -85
- package/dist/core/modules/ai/services/core-ai.service.js.map +1 -1
- package/dist/core/modules/ai/tools/ai-tool.base.d.ts +3 -3
- package/dist/core/modules/ai/tools/ai-tool.base.js +7 -10
- package/dist/core/modules/ai/tools/ai-tool.base.js.map +1 -1
- package/dist/core/modules/ai/tools/ai-tool.registry.d.ts +1 -1
- package/dist/core/modules/ai/tools/ai-tool.registry.js +25 -28
- package/dist/core/modules/ai/tools/ai-tool.registry.js.map +1 -1
- package/dist/core/modules/ai/tools/ask-user-question.tool.d.ts +4 -4
- package/dist/core/modules/ai/tools/ask-user-question.tool.js +12 -15
- package/dist/core/modules/ai/tools/ask-user-question.tool.js.map +1 -1
- package/dist/core/modules/ai/tools/search-tools.tool.d.ts +4 -4
- package/dist/core/modules/ai/tools/search-tools.tool.js +10 -13
- package/dist/core/modules/ai/tools/search-tools.tool.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.constants.js +4 -7
- package/dist/core/modules/api-token/core-api-token.constants.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.decorators.js +3 -7
- package/dist/core/modules/api-token/core-api-token.decorators.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.helpers.d.ts +2 -2
- package/dist/core/modules/api-token/core-api-token.helpers.js +79 -109
- package/dist/core/modules/api-token/core-api-token.helpers.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.middleware.d.ts +1 -1
- package/dist/core/modules/api-token/core-api-token.middleware.js +15 -18
- package/dist/core/modules/api-token/core-api-token.middleware.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.model.d.ts +2 -2
- package/dist/core/modules/api-token/core-api-token.model.js +59 -62
- package/dist/core/modules/api-token/core-api-token.model.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.module.d.ts +2 -2
- package/dist/core/modules/api-token/core-api-token.module.js +15 -18
- package/dist/core/modules/api-token/core-api-token.module.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.registry.js +2 -6
- package/dist/core/modules/api-token/core-api-token.registry.js.map +1 -1
- package/dist/core/modules/api-token/core-api-token.service.d.ts +8 -8
- package/dist/core/modules/api-token/core-api-token.service.js +103 -108
- package/dist/core/modules/api-token/core-api-token.service.js.map +1 -1
- package/dist/core/modules/auth/auth-guard-strategy.enum.js +2 -5
- package/dist/core/modules/auth/auth-guard-strategy.enum.js.map +1 -1
- package/dist/core/modules/auth/core-auth.controller.d.ts +7 -7
- package/dist/core/modules/auth/core-auth.controller.js +71 -74
- package/dist/core/modules/auth/core-auth.controller.js.map +1 -1
- package/dist/core/modules/auth/core-auth.model.d.ts +2 -2
- package/dist/core/modules/auth/core-auth.model.js +19 -22
- package/dist/core/modules/auth/core-auth.model.js.map +1 -1
- package/dist/core/modules/auth/core-auth.module.d.ts +4 -4
- package/dist/core/modules/auth/core-auth.module.js +45 -48
- package/dist/core/modules/auth/core-auth.module.js.map +1 -1
- package/dist/core/modules/auth/core-auth.resolver.d.ts +7 -7
- package/dist/core/modules/auth/core-auth.resolver.js +54 -57
- package/dist/core/modules/auth/core-auth.resolver.js.map +1 -1
- package/dist/core/modules/auth/core-legacy-auth-deprecation.initializer.d.ts +2 -2
- package/dist/core/modules/auth/core-legacy-auth-deprecation.initializer.js +18 -16
- package/dist/core/modules/auth/core-legacy-auth-deprecation.initializer.js.map +1 -1
- package/dist/core/modules/auth/exceptions/expired-refresh-token.exception.js +2 -6
- package/dist/core/modules/auth/exceptions/expired-refresh-token.exception.js.map +1 -1
- package/dist/core/modules/auth/exceptions/expired-token.exception.js +2 -6
- package/dist/core/modules/auth/exceptions/expired-token.exception.js.map +1 -1
- package/dist/core/modules/auth/exceptions/invalid-token.exception.js +2 -6
- package/dist/core/modules/auth/exceptions/invalid-token.exception.js.map +1 -1
- package/dist/core/modules/auth/exceptions/legacy-auth-disabled.exception.js +2 -6
- package/dist/core/modules/auth/exceptions/legacy-auth-disabled.exception.js.map +1 -1
- package/dist/core/modules/auth/guards/auth.guard.d.ts +1 -1
- package/dist/core/modules/auth/guards/auth.guard.js +56 -46
- package/dist/core/modules/auth/guards/auth.guard.js.map +1 -1
- package/dist/core/modules/auth/guards/legacy-auth-rate-limit.guard.d.ts +1 -1
- package/dist/core/modules/auth/guards/legacy-auth-rate-limit.guard.js +11 -14
- package/dist/core/modules/auth/guards/legacy-auth-rate-limit.guard.js.map +1 -1
- package/dist/core/modules/auth/guards/refresh-token.guard.d.ts +1 -1
- package/dist/core/modules/auth/guards/refresh-token.guard.js +6 -9
- package/dist/core/modules/auth/guards/refresh-token.guard.js.map +1 -1
- package/dist/core/modules/auth/guards/roles-guard-registry.js +3 -7
- package/dist/core/modules/auth/guards/roles-guard-registry.js.map +1 -1
- package/dist/core/modules/auth/guards/roles.guard.d.ts +2 -2
- package/dist/core/modules/auth/guards/roles.guard.js +52 -55
- package/dist/core/modules/auth/guards/roles.guard.js.map +1 -1
- package/dist/core/modules/auth/helpers/legacy-endpoints.helper.d.ts +1 -1
- package/dist/core/modules/auth/helpers/legacy-endpoints.helper.js +1 -4
- package/dist/core/modules/auth/helpers/legacy-endpoints.helper.js.map +1 -1
- package/dist/core/modules/auth/inputs/core-auth-sign-in.input.d.ts +1 -1
- package/dist/core/modules/auth/inputs/core-auth-sign-in.input.js +23 -26
- package/dist/core/modules/auth/inputs/core-auth-sign-in.input.js.map +1 -1
- package/dist/core/modules/auth/inputs/core-auth-sign-up.input.d.ts +1 -1
- package/dist/core/modules/auth/inputs/core-auth-sign-up.input.js +9 -12
- package/dist/core/modules/auth/inputs/core-auth-sign-up.input.js.map +1 -1
- package/dist/core/modules/auth/interfaces/auth-provider.interface.d.ts +1 -1
- package/dist/core/modules/auth/interfaces/auth-provider.interface.js +1 -4
- package/dist/core/modules/auth/interfaces/auth-provider.interface.js.map +1 -1
- package/dist/core/modules/auth/interfaces/core-auth-user.interface.d.ts +1 -1
- package/dist/core/modules/auth/interfaces/core-auth-user.interface.js +1 -2
- package/dist/core/modules/auth/interfaces/core-token-data.interface.js +1 -2
- package/dist/core/modules/auth/interfaces/jwt-payload.interface.js +1 -2
- package/dist/core/modules/auth/services/core-auth-user.service.d.ts +2 -2
- package/dist/core/modules/auth/services/core-auth-user.service.js +1 -5
- package/dist/core/modules/auth/services/core-auth-user.service.js.map +1 -1
- package/dist/core/modules/auth/services/core-auth.service.d.ts +10 -10
- package/dist/core/modules/auth/services/core-auth.service.js +50 -53
- package/dist/core/modules/auth/services/core-auth.service.js.map +1 -1
- package/dist/core/modules/auth/services/legacy-auth-rate-limiter.service.d.ts +3 -3
- package/dist/core/modules/auth/services/legacy-auth-rate-limiter.service.js +15 -18
- package/dist/core/modules/auth/services/legacy-auth-rate-limiter.service.js.map +1 -1
- package/dist/core/modules/auth/strategies/jwt-refresh.strategy.d.ts +2 -2
- package/dist/core/modules/auth/strategies/jwt-refresh.strategy.js +15 -18
- package/dist/core/modules/auth/strategies/jwt-refresh.strategy.js.map +1 -1
- package/dist/core/modules/auth/strategies/jwt.strategy.d.ts +3 -3
- package/dist/core/modules/auth/strategies/jwt.strategy.js +15 -18
- package/dist/core/modules/auth/strategies/jwt.strategy.js.map +1 -1
- package/dist/core/modules/auth/tokens.decorator.d.ts +1 -1
- package/dist/core/modules/auth/tokens.decorator.js +4 -7
- package/dist/core/modules/auth/tokens.decorator.js.map +1 -1
- package/dist/core/modules/better-auth/better-auth-cookie-prefix.helper.js +3 -8
- package/dist/core/modules/better-auth/better-auth-cookie-prefix.helper.js.map +1 -1
- package/dist/core/modules/better-auth/better-auth-roles.guard.js +30 -33
- package/dist/core/modules/better-auth/better-auth-roles.guard.js.map +1 -1
- package/dist/core/modules/better-auth/better-auth-token.service.d.ts +3 -3
- package/dist/core/modules/better-auth/better-auth-token.service.js +16 -20
- package/dist/core/modules/better-auth/better-auth-token.service.js.map +1 -1
- package/dist/core/modules/better-auth/better-auth.config.d.ts +3 -2
- package/dist/core/modules/better-auth/better-auth.config.js +84 -58
- package/dist/core/modules/better-auth/better-auth.config.js.map +1 -1
- package/dist/core/modules/better-auth/better-auth.resolver.d.ts +7 -7
- package/dist/core/modules/better-auth/better-auth.resolver.js +69 -72
- package/dist/core/modules/better-auth/better-auth.resolver.js.map +1 -1
- package/dist/core/modules/better-auth/better-auth.types.d.ts +1 -1
- package/dist/core/modules/better-auth/better-auth.types.js +5 -12
- package/dist/core/modules/better-auth/better-auth.types.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-account-issuer.helper.js +3 -7
- package/dist/core/modules/better-auth/core-better-auth-account-issuer.helper.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-api.middleware.d.ts +10 -3
- package/dist/core/modules/better-auth/core-better-auth-api.middleware.js +73 -39
- package/dist/core/modules/better-auth/core-better-auth-api.middleware.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-auth.model.d.ts +1 -1
- package/dist/core/modules/better-auth/core-better-auth-auth.model.js +17 -20
- package/dist/core/modules/better-auth/core-better-auth-auth.model.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-challenge.service.d.ts +2 -2
- package/dist/core/modules/better-auth/core-better-auth-challenge.service.js +12 -17
- package/dist/core/modules/better-auth/core-better-auth-challenge.service.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-cookie.helper.js +15 -20
- package/dist/core/modules/better-auth/core-better-auth-cookie.helper.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-email-verification.service.d.ts +8 -8
- package/dist/core/modules/better-auth/core-better-auth-email-verification.service.js +39 -37
- package/dist/core/modules/better-auth/core-better-auth-email-verification.service.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-error-codes.helper.js +13 -17
- package/dist/core/modules/better-auth/core-better-auth-error-codes.helper.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-migration-status.model.js +12 -15
- package/dist/core/modules/better-auth/core-better-auth-migration-status.model.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-models.js +62 -65
- package/dist/core/modules/better-auth/core-better-auth-models.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-openapi.helper.d.ts +1 -1
- package/dist/core/modules/better-auth/core-better-auth-openapi.helper.js +15 -25
- package/dist/core/modules/better-auth/core-better-auth-openapi.helper.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-password-reset.registry.js +4 -8
- package/dist/core/modules/better-auth/core-better-auth-password-reset.registry.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-rate-limit.middleware.d.ts +2 -2
- package/dist/core/modules/better-auth/core-better-auth-rate-limit.middleware.js +11 -14
- package/dist/core/modules/better-auth/core-better-auth-rate-limit.middleware.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-rate-limiter.service.d.ts +3 -3
- package/dist/core/modules/better-auth/core-better-auth-rate-limiter.service.js +13 -16
- package/dist/core/modules/better-auth/core-better-auth-rate-limiter.service.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-signup-validator.service.d.ts +2 -2
- package/dist/core/modules/better-auth/core-better-auth-signup-validator.service.js +10 -13
- package/dist/core/modules/better-auth/core-better-auth-signup-validator.service.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-token.helper.js +9 -19
- package/dist/core/modules/better-auth/core-better-auth-token.helper.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-user.mapper.d.ts +1 -1
- package/dist/core/modules/better-auth/core-better-auth-user.mapper.js +42 -37
- package/dist/core/modules/better-auth/core-better-auth-user.mapper.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth-web.helper.js +23 -34
- package/dist/core/modules/better-auth/core-better-auth-web.helper.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth.constants.js +8 -11
- package/dist/core/modules/better-auth/core-better-auth.constants.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth.controller.d.ts +7 -7
- package/dist/core/modules/better-auth/core-better-auth.controller.js +151 -157
- package/dist/core/modules/better-auth/core-better-auth.controller.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth.middleware.d.ts +2 -2
- package/dist/core/modules/better-auth/core-better-auth.middleware.js +17 -20
- package/dist/core/modules/better-auth/core-better-auth.middleware.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth.module.d.ts +10 -10
- package/dist/core/modules/better-auth/core-better-auth.module.js +146 -150
- package/dist/core/modules/better-auth/core-better-auth.module.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth.registry.d.ts +5 -1
- package/dist/core/modules/better-auth/core-better-auth.registry.js +18 -8
- package/dist/core/modules/better-auth/core-better-auth.registry.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth.resolver.d.ts +7 -7
- package/dist/core/modules/better-auth/core-better-auth.resolver.js +127 -128
- package/dist/core/modules/better-auth/core-better-auth.resolver.js.map +1 -1
- package/dist/core/modules/better-auth/core-better-auth.service.d.ts +7 -7
- package/dist/core/modules/better-auth/core-better-auth.service.js +67 -73
- package/dist/core/modules/better-auth/core-better-auth.service.js.map +1 -1
- package/dist/core/modules/better-auth/index.d.ts +24 -24
- package/dist/core/modules/better-auth/index.js +24 -40
- package/dist/core/modules/better-auth/index.js.map +1 -1
- package/dist/core/modules/error-code/core-error-code.controller.d.ts +2 -2
- package/dist/core/modules/error-code/core-error-code.controller.js +12 -15
- package/dist/core/modules/error-code/core-error-code.controller.js.map +1 -1
- package/dist/core/modules/error-code/core-error-code.service.d.ts +2 -2
- package/dist/core/modules/error-code/core-error-code.service.js +6 -9
- package/dist/core/modules/error-code/core-error-code.service.js.map +1 -1
- package/dist/core/modules/error-code/error-code.module.d.ts +1 -1
- package/dist/core/modules/error-code/error-code.module.js +16 -19
- package/dist/core/modules/error-code/error-code.module.js.map +1 -1
- package/dist/core/modules/error-code/error-codes.js +6 -11
- package/dist/core/modules/error-code/error-codes.js.map +1 -1
- package/dist/core/modules/error-code/index.d.ts +5 -5
- package/dist/core/modules/error-code/index.js +5 -21
- package/dist/core/modules/error-code/index.js.map +1 -1
- package/dist/core/modules/error-code/interfaces/error-code.interfaces.d.ts +2 -2
- package/dist/core/modules/error-code/interfaces/error-code.interfaces.js +1 -2
- package/dist/core/modules/file/core-file-access-audit.initializer.d.ts +1 -1
- package/dist/core/modules/file/core-file-access-audit.initializer.js +20 -23
- package/dist/core/modules/file/core-file-access-audit.initializer.js.map +1 -1
- package/dist/core/modules/file/core-file-info.model.d.ts +1 -1
- package/dist/core/modules/file/core-file-info.model.js +25 -28
- package/dist/core/modules/file/core-file-info.model.js.map +1 -1
- package/dist/core/modules/file/core-file.controller.d.ts +3 -3
- package/dist/core/modules/file/core-file.controller.js +35 -39
- package/dist/core/modules/file/core-file.controller.js.map +1 -1
- package/dist/core/modules/file/core-file.resolver.d.ts +2 -2
- package/dist/core/modules/file/core-file.resolver.js +30 -33
- package/dist/core/modules/file/core-file.resolver.js.map +1 -1
- package/dist/core/modules/file/core-file.service.d.ts +11 -11
- package/dist/core/modules/file/core-file.service.js +85 -89
- package/dist/core/modules/file/core-file.service.js.map +1 -1
- package/dist/core/modules/file/file-access.helper.js +5 -10
- package/dist/core/modules/file/file-access.helper.js.map +1 -1
- package/dist/core/modules/file/file-metadata.helper.js +6 -12
- package/dist/core/modules/file/file-metadata.helper.js.map +1 -1
- package/dist/core/modules/file/file-roles.config.d.ts +1 -1
- package/dist/core/modules/file/file-roles.config.js +19 -27
- package/dist/core/modules/file/file-roles.config.js.map +1 -1
- package/dist/core/modules/file/file-roles.helper.d.ts +3 -3
- package/dist/core/modules/file/file-roles.helper.js +11 -21
- package/dist/core/modules/file/file-roles.helper.js.map +1 -1
- package/dist/core/modules/file/file-storage.helper.d.ts +1 -1
- package/dist/core/modules/file/file-storage.helper.js +10 -18
- package/dist/core/modules/file/file-storage.helper.js.map +1 -1
- package/dist/core/modules/file/filesystem-file.helper.d.ts +1 -1
- package/dist/core/modules/file/filesystem-file.helper.js +26 -30
- package/dist/core/modules/file/filesystem-file.helper.js.map +1 -1
- package/dist/core/modules/file/interfaces/file-service-options.interface.js +1 -2
- package/dist/core/modules/file/interfaces/file-upload.interface.d.ts +1 -1
- package/dist/core/modules/file/interfaces/file-upload.interface.js +1 -2
- package/dist/core/modules/file/s3-file.helper.d.ts +2 -2
- package/dist/core/modules/file/s3-file.helper.js +14 -20
- package/dist/core/modules/file/s3-file.helper.js.map +1 -1
- package/dist/core/modules/health-check/core-health-check-result.model.d.ts +2 -2
- package/dist/core/modules/health-check/core-health-check-result.model.js +25 -28
- package/dist/core/modules/health-check/core-health-check-result.model.js.map +1 -1
- package/dist/core/modules/health-check/core-health-check.controller.d.ts +1 -1
- package/dist/core/modules/health-check/core-health-check.controller.js +11 -14
- package/dist/core/modules/health-check/core-health-check.controller.js.map +1 -1
- package/dist/core/modules/health-check/core-health-check.module.js +11 -14
- package/dist/core/modules/health-check/core-health-check.module.js.map +1 -1
- package/dist/core/modules/health-check/core-health-check.resolver.d.ts +1 -1
- package/dist/core/modules/health-check/core-health-check.resolver.js +12 -15
- package/dist/core/modules/health-check/core-health-check.resolver.js.map +1 -1
- package/dist/core/modules/health-check/core-health-check.service.d.ts +1 -1
- package/dist/core/modules/health-check/core-health-check.service.js +18 -17
- package/dist/core/modules/health-check/core-health-check.service.js.map +1 -1
- package/dist/core/modules/hub/core-hub-actions.controller.d.ts +1 -1
- package/dist/core/modules/hub/core-hub-actions.controller.js +36 -39
- package/dist/core/modules/hub/core-hub-actions.controller.js.map +1 -1
- package/dist/core/modules/hub/core-hub-html.service.d.ts +1 -1
- package/dist/core/modules/hub/core-hub-html.service.js +15 -18
- package/dist/core/modules/hub/core-hub-html.service.js.map +1 -1
- package/dist/core/modules/hub/core-hub.controller.d.ts +11 -11
- package/dist/core/modules/hub/core-hub.controller.js +100 -103
- package/dist/core/modules/hub/core-hub.controller.js.map +1 -1
- package/dist/core/modules/hub/core-hub.module.d.ts +2 -2
- package/dist/core/modules/hub/core-hub.module.js +53 -56
- package/dist/core/modules/hub/core-hub.module.js.map +1 -1
- package/dist/core/modules/hub/core-hub.service.d.ts +5 -5
- package/dist/core/modules/hub/core-hub.service.js +20 -25
- package/dist/core/modules/hub/core-hub.service.js.map +1 -1
- package/dist/core/modules/hub/helpers/hub-client-js.helper.js +1 -4
- package/dist/core/modules/hub/helpers/hub-client-js.helper.js.map +1 -1
- package/dist/core/modules/hub/helpers/hub-command-shape.helper.js +1 -4
- package/dist/core/modules/hub/helpers/hub-command-shape.helper.js.map +1 -1
- package/dist/core/modules/hub/helpers/hub-mask.helper.js +1 -4
- package/dist/core/modules/hub/helpers/hub-mask.helper.js.map +1 -1
- package/dist/core/modules/hub/helpers/hub-mermaid.helper.js +1 -4
- package/dist/core/modules/hub/helpers/hub-mermaid.helper.js.map +1 -1
- package/dist/core/modules/hub/helpers/hub-shell.helper.js +10 -19
- package/dist/core/modules/hub/helpers/hub-shell.helper.js.map +1 -1
- package/dist/core/modules/hub/hub-action-messages.js +1 -4
- package/dist/core/modules/hub/hub-action-messages.js.map +1 -1
- package/dist/core/modules/hub/hub-buffer.d.ts +2 -2
- package/dist/core/modules/hub/hub-buffer.js +3 -7
- package/dist/core/modules/hub/hub-buffer.js.map +1 -1
- package/dist/core/modules/hub/hub-config.helper.d.ts +1 -1
- package/dist/core/modules/hub/hub-config.helper.js +23 -29
- package/dist/core/modules/hub/hub-config.helper.js.map +1 -1
- package/dist/core/modules/hub/hub-nav.js +4 -8
- package/dist/core/modules/hub/hub-nav.js.map +1 -1
- package/dist/core/modules/hub/hub-ring-buffer.js +1 -5
- package/dist/core/modules/hub/hub-ring-buffer.js.map +1 -1
- package/dist/core/modules/hub/hub.constants.js +18 -21
- package/dist/core/modules/hub/hub.constants.js.map +1 -1
- package/dist/core/modules/hub/index.d.ts +25 -25
- package/dist/core/modules/hub/index.js +25 -41
- package/dist/core/modules/hub/index.js.map +1 -1
- package/dist/core/modules/hub/interfaces/hub-config.interface.js +1 -2
- package/dist/core/modules/hub/interfaces/hub-panels.interface.js +1 -2
- package/dist/core/modules/hub/middleware/hub-trace.middleware.d.ts +1 -1
- package/dist/core/modules/hub/middleware/hub-trace.middleware.js +6 -9
- package/dist/core/modules/hub/middleware/hub-trace.middleware.js.map +1 -1
- package/dist/core/modules/hub/services/core-hub-actions.service.d.ts +10 -10
- package/dist/core/modules/hub/services/core-hub-actions.service.js +30 -33
- package/dist/core/modules/hub/services/core-hub-actions.service.js.map +1 -1
- package/dist/core/modules/hub/services/core-hub-db.service.d.ts +5 -5
- package/dist/core/modules/hub/services/core-hub-db.service.js +35 -39
- package/dist/core/modules/hub/services/core-hub-db.service.js.map +1 -1
- package/dist/core/modules/hub/services/core-hub-email.service.d.ts +4 -4
- package/dist/core/modules/hub/services/core-hub-email.service.js +20 -22
- package/dist/core/modules/hub/services/core-hub-email.service.js.map +1 -1
- package/dist/core/modules/hub/services/core-hub-mailbox.service.d.ts +4 -4
- package/dist/core/modules/hub/services/core-hub-mailbox.service.js +13 -16
- package/dist/core/modules/hub/services/core-hub-mailbox.service.js.map +1 -1
- package/dist/core/modules/hub/services/core-hub-migrations.service.d.ts +5 -5
- package/dist/core/modules/hub/services/core-hub-migrations.service.js +25 -30
- package/dist/core/modules/hub/services/core-hub-migrations.service.js.map +1 -1
- package/dist/core/modules/hub/services/core-hub-sources.service.d.ts +1 -1
- package/dist/core/modules/hub/services/core-hub-sources.service.js +26 -27
- package/dist/core/modules/hub/services/core-hub-sources.service.js.map +1 -1
- package/dist/core/modules/hub/services/hub-log-buffer.service.d.ts +3 -3
- package/dist/core/modules/hub/services/hub-log-buffer.service.js +20 -23
- package/dist/core/modules/hub/services/hub-log-buffer.service.js.map +1 -1
- package/dist/core/modules/hub/services/hub-query-profiler.service.d.ts +4 -4
- package/dist/core/modules/hub/services/hub-query-profiler.service.js +20 -25
- package/dist/core/modules/hub/services/hub-query-profiler.service.js.map +1 -1
- package/dist/core/modules/hub/services/hub-trace-buffer.service.d.ts +3 -3
- package/dist/core/modules/hub/services/hub-trace-buffer.service.js +11 -14
- package/dist/core/modules/hub/services/hub-trace-buffer.service.js.map +1 -1
- package/dist/core/modules/migrate/cli/migrate-cli.d.ts +4 -1
- package/dist/core/modules/migrate/cli/migrate-cli.js +38 -18
- package/dist/core/modules/migrate/cli/migrate-cli.js.map +1 -1
- package/dist/core/modules/migrate/helpers/migration.helper.d.ts +1 -11
- package/dist/core/modules/migrate/helpers/migration.helper.js +14 -108
- package/dist/core/modules/migrate/helpers/migration.helper.js.map +1 -1
- package/dist/core/modules/migrate/helpers/package.json +3 -0
- package/dist/core/modules/migrate/helpers/ts-compiler-hooks.d.mts +2 -0
- package/dist/core/modules/migrate/helpers/ts-compiler-hooks.mjs +73 -0
- package/dist/core/modules/migrate/helpers/ts-compiler-hooks.mjs.map +1 -0
- package/dist/core/modules/migrate/helpers/ts-compiler.cjs +96 -0
- package/dist/core/modules/migrate/helpers/ts-compiler.cjs.map +1 -0
- package/dist/core/modules/migrate/helpers/ts-compiler.d.cts +32 -0
- package/dist/core/modules/migrate/helpers/ts-compiler.d.ts +1 -1
- package/dist/core/modules/migrate/helpers/ts-compiler.js +2 -2
- package/dist/core/modules/migrate/helpers/ts-compiler.js.map +1 -1
- package/dist/core/modules/migrate/index.d.ts +4 -4
- package/dist/core/modules/migrate/index.js +4 -20
- package/dist/core/modules/migrate/index.js.map +1 -1
- package/dist/core/modules/migrate/migration-runner.d.ts +1 -1
- package/dist/core/modules/migrate/migration-runner.js +13 -19
- package/dist/core/modules/migrate/migration-runner.js.map +1 -1
- package/dist/core/modules/migrate/migration.helper.d.ts +11 -0
- package/dist/core/modules/migrate/migration.helper.js +116 -0
- package/dist/core/modules/migrate/migration.helper.js.map +1 -0
- package/dist/core/modules/migrate/mongo-state-store.js +13 -20
- package/dist/core/modules/migrate/mongo-state-store.js.map +1 -1
- package/dist/core/modules/migrate/templates/migration-project.template.ts +29 -12
- package/dist/core/modules/permissions/core-permissions.controller.d.ts +2 -2
- package/dist/core/modules/permissions/core-permissions.controller.js +13 -16
- package/dist/core/modules/permissions/core-permissions.controller.js.map +1 -1
- package/dist/core/modules/permissions/core-permissions.module.d.ts +1 -1
- package/dist/core/modules/permissions/core-permissions.module.js +14 -17
- package/dist/core/modules/permissions/core-permissions.module.js.map +1 -1
- package/dist/core/modules/permissions/core-permissions.service.d.ts +1 -1
- package/dist/core/modules/permissions/core-permissions.service.js +17 -20
- package/dist/core/modules/permissions/core-permissions.service.js.map +1 -1
- package/dist/core/modules/permissions/interfaces/permissions.interface.js +1 -2
- package/dist/core/modules/permissions/permissions-scanner.d.ts +1 -1
- package/dist/core/modules/permissions/permissions-scanner.js +62 -84
- package/dist/core/modules/permissions/permissions-scanner.js.map +1 -1
- package/dist/core/modules/system-setup/core-system-setup.controller.d.ts +1 -1
- package/dist/core/modules/system-setup/core-system-setup.controller.js +34 -38
- package/dist/core/modules/system-setup/core-system-setup.controller.js.map +1 -1
- package/dist/core/modules/system-setup/core-system-setup.module.js +8 -11
- package/dist/core/modules/system-setup/core-system-setup.module.js.map +1 -1
- package/dist/core/modules/system-setup/core-system-setup.service.d.ts +4 -4
- package/dist/core/modules/system-setup/core-system-setup.service.js +26 -31
- package/dist/core/modules/system-setup/core-system-setup.service.js.map +1 -1
- package/dist/core/modules/tenant/core-role-scope.registry.js +12 -16
- package/dist/core/modules/tenant/core-role-scope.registry.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant-guard.registry.js +2 -6
- package/dist/core/modules/tenant/core-tenant-guard.registry.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant-member.model.d.ts +2 -2
- package/dist/core/modules/tenant/core-tenant-member.model.js +34 -37
- package/dist/core/modules/tenant/core-tenant-member.model.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant-role.helper.js +13 -17
- package/dist/core/modules/tenant/core-tenant-role.helper.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant.decorators.js +6 -10
- package/dist/core/modules/tenant/core-tenant.decorators.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant.enums.js +6 -10
- package/dist/core/modules/tenant/core-tenant.enums.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant.guard.d.ts +3 -3
- package/dist/core/modules/tenant/core-tenant.guard.js +81 -100
- package/dist/core/modules/tenant/core-tenant.guard.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant.helpers.d.ts +2 -2
- package/dist/core/modules/tenant/core-tenant.helpers.js +33 -53
- package/dist/core/modules/tenant/core-tenant.helpers.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant.module.d.ts +2 -2
- package/dist/core/modules/tenant/core-tenant.module.js +31 -34
- package/dist/core/modules/tenant/core-tenant.module.js.map +1 -1
- package/dist/core/modules/tenant/core-tenant.service.d.ts +2 -2
- package/dist/core/modules/tenant/core-tenant.service.js +49 -53
- package/dist/core/modules/tenant/core-tenant.service.js.map +1 -1
- package/dist/core/modules/tus/core-tus.controller.d.ts +2 -2
- package/dist/core/modules/tus/core-tus.controller.js +31 -34
- package/dist/core/modules/tus/core-tus.controller.js.map +1 -1
- package/dist/core/modules/tus/core-tus.service.d.ts +5 -5
- package/dist/core/modules/tus/core-tus.service.js +58 -61
- package/dist/core/modules/tus/core-tus.service.js.map +1 -1
- package/dist/core/modules/tus/index.d.ts +5 -5
- package/dist/core/modules/tus/index.js +5 -21
- package/dist/core/modules/tus/index.js.map +1 -1
- package/dist/core/modules/tus/interfaces/tus-config.interface.d.ts +2 -2
- package/dist/core/modules/tus/interfaces/tus-config.interface.js +10 -15
- package/dist/core/modules/tus/interfaces/tus-config.interface.js.map +1 -1
- package/dist/core/modules/tus/tus-redis-locker.d.ts +1 -1
- package/dist/core/modules/tus/tus-redis-locker.js +6 -11
- package/dist/core/modules/tus/tus-redis-locker.js.map +1 -1
- package/dist/core/modules/tus/tus.constants.js +4 -7
- package/dist/core/modules/tus/tus.constants.js.map +1 -1
- package/dist/core/modules/tus/tus.module.d.ts +4 -4
- package/dist/core/modules/tus/tus.module.js +39 -43
- package/dist/core/modules/tus/tus.module.js.map +1 -1
- package/dist/core/modules/user/core-user.model.d.ts +2 -2
- package/dist/core/modules/user/core-user.model.js +50 -53
- package/dist/core/modules/user/core-user.model.js.map +1 -1
- package/dist/core/modules/user/core-user.service.d.ts +9 -9
- package/dist/core/modules/user/core-user.service.js +53 -57
- package/dist/core/modules/user/core-user.service.js.map +1 -1
- package/dist/core/modules/user/inputs/core-user-create.input.d.ts +1 -1
- package/dist/core/modules/user/inputs/core-user-create.input.js +14 -17
- package/dist/core/modules/user/inputs/core-user-create.input.js.map +1 -1
- package/dist/core/modules/user/inputs/core-user.input.d.ts +1 -1
- package/dist/core/modules/user/inputs/core-user.input.js +28 -31
- package/dist/core/modules/user/inputs/core-user.input.js.map +1 -1
- package/dist/core/modules/user/interfaces/core-user-service-options.interface.d.ts +1 -1
- package/dist/core/modules/user/interfaces/core-user-service-options.interface.js +1 -2
- package/dist/core.module.d.ts +1 -1
- package/dist/core.module.js +144 -219
- package/dist/core.module.js.map +1 -1
- package/dist/index.d.ts +204 -203
- package/dist/index.js +204 -219
- package/dist/index.js.map +1 -1
- package/dist/main.js +40 -42
- package/dist/main.js.map +1 -1
- package/dist/server/common/models/persistence.model.d.ts +1 -1
- package/dist/server/common/models/persistence.model.js +21 -24
- package/dist/server/common/models/persistence.model.js.map +1 -1
- package/dist/server/common/services/cron-jobs.service.d.ts +5 -3
- package/dist/server/common/services/cron-jobs.service.js +14 -18
- package/dist/server/common/services/cron-jobs.service.js.map +1 -1
- package/dist/server/modules/ai/ai-tools.module.d.ts +1 -1
- package/dist/server/modules/ai/ai-tools.module.js +15 -18
- package/dist/server/modules/ai/ai-tools.module.js.map +1 -1
- package/dist/server/modules/ai/tools/delete-user.tool.d.ts +5 -5
- package/dist/server/modules/ai/tools/delete-user.tool.js +13 -16
- package/dist/server/modules/ai/tools/delete-user.tool.js.map +1 -1
- package/dist/server/modules/ai/tools/find-users.tool.d.ts +6 -6
- package/dist/server/modules/ai/tools/find-users.tool.js +12 -15
- package/dist/server/modules/ai/tools/find-users.tool.js.map +1 -1
- package/dist/server/modules/ai/tools/get-user.tool.d.ts +6 -6
- package/dist/server/modules/ai/tools/get-user.tool.js +13 -16
- package/dist/server/modules/ai/tools/get-user.tool.js.map +1 -1
- package/dist/server/modules/ai/tools/update-user-job-title.tool.d.ts +6 -6
- package/dist/server/modules/ai/tools/update-user-job-title.tool.js +16 -19
- package/dist/server/modules/ai/tools/update-user-job-title.tool.js.map +1 -1
- package/dist/server/modules/auth/auth.controller.d.ts +3 -3
- package/dist/server/modules/auth/auth.controller.js +13 -16
- package/dist/server/modules/auth/auth.controller.js.map +1 -1
- package/dist/server/modules/auth/auth.model.d.ts +2 -2
- package/dist/server/modules/auth/auth.model.js +17 -20
- package/dist/server/modules/auth/auth.model.js.map +1 -1
- package/dist/server/modules/auth/auth.module.js +15 -18
- package/dist/server/modules/auth/auth.module.js.map +1 -1
- package/dist/server/modules/auth/auth.resolver.d.ts +7 -7
- package/dist/server/modules/auth/auth.resolver.js +30 -33
- package/dist/server/modules/auth/auth.resolver.js.map +1 -1
- package/dist/server/modules/auth/auth.service.d.ts +8 -8
- package/dist/server/modules/auth/auth.service.js +17 -20
- package/dist/server/modules/auth/auth.service.js.map +1 -1
- package/dist/server/modules/auth/inputs/auth-sign-in.input.d.ts +1 -1
- package/dist/server/modules/auth/inputs/auth-sign-in.input.js +9 -12
- package/dist/server/modules/auth/inputs/auth-sign-in.input.js.map +1 -1
- package/dist/server/modules/auth/inputs/auth-sign-up.input.d.ts +1 -1
- package/dist/server/modules/auth/inputs/auth-sign-up.input.js +14 -17
- package/dist/server/modules/auth/inputs/auth-sign-up.input.js.map +1 -1
- package/dist/server/modules/better-auth/better-auth.controller.d.ts +6 -6
- package/dist/server/modules/better-auth/better-auth.controller.js +21 -24
- package/dist/server/modules/better-auth/better-auth.controller.js.map +1 -1
- package/dist/server/modules/better-auth/better-auth.module.d.ts +1 -1
- package/dist/server/modules/better-auth/better-auth.module.js +11 -14
- package/dist/server/modules/better-auth/better-auth.module.js.map +1 -1
- package/dist/server/modules/better-auth/better-auth.resolver.d.ts +8 -8
- package/dist/server/modules/better-auth/better-auth.resolver.js +75 -78
- package/dist/server/modules/better-auth/better-auth.resolver.js.map +1 -1
- package/dist/server/modules/error-code/error-code.controller.d.ts +2 -2
- package/dist/server/modules/error-code/error-code.controller.js +14 -17
- package/dist/server/modules/error-code/error-code.controller.js.map +1 -1
- package/dist/server/modules/error-code/error-code.service.d.ts +1 -1
- package/dist/server/modules/error-code/error-code.service.js +8 -11
- package/dist/server/modules/error-code/error-code.service.js.map +1 -1
- package/dist/server/modules/error-code/error-codes.js +3 -6
- package/dist/server/modules/error-code/error-codes.js.map +1 -1
- package/dist/server/modules/error-code/index.d.ts +3 -3
- package/dist/server/modules/error-code/index.js +3 -19
- package/dist/server/modules/error-code/index.js.map +1 -1
- package/dist/server/modules/file/file-info.model.d.ts +1 -1
- package/dist/server/modules/file/file-info.model.js +12 -15
- package/dist/server/modules/file/file-info.model.js.map +1 -1
- package/dist/server/modules/file/file.controller.d.ts +4 -4
- package/dist/server/modules/file/file.controller.js +26 -29
- package/dist/server/modules/file/file.controller.js.map +1 -1
- package/dist/server/modules/file/file.module.js +16 -19
- package/dist/server/modules/file/file.module.js.map +1 -1
- package/dist/server/modules/file/file.resolver.d.ts +5 -5
- package/dist/server/modules/file/file.resolver.js +23 -26
- package/dist/server/modules/file/file.resolver.js.map +1 -1
- package/dist/server/modules/file/file.service.d.ts +6 -6
- package/dist/server/modules/file/file.service.js +15 -20
- package/dist/server/modules/file/file.service.js.map +1 -1
- package/dist/server/modules/file/multer-config.service.js +6 -9
- package/dist/server/modules/file/multer-config.service.js.map +1 -1
- package/dist/server/modules/user/avatar.controller.d.ts +3 -3
- package/dist/server/modules/user/avatar.controller.js +25 -29
- package/dist/server/modules/user/avatar.controller.js.map +1 -1
- package/dist/server/modules/user/inputs/user-create.input.d.ts +1 -1
- package/dist/server/modules/user/inputs/user-create.input.js +12 -15
- package/dist/server/modules/user/inputs/user-create.input.js.map +1 -1
- package/dist/server/modules/user/inputs/user.input.d.ts +1 -1
- package/dist/server/modules/user/inputs/user.input.js +12 -15
- package/dist/server/modules/user/inputs/user.input.js.map +1 -1
- package/dist/server/modules/user/outputs/find-and-count-users-result.output.d.ts +2 -2
- package/dist/server/modules/user/outputs/find-and-count-users-result.output.js +16 -19
- package/dist/server/modules/user/outputs/find-and-count-users-result.output.js.map +1 -1
- package/dist/server/modules/user/user.controller.d.ts +5 -5
- package/dist/server/modules/user/user.controller.js +100 -103
- package/dist/server/modules/user/user.controller.js.map +1 -1
- package/dist/server/modules/user/user.model.d.ts +3 -3
- package/dist/server/modules/user/user.model.js +36 -39
- package/dist/server/modules/user/user.model.js.map +1 -1
- package/dist/server/modules/user/user.module.js +24 -27
- package/dist/server/modules/user/user.module.js.map +1 -1
- package/dist/server/modules/user/user.resolver.d.ts +8 -8
- package/dist/server/modules/user/user.resolver.js +70 -73
- package/dist/server/modules/user/user.resolver.js.map +1 -1
- package/dist/server/modules/user/user.service.d.ts +9 -9
- package/dist/server/modules/user/user.service.js +26 -29
- package/dist/server/modules/user/user.service.js.map +1 -1
- package/dist/server/server.controller.d.ts +1 -1
- package/dist/server/server.controller.js +12 -15
- package/dist/server/server.controller.js.map +1 -1
- package/dist/server/server.module.js +33 -36
- package/dist/server/server.module.js.map +1 -1
- package/dist/test/test.helper.js +17 -21
- package/dist/test/test.helper.js.map +1 -1
- package/docs/REQUEST-LIFECYCLE.md +11 -1
- package/docs/security-overrides.md +50 -29
- package/migration-guides/11.43.x-to-12.0.x.md +828 -0
- package/package.json +68 -68
- package/src/config.env.ts +32 -30
- package/src/core/common/args/filter.args.ts +3 -3
- package/src/core/common/args/pagination.args.ts +4 -4
- package/src/core/common/decorators/current-user.decorator.ts +1 -1
- package/src/core/common/decorators/graphql-populate.decorator.ts +1 -1
- package/src/core/common/decorators/graphql-service-options.decorator.ts +2 -2
- package/src/core/common/decorators/response-model.decorator.ts +1 -1
- package/src/core/common/decorators/rest-service-options.decorator.ts +2 -2
- package/src/core/common/decorators/restricted.decorator.ts +11 -11
- package/src/core/common/decorators/unified-field.decorator.ts +12 -7
- package/src/core/common/exceptions/access-denied.exception.ts +1 -1
- package/src/core/common/filters/http-exception-log.filter.ts +16 -2
- package/src/core/common/filters/mongoose-cast-error.filter.ts +1 -1
- package/src/core/common/helpers/clone.helper.ts +2 -2
- package/src/core/common/helpers/config.helper.ts +47 -29
- package/src/core/common/helpers/cookies.helper.ts +1 -1
- package/src/core/common/helpers/db.helper.ts +8 -8
- package/src/core/common/helpers/decorator.helper.ts +2 -2
- package/src/core/common/helpers/execution-context-request.helper.ts +2 -2
- package/src/core/common/helpers/file.helper.ts +1 -1
- package/src/core/common/helpers/filter.helper.ts +9 -9
- package/src/core/common/helpers/graceful-shutdown.helper.ts +1 -1
- package/src/core/common/helpers/graphql-ws-connection.helper.ts +31 -6
- package/src/core/common/helpers/graphql-ws-context.helper.ts +10 -11
- package/src/core/common/helpers/graphql.helper.ts +1 -1
- package/src/core/common/helpers/id.helper.ts +2 -2
- package/src/core/common/helpers/input.helper.ts +11 -11
- package/src/core/common/helpers/interceptor.helper.ts +6 -9
- package/src/core/common/helpers/model.helper.ts +1 -1
- package/src/core/common/helpers/module-location.helper.ts +33 -0
- package/src/core/common/helpers/outbound-url.helper.ts +2 -2
- package/src/core/common/helpers/process-diagnostics.helper.ts +1 -1
- package/src/core/common/helpers/register-enum.helper.ts +1 -1
- package/src/core/common/helpers/scim.helper.ts +3 -3
- package/src/core/common/helpers/service.helper.ts +11 -11
- package/src/core/common/helpers/swagger.helper.ts +94 -35
- package/src/core/common/inputs/combined-filter.input.ts +1 -1
- package/src/core/common/inputs/core-input.input.ts +2 -2
- package/src/core/common/inputs/filter.input.ts +7 -7
- package/src/core/common/inputs/single-filter.input.ts +6 -6
- package/src/core/common/inputs/sort.input.ts +5 -5
- package/src/core/common/interceptors/check-response.interceptor.ts +3 -3
- package/src/core/common/interceptors/check-security.interceptor.ts +5 -5
- package/src/core/common/interceptors/response-model.interceptor.ts +5 -5
- package/src/core/common/interceptors/translate-response.interceptor.ts +1 -1
- package/src/core/common/interfaces/core-persistence-model.interface.ts +1 -1
- package/src/core/common/interfaces/cron-job-config-with-time-zone.interface.ts +1 -1
- package/src/core/common/interfaces/cron-job-config-with-utc-offset.interface.ts +1 -1
- package/src/core/common/interfaces/scim-array-filter-node.interface.ts +1 -1
- package/src/core/common/interfaces/scim-condition-node.interface.ts +1 -1
- package/src/core/common/interfaces/scim-logical-node.interface.ts +2 -2
- package/src/core/common/interfaces/server-options.interface.ts +17 -13
- package/src/core/common/interfaces/service-options.interface.ts +3 -3
- package/src/core/common/middleware/request-context.middleware.ts +1 -1
- package/src/core/common/middlewares/security-headers.middleware.ts +2 -2
- package/src/core/common/models/core-model.model.ts +1 -1
- package/src/core/common/models/core-persistence.model.ts +5 -5
- package/src/core/common/models/pagination-info.model.ts +1 -1
- package/src/core/common/pipes/check-input.pipe.ts +2 -2
- package/src/core/common/pipes/map-and-validate.pipe.ts +6 -6
- package/src/core/common/plugins/complexity.plugin.ts +1 -1
- package/src/core/common/plugins/mongoose-audit-fields.plugin.ts +1 -1
- package/src/core/common/plugins/mongoose-password.plugin.ts +2 -2
- package/src/core/common/plugins/mongoose-role-guard.plugin.ts +3 -3
- package/src/core/common/plugins/mongoose-system-role.plugin.ts +1 -1
- package/src/core/common/plugins/mongoose-tenant.plugin.ts +2 -2
- package/src/core/common/scalars/date-timestamp.scalar.ts +1 -1
- package/src/core/common/scalars/date.scalar.ts +1 -1
- package/src/core/common/scalars/upload.scalar.ts +23 -0
- package/src/core/common/services/brevo.service.ts +32 -6
- package/src/core/common/services/config.service.ts +13 -9
- package/src/core/common/services/core-body-parser.initializer.ts +3 -3
- package/src/core/common/services/core-cron-jobs.initializer.ts +3 -3
- package/src/core/common/services/core-cron-jobs.registry.ts +1 -1
- package/src/core/common/services/core-cron-jobs.service.ts +45 -30
- package/src/core/common/services/core-redis-pubsub.ts +1 -1
- package/src/core/common/services/core-redis.service.ts +3 -3
- package/src/core/common/services/core-s3.service.ts +17 -3
- package/src/core/common/services/core-tenant-context.registry.ts +1 -1
- package/src/core/common/services/core-trust-proxy.initializer.ts +2 -2
- package/src/core/common/services/crud.service.ts +10 -10
- package/src/core/common/services/email.service.ts +13 -12
- package/src/core/common/services/mailjet.service.ts +10 -2
- package/src/core/common/services/model-doc.service.ts +3 -3
- package/src/core/common/services/model-registry.service.ts +1 -1
- package/src/core/common/services/module.service.ts +12 -12
- package/src/core/common/services/rate-limit-store.ts +6 -3
- package/src/core/common/services/template.service.ts +3 -3
- package/src/core/common/types/core-model-constructor.type.ts +1 -1
- package/src/core/common/types/field-selection.type.ts +1 -1
- package/src/core/common/types/ids.type.ts +1 -1
- package/src/core/common/types/plain-input.type.ts +3 -0
- package/src/core/common/types/scim-node.type.ts +3 -3
- package/src/core/common/types/wrapper.type.ts +14 -1
- package/src/core/modules/ai/core-ai-mcp-oauth.initializer.ts +6 -6
- package/src/core/modules/ai/core-ai-mcp.controller.ts +18 -15
- package/src/core/modules/ai/core-ai.controller.ts +42 -42
- package/src/core/modules/ai/core-ai.module.ts +46 -39
- package/src/core/modules/ai/core-ai.resolver.ts +40 -40
- package/src/core/modules/ai/helpers/ai-mcp-oauth.helper.ts +4 -4
- package/src/core/modules/ai/hooks/ai-hook.base.ts +2 -2
- package/src/core/modules/ai/hooks/ai-hook.registry.ts +3 -3
- package/src/core/modules/ai/index.ts +71 -71
- package/src/core/modules/ai/inputs/core-ai-budget-limit-create.input.ts +4 -4
- package/src/core/modules/ai/inputs/core-ai-budget-limit.input.ts +3 -3
- package/src/core/modules/ai/inputs/core-ai-connection-create.input.ts +4 -4
- package/src/core/modules/ai/inputs/core-ai-connection-preference.input.ts +3 -3
- package/src/core/modules/ai/inputs/core-ai-connection.input.ts +3 -3
- package/src/core/modules/ai/inputs/core-ai-conversation-create.input.ts +3 -3
- package/src/core/modules/ai/inputs/core-ai-conversation.input.ts +3 -3
- package/src/core/modules/ai/inputs/core-ai-prompt-create.input.ts +4 -4
- package/src/core/modules/ai/inputs/core-ai-prompt-hint-create.input.ts +4 -4
- package/src/core/modules/ai/inputs/core-ai-prompt-hint.input.ts +3 -3
- package/src/core/modules/ai/inputs/core-ai-prompt-update.input.ts +4 -4
- package/src/core/modules/ai/inputs/core-ai-prompt.input.ts +4 -4
- package/src/core/modules/ai/inputs/core-ai-slot-create.input.ts +4 -4
- package/src/core/modules/ai/inputs/core-ai-slot-update.input.ts +3 -3
- package/src/core/modules/ai/interfaces/ai-hook.interface.ts +3 -3
- package/src/core/modules/ai/interfaces/ai-placeholder.interface.ts +1 -1
- package/src/core/modules/ai/interfaces/ai-tool.interface.ts +2 -2
- package/src/core/modules/ai/models/core-ai-action.model.ts +3 -3
- package/src/core/modules/ai/models/core-ai-available-connection.model.ts +2 -2
- package/src/core/modules/ai/models/core-ai-budget-limit.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-connection-preference.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-connection.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-conversation.model.ts +6 -6
- package/src/core/modules/ai/models/core-ai-interaction.model.ts +5 -5
- package/src/core/modules/ai/models/core-ai-message.model.ts +2 -2
- package/src/core/modules/ai/models/core-ai-mode.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-prompt-hint.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-prompt.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-response.model.ts +6 -6
- package/src/core/modules/ai/models/core-ai-slot.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-tool-grant.model.ts +4 -4
- package/src/core/modules/ai/models/core-ai-tool-policy.model.ts +5 -5
- package/src/core/modules/ai/models/core-ai-usage-info.model.ts +2 -2
- package/src/core/modules/ai/models/core-ai-usage.model.ts +2 -2
- package/src/core/modules/ai/providers/claude-cli.provider.ts +4 -4
- package/src/core/modules/ai/providers/llm-provider.factory.ts +3 -3
- package/src/core/modules/ai/providers/openai-compatible.provider.ts +4 -4
- package/src/core/modules/ai/services/ai-crypto.service.ts +2 -2
- package/src/core/modules/ai/services/core-ai-budget.service.ts +11 -11
- package/src/core/modules/ai/services/core-ai-connection-preference.service.ts +11 -7
- package/src/core/modules/ai/services/core-ai-connection-resolver.service.ts +6 -6
- package/src/core/modules/ai/services/core-ai-connection.service.ts +14 -14
- package/src/core/modules/ai/services/core-ai-conversation.service.ts +10 -10
- package/src/core/modules/ai/services/core-ai-interaction.service.ts +6 -6
- package/src/core/modules/ai/services/core-ai-mcp-client.service.ts +3 -3
- package/src/core/modules/ai/services/core-ai-mcp-oauth.service.ts +45 -9
- package/src/core/modules/ai/services/core-ai-mcp.service.ts +2 -2
- package/src/core/modules/ai/services/core-ai-mode.service.ts +5 -5
- package/src/core/modules/ai/services/core-ai-placeholder.registry.ts +3 -3
- package/src/core/modules/ai/services/core-ai-prompt-builder.service.ts +6 -6
- package/src/core/modules/ai/services/core-ai-prompt-hint.service.ts +8 -8
- package/src/core/modules/ai/services/core-ai-prompt.service.ts +9 -9
- package/src/core/modules/ai/services/core-ai-slot.service.ts +10 -10
- package/src/core/modules/ai/services/core-ai-tool-grant.service.ts +5 -5
- package/src/core/modules/ai/services/core-ai-tool-policy.service.ts +5 -5
- package/src/core/modules/ai/services/core-ai.service.ts +37 -33
- package/src/core/modules/ai/tools/ai-tool.base.ts +3 -3
- package/src/core/modules/ai/tools/ai-tool.registry.ts +5 -5
- package/src/core/modules/ai/tools/ask-user-question.tool.ts +4 -4
- package/src/core/modules/ai/tools/search-tools.tool.ts +4 -4
- package/src/core/modules/api-token/core-api-token.decorators.ts +1 -1
- package/src/core/modules/api-token/core-api-token.helpers.ts +8 -8
- package/src/core/modules/api-token/core-api-token.middleware.ts +3 -3
- package/src/core/modules/api-token/core-api-token.model.ts +10 -10
- package/src/core/modules/api-token/core-api-token.module.ts +4 -4
- package/src/core/modules/api-token/core-api-token.service.ts +13 -13
- package/src/core/modules/auth/core-auth.controller.ts +19 -19
- package/src/core/modules/auth/core-auth.model.ts +5 -5
- package/src/core/modules/auth/core-auth.module.ts +12 -12
- package/src/core/modules/auth/core-auth.resolver.ts +19 -19
- package/src/core/modules/auth/core-legacy-auth-deprecation.initializer.ts +17 -3
- package/src/core/modules/auth/guards/auth.guard.ts +40 -12
- package/src/core/modules/auth/guards/legacy-auth-rate-limit.guard.ts +1 -1
- package/src/core/modules/auth/guards/refresh-token.guard.ts +1 -1
- package/src/core/modules/auth/guards/roles.guard.ts +13 -13
- package/src/core/modules/auth/helpers/legacy-endpoints.helper.ts +1 -1
- package/src/core/modules/auth/inputs/core-auth-sign-in.input.ts +4 -4
- package/src/core/modules/auth/inputs/core-auth-sign-up.input.ts +3 -3
- package/src/core/modules/auth/interfaces/auth-provider.interface.ts +1 -1
- package/src/core/modules/auth/interfaces/core-auth-user.interface.ts +1 -1
- package/src/core/modules/auth/services/core-auth-user.service.ts +2 -2
- package/src/core/modules/auth/services/core-auth.service.ts +14 -14
- package/src/core/modules/auth/services/legacy-auth-rate-limiter.service.ts +4 -4
- package/src/core/modules/auth/strategies/jwt-refresh.strategy.ts +3 -3
- package/src/core/modules/auth/strategies/jwt.strategy.ts +4 -4
- package/src/core/modules/auth/tokens.decorator.ts +1 -1
- package/src/core/modules/better-auth/better-auth-roles.guard.ts +10 -10
- package/src/core/modules/better-auth/better-auth-token.service.ts +3 -3
- package/src/core/modules/better-auth/better-auth.config.ts +79 -14
- package/src/core/modules/better-auth/better-auth.resolver.ts +9 -9
- package/src/core/modules/better-auth/better-auth.types.ts +1 -1
- package/src/core/modules/better-auth/core-better-auth-api.middleware.ts +84 -12
- package/src/core/modules/better-auth/core-better-auth-auth.model.ts +3 -3
- package/src/core/modules/better-auth/core-better-auth-challenge.service.ts +3 -3
- package/src/core/modules/better-auth/core-better-auth-cookie.helper.ts +4 -4
- package/src/core/modules/better-auth/core-better-auth-email-verification.service.ts +21 -11
- package/src/core/modules/better-auth/core-better-auth-error-codes.helper.ts +1 -1
- package/src/core/modules/better-auth/core-better-auth-models.ts +2 -2
- package/src/core/modules/better-auth/core-better-auth-openapi.helper.ts +1 -1
- package/src/core/modules/better-auth/core-better-auth-rate-limit.middleware.ts +2 -2
- package/src/core/modules/better-auth/core-better-auth-rate-limiter.service.ts +3 -3
- package/src/core/modules/better-auth/core-better-auth-signup-validator.service.ts +3 -3
- package/src/core/modules/better-auth/core-better-auth-user.mapper.ts +25 -5
- package/src/core/modules/better-auth/core-better-auth-web.helper.ts +2 -2
- package/src/core/modules/better-auth/core-better-auth.controller.ts +20 -17
- package/src/core/modules/better-auth/core-better-auth.middleware.ts +5 -5
- package/src/core/modules/better-auth/core-better-auth.module.ts +29 -27
- package/src/core/modules/better-auth/core-better-auth.registry.ts +35 -1
- package/src/core/modules/better-auth/core-better-auth.resolver.ts +16 -13
- package/src/core/modules/better-auth/core-better-auth.service.ts +17 -17
- package/src/core/modules/better-auth/index.ts +24 -24
- package/src/core/modules/error-code/core-error-code.controller.ts +4 -4
- package/src/core/modules/error-code/core-error-code.service.ts +2 -2
- package/src/core/modules/error-code/error-code.module.ts +3 -3
- package/src/core/modules/error-code/index.ts +5 -5
- package/src/core/modules/error-code/interfaces/error-code.interfaces.ts +2 -2
- package/src/core/modules/file/core-file-access-audit.initializer.ts +5 -5
- package/src/core/modules/file/core-file-info.model.ts +4 -4
- package/src/core/modules/file/core-file.controller.ts +8 -8
- package/src/core/modules/file/core-file.resolver.ts +8 -9
- package/src/core/modules/file/core-file.service.ts +20 -20
- package/src/core/modules/file/file-access.helper.ts +1 -1
- package/src/core/modules/file/file-roles.config.ts +2 -2
- package/src/core/modules/file/file-roles.helper.ts +6 -6
- package/src/core/modules/file/file-storage.helper.ts +1 -1
- package/src/core/modules/file/filesystem-file.helper.ts +2 -2
- package/src/core/modules/file/interfaces/file-upload.interface.ts +1 -1
- package/src/core/modules/file/s3-file.helper.ts +2 -2
- package/src/core/modules/health-check/core-health-check-result.model.ts +5 -5
- package/src/core/modules/health-check/core-health-check.controller.ts +3 -3
- package/src/core/modules/health-check/core-health-check.module.ts +3 -3
- package/src/core/modules/health-check/core-health-check.resolver.ts +4 -4
- package/src/core/modules/health-check/core-health-check.service.ts +18 -9
- package/src/core/modules/hub/core-hub-actions.controller.ts +2 -2
- package/src/core/modules/hub/core-hub-html.service.ts +4 -4
- package/src/core/modules/hub/core-hub.controller.ts +17 -17
- package/src/core/modules/hub/core-hub.module.ts +17 -17
- package/src/core/modules/hub/core-hub.service.ts +9 -9
- package/src/core/modules/hub/hub-buffer.ts +2 -2
- package/src/core/modules/hub/hub-config.helper.ts +4 -4
- package/src/core/modules/hub/index.ts +25 -25
- package/src/core/modules/hub/middleware/hub-trace.middleware.ts +1 -1
- package/src/core/modules/hub/services/core-hub-actions.service.ts +12 -12
- package/src/core/modules/hub/services/core-hub-db.service.ts +11 -11
- package/src/core/modules/hub/services/core-hub-email.service.ts +7 -6
- package/src/core/modules/hub/services/core-hub-mailbox.service.ts +6 -6
- package/src/core/modules/hub/services/core-hub-migrations.service.ts +8 -8
- package/src/core/modules/hub/services/core-hub-sources.service.ts +12 -6
- package/src/core/modules/hub/services/hub-log-buffer.service.ts +6 -6
- package/src/core/modules/hub/services/hub-query-profiler.service.ts +8 -8
- package/src/core/modules/hub/services/hub-trace-buffer.service.ts +5 -5
- package/src/core/modules/migrate/MIGRATION_FROM_NODEPIT.md +1 -1
- package/src/core/modules/migrate/README.md +32 -8
- package/src/core/modules/migrate/cli/migrate-cli.ts +71 -7
- package/src/core/modules/migrate/helpers/migration.helper.ts +7 -284
- package/src/core/modules/migrate/helpers/package.json +3 -0
- package/src/core/modules/migrate/helpers/ts-compiler-hooks.mjs +90 -0
- package/src/core/modules/migrate/helpers/ts-compiler.cjs +183 -0
- package/src/core/modules/migrate/helpers/ts-compiler.js +7 -10
- package/src/core/modules/migrate/index.ts +4 -4
- package/src/core/modules/migrate/migration-runner.ts +9 -10
- package/src/core/modules/migrate/migration.helper.ts +310 -0
- package/src/core/modules/migrate/templates/migration-project.template.ts +29 -12
- package/src/core/modules/permissions/core-permissions.controller.ts +2 -2
- package/src/core/modules/permissions/core-permissions.module.ts +4 -4
- package/src/core/modules/permissions/core-permissions.service.ts +2 -2
- package/src/core/modules/permissions/permissions-scanner.ts +1 -1
- package/src/core/modules/system-setup/core-system-setup.controller.ts +3 -3
- package/src/core/modules/system-setup/core-system-setup.module.ts +2 -2
- package/src/core/modules/system-setup/core-system-setup.service.ts +6 -6
- package/src/core/modules/tenant/core-role-scope.registry.ts +3 -3
- package/src/core/modules/tenant/core-tenant-member.model.ts +8 -8
- package/src/core/modules/tenant/core-tenant-role.helper.ts +4 -4
- package/src/core/modules/tenant/core-tenant.decorators.ts +1 -1
- package/src/core/modules/tenant/core-tenant.guard.ts +19 -39
- package/src/core/modules/tenant/core-tenant.helpers.ts +6 -6
- package/src/core/modules/tenant/core-tenant.module.ts +7 -7
- package/src/core/modules/tenant/core-tenant.service.ts +6 -6
- package/src/core/modules/tus/core-tus.controller.ts +6 -6
- package/src/core/modules/tus/core-tus.service.ts +14 -14
- package/src/core/modules/tus/index.ts +5 -5
- package/src/core/modules/tus/interfaces/tus-config.interface.ts +5 -5
- package/src/core/modules/tus/tus-redis-locker.ts +1 -1
- package/src/core/modules/tus/tus.module.ts +10 -10
- package/src/core/modules/user/core-user.model.ts +5 -5
- package/src/core/modules/user/core-user.service.ts +19 -19
- package/src/core/modules/user/inputs/core-user-create.input.ts +4 -4
- package/src/core/modules/user/inputs/core-user.input.ts +5 -5
- package/src/core/modules/user/interfaces/core-user-service-options.interface.ts +1 -1
- package/src/core.module.ts +63 -158
- package/src/index.ts +204 -203
- package/src/main.ts +19 -16
- package/src/server/common/models/persistence.model.ts +6 -6
- package/src/server/common/services/cron-jobs.service.ts +7 -8
- package/src/server/modules/ai/ai-tools.module.ts +7 -7
- package/src/server/modules/ai/tools/delete-user.tool.ts +5 -5
- package/src/server/modules/ai/tools/find-users.tool.ts +5 -5
- package/src/server/modules/ai/tools/get-user.tool.ts +5 -5
- package/src/server/modules/ai/tools/update-user-job-title.tool.ts +6 -6
- package/src/server/modules/auth/auth.controller.ts +5 -5
- package/src/server/modules/auth/auth.model.ts +6 -6
- package/src/server/modules/auth/auth.module.ts +7 -7
- package/src/server/modules/auth/auth.resolver.ts +10 -10
- package/src/server/modules/auth/auth.service.ts +8 -8
- package/src/server/modules/auth/inputs/auth-sign-in.input.ts +3 -3
- package/src/server/modules/auth/inputs/auth-sign-up.input.ts +4 -4
- package/src/server/modules/better-auth/better-auth.controller.ts +8 -8
- package/src/server/modules/better-auth/better-auth.module.ts +4 -4
- package/src/server/modules/better-auth/better-auth.resolver.ts +10 -10
- package/src/server/modules/error-code/error-code.controller.ts +5 -5
- package/src/server/modules/error-code/error-code.service.ts +2 -2
- package/src/server/modules/error-code/error-codes.ts +1 -1
- package/src/server/modules/error-code/index.ts +3 -3
- package/src/server/modules/file/file-info.model.ts +3 -3
- package/src/server/modules/file/file.controller.ts +5 -5
- package/src/server/modules/file/file.module.ts +5 -5
- package/src/server/modules/file/file.resolver.ts +6 -7
- package/src/server/modules/file/file.service.ts +7 -7
- package/src/server/modules/user/avatar.controller.ts +9 -10
- package/src/server/modules/user/inputs/user-create.input.ts +4 -4
- package/src/server/modules/user/inputs/user.input.ts +4 -4
- package/src/server/modules/user/outputs/find-and-count-users-result.output.ts +5 -5
- package/src/server/modules/user/user.controller.ts +10 -10
- package/src/server/modules/user/user.model.ts +7 -7
- package/src/server/modules/user/user.module.ts +9 -9
- package/src/server/modules/user/user.resolver.ts +11 -11
- package/src/server/modules/user/user.service.ts +10 -10
- package/src/server/server.controller.ts +1 -1
- package/src/server/server.module.ts +16 -16
- package/src/test/test.helper.ts +5 -5
- package/dist/tsconfig.build.tsbuildinfo +0 -1
package/bin/migrate.js
CHANGED
|
@@ -11,11 +11,12 @@
|
|
|
11
11
|
*
|
|
12
12
|
* npm mode node_modules/@lenne.tech/nest-server/bin/ → ../dist/core/**.js
|
|
13
13
|
* vendor repo <project>/bin/ → ../dist/src/core/**.js
|
|
14
|
-
* (or ../src/core/**.ts
|
|
14
|
+
* (or ../src/core/**.ts from source)
|
|
15
15
|
* vendor image <project>/dist/bin/ → ../src/core/**.js
|
|
16
16
|
*
|
|
17
17
|
* Compiled candidates are probed first, so a production image never reaches the
|
|
18
|
-
*
|
|
18
|
+
* source branch — its TypeScript loader needs `@swc/core`, a devDependency that
|
|
19
|
+
* gets pruned there.
|
|
19
20
|
*
|
|
20
21
|
* NOTE on the vendored-image layout: it assumes the build preserves the `src/`
|
|
21
22
|
* prefix (`dist/src/core/...`, matching `lt fullstack convert-mode`). A project
|
|
@@ -36,13 +37,14 @@ const CLI_SUBPATH = 'core/modules/migrate/cli/migrate-cli';
|
|
|
36
37
|
* Resolve the migrate CLI entry across the npm + vendored layouts.
|
|
37
38
|
*
|
|
38
39
|
* Compiled `.js` candidates (most specific first) are probed before the TypeScript
|
|
39
|
-
* source, so a production image with `
|
|
40
|
+
* source, so a production image with `@swc/core` pruned never picks the source path.
|
|
40
41
|
*
|
|
41
42
|
* @param {string} dirname - Directory of the shim (`__dirname` at runtime).
|
|
42
43
|
* @param {(p: string) => boolean} [existsSync] - Injected for tests; defaults to `fs.existsSync`.
|
|
43
|
-
* @returns {{ cliPath: string | null,
|
|
44
|
-
* `cliPath` is the resolved entry (null when nothing matched); `
|
|
45
|
-
* TypeScript-source fallback; `candidates` is every path probed,
|
|
44
|
+
* @returns {{ cliPath: string | null, fromSource: boolean, candidates: string[] }}
|
|
45
|
+
* `cliPath` is the resolved entry (null when nothing matched); `fromSource` is true only for the
|
|
46
|
+
* TypeScript-source fallback, which needs the TypeScript loader; `candidates` is every path probed,
|
|
47
|
+
* for the not-found diagnostic.
|
|
46
48
|
*/
|
|
47
49
|
function resolveCliPath(dirname, existsSync = fs.existsSync) {
|
|
48
50
|
const compiledCandidates = [
|
|
@@ -53,18 +55,18 @@ function resolveCliPath(dirname, existsSync = fs.existsSync) {
|
|
|
53
55
|
// vendored repo root: bin/ → dist/src/core/...
|
|
54
56
|
path.join(dirname, '..', 'dist', 'src', `${CLI_SUBPATH}.js`),
|
|
55
57
|
];
|
|
56
|
-
// TypeScript source, used for local development
|
|
58
|
+
// TypeScript source, used for local development through the TypeScript loader.
|
|
57
59
|
const sourcePath = path.join(dirname, '..', 'src', `${CLI_SUBPATH}.ts`);
|
|
58
60
|
const candidates = [...compiledCandidates, sourcePath];
|
|
59
61
|
|
|
60
62
|
const compiled = compiledCandidates.find((candidate) => existsSync(candidate));
|
|
61
63
|
if (compiled) {
|
|
62
|
-
return { candidates, cliPath: compiled,
|
|
64
|
+
return { candidates, cliPath: compiled, fromSource: false };
|
|
63
65
|
}
|
|
64
66
|
if (existsSync(sourcePath)) {
|
|
65
|
-
return { candidates, cliPath: sourcePath,
|
|
67
|
+
return { candidates, cliPath: sourcePath, fromSource: true };
|
|
66
68
|
}
|
|
67
|
-
return { candidates, cliPath: null,
|
|
69
|
+
return { candidates, cliPath: null, fromSource: false };
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
module.exports = { CLI_SUBPATH, resolveCliPath };
|
|
@@ -72,7 +74,7 @@ module.exports = { CLI_SUBPATH, resolveCliPath };
|
|
|
72
74
|
// Only run the CLI when invoked directly (`node bin/migrate.js` / the `migrate` bin).
|
|
73
75
|
// Importing this module for tests must not spawn a migration run.
|
|
74
76
|
if (require.main === module) {
|
|
75
|
-
const { candidates, cliPath,
|
|
77
|
+
const { candidates, cliPath, fromSource } = resolveCliPath(__dirname);
|
|
76
78
|
|
|
77
79
|
if (!cliPath) {
|
|
78
80
|
console.error('Error: Migration CLI not found. Looked for:');
|
|
@@ -82,13 +84,12 @@ if (require.main === module) {
|
|
|
82
84
|
process.exit(1);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
if (
|
|
86
|
-
// Development: register
|
|
87
|
+
if (fromSource) {
|
|
88
|
+
// Development: register the framework's TypeScript loader (SWC), which sits next to the CLI source.
|
|
87
89
|
try {
|
|
88
|
-
require('ts-
|
|
89
|
-
} catch {
|
|
90
|
-
console.error(
|
|
91
|
-
console.error('Install it with: pnpm add -D ts-node');
|
|
90
|
+
require(path.join(path.dirname(cliPath), '..', 'helpers', 'ts-compiler.js'));
|
|
91
|
+
} catch (error) {
|
|
92
|
+
console.error(`Error: ${error.message}`);
|
|
92
93
|
process.exit(1);
|
|
93
94
|
}
|
|
94
95
|
}
|
package/bin/package.json
ADDED
package/dist/config.env.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IServerOptions } from './core/common/interfaces/server-options.interface';
|
|
1
|
+
import { IServerOptions } from './core/common/interfaces/server-options.interface.js';
|
|
2
2
|
export declare function enforcePermissionsSecurity(cfg: {
|
|
3
3
|
[env: string]: IServerOptions;
|
|
4
4
|
}): void;
|
package/dist/config.env.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const path_1 = require("path");
|
|
7
|
-
const role_enum_1 = require("./core/common/enums/role.enum");
|
|
8
|
-
const config_helper_1 = require("./core/common/helpers/config.helper");
|
|
1
|
+
import { CronExpression } from '@nestjs/schedule';
|
|
2
|
+
import * as dotenv from 'dotenv';
|
|
3
|
+
import { join } from 'path';
|
|
4
|
+
import { RoleEnum } from './core/common/enums/role.enum.js';
|
|
5
|
+
import { getEnvironmentConfig, resolveSmtpSecure } from './core/common/helpers/config.helper.js';
|
|
9
6
|
dotenv.config({ quiet: true });
|
|
10
7
|
const productionSmtpPort = parseInt(process.env.SMTP_PORT || '587', 10);
|
|
11
8
|
const config = {
|
|
@@ -46,8 +43,8 @@ const config = {
|
|
|
46
43
|
cors: { allowAll: true },
|
|
47
44
|
cronJobs: {
|
|
48
45
|
sayHello: {
|
|
49
|
-
cronTime:
|
|
50
|
-
disabled:
|
|
46
|
+
cronTime: CronExpression.EVERY_10_SECONDS,
|
|
47
|
+
disabled: true,
|
|
51
48
|
runOnInit: false,
|
|
52
49
|
runParallel: 1,
|
|
53
50
|
throwException: false,
|
|
@@ -71,11 +68,8 @@ const config = {
|
|
|
71
68
|
},
|
|
72
69
|
},
|
|
73
70
|
env: 'ci',
|
|
74
|
-
errorCode: {
|
|
75
|
-
autoRegister: false,
|
|
76
|
-
},
|
|
77
71
|
execAfterInit: 'pnpm run docs:bootstrap',
|
|
78
|
-
file: { downloadRoles: [
|
|
72
|
+
file: { downloadRoles: [RoleEnum.S_USER] },
|
|
79
73
|
filter: {
|
|
80
74
|
maxLimit: null,
|
|
81
75
|
},
|
|
@@ -109,7 +103,7 @@ const config = {
|
|
|
109
103
|
expiresIn: '15m',
|
|
110
104
|
},
|
|
111
105
|
},
|
|
112
|
-
loadLocalConfig:
|
|
106
|
+
loadLocalConfig: false,
|
|
113
107
|
logExceptions: true,
|
|
114
108
|
mongoose: {
|
|
115
109
|
collation: {
|
|
@@ -139,11 +133,11 @@ const config = {
|
|
|
139
133
|
sha256: true,
|
|
140
134
|
staticAssets: {
|
|
141
135
|
options: { prefix: '' },
|
|
142
|
-
path: (
|
|
136
|
+
path: join(import.meta.dirname, '..', 'public'),
|
|
143
137
|
},
|
|
144
138
|
templates: {
|
|
145
139
|
engine: 'ejs',
|
|
146
|
-
path: (
|
|
140
|
+
path: join(import.meta.dirname, 'templates'),
|
|
147
141
|
},
|
|
148
142
|
},
|
|
149
143
|
development: {
|
|
@@ -191,7 +185,7 @@ const config = {
|
|
|
191
185
|
},
|
|
192
186
|
env: 'development',
|
|
193
187
|
execAfterInit: 'pnpm run docs:bootstrap',
|
|
194
|
-
file: { downloadRoles: [
|
|
188
|
+
file: { downloadRoles: [RoleEnum.S_USER] },
|
|
195
189
|
filter: {
|
|
196
190
|
maxLimit: null,
|
|
197
191
|
},
|
|
@@ -254,11 +248,11 @@ const config = {
|
|
|
254
248
|
sha256: true,
|
|
255
249
|
staticAssets: {
|
|
256
250
|
options: { prefix: '' },
|
|
257
|
-
path: (
|
|
251
|
+
path: join(import.meta.dirname, '..', 'public'),
|
|
258
252
|
},
|
|
259
253
|
templates: {
|
|
260
254
|
engine: 'ejs',
|
|
261
|
-
path: (
|
|
255
|
+
path: join(import.meta.dirname, 'templates'),
|
|
262
256
|
},
|
|
263
257
|
},
|
|
264
258
|
e2e: {
|
|
@@ -298,8 +292,8 @@ const config = {
|
|
|
298
292
|
cors: { allowAll: true },
|
|
299
293
|
cronJobs: {
|
|
300
294
|
sayHello: {
|
|
301
|
-
cronTime:
|
|
302
|
-
disabled:
|
|
295
|
+
cronTime: CronExpression.EVERY_10_SECONDS,
|
|
296
|
+
disabled: true,
|
|
303
297
|
runOnInit: false,
|
|
304
298
|
runParallel: 1,
|
|
305
299
|
throwException: false,
|
|
@@ -323,11 +317,8 @@ const config = {
|
|
|
323
317
|
},
|
|
324
318
|
},
|
|
325
319
|
env: 'e2e',
|
|
326
|
-
errorCode: {
|
|
327
|
-
autoRegister: false,
|
|
328
|
-
},
|
|
329
320
|
execAfterInit: 'pnpm run docs:bootstrap',
|
|
330
|
-
file: { downloadRoles: [
|
|
321
|
+
file: { downloadRoles: [RoleEnum.S_USER] },
|
|
331
322
|
filter: {
|
|
332
323
|
maxLimit: null,
|
|
333
324
|
},
|
|
@@ -361,7 +352,7 @@ const config = {
|
|
|
361
352
|
expiresIn: '15m',
|
|
362
353
|
},
|
|
363
354
|
},
|
|
364
|
-
loadLocalConfig:
|
|
355
|
+
loadLocalConfig: false,
|
|
365
356
|
logExceptions: true,
|
|
366
357
|
mongoose: {
|
|
367
358
|
collation: {
|
|
@@ -391,11 +382,11 @@ const config = {
|
|
|
391
382
|
sha256: true,
|
|
392
383
|
staticAssets: {
|
|
393
384
|
options: { prefix: '' },
|
|
394
|
-
path: (
|
|
385
|
+
path: join(import.meta.dirname, '..', 'public'),
|
|
395
386
|
},
|
|
396
387
|
templates: {
|
|
397
388
|
engine: 'ejs',
|
|
398
|
-
path: (
|
|
389
|
+
path: join(import.meta.dirname, 'templates'),
|
|
399
390
|
},
|
|
400
391
|
},
|
|
401
392
|
local: {
|
|
@@ -427,6 +418,9 @@ const config = {
|
|
|
427
418
|
legacyEndpoints: { enabled: true },
|
|
428
419
|
},
|
|
429
420
|
automaticObjectIdFiltering: true,
|
|
421
|
+
betterAuth: {
|
|
422
|
+
secret: process.env.BETTER_AUTH_SECRET || process.env.JWT_REFRESH_SECRET || 'SECRET_OR_PRIVATE_KEY_LOCAL_REFRESH',
|
|
423
|
+
},
|
|
430
424
|
...(process.env.BREVO_API_KEY
|
|
431
425
|
? {
|
|
432
426
|
brevo: {
|
|
@@ -442,8 +436,8 @@ const config = {
|
|
|
442
436
|
cors: { allowAll: true },
|
|
443
437
|
cronJobs: {
|
|
444
438
|
sayHello: {
|
|
445
|
-
cronTime:
|
|
446
|
-
disabled:
|
|
439
|
+
cronTime: CronExpression.EVERY_10_SECONDS,
|
|
440
|
+
disabled: true,
|
|
447
441
|
runOnInit: false,
|
|
448
442
|
runParallel: 1,
|
|
449
443
|
throwException: false,
|
|
@@ -467,11 +461,8 @@ const config = {
|
|
|
467
461
|
},
|
|
468
462
|
},
|
|
469
463
|
env: 'local',
|
|
470
|
-
errorCode: {
|
|
471
|
-
autoRegister: false,
|
|
472
|
-
},
|
|
473
464
|
execAfterInit: 'pnpm run docs:bootstrap',
|
|
474
|
-
file: { downloadRoles: [
|
|
465
|
+
file: { downloadRoles: [RoleEnum.S_USER] },
|
|
475
466
|
filter: {
|
|
476
467
|
maxLimit: null,
|
|
477
468
|
},
|
|
@@ -535,11 +526,11 @@ const config = {
|
|
|
535
526
|
sha256: true,
|
|
536
527
|
staticAssets: {
|
|
537
528
|
options: { prefix: '' },
|
|
538
|
-
path: (
|
|
529
|
+
path: join(import.meta.dirname, '..', 'public'),
|
|
539
530
|
},
|
|
540
531
|
templates: {
|
|
541
532
|
engine: 'ejs',
|
|
542
|
-
path: (
|
|
533
|
+
path: join(import.meta.dirname, 'templates'),
|
|
543
534
|
},
|
|
544
535
|
},
|
|
545
536
|
production: {
|
|
@@ -594,12 +585,12 @@ const config = {
|
|
|
594
585
|
host: process.env.SMTP_HOST,
|
|
595
586
|
port: productionSmtpPort,
|
|
596
587
|
requireTLS: process.env.SMTP_REQUIRE_TLS !== 'false',
|
|
597
|
-
secure:
|
|
588
|
+
secure: resolveSmtpSecure(process.env.SMTP_SECURE, productionSmtpPort),
|
|
598
589
|
},
|
|
599
590
|
},
|
|
600
591
|
env: 'production',
|
|
601
592
|
execAfterInit: 'pnpm run docs:bootstrap',
|
|
602
|
-
file: { downloadRoles: [
|
|
593
|
+
file: { downloadRoles: [RoleEnum.S_USER] },
|
|
603
594
|
filter: {
|
|
604
595
|
maxLimit: null,
|
|
605
596
|
},
|
|
@@ -657,15 +648,15 @@ const config = {
|
|
|
657
648
|
sha256: true,
|
|
658
649
|
staticAssets: {
|
|
659
650
|
options: { prefix: '' },
|
|
660
|
-
path: (
|
|
651
|
+
path: join(import.meta.dirname, '..', 'public'),
|
|
661
652
|
},
|
|
662
653
|
templates: {
|
|
663
654
|
engine: 'ejs',
|
|
664
|
-
path: (
|
|
655
|
+
path: join(import.meta.dirname, 'templates'),
|
|
665
656
|
},
|
|
666
657
|
},
|
|
667
658
|
};
|
|
668
|
-
function enforcePermissionsSecurity(cfg) {
|
|
659
|
+
export function enforcePermissionsSecurity(cfg) {
|
|
669
660
|
for (const [envName, opts] of Object.entries(cfg)) {
|
|
670
661
|
const hub = opts.hub;
|
|
671
662
|
const hubOn = hub === true || (typeof hub === 'object' && hub !== null && hub.enabled !== false);
|
|
@@ -680,5 +671,5 @@ function enforcePermissionsSecurity(cfg) {
|
|
|
680
671
|
}
|
|
681
672
|
}
|
|
682
673
|
enforcePermissionsSecurity(config);
|
|
683
|
-
|
|
674
|
+
export default getEnvironmentConfig({ config });
|
|
684
675
|
//# sourceMappingURL=config.env.js.map
|
package/dist/config.env.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.env.js","sourceRoot":"","sources":["../src/config.env.ts"],"names":[],"mappings":";;AAw0BA,gEAgBC;AAx1BD,+CAAkD;AAClD,iCAAiC;AACjC,+BAA4B;AAE5B,6DAAyD;AACzD,uEAA8F;AAiB9F,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC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AAK,IAAI,IAAK,KAA4B,CAAC,IAAI,KAAK,KAAK,CAAC;QAE7G,IAAI,CAAC,KAAK,EAAE,CAAC;YAEX,IAAI,CAAC,WAAW,GAAG,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;QACnE,CAAC;aAAM,IAAI,OAAO,KAAK,OAAO,IAAI,QAAQ,EAAE,CAAC;YAE3C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QAC1B,CAAC;IACH,CAAC;AACH,CAAC;AAED,0BAA0B,CAAC,MAAM,CAAC,CAAC;AAKnC,eAAe,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FilterInput } from '../inputs/filter.input';
|
|
2
|
-
import { PaginationArgs } from './pagination.args';
|
|
1
|
+
import { FilterInput } from '../inputs/filter.input.js';
|
|
2
|
+
import { PaginationArgs } from './pagination.args.js';
|
|
3
3
|
export declare class FilterArgs extends PaginationArgs {
|
|
4
4
|
filter?: FilterInput;
|
|
5
5
|
samples?: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
2
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
3
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8,37 +7,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
9
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const pagination_args_1 = require("./pagination.args");
|
|
17
|
-
let FilterArgs = class FilterArgs extends pagination_args_1.PaginationArgs {
|
|
10
|
+
import { ArgsType } from '@nestjs/graphql';
|
|
11
|
+
import { UnifiedField } from '../decorators/unified-field.decorator.js';
|
|
12
|
+
import { FilterInput } from '../inputs/filter.input.js';
|
|
13
|
+
import { PaginationArgs } from './pagination.args.js';
|
|
14
|
+
let FilterArgs = class FilterArgs extends PaginationArgs {
|
|
18
15
|
filter = undefined;
|
|
19
16
|
samples = undefined;
|
|
20
17
|
map(data, options = {}) {
|
|
21
18
|
super.map(data, options);
|
|
22
|
-
this.filter = data.filter ?
|
|
19
|
+
this.filter = data.filter ? FilterInput.map(data.filter, options) : undefined;
|
|
23
20
|
Object.keys(this).forEach((key) => this[key] === undefined && delete this[key]);
|
|
24
21
|
return this;
|
|
25
22
|
}
|
|
26
23
|
};
|
|
27
|
-
exports.FilterArgs = FilterArgs;
|
|
28
24
|
__decorate([
|
|
29
|
-
|
|
25
|
+
UnifiedField({
|
|
30
26
|
isOptional: true,
|
|
31
|
-
type:
|
|
27
|
+
type: FilterInput,
|
|
32
28
|
}),
|
|
33
|
-
__metadata("design:type",
|
|
29
|
+
__metadata("design:type", FilterInput)
|
|
34
30
|
], FilterArgs.prototype, "filter", void 0);
|
|
35
31
|
__decorate([
|
|
36
|
-
|
|
32
|
+
UnifiedField({
|
|
37
33
|
isOptional: true,
|
|
38
34
|
}),
|
|
39
35
|
__metadata("design:type", Number)
|
|
40
36
|
], FilterArgs.prototype, "samples", void 0);
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
FilterArgs = __decorate([
|
|
38
|
+
ArgsType()
|
|
43
39
|
], FilterArgs);
|
|
40
|
+
export { FilterArgs };
|
|
44
41
|
//# sourceMappingURL=filter.args.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.args.js","sourceRoot":"","sources":["../../../../src/core/common/args/filter.args.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filter.args.js","sourceRoot":"","sources":["../../../../src/core/common/args/filter.args.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG/C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,cAAc;IAQ5C,MAAM,GAAiB,SAAS,CAAC;IAQjC,OAAO,GAAY,SAAS,CAAC;IASpB,GAAG,CACV,IAAyC,EACzC,UAII,EAAE;QAEN,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC9E,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,SAAS,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAChF,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAA;AA9BC;IAJC,YAAY,CAAC;QACZ,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,WAAW;KAClB,CAAC;8BACO,WAAW;0CAAa;AAQjC;IAHC,YAAY,CAAC;QACZ,UAAU,EAAE,IAAI;KACjB,CAAC;;2CAC2B;AAhBlB,UAAU;IADtB,QAAQ,EAAE;GACE,UAAU,CAsCtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CoreInput } from '../inputs/core-input.input';
|
|
2
|
-
import { SortInput } from '../inputs/sort.input';
|
|
1
|
+
import { CoreInput } from '../inputs/core-input.input.js';
|
|
2
|
+
import { SortInput } from '../inputs/sort.input.js';
|
|
3
3
|
export declare class PaginationArgs extends CoreInput {
|
|
4
4
|
limit?: number;
|
|
5
5
|
offset?: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
2
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
3
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8,14 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
9
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const sort_input_1 = require("../inputs/sort.input");
|
|
18
|
-
let PaginationArgs = class PaginationArgs extends core_input_input_1.CoreInput {
|
|
10
|
+
import { ArgsType, Int } from '@nestjs/graphql';
|
|
11
|
+
import { UnifiedField } from '../decorators/unified-field.decorator.js';
|
|
12
|
+
import { maps } from '../helpers/model.helper.js';
|
|
13
|
+
import { CoreInput } from '../inputs/core-input.input.js';
|
|
14
|
+
import { SortInput } from '../inputs/sort.input.js';
|
|
15
|
+
let PaginationArgs = class PaginationArgs extends CoreInput {
|
|
19
16
|
limit = undefined;
|
|
20
17
|
offset = undefined;
|
|
21
18
|
skip = undefined;
|
|
@@ -23,54 +20,54 @@ let PaginationArgs = class PaginationArgs extends core_input_input_1.CoreInput {
|
|
|
23
20
|
take = undefined;
|
|
24
21
|
map(data, options = {}) {
|
|
25
22
|
super.map(data, options);
|
|
26
|
-
this.sort =
|
|
23
|
+
this.sort = maps(data.sort, SortInput, options.cloneDeep);
|
|
27
24
|
Object.keys(this).forEach((key) => this[key] === undefined && delete this[key]);
|
|
28
25
|
return this;
|
|
29
26
|
}
|
|
30
27
|
};
|
|
31
|
-
exports.PaginationArgs = PaginationArgs;
|
|
32
28
|
__decorate([
|
|
33
|
-
|
|
29
|
+
UnifiedField({
|
|
34
30
|
description: 'Limit specifies the maximum number of elements found that are to be returned',
|
|
35
|
-
gqlType:
|
|
31
|
+
gqlType: Int,
|
|
36
32
|
isOptional: true,
|
|
37
33
|
type: Number,
|
|
38
34
|
}),
|
|
39
35
|
__metadata("design:type", Number)
|
|
40
36
|
], PaginationArgs.prototype, "limit", void 0);
|
|
41
37
|
__decorate([
|
|
42
|
-
|
|
38
|
+
UnifiedField({
|
|
43
39
|
description: 'Alias for skip',
|
|
44
|
-
gqlType:
|
|
40
|
+
gqlType: Int,
|
|
45
41
|
isOptional: true,
|
|
46
42
|
}),
|
|
47
43
|
__metadata("design:type", Number)
|
|
48
44
|
], PaginationArgs.prototype, "offset", void 0);
|
|
49
45
|
__decorate([
|
|
50
|
-
|
|
46
|
+
UnifiedField({
|
|
51
47
|
description: 'Skip specifies how many found elements should be skipped on return',
|
|
52
|
-
gqlType:
|
|
48
|
+
gqlType: Int,
|
|
53
49
|
isOptional: true,
|
|
54
50
|
}),
|
|
55
51
|
__metadata("design:type", Number)
|
|
56
52
|
], PaginationArgs.prototype, "skip", void 0);
|
|
57
53
|
__decorate([
|
|
58
|
-
|
|
54
|
+
UnifiedField({
|
|
59
55
|
description: 'Sorting the returned elements',
|
|
60
56
|
isOptional: true,
|
|
61
|
-
type: () =>
|
|
57
|
+
type: () => SortInput,
|
|
62
58
|
}),
|
|
63
59
|
__metadata("design:type", Array)
|
|
64
60
|
], PaginationArgs.prototype, "sort", void 0);
|
|
65
61
|
__decorate([
|
|
66
|
-
|
|
62
|
+
UnifiedField({
|
|
67
63
|
description: 'Alias for limit',
|
|
68
|
-
gqlType:
|
|
64
|
+
gqlType: Int,
|
|
69
65
|
isOptional: true,
|
|
70
66
|
}),
|
|
71
67
|
__metadata("design:type", Number)
|
|
72
68
|
], PaginationArgs.prototype, "take", void 0);
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
PaginationArgs = __decorate([
|
|
70
|
+
ArgsType()
|
|
75
71
|
], PaginationArgs);
|
|
72
|
+
export { PaginationArgs };
|
|
76
73
|
//# sourceMappingURL=pagination.args.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.args.js","sourceRoot":"","sources":["../../../../src/core/common/args/pagination.args.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pagination.args.js","sourceRoot":"","sources":["../../../../src/core/common/args/pagination.args.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,SAAS;IAU3C,KAAK,GAAY,SAAS,CAAC;IAU3B,MAAM,GAAY,SAAS,CAAC;IAU5B,IAAI,GAAY,SAAS,CAAC;IAU1B,IAAI,GAAiB,SAAS,CAAC;IAU/B,IAAI,GAAY,SAAS,CAAC;IASjB,GAAG,CACV,IAAyC,EACzC,UAII,EAAE;QAEN,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;QAC1D,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,SAAS,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAChF,OAAO,IAAI,CAAC;IACd,CAAC;CACF,CAAA;AA9DC;IANC,YAAY,CAAC;QACZ,WAAW,EAAE,8EAA8E;QAC3F,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,MAAM;KACb,CAAC;;6CACyB;AAU3B;IALC,YAAY,CAAC;QACZ,WAAW,EAAE,gBAAgB;QAC7B,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE,IAAI;KACjB,CAAC;;8CAC0B;AAU5B;IALC,YAAY,CAAC;QACZ,WAAW,EAAE,oEAAoE;QACjF,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE,IAAI;KACjB,CAAC;;4CACwB;AAU1B;IALC,YAAY,CAAC;QACZ,WAAW,EAAE,+BAA+B;QAC5C,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,GAAG,EAAE,CAAC,SAAS;KACtB,CAAC;;4CAC6B;AAU/B;IALC,YAAY,CAAC;QACZ,WAAW,EAAE,iBAAiB;QAC9B,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE,IAAI;KACjB,CAAC;;4CACwB;AAlDf,cAAc;IAD1B,QAAQ,EAAE;GACE,cAAc,CAwE1B"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const common_1 = require("@nestjs/common");
|
|
5
|
-
exports.API_METHODS_KEY = 'lt:apiMethods';
|
|
6
|
-
const ApiMethods = (...methods) => (0, common_1.SetMetadata)(exports.API_METHODS_KEY, methods.map((method) => method.toLowerCase()));
|
|
7
|
-
exports.ApiMethods = ApiMethods;
|
|
1
|
+
import { SetMetadata } from '@nestjs/common';
|
|
2
|
+
export const API_METHODS_KEY = 'lt:apiMethods';
|
|
3
|
+
export const ApiMethods = (...methods) => SetMetadata(API_METHODS_KEY, methods.map((method) => method.toLowerCase()));
|
|
8
4
|
//# sourceMappingURL=api-methods.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-methods.decorator.js","sourceRoot":"","sources":["../../../../src/core/common/decorators/api-methods.decorator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api-methods.decorator.js","sourceRoot":"","sources":["../../../../src/core/common/decorators/api-methods.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;AAiB/C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAG,OAAiB,EAAE,EAAE,CACjD,WAAW,CACT,eAAe,EACf,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAC9C,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.ApiCommonErrorResponses = ApiCommonErrorResponses;
|
|
5
|
-
const common_1 = require("@nestjs/common");
|
|
6
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
7
|
-
exports.commonErrorSchema = {
|
|
1
|
+
import { applyDecorators } from '@nestjs/common';
|
|
2
|
+
import { ApiBadRequestResponse, ApiNotFoundResponse, ApiUnauthorizedResponse } from '@nestjs/swagger';
|
|
3
|
+
export const commonErrorSchema = {
|
|
8
4
|
properties: {
|
|
9
5
|
message: { type: 'string' },
|
|
10
6
|
name: { type: 'string' },
|
|
@@ -21,7 +17,7 @@ exports.commonErrorSchema = {
|
|
|
21
17
|
},
|
|
22
18
|
type: 'object',
|
|
23
19
|
};
|
|
24
|
-
|
|
20
|
+
export const badRequestSchema = {
|
|
25
21
|
properties: {
|
|
26
22
|
message: { type: 'string' },
|
|
27
23
|
name: { type: 'string' },
|
|
@@ -42,7 +38,7 @@ exports.badRequestSchema = {
|
|
|
42
38
|
},
|
|
43
39
|
type: 'object',
|
|
44
40
|
};
|
|
45
|
-
function ApiCommonErrorResponses() {
|
|
46
|
-
return
|
|
41
|
+
export function ApiCommonErrorResponses() {
|
|
42
|
+
return applyDecorators(ApiUnauthorizedResponse({ schema: commonErrorSchema }), ApiNotFoundResponse({ schema: commonErrorSchema }), ApiBadRequestResponse({ schema: badRequestSchema }));
|
|
47
43
|
}
|
|
48
44
|
//# sourceMappingURL=common-error.decorator.js.map
|