@rockster/core 0.0.1 → 0.0.4
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/access/access.module.d.ts +11 -0
- package/access/access.module.js +60 -0
- package/access/access.module.js.map +1 -0
- package/access/controllers/controllers.d.ts +6 -0
- package/access/controllers/controllers.js +16 -0
- package/access/controllers/controllers.js.map +1 -0
- package/access/controllers/scope-group-user.controller.d.ts +13 -0
- package/access/controllers/scope-group-user.controller.js +84 -0
- package/access/controllers/scope-group-user.controller.js.map +1 -0
- package/access/controllers/scope-group.controller.d.ts +19 -0
- package/access/controllers/scope-group.controller.js +123 -0
- package/access/controllers/scope-group.controller.js.map +1 -0
- package/access/controllers/scope-key.controller.d.ts +7 -0
- package/access/controllers/scope-key.controller.js +45 -0
- package/access/controllers/scope-key.controller.js.map +1 -0
- package/access/controllers/scope-owner.controller.d.ts +8 -0
- package/access/controllers/scope-owner.controller.js +66 -0
- package/access/controllers/scope-owner.controller.js.map +1 -0
- package/access/controllers/scope-user.controller.d.ts +14 -0
- package/access/controllers/scope-user.controller.js +95 -0
- package/access/controllers/scope-user.controller.js.map +1 -0
- package/access/entities/entities.d.ts +6 -0
- package/access/entities/entities.js +18 -0
- package/access/entities/entities.js.map +1 -0
- package/access/entities/index.d.ts +5 -0
- package/access/entities/index.js +22 -0
- package/access/entities/index.js.map +1 -0
- package/access/entities/scope-access.d.ts +9 -0
- package/access/entities/scope-access.js +58 -0
- package/access/entities/scope-access.js.map +1 -0
- package/access/entities/scope-group-user.d.ts +7 -0
- package/access/entities/scope-group-user.js +47 -0
- package/access/entities/scope-group-user.js.map +1 -0
- package/access/entities/scope-group.d.ts +9 -0
- package/access/entities/scope-group.js +56 -0
- package/access/entities/scope-group.js.map +1 -0
- package/access/entities/scope-key.d.ts +5 -0
- package/access/entities/scope-key.js +35 -0
- package/access/entities/scope-key.js.map +1 -0
- package/access/entities/scope-owner.d.ts +7 -0
- package/access/entities/scope-owner.js +45 -0
- package/access/entities/scope-owner.js.map +1 -0
- package/access/env.d.ts +10 -0
- package/access/env.js +10 -0
- package/access/env.js.map +1 -0
- package/access/functions/get-context-id-service.d.ts +1 -0
- package/access/functions/get-context-id-service.js +8 -0
- package/access/functions/get-context-id-service.js.map +1 -0
- package/access/functions/get-is-owner.d.ts +1 -0
- package/access/functions/get-is-owner.js +8 -0
- package/access/functions/get-is-owner.js.map +1 -0
- package/access/functions/get-user-keys.d.ts +2 -0
- package/access/functions/get-user-keys.js +10 -0
- package/access/functions/get-user-keys.js.map +1 -0
- package/access/functions/index.d.ts +3 -0
- package/access/functions/index.js +20 -0
- package/access/functions/index.js.map +1 -0
- package/access/functions/register-scope.d.ts +8 -0
- package/access/functions/register-scope.js +82 -0
- package/access/functions/register-scope.js.map +1 -0
- package/access/index.d.ts +5 -0
- package/access/index.js +22 -0
- package/access/index.js.map +1 -0
- package/access/interfaces/index.d.ts +2 -0
- package/access/interfaces/index.js +19 -0
- package/access/interfaces/index.js.map +1 -0
- package/access/interfaces/scope-service-registry.d.ts +6 -0
- package/access/interfaces/scope-service-registry.js +3 -0
- package/access/interfaces/scope-service-registry.js.map +1 -0
- package/access/interfaces/scope-service.d.ts +12 -0
- package/access/interfaces/scope-service.js +3 -0
- package/access/interfaces/scope-service.js.map +1 -0
- package/access/models/scope-context.d.ts +4 -0
- package/access/models/scope-context.js +27 -0
- package/access/models/scope-context.js.map +1 -0
- package/access/models/scope-keys-update.d.ts +7 -0
- package/access/models/scope-keys-update.js +38 -0
- package/access/models/scope-keys-update.js.map +1 -0
- package/access/models/scope-owner.d.ts +5 -0
- package/access/models/scope-owner.js +32 -0
- package/access/models/scope-owner.js.map +1 -0
- package/access/models/scope-user-mapped.d.ts +8 -0
- package/access/models/scope-user-mapped.js +42 -0
- package/access/models/scope-user-mapped.js.map +1 -0
- package/access/models/scope-user.d.ts +9 -0
- package/access/models/scope-user.js +49 -0
- package/access/models/scope-user.js.map +1 -0
- package/access/queries/scope-group-user.query.d.ts +1 -0
- package/access/queries/scope-group-user.query.js +26 -0
- package/access/queries/scope-group-user.query.js.map +1 -0
- package/access/queries/scope-group.query.d.ts +1 -0
- package/access/queries/scope-group.query.js +12 -0
- package/access/queries/scope-group.query.js.map +1 -0
- package/access/services/index.d.ts +6 -0
- package/access/services/index.js +23 -0
- package/access/services/index.js.map +1 -0
- package/access/services/scope-access.service.d.ts +11 -0
- package/access/services/scope-access.service.js +87 -0
- package/access/services/scope-access.service.js.map +1 -0
- package/access/services/scope-group-user.service.d.ts +8 -0
- package/access/services/scope-group-user.service.js +49 -0
- package/access/services/scope-group-user.service.js.map +1 -0
- package/access/services/scope-group.service.d.ts +7 -0
- package/access/services/scope-group.service.js +38 -0
- package/access/services/scope-group.service.js.map +1 -0
- package/access/services/scope-key.service.d.ts +9 -0
- package/access/services/scope-key.service.js +52 -0
- package/access/services/scope-key.service.js.map +1 -0
- package/access/services/scope-owner.service.d.ts +7 -0
- package/access/services/scope-owner.service.js +35 -0
- package/access/services/scope-owner.service.js.map +1 -0
- package/access/services/scope-service.d.ts +10 -0
- package/access/services/scope-service.js +52 -0
- package/access/services/scope-service.js.map +1 -0
- package/cache/cache-cleaner.js +1 -0
- package/cache/cache-cleaner.js.map +1 -0
- package/cache/cache.controller.js +1 -0
- package/cache/cache.controller.js.map +1 -0
- package/cache/constants.js +1 -0
- package/cache/constants.js.map +1 -0
- package/cache/decorators/index.js +1 -0
- package/cache/decorators/index.js.map +1 -0
- package/cache/decorators/inject-cache.decorator.js +1 -0
- package/cache/decorators/inject-cache.decorator.js.map +1 -0
- package/cache/decorators/key-value.js +1 -0
- package/cache/decorators/key-value.js.map +1 -0
- package/cache/functions/get-cache.js +1 -0
- package/cache/functions/get-cache.js.map +1 -0
- package/cache/functions/get-key.-handle.js +1 -0
- package/cache/functions/get-key.-handle.js.map +1 -0
- package/cache/index.js +1 -0
- package/cache/index.js.map +1 -0
- package/cache/interfaces/cache-instance.js +1 -0
- package/cache/interfaces/cache-instance.js.map +1 -0
- package/cache/interfaces/cache-key-options.js +1 -0
- package/cache/interfaces/cache-key-options.js.map +1 -0
- package/cache/interfaces/cache-options.js +1 -0
- package/cache/interfaces/cache-options.js.map +1 -0
- package/cache/interfaces/get-key-value-handle.js +1 -0
- package/cache/interfaces/get-key-value-handle.js.map +1 -0
- package/cache/interfaces/index.js +1 -0
- package/cache/interfaces/index.js.map +1 -0
- package/command/constants.js +1 -0
- package/command/constants.js.map +1 -0
- package/command/decorators/index.js +1 -0
- package/command/decorators/index.js.map +1 -0
- package/command/decorators/only-modify.decorator.js +1 -0
- package/command/decorators/only-modify.decorator.js.map +1 -0
- package/command/decorators/post-action.decorator.js +1 -0
- package/command/decorators/post-action.decorator.js.map +1 -0
- package/command/decorators/post-content.decorator.js +1 -0
- package/command/decorators/post-content.decorator.js.map +1 -0
- package/command/decorators/read-only.decorator.js +1 -0
- package/command/decorators/read-only.decorator.js.map +1 -0
- package/command/decorators/remove-action.decorator.js +1 -0
- package/command/decorators/remove-action.decorator.js.map +1 -0
- package/command/decorators/remove-content.decorator.js +1 -0
- package/command/decorators/remove-content.decorator.js.map +1 -0
- package/command/functions/execute-post.js +7 -7
- package/command/functions/execute-post.js.map +1 -0
- package/command/functions/execute-remove.js +1 -0
- package/command/functions/execute-remove.js.map +1 -0
- package/command/interfaces/command-property.js +1 -0
- package/command/interfaces/command-property.js.map +1 -0
- package/command/interfaces/index.js +1 -0
- package/command/interfaces/index.js.map +1 -0
- package/command/interfaces/post-action-options.js +1 -0
- package/command/interfaces/post-action-options.js.map +1 -0
- package/command/interfaces/post-content.js +1 -0
- package/command/interfaces/post-content.js.map +1 -0
- package/command/interfaces/remove-aciton-options.js +1 -0
- package/command/interfaces/remove-aciton-options.js.map +1 -0
- package/command/interfaces/remove-content.js +1 -0
- package/command/interfaces/remove-content.js.map +1 -0
- package/command/services/post-action-builder.js +13 -2
- package/command/services/post-action-builder.js.map +1 -0
- package/command/services/remove-action-builder.js +13 -3
- package/command/services/remove-action-builder.js.map +1 -0
- package/command/utils/deep-merge-keep-undefined.js +1 -0
- package/command/utils/deep-merge-keep-undefined.js.map +1 -0
- package/common/entities/base-entity.d.ts +1 -1
- package/common/entities/base-entity.js +3 -0
- package/common/entities/base-entity.js.map +1 -0
- package/common/index.js +1 -0
- package/common/index.js.map +1 -0
- package/common/interfaces/enum/index.js +1 -0
- package/common/interfaces/enum/index.js.map +1 -0
- package/common/interfaces/enum/object-type.d.ts +2 -1
- package/common/interfaces/enum/object-type.js +2 -0
- package/common/interfaces/enum/object-type.js.map +1 -0
- package/common/interfaces/enum/property-type.js +1 -0
- package/common/interfaces/enum/property-type.js.map +1 -0
- package/common/interfaces/enum/request-status.js +1 -0
- package/common/interfaces/enum/request-status.js.map +1 -0
- package/common/interfaces/get-type-callback.js +1 -0
- package/common/interfaces/get-type-callback.js.map +1 -0
- package/common/interfaces/index.js +1 -0
- package/common/interfaces/index.js.map +1 -0
- package/common/models/executed-response.js +1 -0
- package/common/models/executed-response.js.map +1 -0
- package/controllers/constants/controller-transaction.d.ts +2 -0
- package/controllers/constants/controller-transaction.js +6 -0
- package/controllers/constants/controller-transaction.js.map +1 -0
- package/controllers/constants.js +1 -0
- package/controllers/constants.js.map +1 -0
- package/controllers/controller.controller.d.ts +1 -1
- package/controllers/controller.controller.js +5 -4
- package/controllers/controller.controller.js.map +1 -0
- package/controllers/decorators/actions/action-content.decorator.js +1 -0
- package/controllers/decorators/actions/action-content.decorator.js.map +1 -0
- package/controllers/decorators/actions/action.decorator.js +1 -0
- package/controllers/decorators/actions/action.decorator.js.map +1 -0
- package/controllers/decorators/actions/index.js +1 -0
- package/controllers/decorators/actions/index.js.map +1 -0
- package/controllers/decorators/controller.decorator.js +9 -0
- package/controllers/decorators/controller.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/custom-response.decorator.js +1 -0
- package/controllers/decorators/http-methods/custom-response.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/delete.decorator.js +1 -0
- package/controllers/decorators/http-methods/delete.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/from-body.decorator.js +1 -0
- package/controllers/decorators/http-methods/from-body.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/from-headers.decorator.js +1 -0
- package/controllers/decorators/http-methods/from-headers.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/from-params.decorator.js +1 -0
- package/controllers/decorators/http-methods/from-params.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/from-query.decorator.js +1 -0
- package/controllers/decorators/http-methods/from-query.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/get.decorator.js +1 -0
- package/controllers/decorators/http-methods/get.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/http-req.decorator.js +1 -0
- package/controllers/decorators/http-methods/http-req.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/index.js +1 -0
- package/controllers/decorators/http-methods/index.js.map +1 -0
- package/controllers/decorators/http-methods/patch.decorator.js +1 -0
- package/controllers/decorators/http-methods/patch.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/post.decorator.js +1 -0
- package/controllers/decorators/http-methods/post.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/put.decorator.js +1 -0
- package/controllers/decorators/http-methods/put.decorator.js.map +1 -0
- package/controllers/decorators/http-methods/response-type.decorator.js +1 -0
- package/controllers/decorators/http-methods/response-type.decorator.js.map +1 -0
- package/controllers/decorators/index.d.ts +1 -0
- package/controllers/decorators/index.js +2 -0
- package/controllers/decorators/index.js.map +1 -0
- package/controllers/decorators/no-auth.decorator.js +1 -0
- package/controllers/decorators/no-auth.decorator.js.map +1 -0
- package/controllers/decorators/request-context.decorator.js +1 -0
- package/controllers/decorators/request-context.decorator.js.map +1 -0
- package/controllers/decorators/session.decorator.js +1 -0
- package/controllers/decorators/session.decorator.js.map +1 -0
- package/controllers/decorators/transaction.decorator.d.ts +7 -0
- package/controllers/decorators/transaction.decorator.js +23 -0
- package/controllers/decorators/transaction.decorator.js.map +1 -0
- package/controllers/index.js +1 -0
- package/controllers/index.js.map +1 -0
- package/controllers/interfaces/action-options.js +1 -0
- package/controllers/interfaces/action-options.js.map +1 -0
- package/controllers/interfaces/content-options.js +1 -0
- package/controllers/interfaces/content-options.js.map +1 -0
- package/controllers/interfaces/controller-object.d.ts +1 -0
- package/controllers/interfaces/controller-object.js +1 -0
- package/controllers/interfaces/controller-object.js.map +1 -0
- package/controllers/interfaces/controller-options.d.ts +1 -0
- package/controllers/interfaces/controller-options.js +1 -0
- package/controllers/interfaces/controller-options.js.map +1 -0
- package/controllers/interfaces/controller-property.d.ts +3 -0
- package/controllers/interfaces/controller-property.js +1 -0
- package/controllers/interfaces/controller-property.js.map +1 -0
- package/controllers/interfaces/enum/index.js +1 -0
- package/controllers/interfaces/enum/index.js.map +1 -0
- package/controllers/interfaces/enum/request-interceptor.js +1 -0
- package/controllers/interfaces/enum/request-interceptor.js.map +1 -0
- package/controllers/interfaces/get-only-data.js +1 -0
- package/controllers/interfaces/get-only-data.js.map +1 -0
- package/controllers/interfaces/index.js +1 -0
- package/controllers/interfaces/index.js.map +1 -0
- package/controllers/interfaces/on-before-validation-data.js +1 -0
- package/controllers/interfaces/on-before-validation-data.js.map +1 -0
- package/controllers/interfaces/response-options.js +1 -0
- package/controllers/interfaces/response-options.js.map +1 -0
- package/controllers/services/default-action-builder.js +43 -5
- package/controllers/services/default-action-builder.js.map +1 -0
- package/controllers/services/restful-action-builder.d.ts +1 -0
- package/controllers/services/restful-action-builder.js +31 -0
- package/controllers/services/restful-action-builder.js.map +1 -0
- package/core/core.controller.d.ts +2 -3
- package/core/core.controller.js +20 -11
- package/core/core.controller.js.map +1 -0
- package/core/functions/bootstrap.js +1 -0
- package/core/functions/bootstrap.js.map +1 -0
- package/core/functions/create-action.js +2 -3
- package/core/functions/create-action.js.map +1 -0
- package/core/functions/create-interceptor.js +3 -2
- package/core/functions/create-interceptor.js.map +1 -0
- package/core/functions/format-message.js +1 -0
- package/core/functions/format-message.js.map +1 -0
- package/core/functions/get-action-path.js +1 -0
- package/core/functions/get-action-path.js.map +1 -0
- package/core/functions/get-env.js +1 -0
- package/core/functions/get-env.js.map +1 -0
- package/core/functions/get-node-key.js +1 -0
- package/core/functions/get-node-key.js.map +1 -0
- package/core/functions/get-other-types.js +1 -0
- package/core/functions/get-other-types.js.map +1 -0
- package/core/functions/resolve-action-transactional.d.ts +3 -0
- package/core/functions/resolve-action-transactional.js +10 -0
- package/core/functions/resolve-action-transactional.js.map +1 -0
- package/core/index.js +1 -0
- package/core/index.js.map +1 -0
- package/core/interfaces/action-def.d.ts +2 -5
- package/core/interfaces/action-def.js +1 -0
- package/core/interfaces/action-def.js.map +1 -0
- package/core/interfaces/action-docs.d.ts +18 -3
- package/core/interfaces/action-docs.js +1 -0
- package/core/interfaces/action-docs.js.map +1 -0
- package/core/interfaces/action-handle.d.ts +5 -0
- package/core/interfaces/action-handle.js +3 -0
- package/core/interfaces/action-handle.js.map +1 -0
- package/core/interfaces/core-options.d.ts +1 -0
- package/core/interfaces/core-options.js +1 -0
- package/core/interfaces/core-options.js.map +1 -0
- package/core/interfaces/docs-options.js +1 -0
- package/core/interfaces/docs-options.js.map +1 -0
- package/core/interfaces/enum/connect-type.js +1 -0
- package/core/interfaces/enum/connect-type.js.map +1 -0
- package/core/interfaces/enum/index.js +1 -0
- package/core/interfaces/enum/index.js.map +1 -0
- package/core/interfaces/format-message-options.js +1 -0
- package/core/interfaces/format-message-options.js.map +1 -0
- package/core/interfaces/forms-options.js +1 -0
- package/core/interfaces/forms-options.js.map +1 -0
- package/core/interfaces/index.js +1 -0
- package/core/interfaces/index.js.map +1 -0
- package/core/interfaces/interceptor.d.ts +1 -1
- package/core/interfaces/interceptor.js +1 -0
- package/core/interfaces/interceptor.js.map +1 -0
- package/core/interfaces/locale-options.js +1 -0
- package/core/interfaces/locale-options.js.map +1 -0
- package/core/interfaces/mapper.js +1 -0
- package/core/interfaces/mapper.js.map +1 -0
- package/core/interfaces/object-docs.js +1 -0
- package/core/interfaces/object-docs.js.map +1 -0
- package/core/interfaces/object.d.ts +4 -2
- package/core/interfaces/object.js +1 -0
- package/core/interfaces/object.js.map +1 -0
- package/core/interfaces/pending-action.js +1 -0
- package/core/interfaces/pending-action.js.map +1 -0
- package/core/interfaces/property-docs.js +1 -0
- package/core/interfaces/property-docs.js.map +1 -0
- package/core/interfaces/property.js +1 -0
- package/core/interfaces/property.js.map +1 -0
- package/core/interfaces/request-callback-handle.js +1 -0
- package/core/interfaces/request-callback-handle.js.map +1 -0
- package/core/interfaces/request-callback.js +1 -0
- package/core/interfaces/request-callback.js.map +1 -0
- package/core/interfaces/request-callbacks.js +1 -0
- package/core/interfaces/request-callbacks.js.map +1 -0
- package/core/interfaces/request-context.d.ts +2 -2
- package/core/interfaces/request-context.js +1 -0
- package/core/interfaces/request-context.js.map +1 -0
- package/core/interfaces/request-data.js +1 -0
- package/core/interfaces/request-data.js.map +1 -0
- package/core/interfaces/router-options.js +1 -0
- package/core/interfaces/router-options.js.map +1 -0
- package/core/interfaces/sanitizer.js +1 -0
- package/core/interfaces/sanitizer.js.map +1 -0
- package/core/interfaces/storage-options.js +1 -0
- package/core/interfaces/storage-options.js.map +1 -0
- package/core/interfaces/translations-options.js +1 -0
- package/core/interfaces/translations-options.js.map +1 -0
- package/core/interfaces/transport-options.js +1 -0
- package/core/interfaces/transport-options.js.map +1 -0
- package/core/services/context-builder.js +1 -0
- package/core/services/context-builder.js.map +1 -0
- package/core/services/locale-service.js +1 -0
- package/core/services/locale-service.js.map +1 -0
- package/core/services/node-control.service.js +1 -0
- package/core/services/node-control.service.js.map +1 -0
- package/core/services/object-loader.js +1 -0
- package/core/services/object-loader.js.map +1 -0
- package/core/services/request-executor.d.ts +8 -0
- package/core/services/request-executor.js +89 -0
- package/core/services/request-executor.js.map +1 -0
- package/core/services/request-router.js +4 -3
- package/core/services/request-router.js.map +1 -0
- package/database/contexts/index.js +1 -0
- package/database/contexts/index.js.map +1 -0
- package/database/contexts/transaction-context.js +1 -0
- package/database/contexts/transaction-context.js.map +1 -0
- package/database/database.controller.d.ts +3 -1
- package/database/database.controller.js +15 -15
- package/database/database.controller.js.map +1 -0
- package/database/decorators/column.decorator.js +1 -0
- package/database/decorators/column.decorator.js.map +1 -0
- package/database/decorators/entity.decorator.d.ts +3 -1
- package/database/decorators/entity.decorator.js +15 -5
- package/database/decorators/entity.decorator.js.map +1 -0
- package/database/decorators/external-column.decorator.d.ts +17 -0
- package/database/decorators/external-column.decorator.js +30 -0
- package/database/decorators/external-column.decorator.js.map +1 -0
- package/database/decorators/id-generated.decorator.js +1 -0
- package/database/decorators/id-generated.decorator.js.map +1 -0
- package/database/decorators/id.decorator.js +1 -0
- package/database/decorators/id.decorator.js.map +1 -0
- package/database/decorators/index.d.ts +2 -0
- package/database/decorators/index.js +3 -0
- package/database/decorators/index.js.map +1 -0
- package/database/decorators/inject-data-source.decorator.js +1 -0
- package/database/decorators/inject-data-source.decorator.js.map +1 -0
- package/database/decorators/inject-repository.decorator.js +1 -0
- package/database/decorators/inject-repository.decorator.js.map +1 -0
- package/database/decorators/jsonb-index.decorator.d.ts +21 -0
- package/database/decorators/jsonb-index.decorator.js +23 -0
- package/database/decorators/jsonb-index.decorator.js.map +1 -0
- package/database/decorators/protect-context-column.decorator.js +1 -0
- package/database/decorators/protect-context-column.decorator.js.map +1 -0
- package/database/decorators/protect-entity.decorator.js +1 -0
- package/database/decorators/protect-entity.decorator.js.map +1 -0
- package/database/decorators/protect-key-column.decorator.js +1 -0
- package/database/decorators/protect-key-column.decorator.js.map +1 -0
- package/database/decorators/protect-target-column.decorator.js +1 -0
- package/database/decorators/protect-target-column.decorator.js.map +1 -0
- package/database/decorators/protected-entity.decorator.js +1 -0
- package/database/decorators/protected-entity.decorator.js.map +1 -0
- package/database/decorators/relation.decorator.d.ts +2 -2
- package/database/decorators/relation.decorator.js +1 -0
- package/database/decorators/relation.decorator.js.map +1 -0
- package/database/decorators/virtual-column.decorator.js +1 -0
- package/database/decorators/virtual-column.decorator.js.map +1 -0
- package/database/{environment.d.ts → env.d.ts} +3 -1
- package/database/{environment.js → env.js} +4 -2
- package/database/env.js.map +1 -0
- package/database/exports/index.js +1 -0
- package/database/exports/index.js.map +1 -0
- package/database/exports/typeorm.js +1 -0
- package/database/exports/typeorm.js.map +1 -0
- package/database/extensions/select-query-builder.d.ts +1 -5
- package/database/extensions/select-query-builder.js +1 -0
- package/database/extensions/select-query-builder.js.map +1 -0
- package/database/functions/column-decorator.js +3 -0
- package/database/functions/column-decorator.js.map +1 -0
- package/database/functions/create-entity.js +1 -0
- package/database/functions/create-entity.js.map +1 -0
- package/database/functions/create-new-class.js +1 -0
- package/database/functions/create-new-class.js.map +1 -0
- package/database/functions/entity-decorator.js +1 -0
- package/database/functions/entity-decorator.js.map +1 -0
- package/database/functions/execute-if-not-exists-column.js +1 -0
- package/database/functions/execute-if-not-exists-column.js.map +1 -0
- package/database/functions/execute-if-not-exists-table.js +1 -0
- package/database/functions/execute-if-not-exists-table.js.map +1 -0
- package/database/functions/find-relation.d.ts +2 -1
- package/database/functions/find-relation.js +4 -3
- package/database/functions/find-relation.js.map +1 -0
- package/database/functions/generate-entity-id.d.ts +2 -0
- package/database/functions/{generate-id.js → generate-entity-id.js} +3 -2
- package/database/functions/generate-entity-id.js.map +1 -0
- package/database/functions/get-column-type.js +1 -0
- package/database/functions/get-column-type.js.map +1 -0
- package/database/functions/get-id-property.js +1 -0
- package/database/functions/get-id-property.js.map +1 -0
- package/database/functions/get-name-by-strategy.js +1 -0
- package/database/functions/get-name-by-strategy.js.map +1 -0
- package/database/functions/get-primitive-type.js +1 -0
- package/database/functions/get-primitive-type.js.map +1 -0
- package/database/functions/get-relations.d.ts +1 -1
- package/database/functions/get-relations.js +1 -0
- package/database/functions/get-relations.js.map +1 -0
- package/database/functions/has-update.js +1 -0
- package/database/functions/has-update.js.map +1 -0
- package/database/functions/inject-repository-handle.js +1 -0
- package/database/functions/inject-repository-handle.js.map +1 -0
- package/database/functions/object-to-jsonb.js +1 -0
- package/database/functions/object-to-jsonb.js.map +1 -0
- package/database/functions/register-column.js +1 -0
- package/database/functions/register-column.js.map +1 -0
- package/database/functions/register-entity.js +1 -0
- package/database/functions/register-entity.js.map +1 -0
- package/database/functions/register-generated-id.js +1 -0
- package/database/functions/register-generated-id.js.map +1 -0
- package/database/functions/register-id.js +1 -0
- package/database/functions/register-id.js.map +1 -0
- package/database/functions/register-relation.js +1 -0
- package/database/functions/register-relation.js.map +1 -0
- package/database/functions/relation-decorator.js +3 -2
- package/database/functions/relation-decorator.js.map +1 -0
- package/database/functions/use-protector.js +2 -1
- package/database/functions/use-protector.js.map +1 -0
- package/database/functions/use-repository.js +1 -0
- package/database/functions/use-repository.js.map +1 -0
- package/database/functions/use-transaction.d.ts +1 -0
- package/database/functions/use-transaction.js +3 -6
- package/database/functions/use-transaction.js.map +1 -0
- package/database/index.js +1 -0
- package/database/index.js.map +1 -0
- package/database/interfaces/base-columns-name-override.js +1 -0
- package/database/interfaces/base-columns-name-override.js.map +1 -0
- package/database/interfaces/column-def.js +1 -0
- package/database/interfaces/column-def.js.map +1 -0
- package/database/interfaces/connection.options.js +1 -0
- package/database/interfaces/connection.options.js.map +1 -0
- package/database/interfaces/direact-alias.js +1 -0
- package/database/interfaces/direact-alias.js.map +1 -0
- package/database/interfaces/entity-dto-object.d.ts +7 -0
- package/database/interfaces/entity-dto-object.js +3 -0
- package/database/interfaces/entity-dto-object.js.map +1 -0
- package/database/interfaces/entity-object.d.ts +1 -0
- package/database/interfaces/entity-object.js +1 -0
- package/database/interfaces/entity-object.js.map +1 -0
- package/database/interfaces/entity-options.js +1 -0
- package/database/interfaces/entity-options.js.map +1 -0
- package/database/interfaces/entity-property.d.ts +14 -0
- package/database/interfaces/entity-property.js +1 -0
- package/database/interfaces/entity-property.js.map +1 -0
- package/database/interfaces/enum/column-def-type.js +1 -0
- package/database/interfaces/enum/column-def-type.js.map +1 -0
- package/database/interfaces/enum/index.js +1 -0
- package/database/interfaces/enum/index.js.map +1 -0
- package/database/interfaces/enum/naming-strategy-type.js +1 -0
- package/database/interfaces/enum/naming-strategy-type.js.map +1 -0
- package/database/interfaces/enum/nano-id-alphabet-type.js +1 -0
- package/database/interfaces/enum/nano-id-alphabet-type.js.map +1 -0
- package/database/interfaces/enum/order-by-direction.js +1 -0
- package/database/interfaces/enum/order-by-direction.js.map +1 -0
- package/database/interfaces/enum/primary-strategy-type.js +1 -0
- package/database/interfaces/enum/primary-strategy-type.js.map +1 -0
- package/database/interfaces/enum/relation-path-type.js +1 -0
- package/database/interfaces/enum/relation-path-type.js.map +1 -0
- package/database/interfaces/execute-callback.js +1 -0
- package/database/interfaces/execute-callback.js.map +1 -0
- package/database/interfaces/id-column-def.js +1 -0
- package/database/interfaces/id-column-def.js.map +1 -0
- package/database/interfaces/index.js +1 -0
- package/database/interfaces/index.js.map +1 -0
- package/database/interfaces/inverse-alias.js +1 -0
- package/database/interfaces/inverse-alias.js.map +1 -0
- package/database/interfaces/nano-id-column-options.js +1 -0
- package/database/interfaces/nano-id-column-options.js.map +1 -0
- package/database/interfaces/path.d.ts +6 -2
- package/database/interfaces/path.js +1 -0
- package/database/interfaces/path.js.map +1 -0
- package/database/interfaces/protector.js +1 -0
- package/database/interfaces/protector.js.map +1 -0
- package/database/interfaces/register-one-to-many-handle.js +1 -0
- package/database/interfaces/register-one-to-many-handle.js.map +1 -0
- package/database/interfaces/register-one-to-many.js +1 -0
- package/database/interfaces/register-one-to-many.js.map +1 -0
- package/database/interfaces/relation-def.js +1 -0
- package/database/interfaces/relation-def.js.map +1 -0
- package/database/interfaces/relation-path.js +1 -0
- package/database/interfaces/relation-path.js.map +1 -0
- package/database/interfaces/relation.options.js +1 -0
- package/database/interfaces/relation.options.js.map +1 -0
- package/database/interfaces/repository.js +1 -0
- package/database/interfaces/repository.js.map +1 -0
- package/database/interfaces/virtual-select.d.ts +4 -0
- package/database/interfaces/virtual-select.js +3 -0
- package/database/interfaces/virtual-select.js.map +1 -0
- package/database/migrations/1737637321043-UUIDVarcharMigration.js +3 -2
- package/database/migrations/1737637321043-UUIDVarcharMigration.js.map +1 -0
- package/database/migrations/use-uuid-varchar-migration.js +3 -2
- package/database/migrations/use-uuid-varchar-migration.js.map +1 -0
- package/database/services/jsonb-index-creator.d.ts +23 -0
- package/database/services/jsonb-index-creator.js +156 -0
- package/database/services/jsonb-index-creator.js.map +1 -0
- package/database/services/paths-builder.js +1 -0
- package/database/services/paths-builder.js.map +1 -0
- package/database/services/protect-builder.d.ts +3 -2
- package/database/services/protect-builder.js +3 -2
- package/database/services/protect-builder.js.map +1 -0
- package/database/services/repository.service.d.ts +1 -1
- package/database/services/repository.service.js +4 -6
- package/database/services/repository.service.js.map +1 -0
- package/docs/controllers/controllers.d.ts +2 -0
- package/docs/controllers/controllers.js +6 -0
- package/docs/controllers/controllers.js.map +1 -0
- package/docs/controllers/docs.controller.d.ts +7 -0
- package/docs/controllers/docs.controller.js +58 -0
- package/docs/controllers/docs.controller.js.map +1 -0
- package/docs/docs.d.ts +10 -0
- package/docs/docs.js +10 -0
- package/docs/docs.js.map +1 -0
- package/docs/docs.module.d.ts +6 -0
- package/docs/docs.module.js +70 -0
- package/docs/docs.module.js.map +1 -0
- package/docs/entities/docs-controller-action.entity.d.ts +23 -0
- package/docs/entities/docs-controller-action.entity.js +148 -0
- package/docs/entities/docs-controller-action.entity.js.map +1 -0
- package/docs/entities/docs-controller.entity.d.ts +9 -0
- package/docs/entities/docs-controller.entity.js +54 -0
- package/docs/entities/docs-controller.entity.js.map +1 -0
- package/docs/entities/docs-version.entity.d.ts +10 -0
- package/docs/entities/docs-version.entity.js +59 -0
- package/docs/entities/docs-version.entity.js.map +1 -0
- package/docs/entities/entities.d.ts +4 -0
- package/docs/entities/entities.js +12 -0
- package/docs/entities/entities.js.map +1 -0
- package/docs/models/docs-model-property-validator.d.ts +11 -0
- package/docs/models/docs-model-property-validator.js +53 -0
- package/docs/models/docs-model-property-validator.js.map +1 -0
- package/docs/models/docs-model-property.d.ts +11 -0
- package/docs/models/docs-model-property.js +55 -0
- package/docs/models/docs-model-property.js.map +1 -0
- package/docs/models/docs-model.d.ts +7 -0
- package/docs/models/docs-model.js +43 -0
- package/docs/models/docs-model.js.map +1 -0
- package/docs/queries/docs-controller-action.query.d.ts +1 -0
- package/docs/queries/docs-controller-action.query.js +10 -0
- package/docs/queries/docs-controller-action.query.js.map +1 -0
- package/docs/queries/docs-controller.query.d.ts +1 -0
- package/docs/queries/docs-controller.query.js +10 -0
- package/docs/queries/docs-controller.query.js.map +1 -0
- package/docs/queries/docs-model.query.d.ts +1 -0
- package/docs/queries/docs-model.query.js +17 -0
- package/docs/queries/docs-model.query.js.map +1 -0
- package/docs/queries/docs-version.query.d.ts +1 -0
- package/docs/queries/docs-version.query.js +10 -0
- package/docs/queries/docs-version.query.js.map +1 -0
- package/docs/services/docs-controller-action.service.d.ts +19 -0
- package/docs/services/docs-controller-action.service.js +106 -0
- package/docs/services/docs-controller-action.service.js.map +1 -0
- package/docs/services/docs-controller.service.d.ts +7 -0
- package/docs/services/docs-controller.service.js +47 -0
- package/docs/services/docs-controller.service.js.map +1 -0
- package/docs/services/docs-version.service.d.ts +7 -0
- package/docs/services/docs-version.service.js +51 -0
- package/docs/services/docs-version.service.js.map +1 -0
- package/docs/services/docs.service.d.ts +10 -0
- package/docs/services/docs.service.js +48 -0
- package/docs/services/docs.service.js.map +1 -0
- package/forms/entities/form.js +1 -0
- package/forms/entities/form.js.map +1 -0
- package/forms/entities/property.js +1 -0
- package/forms/entities/property.js.map +1 -0
- package/forms/forms.controller.js +1 -0
- package/forms/forms.controller.js.map +1 -0
- package/forms/interfaces/form-item.js +1 -0
- package/forms/interfaces/form-item.js.map +1 -0
- package/forms/interfaces/form.js +1 -0
- package/forms/interfaces/form.js.map +1 -0
- package/forms/interfaces/property.js +1 -0
- package/forms/interfaces/property.js.map +1 -0
- package/forms/migrations/1725969116484-CreateFormsTables.js +1 -0
- package/forms/migrations/1725969116484-CreateFormsTables.js.map +1 -0
- package/forms/models/form-load.request.js +1 -0
- package/forms/models/form-load.request.js.map +1 -0
- package/forms/queries/form.query.d.ts +1 -1
- package/forms/queries/form.query.js +1 -0
- package/forms/queries/form.query.js.map +1 -0
- package/forms/queries/property.query.d.ts +1 -1
- package/forms/queries/property.query.js +1 -0
- package/forms/queries/property.query.js.map +1 -0
- package/forms/requests/form.request.js +1 -0
- package/forms/requests/form.request.js.map +1 -0
- package/forms/requests/property.request.js +1 -0
- package/forms/requests/property.request.js.map +1 -0
- package/forms/services/form.service.js +1 -0
- package/forms/services/form.service.js.map +1 -0
- package/forms/services/property.service.js +1 -0
- package/forms/services/property.service.js.map +1 -0
- package/forms/utils/build-form-validator.js +1 -0
- package/forms/utils/build-form-validator.js.map +1 -0
- package/forms/utils/get-form-items.js +1 -0
- package/forms/utils/get-form-items.js.map +1 -0
- package/global.d.ts +3 -1
- package/global.js +6 -2
- package/global.js.map +1 -0
- package/http/http.controller.d.ts +3 -6
- package/http/http.controller.js +4 -2
- package/http/http.controller.js.map +1 -0
- package/http/index.js +1 -0
- package/http/index.js.map +1 -0
- package/http/interfaces/csrf.options.js +1 -0
- package/http/interfaces/csrf.options.js.map +1 -0
- package/http/interfaces/http-request.js +1 -0
- package/http/interfaces/http-request.js.map +1 -0
- package/http/interfaces/http-response.js +1 -0
- package/http/interfaces/http-response.js.map +1 -0
- package/http/interfaces/http-settings.js +1 -0
- package/http/interfaces/http-settings.js.map +1 -0
- package/http/interfaces/http-use.js +1 -0
- package/http/interfaces/http-use.js.map +1 -0
- package/http/interfaces/index.js +1 -0
- package/http/interfaces/index.js.map +1 -0
- package/http/interfaces/route.js +1 -0
- package/http/interfaces/route.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.js +3 -6
- package/index.js.map +1 -0
- package/jobs/constants.js +1 -0
- package/jobs/constants.js.map +1 -0
- package/jobs/decorators/index.js +1 -0
- package/jobs/decorators/index.js.map +1 -0
- package/jobs/decorators/job.decorator.js +1 -0
- package/jobs/decorators/job.decorator.js.map +1 -0
- package/jobs/interfaces/index.js +1 -0
- package/jobs/interfaces/index.js.map +1 -0
- package/jobs/interfaces/job-data.js +1 -0
- package/jobs/interfaces/job-data.js.map +1 -0
- package/jobs/interfaces/job-executor.js +1 -0
- package/jobs/interfaces/job-executor.js.map +1 -0
- package/jobs/interfaces/job-object.js +1 -0
- package/jobs/interfaces/job-object.js.map +1 -0
- package/jobs/interfaces/job.options.js +1 -0
- package/jobs/interfaces/job.options.js.map +1 -0
- package/jobs/jobs.controller.js +3 -0
- package/jobs/jobs.controller.js.map +1 -0
- package/module/decorators/index.js +1 -0
- package/module/decorators/index.js.map +1 -0
- package/module/decorators/module.decorator.js +1 -0
- package/module/decorators/module.decorator.js.map +1 -0
- package/module/decorators/on-after-app-start.js +1 -0
- package/module/decorators/on-after-app-start.js.map +1 -0
- package/module/decorators/on-after-database-init.js +1 -0
- package/module/decorators/on-after-database-init.js.map +1 -0
- package/module/decorators/on-module-init.js +1 -0
- package/module/decorators/on-module-init.js.map +1 -0
- package/module/index.js +1 -0
- package/module/index.js.map +1 -0
- package/module/interfaces/index.js +1 -0
- package/module/interfaces/index.js.map +1 -0
- package/module/interfaces/module-events.js +1 -0
- package/module/interfaces/module-events.js.map +1 -0
- package/module/interfaces/module-object.js +1 -0
- package/module/interfaces/module-object.js.map +1 -0
- package/module/interfaces/module-options.d.ts +1 -0
- package/module/interfaces/module-options.js +1 -0
- package/module/interfaces/module-options.js.map +1 -0
- package/module/module.controller.d.ts +3 -2
- package/module/module.controller.js +6 -0
- package/module/module.controller.js.map +1 -0
- package/package.json +13 -11
- package/query/constants.js +1 -0
- package/query/constants.js.map +1 -0
- package/query/decorators/index.js +1 -0
- package/query/decorators/index.js.map +1 -0
- package/query/decorators/query-content.decorator.js +1 -0
- package/query/decorators/query-content.decorator.js.map +1 -0
- package/query/functions/add-join.js +9 -5
- package/query/functions/add-join.js.map +1 -0
- package/query/functions/collect-external-column-owners.d.ts +10 -0
- package/query/functions/collect-external-column-owners.js +100 -0
- package/query/functions/collect-external-column-owners.js.map +1 -0
- package/query/functions/create-query-builder.js +48 -16
- package/query/functions/create-query-builder.js.map +1 -0
- package/query/functions/create-query-cache-hash.d.ts +16 -0
- package/query/functions/create-query-cache-hash.js +70 -0
- package/query/functions/create-query-cache-hash.js.map +1 -0
- package/query/functions/create-query.d.ts +8 -3
- package/query/functions/create-query.js +16 -9
- package/query/functions/create-query.js.map +1 -0
- package/query/functions/describe-query-filter.js +8 -4
- package/query/functions/describe-query-filter.js.map +1 -0
- package/query/functions/execute-query.js +56 -14
- package/query/functions/execute-query.js.map +1 -0
- package/query/functions/expand-select-with-external-dependencies.d.ts +9 -0
- package/query/functions/expand-select-with-external-dependencies.js +34 -0
- package/query/functions/expand-select-with-external-dependencies.js.map +1 -0
- package/query/functions/external-column-owner-path.d.ts +5 -0
- package/query/functions/external-column-owner-path.js +18 -0
- package/query/functions/external-column-owner-path.js.map +1 -0
- package/query/functions/get-column-path.js +1 -0
- package/query/functions/get-column-path.js.map +1 -0
- package/query/functions/get-entity-object-class.d.ts +2 -0
- package/query/functions/get-entity-object-class.js +12 -0
- package/query/functions/get-entity-object-class.js.map +1 -0
- package/query/functions/get-native-select.d.ts +4 -1
- package/query/functions/get-native-select.js +12 -1
- package/query/functions/get-native-select.js.map +1 -0
- package/query/functions/load-properties.d.ts +20 -2
- package/query/functions/load-properties.js +123 -39
- package/query/functions/load-properties.js.map +1 -0
- package/query/functions/map-query-property-to-column-name.js +2 -1
- package/query/functions/map-query-property-to-column-name.js.map +1 -0
- package/query/functions/query-structure-cache.d.ts +24 -0
- package/query/functions/query-structure-cache.js +66 -0
- package/query/functions/query-structure-cache.js.map +1 -0
- package/query/functions/replace-property-key-to-column-name.js +1 -0
- package/query/functions/replace-property-key-to-column-name.js.map +1 -0
- package/query/interfaces/index.js +1 -0
- package/query/interfaces/index.js.map +1 -0
- package/query/interfaces/query-action-options.js +1 -0
- package/query/interfaces/query-action-options.js.map +1 -0
- package/query/interfaces/query-object.js +1 -0
- package/query/interfaces/query-object.js.map +1 -0
- package/query/interfaces/query.d.ts +46 -2
- package/query/interfaces/query.js +1 -0
- package/query/interfaces/query.js.map +1 -0
- package/query/models/base-query-response.js +1 -0
- package/query/models/base-query-response.js.map +1 -0
- package/query/services/query-action-builder.d.ts +4 -1
- package/query/services/query-action-builder.js +43 -14
- package/query/services/query-action-builder.js.map +1 -0
- package/security/auth.controller.js +1 -0
- package/security/auth.controller.js.map +1 -0
- package/security/constants.js +1 -0
- package/security/constants.js.map +1 -0
- package/security/env.js +1 -0
- package/security/env.js.map +1 -0
- package/security/functions/add-protect.js +1 -0
- package/security/functions/add-protect.js.map +1 -0
- package/security/functions/add-protected.js +1 -0
- package/security/functions/add-protected.js.map +1 -0
- package/security/functions/create-authorization.js +1 -0
- package/security/functions/create-authorization.js.map +1 -0
- package/security/functions/find-auth-context.js +1 -0
- package/security/functions/find-auth-context.js.map +1 -0
- package/security/functions/is-auth-enabled.js +1 -0
- package/security/functions/is-auth-enabled.js.map +1 -0
- package/security/functions/use-auth.js +1 -0
- package/security/functions/use-auth.js.map +1 -0
- package/security/index.js +1 -0
- package/security/index.js.map +1 -0
- package/security/interceptors/index.js +1 -0
- package/security/interceptors/index.js.map +1 -0
- package/security/interceptors/is-authorized.interceptor.js +1 -0
- package/security/interceptors/is-authorized.interceptor.js.map +1 -0
- package/security/interfaces/auth-controller.js +1 -0
- package/security/interfaces/auth-controller.js.map +1 -0
- package/security/interfaces/auth-object.js +1 -0
- package/security/interfaces/auth-object.js.map +1 -0
- package/security/interfaces/auth-property.js +1 -0
- package/security/interfaces/auth-property.js.map +1 -0
- package/security/interfaces/authorization-schema.js +1 -0
- package/security/interfaces/authorization-schema.js.map +1 -0
- package/security/interfaces/index.js +1 -0
- package/security/interfaces/index.js.map +1 -0
- package/security/interfaces/security-options.js +1 -0
- package/security/interfaces/security-options.js.map +1 -0
- package/security/interfaces/ssl-certificate.js +1 -0
- package/security/interfaces/ssl-certificate.js.map +1 -0
- package/security/models/auth-context-data.js +1 -0
- package/security/models/auth-context-data.js.map +1 -0
- package/security/models/auth-context.js +1 -0
- package/security/models/auth-context.js.map +1 -0
- package/security/models/auth-key.js +1 -0
- package/security/models/auth-key.js.map +1 -0
- package/security/models/get-user-permissions-payload.js +1 -0
- package/security/models/get-user-permissions-payload.js.map +1 -0
- package/security/models/get-user-permissions-response.js +1 -0
- package/security/models/get-user-permissions-response.js.map +1 -0
- package/security/models/set-user-permissions-payload.js +1 -0
- package/security/models/set-user-permissions-payload.js.map +1 -0
- package/security/requests/security.request.js +2 -1
- package/security/requests/security.request.js.map +1 -0
- package/security/services/authorization.service.js +1 -0
- package/security/services/authorization.service.js.map +1 -0
- package/storage/entities/metadata.entity.js +2 -1
- package/storage/entities/metadata.entity.js.map +1 -0
- package/storage/entities/storage.entity.js +2 -1
- package/storage/entities/storage.entity.js.map +1 -0
- package/storage/env.js +1 -0
- package/storage/env.js.map +1 -0
- package/storage/functions/index.js +1 -0
- package/storage/functions/index.js.map +1 -0
- package/storage/functions/set-storage-settings.js +1 -0
- package/storage/functions/set-storage-settings.js.map +1 -0
- package/storage/index.js +1 -0
- package/storage/index.js.map +1 -0
- package/storage/interfaces/directory-metadata.js +1 -0
- package/storage/interfaces/directory-metadata.js.map +1 -0
- package/storage/interfaces/enum/gcp-credentials-type.js +1 -0
- package/storage/interfaces/enum/gcp-credentials-type.js.map +1 -0
- package/storage/interfaces/enum/index.js +1 -0
- package/storage/interfaces/enum/index.js.map +1 -0
- package/storage/interfaces/enum/metadata-type.js +1 -0
- package/storage/interfaces/enum/metadata-type.js.map +1 -0
- package/storage/interfaces/enum/storage-type.js +1 -0
- package/storage/interfaces/enum/storage-type.js.map +1 -0
- package/storage/interfaces/file-metadata.js +1 -0
- package/storage/interfaces/file-metadata.js.map +1 -0
- package/storage/interfaces/index.js +1 -0
- package/storage/interfaces/index.js.map +1 -0
- package/storage/interfaces/metadata.js +1 -0
- package/storage/interfaces/metadata.js.map +1 -0
- package/storage/interfaces/storage-controller.js +1 -0
- package/storage/interfaces/storage-controller.js.map +1 -0
- package/storage/interfaces/storage-settings.js +1 -0
- package/storage/interfaces/storage-settings.js.map +1 -0
- package/storage/interfaces/storage.js +1 -0
- package/storage/interfaces/storage.js.map +1 -0
- package/storage/services/routes.service.js +1 -0
- package/storage/services/routes.service.js.map +1 -0
- package/storage/services/storage.service.d.ts +1 -1
- package/storage/services/storage.service.js +3 -3
- package/storage/services/storage.service.js.map +1 -0
- package/storage/storage.controller.js +1 -0
- package/storage/storage.controller.js.map +1 -0
- package/tasks/constants.d.ts +2 -2
- package/tasks/constants.js +4 -2
- package/tasks/constants.js.map +1 -0
- package/tasks/controllers/task.controller.d.ts +9 -0
- package/tasks/controllers/task.controller.js +53 -0
- package/tasks/controllers/task.controller.js.map +1 -0
- package/tasks/decorators/index.js +1 -0
- package/tasks/decorators/index.js.map +1 -0
- package/tasks/decorators/task.decorator.js +9 -3
- package/tasks/decorators/task.decorator.js.map +1 -0
- package/tasks/functions/create-task-message-controller.d.ts +3 -0
- package/tasks/functions/create-task-message-controller.js +15 -0
- package/tasks/functions/create-task-message-controller.js.map +1 -0
- package/tasks/functions/create-task-message-find.js +7 -6
- package/tasks/functions/create-task-message-find.js.map +1 -0
- package/tasks/functions/create-task-message-model.js +11 -0
- package/tasks/functions/create-task-message-model.js.map +1 -0
- package/tasks/functions/{create-task-message-receptor.d.ts → create-task-message-post.d.ts} +1 -1
- package/tasks/functions/create-task-message-post.js +29 -0
- package/tasks/functions/create-task-message-post.js.map +1 -0
- package/tasks/functions/create-task-message-query.d.ts +3 -0
- package/tasks/functions/create-task-message-query.js +23 -0
- package/tasks/functions/create-task-message-query.js.map +1 -0
- package/tasks/functions/create-task-message-retry.js +7 -6
- package/tasks/functions/create-task-message-retry.js.map +1 -0
- package/tasks/functions/create-task-message-schema.js +1 -0
- package/tasks/functions/create-task-message-schema.js.map +1 -0
- package/tasks/functions/create-task-naming.js +9 -11
- package/tasks/functions/create-task-naming.js.map +1 -0
- package/tasks/functions/generate-entity-id.js +1 -0
- package/tasks/functions/generate-entity-id.js.map +1 -0
- package/tasks/functions/get-check-table-exists-script.js +1 -0
- package/tasks/functions/get-check-table-exists-script.js.map +1 -0
- package/tasks/functions/get-create-table-partition-script.js +1 -0
- package/tasks/functions/get-create-table-partition-script.js.map +1 -0
- package/tasks/functions/get-create-table-script.js +15 -11
- package/tasks/functions/get-create-table-script.js.map +1 -0
- package/tasks/functions/get-database-connection-name.js +1 -0
- package/tasks/functions/get-database-connection-name.js.map +1 -0
- package/tasks/functions/get-database-uri.js +1 -0
- package/tasks/functions/get-database-uri.js.map +1 -0
- package/tasks/functions/get-partitions-of-table-script.js +1 -0
- package/tasks/functions/get-partitions-of-table-script.js.map +1 -0
- package/tasks/functions/get-pending-task-script.d.ts +1 -1
- package/tasks/functions/get-pending-task-script.js +17 -13
- package/tasks/functions/get-pending-task-script.js.map +1 -0
- package/tasks/functions/throw-task-error.js +1 -0
- package/tasks/functions/throw-task-error.js.map +1 -0
- package/tasks/index.d.ts +2 -0
- package/tasks/index.js +3 -0
- package/tasks/index.js.map +1 -0
- package/tasks/interfaces/index.js +1 -0
- package/tasks/interfaces/index.js.map +1 -0
- package/tasks/interfaces/task-naming.d.ts +3 -3
- package/tasks/interfaces/task-naming.js +1 -0
- package/tasks/interfaces/task-naming.js.map +1 -0
- package/tasks/interfaces/task-object.d.ts +4 -2
- package/tasks/interfaces/task-object.js +1 -0
- package/tasks/interfaces/task-object.js.map +1 -0
- package/tasks/interfaces/task-post-intercept.d.ts +1 -8
- package/tasks/interfaces/task-post-intercept.js +1 -0
- package/tasks/interfaces/task-post-intercept.js.map +1 -0
- package/tasks/interfaces/task-runner.d.ts +2 -1
- package/tasks/interfaces/task-runner.js +1 -0
- package/tasks/interfaces/task-runner.js.map +1 -0
- package/tasks/interfaces/task-search-intercept.js +1 -0
- package/tasks/interfaces/task-search-intercept.js.map +1 -0
- package/tasks/interfaces/task-settings.d.ts +3 -1
- package/tasks/interfaces/task-settings.js +1 -0
- package/tasks/interfaces/task-settings.js.map +1 -0
- package/tasks/models/index.d.ts +3 -0
- package/tasks/models/index.js +20 -0
- package/tasks/models/index.js.map +1 -0
- package/tasks/models/task-error.js +2 -1
- package/tasks/models/task-error.js.map +1 -0
- package/tasks/models/task-message-find.js +1 -0
- package/tasks/models/task-message-find.js.map +1 -0
- package/tasks/models/task-message.d.ts +3 -3
- package/tasks/models/task-message.js +32 -5
- package/tasks/models/task-message.js.map +1 -0
- package/tasks/services/task-manager.service.js +7 -9
- package/tasks/services/task-manager.service.js.map +1 -0
- package/tasks/services/task-runner.service.d.ts +7 -0
- package/tasks/services/task-runner.service.js +61 -39
- package/tasks/services/task-runner.service.js.map +1 -0
- package/tasks/tasks.controller.d.ts +2 -10
- package/tasks/tasks.controller.js +4 -49
- package/tasks/tasks.controller.js.map +1 -0
- package/tasks/tasks.module.d.ts +12 -0
- package/tasks/tasks.module.js +65 -0
- package/tasks/tasks.module.js.map +1 -0
- package/translations/{requests/translation.request.d.ts → controllers/translation.controller.d.ts} +1 -1
- package/translations/{requests/translation.request.js → controllers/translation.controller.js} +23 -19
- package/translations/controllers/translation.controller.js.map +1 -0
- package/translations/entities/translation-config.entity.js +1 -0
- package/translations/entities/translation-config.entity.js.map +1 -0
- package/translations/entities/translation-values.entity.d.ts +1 -1
- package/translations/entities/translation-values.entity.js +12 -6
- package/translations/entities/translation-values.entity.js.map +1 -0
- package/translations/env.js +1 -0
- package/translations/env.js.map +1 -0
- package/translations/functions/check-can-use.js +1 -0
- package/translations/functions/check-can-use.js.map +1 -0
- package/translations/functions/create-translation-config.js +1 -0
- package/translations/functions/create-translation-config.js.map +1 -0
- package/translations/functions/create-translation-values.js +3 -5
- package/translations/functions/create-translation-values.js.map +1 -0
- package/translations/functions/get-translation-config.js +1 -0
- package/translations/functions/get-translation-config.js.map +1 -0
- package/translations/interfaces/translation-config.js +1 -0
- package/translations/interfaces/translation-config.js.map +1 -0
- package/translations/interfaces/translation-values.js +1 -0
- package/translations/interfaces/translation-values.js.map +1 -0
- package/translations/interfaces/translator-handle.js +1 -0
- package/translations/interfaces/translator-handle.js.map +1 -0
- package/translations/migrations/1723760669185-CreateTranslationTables.js +4 -3
- package/translations/migrations/1723760669185-CreateTranslationTables.js.map +1 -0
- package/translations/models/get-values.request.js +1 -0
- package/translations/models/get-values.request.js.map +1 -0
- package/translations/models/get-values.response.js +1 -0
- package/translations/models/get-values.response.js.map +1 -0
- package/translations/queries/translation-config.query.d.ts +1 -1
- package/translations/queries/translation-config.query.js +1 -0
- package/translations/queries/translation-config.query.js.map +1 -0
- package/translations/queries/translation-values.query.d.ts +1 -1
- package/translations/queries/translation-values.query.js +2 -1
- package/translations/queries/translation-values.query.js.map +1 -0
- package/translations/services/translations.service.js +1 -0
- package/translations/services/translations.service.js.map +1 -0
- package/translations/services/translator.service.js +1 -0
- package/translations/services/translator.service.js.map +1 -0
- package/translations/translations.controller.d.ts +1 -1
- package/translations/translations.controller.js +8 -9
- package/translations/translations.controller.js.map +1 -0
- package/transport/entities/transport-client.js +1 -0
- package/transport/entities/transport-client.js.map +1 -0
- package/transport/entities/transport-gateway-status.js +1 -0
- package/transport/entities/transport-gateway-status.js.map +1 -0
- package/transport/entities/transport-gateway.js +1 -0
- package/transport/entities/transport-gateway.js.map +1 -0
- package/transport/environment.js +1 -0
- package/transport/environment.js.map +1 -0
- package/transport/index.js +1 -0
- package/transport/index.js.map +1 -0
- package/transport/interfaces/index.js +1 -0
- package/transport/interfaces/index.js.map +1 -0
- package/transport/interfaces/transport-module-options.js +1 -0
- package/transport/interfaces/transport-module-options.js.map +1 -0
- package/transport/transport.module.js +1 -0
- package/transport/transport.module.js.map +1 -0
- package/web-socket/constants.js +1 -0
- package/web-socket/constants.js.map +1 -0
- package/web-socket/functions/encode-message.js +1 -0
- package/web-socket/functions/encode-message.js.map +1 -0
- package/web-socket/functions/get-fake-http-context.js +1 -0
- package/web-socket/functions/get-fake-http-context.js.map +1 -0
- package/web-socket/functions/get-ip-address.js +1 -0
- package/web-socket/functions/get-ip-address.js.map +1 -0
- package/web-socket/functions/parse-message.js +1 -0
- package/web-socket/functions/parse-message.js.map +1 -0
- package/web-socket/index.js +1 -0
- package/web-socket/index.js.map +1 -0
- package/web-socket/interfaces/client.js +1 -0
- package/web-socket/interfaces/client.js.map +1 -0
- package/web-socket/interfaces/enum/client-type.js +1 -0
- package/web-socket/interfaces/enum/client-type.js.map +1 -0
- package/web-socket/interfaces/enum/index.js +1 -0
- package/web-socket/interfaces/enum/index.js.map +1 -0
- package/web-socket/interfaces/enum/message-type.js +1 -0
- package/web-socket/interfaces/enum/message-type.js.map +1 -0
- package/web-socket/interfaces/enum/ws-connection-type.js +1 -0
- package/web-socket/interfaces/enum/ws-connection-type.js.map +1 -0
- package/web-socket/interfaces/index.js +1 -0
- package/web-socket/interfaces/index.js.map +1 -0
- package/web-socket/interfaces/message.js +1 -0
- package/web-socket/interfaces/message.js.map +1 -0
- package/web-socket/interfaces/ws-connection.js +1 -0
- package/web-socket/interfaces/ws-connection.js.map +1 -0
- package/web-socket/web-socket.controller.js +1 -0
- package/web-socket/web-socket.controller.js.map +1 -0
- package/workers/functions/decode-message.js +1 -0
- package/workers/functions/decode-message.js.map +1 -0
- package/workers/functions/dispatch-task.js +1 -0
- package/workers/functions/dispatch-task.js.map +1 -0
- package/workers/functions/encode-message.js +1 -0
- package/workers/functions/encode-message.js.map +1 -0
- package/workers/interfaces/enum/index.js +1 -0
- package/workers/interfaces/enum/index.js.map +1 -0
- package/workers/interfaces/enum/worker-message-type.js +1 -0
- package/workers/interfaces/enum/worker-message-type.js.map +1 -0
- package/workers/interfaces/index.js +1 -0
- package/workers/interfaces/index.js.map +1 -0
- package/workers/interfaces/worker-data.js +1 -0
- package/workers/interfaces/worker-data.js.map +1 -0
- package/workers/interfaces/worker-message.js +1 -0
- package/workers/interfaces/worker-message.js.map +1 -0
- package/workers/workers.controller.d.ts +1 -1
- package/workers/workers.controller.js +11 -6
- package/workers/workers.controller.js.map +1 -0
- package/database/functions/generate-id.d.ts +0 -2
- package/tasks/functions/create-task-message-receptor.js +0 -23
- package/tasks/functions/create-task-message-trigger.d.ts +0 -2
- package/tasks/functions/create-task-message-trigger.js +0 -18
- package/tasks/functions/parse-task-message-search.d.ts +0 -20
- package/tasks/functions/parse-task-message-search.js +0 -62
- package/tasks/requests/task.request.d.ts +0 -17
- package/tasks/requests/task.request.js +0 -71
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segments to walk from each root query row to the object that owns an external column.
|
|
3
|
+
* Empty when the owner is the root entity row (e.g. root-level `status`).
|
|
4
|
+
*/
|
|
5
|
+
export declare function toExternalOwnerWalkSegments(ownerFullPath: string, rootAlias: string): string[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toExternalOwnerWalkSegments = toExternalOwnerWalkSegments;
|
|
4
|
+
/**
|
|
5
|
+
* Segments to walk from each root query row to the object that owns an external column.
|
|
6
|
+
* Empty when the owner is the root entity row (e.g. root-level `status`).
|
|
7
|
+
*/
|
|
8
|
+
function toExternalOwnerWalkSegments(ownerFullPath, rootAlias) {
|
|
9
|
+
if (ownerFullPath === rootAlias) {
|
|
10
|
+
return [];
|
|
11
|
+
}
|
|
12
|
+
const prefix = `${rootAlias}.`;
|
|
13
|
+
if (ownerFullPath.startsWith(prefix)) {
|
|
14
|
+
return ownerFullPath.slice(prefix.length).split(".").filter(Boolean);
|
|
15
|
+
}
|
|
16
|
+
return ownerFullPath.split(".").filter(Boolean);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=external-column-owner-path.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-column-owner-path.js","sourceRoot":"./","sources":["query/functions/external-column-owner-path.ts"],"names":[],"mappings":";;AAIA,kEAYC;AAhBD;;;GAGG;AACH,SAAgB,2BAA2B,CACxC,aAAqB,EACrB,SAAiB;IAEjB,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,EAAE,CAAC;IACb,CAAC;IACD,MAAM,MAAM,GAAG,GAAG,SAAS,GAAG,CAAC;IAC/B,IAAI,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;QACpC,OAAO,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-column-path.js","sourceRoot":"./","sources":["query/functions/get-column-path.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,CAAC,IAAe,EAAE,cAAsB,EAAE,EAAE,EAAE;IACxE,IAAI,QAAQ,GAAG,EAAE,CAAC;IAClB,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QAC5B,QAAQ,GAAG,IAAA,qBAAa,EAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC;SAAM,CAAC;QACL,QAAQ,GAAG,GAAG,IAAI,CAAC,KAAK,IAAI,WAAW,EAAE,CAAC;IAC7C,CAAC;IACD,OAAO,QAAQ,CAAC;AACnB,CAAC,CAAA;AARY,QAAA,aAAa,iBAQzB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getEntityObjectClass = void 0;
|
|
4
|
+
const object_type_1 = require("../../common/interfaces/enum/object-type");
|
|
5
|
+
const getEntityObjectClass = (target) => {
|
|
6
|
+
const object = core.storage.findObject(target);
|
|
7
|
+
return object?.type === object_type_1.ObjectType.entityDto
|
|
8
|
+
? object.entity()
|
|
9
|
+
: object?.objectClass;
|
|
10
|
+
};
|
|
11
|
+
exports.getEntityObjectClass = getEntityObjectClass;
|
|
12
|
+
//# sourceMappingURL=get-entity-object-class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-entity-object-class.js","sourceRoot":"./","sources":["query/functions/get-entity-object-class.ts"],"names":[],"mappings":";;;AACA,0EAAsE;AAE/D,MAAM,oBAAoB,GAAG,CAAC,MAAoB,EAAE,EAAE;IAC1D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAC/C,OAAO,MAAM,EAAE,IAAI,KAAK,wBAAU,CAAC,SAAS;QACzC,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE;QACjB,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC;AAC5B,CAAC,CAAA;AALY,QAAA,oBAAoB,wBAKhC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { Instantiable } from "@rockster/common";
|
|
2
|
-
export declare const getNativeSelect: (target: Instantiable, select: string[]) =>
|
|
2
|
+
export declare const getNativeSelect: (target: Instantiable, select: string[]) => {
|
|
3
|
+
asMap: Map<string, string>;
|
|
4
|
+
asArry: string[];
|
|
5
|
+
};
|
|
@@ -4,6 +4,17 @@ exports.getNativeSelect = void 0;
|
|
|
4
4
|
const map_query_property_to_column_name_1 = require("./map-query-property-to-column-name");
|
|
5
5
|
const getNativeSelect = (target, select) => {
|
|
6
6
|
const queryObject = core.storage.findObject(target);
|
|
7
|
-
|
|
7
|
+
const mapper = new Map();
|
|
8
|
+
const arry = [];
|
|
9
|
+
select.forEach(item => {
|
|
10
|
+
const queryProperty = queryObject.properties[item];
|
|
11
|
+
if (queryProperty?.isExternal)
|
|
12
|
+
return;
|
|
13
|
+
const columnName = (0, map_query_property_to_column_name_1.mapQueryPropertyToColumnName)(queryObject, item);
|
|
14
|
+
arry.pushIfNotExists(columnName);
|
|
15
|
+
mapper.set(item, columnName);
|
|
16
|
+
});
|
|
17
|
+
return { asMap: mapper, asArry: arry };
|
|
8
18
|
};
|
|
9
19
|
exports.getNativeSelect = getNativeSelect;
|
|
20
|
+
//# sourceMappingURL=get-native-select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-native-select.js","sourceRoot":"./","sources":["query/functions/get-native-select.ts"],"names":[],"mappings":";;;AAGA,2FAAmF;AAE5E,MAAM,eAAe,GAAG,CAC5B,MAAoB,EACpB,MAAgB,EACjB,EAAE;IACD,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAA6B,CAAC;IAChF,MAAM,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;IACzC,MAAM,IAAI,GAAG,EAAc,CAAC;IAC5B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACnB,MAAM,aAAa,GAAG,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,aAAa,EAAE,UAAU;YAAE,OAAO;QACtC,MAAM,UAAU,GAAG,IAAA,gEAA4B,EAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;QACjC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;AAC1C,CAAC,CAAA;AAfY,QAAA,eAAe,mBAe3B"}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { Dictionary, Instantiable } from "@rockster/common";
|
|
2
2
|
import { Paths } from "../../database/interfaces/path";
|
|
3
3
|
import { QueryPath, QueryProperty, QueryPropertyType, QueryRelationConfig } from "../interfaces/query";
|
|
4
|
+
/** When traversing an object/relation property marked @ExternalColumn, descendants inherit its resolver. */
|
|
5
|
+
export type ExternalSubtreeContext = {
|
|
6
|
+
resolver: Instantiable;
|
|
7
|
+
/** Full query path to the entity row that owns `columnKey`. */
|
|
8
|
+
ownerFullPath: string;
|
|
9
|
+
columnKey: string;
|
|
10
|
+
/** Full query paths for DB columns required alongside this external column (selectDependencies). */
|
|
11
|
+
dependencyQueryPaths: string[];
|
|
12
|
+
};
|
|
4
13
|
export type LoadPropertiesArgs = {
|
|
5
14
|
type: QueryPropertyType;
|
|
6
15
|
target: Instantiable;
|
|
@@ -14,6 +23,15 @@ export type LoadPropertiesArgs = {
|
|
|
14
23
|
secure?: boolean;
|
|
15
24
|
initializedObjects?: string[];
|
|
16
25
|
rootEntity: Instantiable;
|
|
17
|
-
|
|
26
|
+
rootOrRelationPath?: string;
|
|
27
|
+
isRelation?: boolean;
|
|
28
|
+
/** Root query alias (first path segment); used for external owner walk segments. */
|
|
29
|
+
rootAlias: string;
|
|
30
|
+
externalSubtree?: ExternalSubtreeContext;
|
|
31
|
+
/**
|
|
32
|
+
* SQL table aliases used by {@link joinOne}/{@link joinMany} across the whole query tree.
|
|
33
|
+
* Root initializes this (includes the root alias); duplicate join `alias` values throw.
|
|
34
|
+
*/
|
|
35
|
+
usedJoinSqlAliases?: Set<string>;
|
|
18
36
|
};
|
|
19
|
-
export declare const loadProperties: ({ type, target, alias, entityAlias, properties, parent, paths, relation, fullPath, secure, initializedObjects, rootEntity,
|
|
37
|
+
export declare const loadProperties: ({ type, target, alias, entityAlias, properties, parent, paths, relation, fullPath, secure, initializedObjects, rootEntity, rootOrRelationPath, rootAlias, externalSubtree, usedJoinSqlAliases: usedJoinSqlAliasesArg }: LoadPropertiesArgs) => void;
|
|
@@ -4,44 +4,83 @@ exports.loadProperties = void 0;
|
|
|
4
4
|
const class_pipe_1 = require("@rockster/class-pipe");
|
|
5
5
|
const object_type_1 = require("../../common/interfaces/enum/object-type");
|
|
6
6
|
const get_id_property_1 = require("../../database/functions/get-id-property");
|
|
7
|
-
const
|
|
8
|
-
|
|
7
|
+
const get_entity_object_class_1 = require("./get-entity-object-class");
|
|
8
|
+
const external_column_owner_path_1 = require("./external-column-owner-path");
|
|
9
|
+
function resolveExternalColumnClass(ep, entityLabel, propertyKey) {
|
|
10
|
+
const Resolver = ep.getExternalResolver?.();
|
|
11
|
+
if (!Resolver) {
|
|
12
|
+
throw new Error(`External column "${propertyKey}" on ${entityLabel} must use ExternalColumn(() => ResolverClass); the callback returned nothing`);
|
|
13
|
+
}
|
|
14
|
+
return Resolver;
|
|
15
|
+
}
|
|
16
|
+
const loadProperties = ({ type, target, alias, entityAlias, properties, parent, paths, relation, fullPath = '', secure, initializedObjects = [], rootEntity, rootOrRelationPath, rootAlias, externalSubtree, usedJoinSqlAliases: usedJoinSqlAliasesArg }) => {
|
|
17
|
+
const usedJoinSqlAliases = usedJoinSqlAliasesArg ??
|
|
18
|
+
(type === "root"
|
|
19
|
+
? new Set([entityAlias ?? alias])
|
|
20
|
+
: (() => {
|
|
21
|
+
throw new Error("loadProperties: join alias registry missing; this is an internal error");
|
|
22
|
+
})());
|
|
9
23
|
const currentPath = fullPath ? `${fullPath}.${alias}` : alias;
|
|
10
|
-
;
|
|
11
24
|
const initializedObjectKey = `${currentPath}:${target.name}`;
|
|
25
|
+
const targetObjectClass = (0, get_entity_object_class_1.getEntityObjectClass)(target);
|
|
26
|
+
const entityOwnerLabel = targetObjectClass?.name
|
|
27
|
+
?? (typeof target?.name === 'string'
|
|
28
|
+
? target.name
|
|
29
|
+
: 'Entity');
|
|
12
30
|
if (initializedObjects.includes(initializedObjectKey))
|
|
13
31
|
return;
|
|
14
32
|
initializedObjects.push(initializedObjectKey);
|
|
15
|
-
const targetProperties = (0, class_pipe_1.getExposeProperties)(target)
|
|
16
|
-
targetProperties
|
|
17
|
-
.filter((property) => {
|
|
33
|
+
const targetProperties = (0, class_pipe_1.getExposeProperties)(target).filter((property) => {
|
|
18
34
|
if (property.subtype) {
|
|
19
35
|
const object = core.storage.findObject(property.subtype);
|
|
20
|
-
const isEntity = object?.type === object_type_1.ObjectType.entity;
|
|
36
|
+
const isEntity = object?.type === object_type_1.ObjectType.entity || object?.type === object_type_1.ObjectType.entityDto;
|
|
21
37
|
return !isEntity;
|
|
22
38
|
}
|
|
23
39
|
return true;
|
|
24
|
-
})
|
|
25
|
-
|
|
40
|
+
});
|
|
41
|
+
for (const targetProperty of targetProperties) {
|
|
26
42
|
const propertyKey = targetProperty.propertyKey;
|
|
27
43
|
const globalPath = `${currentPath}.${propertyKey}`;
|
|
28
44
|
let columnName;
|
|
29
|
-
const entityProperty =
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
45
|
+
const entityProperty = targetObjectClass
|
|
46
|
+
? core
|
|
47
|
+
.storage
|
|
48
|
+
.getProperties(targetObjectClass)
|
|
49
|
+
.find((property) => {
|
|
50
|
+
return property.propertyKey === propertyKey;
|
|
51
|
+
})
|
|
52
|
+
: undefined;
|
|
33
53
|
if (entityProperty) {
|
|
34
54
|
columnName = entityProperty.columnName;
|
|
35
55
|
}
|
|
36
|
-
if (type === 'root' && !entityProperty)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
56
|
+
if (type === 'root' && !entityProperty)
|
|
57
|
+
continue;
|
|
58
|
+
const subtype = targetProperty.type === class_pipe_1.PropertyType.object && targetProperty.subtype;
|
|
59
|
+
const multitype = targetProperty.ifChecks?.length > 0;
|
|
60
|
+
const hasIfChecks = targetProperty.ifChecks?.length > 0;
|
|
61
|
+
const objectTypes = subtype || multitype
|
|
62
|
+
? hasIfChecks
|
|
43
63
|
? targetProperty.ifChecks.map((ifCheck) => ifCheck.type)
|
|
44
|
-
: [targetProperty.subtype]
|
|
64
|
+
: [targetProperty.subtype].filter(Boolean)
|
|
65
|
+
: [];
|
|
66
|
+
/**
|
|
67
|
+
* @IsIn(enum) can surface as `object` + enum subtype; that is not an @Entity graph.
|
|
68
|
+
* External columns like that must register a single leaf, not recurse into the enum.
|
|
69
|
+
* Real external objects (Person entity, etc.) still recurse when subtype resolves in storage.
|
|
70
|
+
*/
|
|
71
|
+
const shouldRecurseEmbedded = (subtype || multitype) &&
|
|
72
|
+
(!entityProperty?.isExternal ||
|
|
73
|
+
objectTypes.some((ot) => !!(0, get_entity_object_class_1.getEntityObjectClass)(ot)));
|
|
74
|
+
if (shouldRecurseEmbedded) {
|
|
75
|
+
const anchorDepPaths = (entityProperty?.externalSelectDependencies ?? []).map((d) => `${currentPath}.${d}`);
|
|
76
|
+
const nextSubtree = entityProperty?.isExternal
|
|
77
|
+
? {
|
|
78
|
+
resolver: resolveExternalColumnClass(entityProperty, entityOwnerLabel, propertyKey),
|
|
79
|
+
ownerFullPath: currentPath,
|
|
80
|
+
columnKey: propertyKey,
|
|
81
|
+
dependencyQueryPaths: anchorDepPaths,
|
|
82
|
+
}
|
|
83
|
+
: externalSubtree;
|
|
45
84
|
objectTypes.forEach((objectType) => {
|
|
46
85
|
(0, exports.loadProperties)({
|
|
47
86
|
type: 'embedded',
|
|
@@ -50,21 +89,47 @@ const loadProperties = ({ type, target, alias, entityAlias, properties, parent,
|
|
|
50
89
|
target: objectType,
|
|
51
90
|
fullPath: currentPath,
|
|
52
91
|
initializedObjects,
|
|
92
|
+
entityAlias: entityAlias,
|
|
53
93
|
rootEntity,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
94
|
+
rootAlias,
|
|
95
|
+
usedJoinSqlAliases,
|
|
96
|
+
externalSubtree: nextSubtree,
|
|
57
97
|
parent: {
|
|
58
98
|
alias,
|
|
59
99
|
target,
|
|
60
100
|
type,
|
|
61
101
|
parent,
|
|
62
102
|
entityAlias
|
|
63
|
-
}
|
|
103
|
+
},
|
|
104
|
+
rootOrRelationPath: type === "embedded"
|
|
105
|
+
? rootOrRelationPath
|
|
106
|
+
: `${entityAlias}.${targetProperty.propertyKey}`
|
|
64
107
|
});
|
|
65
108
|
});
|
|
66
109
|
}
|
|
67
110
|
else {
|
|
111
|
+
const directExternal = !!entityProperty?.isExternal;
|
|
112
|
+
const inheritedExternal = !!externalSubtree;
|
|
113
|
+
const isExternal = directExternal || inheritedExternal;
|
|
114
|
+
const resolver = directExternal && entityProperty
|
|
115
|
+
? resolveExternalColumnClass(entityProperty, entityOwnerLabel, propertyKey)
|
|
116
|
+
: externalSubtree?.resolver;
|
|
117
|
+
const ownerFullPath = directExternal
|
|
118
|
+
? currentPath
|
|
119
|
+
: externalSubtree?.ownerFullPath ?? currentPath;
|
|
120
|
+
const externalColumnKey = directExternal
|
|
121
|
+
? propertyKey
|
|
122
|
+
: externalSubtree?.columnKey ?? propertyKey;
|
|
123
|
+
const externalDependencyQueryPaths = isExternal
|
|
124
|
+
? [
|
|
125
|
+
...new Set([
|
|
126
|
+
...(externalSubtree?.dependencyQueryPaths ?? []),
|
|
127
|
+
...(directExternal && entityProperty
|
|
128
|
+
? (entityProperty.externalSelectDependencies ?? []).map((d) => `${currentPath}.${d}`)
|
|
129
|
+
: []),
|
|
130
|
+
]),
|
|
131
|
+
]
|
|
132
|
+
: undefined;
|
|
68
133
|
properties[globalPath] = {
|
|
69
134
|
path: {
|
|
70
135
|
target,
|
|
@@ -74,54 +139,73 @@ const loadProperties = ({ type, target, alias, entityAlias, properties, parent,
|
|
|
74
139
|
parent,
|
|
75
140
|
secure,
|
|
76
141
|
entityAlias,
|
|
77
|
-
|
|
142
|
+
rootOrRelationPath
|
|
78
143
|
},
|
|
79
144
|
isUUID: targetProperty.type === class_pipe_1.PropertyType.string
|
|
80
145
|
&& targetProperty.validatorsConfigs?.some((cfg) => cfg.type === 'isUUID') || false,
|
|
81
146
|
columnName,
|
|
82
147
|
isArray: !!targetProperty.isArray,
|
|
83
|
-
isJson:
|
|
148
|
+
isJson: type === 'embedded',
|
|
149
|
+
isExternal,
|
|
150
|
+
externalResolver: resolver,
|
|
151
|
+
externalOwnerWalkSegments: isExternal
|
|
152
|
+
? (0, external_column_owner_path_1.toExternalOwnerWalkSegments)(ownerFullPath, rootAlias)
|
|
153
|
+
: undefined,
|
|
154
|
+
externalColumnKey: isExternal ? externalColumnKey : undefined,
|
|
155
|
+
externalDependencyQueryPaths,
|
|
84
156
|
fullPath: globalPath,
|
|
85
157
|
name: propertyKey,
|
|
86
158
|
type: targetProperty.type
|
|
87
159
|
};
|
|
88
160
|
}
|
|
89
|
-
}
|
|
161
|
+
}
|
|
90
162
|
if (paths) {
|
|
91
163
|
const idProperty = (0, get_id_property_1.getIdProperty)(target);
|
|
92
164
|
const pathKeys = Object.keys(paths);
|
|
93
165
|
for (const pathProperty of pathKeys) {
|
|
94
166
|
const path = paths[pathProperty];
|
|
167
|
+
const pathObjectClass = (0, get_entity_object_class_1.getEntityObjectClass)(path.target());
|
|
95
168
|
const linkProperty = (path.type === 'indirect'
|
|
96
|
-
? core.storage.getProperties(
|
|
97
|
-
: core.storage.getProperties(
|
|
98
|
-
if (!linkProperty) {
|
|
99
|
-
const line1 = `Unable to find linkProperty to ${path.alias}:${
|
|
169
|
+
? core.storage.getProperties(pathObjectClass).find((p) => p.isRelation && p.getRelationType() === targetObjectClass)
|
|
170
|
+
: core.storage.getProperties(targetObjectClass).find((p) => p.isRelation && p.getRelationType() === pathObjectClass));
|
|
171
|
+
if (!linkProperty && !path.condition) {
|
|
172
|
+
const line1 = `Unable to find linkProperty to ${path.alias}:${pathObjectClass?.name} into query:${target.name}`;
|
|
100
173
|
const line2 = `Use @Relation(() => <target>) to define`;
|
|
101
174
|
throw new Error(`${line1}\n${line2}`);
|
|
102
175
|
}
|
|
103
|
-
const
|
|
176
|
+
const joinSqlAlias = path.alias;
|
|
177
|
+
if (usedJoinSqlAliases.has(joinSqlAlias)) {
|
|
178
|
+
throw new Error(`Duplicate query join SQL alias "${joinSqlAlias}" (paths key "${pathProperty}" under "${currentPath}"). ` +
|
|
179
|
+
`Each joinOne/joinMany must use a globally unique alias in this query (e.g. routerDataCenter vs serverDataCenter).`);
|
|
180
|
+
}
|
|
181
|
+
usedJoinSqlAliases.add(joinSqlAlias);
|
|
182
|
+
const targetIdProperty = (0, get_id_property_1.getIdProperty)(pathObjectClass);
|
|
183
|
+
const joinEntityAlias = joinSqlAlias;
|
|
104
184
|
const condition = path.condition ?? (() => {
|
|
105
185
|
const linkName = path.linkProperty || linkProperty.columnName;
|
|
106
186
|
return path.type === "direct"
|
|
107
|
-
? `"${entityAlias}"."${linkName}" = "${
|
|
108
|
-
: `"${entityAlias}"."${idProperty.columnName}" = "${
|
|
187
|
+
? `"${entityAlias}"."${linkName}" = "${joinEntityAlias}"."${targetIdProperty.columnName}"`
|
|
188
|
+
: `"${entityAlias}"."${idProperty.columnName}" = "${joinEntityAlias}"."${linkName}"`;
|
|
109
189
|
})();
|
|
110
190
|
(0, exports.loadProperties)({
|
|
111
191
|
alias: pathProperty,
|
|
112
|
-
entityAlias:
|
|
192
|
+
entityAlias: joinEntityAlias,
|
|
113
193
|
properties,
|
|
114
194
|
target: path.target(),
|
|
115
195
|
type: "relation",
|
|
116
196
|
paths: path.paths,
|
|
117
197
|
secure: path.secure,
|
|
118
198
|
rootEntity,
|
|
199
|
+
fullPath: currentPath,
|
|
200
|
+
initializedObjects,
|
|
201
|
+
rootAlias,
|
|
202
|
+
usedJoinSqlAliases,
|
|
203
|
+
externalSubtree,
|
|
119
204
|
relation: {
|
|
120
205
|
type: path.type,
|
|
121
206
|
mapTo: `${alias}.${pathProperty}`,
|
|
122
207
|
condition,
|
|
123
208
|
},
|
|
124
|
-
fullPath: currentPath,
|
|
125
209
|
parent: {
|
|
126
210
|
alias,
|
|
127
211
|
target,
|
|
@@ -129,10 +213,10 @@ const loadProperties = ({ type, target, alias, entityAlias, properties, parent,
|
|
|
129
213
|
relation,
|
|
130
214
|
parent,
|
|
131
215
|
entityAlias
|
|
132
|
-
}
|
|
133
|
-
initializedObjects
|
|
216
|
+
}
|
|
134
217
|
});
|
|
135
218
|
}
|
|
136
219
|
}
|
|
137
220
|
};
|
|
138
221
|
exports.loadProperties = loadProperties;
|
|
222
|
+
//# sourceMappingURL=load-properties.js.map
|
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AC,CAAC;AAzQW,QAAA,cAAc,kBAyQzB"}
|
|
@@ -9,9 +9,10 @@ const mapQueryPropertyToColumnName = (queryObject, item) => {
|
|
|
9
9
|
case "root":
|
|
10
10
|
return `${queryProperty.path.entityAlias}.${queryProperty.name}`;
|
|
11
11
|
case "embedded":
|
|
12
|
-
return queryProperty.path.
|
|
12
|
+
return queryProperty.path.rootOrRelationPath;
|
|
13
13
|
default:
|
|
14
14
|
throw new Error(`${item} not found on query`);
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
exports.mapQueryPropertyToColumnName = mapQueryPropertyToColumnName;
|
|
18
|
+
//# sourceMappingURL=map-query-property-to-column-name.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-query-property-to-column-name.js","sourceRoot":"./","sources":["query/functions/map-query-property-to-column-name.ts"],"names":[],"mappings":";;;AAGO,MAAM,4BAA4B,GAAG,CAAC,WAAqC,EAAE,IAAY,EAAE,EAAE;IAEjG,MAAM,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC;IAC/C,MAAM,aAAa,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAE5C,QAAQ,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAC/B,KAAK,UAAU,CAAC;QAChB,KAAK,MAAM;YACR,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,WAAW,IAAI,aAAa,CAAC,IAAI,EAAE,CAAC;QACpE,KAAK,UAAU;YACZ,OAAO,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC;QAChD;YACG,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,qBAAqB,CAAC,CAAC;IACpD,CAAC;AACJ,CAAC,CAAA;AAdY,QAAA,4BAA4B,gCAcxC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { QueryPath } from '../interfaces/query';
|
|
2
|
+
/**
|
|
3
|
+
* Returns cached native select (asArry, asMap) for the given structure hash, or undefined.
|
|
4
|
+
* Caller receives copies so cache entries are never mutated.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getCachedNativeSelect(structureHash: string): {
|
|
7
|
+
asArry: string[];
|
|
8
|
+
asMap: Map<string, string>;
|
|
9
|
+
} | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Stores native select result for the given structure hash.
|
|
12
|
+
* Evicts oldest entry when at MAX_ENTRIES (LRU).
|
|
13
|
+
*/
|
|
14
|
+
export declare function setCachedNativeSelect(structureHash: string, asArry: string[], asMap: Map<string, string>): void;
|
|
15
|
+
/**
|
|
16
|
+
* Returns cached join plan (array of QueryPath) for the given join structure hash.
|
|
17
|
+
* Paths are applied to a fresh QB each request – we never cache the QB or EntityManager.
|
|
18
|
+
*/
|
|
19
|
+
export declare function getCachedJoinPlan(joinStructureHash: string): QueryPath[] | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Stores join plan (order of paths to apply) for the given join structure hash.
|
|
22
|
+
* Evicts oldest entry when at MAX_ENTRIES (LRU).
|
|
23
|
+
*/
|
|
24
|
+
export declare function setCachedJoinPlan(joinStructureHash: string, paths: QueryPath[]): void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCachedNativeSelect = getCachedNativeSelect;
|
|
4
|
+
exports.setCachedNativeSelect = setCachedNativeSelect;
|
|
5
|
+
exports.getCachedJoinPlan = getCachedJoinPlan;
|
|
6
|
+
exports.setCachedJoinPlan = setCachedJoinPlan;
|
|
7
|
+
const MAX_ENTRIES = 500;
|
|
8
|
+
const cache = new Map();
|
|
9
|
+
const keyOrder = [];
|
|
10
|
+
const joinPlanCache = new Map();
|
|
11
|
+
const joinPlanKeyOrder = [];
|
|
12
|
+
function evictOne() {
|
|
13
|
+
const oldest = keyOrder.shift();
|
|
14
|
+
if (oldest != null)
|
|
15
|
+
cache.delete(oldest);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Returns cached native select (asArry, asMap) for the given structure hash, or undefined.
|
|
19
|
+
* Caller receives copies so cache entries are never mutated.
|
|
20
|
+
*/
|
|
21
|
+
function getCachedNativeSelect(structureHash) {
|
|
22
|
+
const entry = cache.get(structureHash);
|
|
23
|
+
if (!entry)
|
|
24
|
+
return undefined;
|
|
25
|
+
return {
|
|
26
|
+
asArry: [...entry.asArry],
|
|
27
|
+
asMap: new Map(entry.asMap),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Stores native select result for the given structure hash.
|
|
32
|
+
* Evicts oldest entry when at MAX_ENTRIES (LRU).
|
|
33
|
+
*/
|
|
34
|
+
function setCachedNativeSelect(structureHash, asArry, asMap) {
|
|
35
|
+
if (cache.has(structureHash))
|
|
36
|
+
return;
|
|
37
|
+
if (keyOrder.length >= MAX_ENTRIES)
|
|
38
|
+
evictOne();
|
|
39
|
+
keyOrder.push(structureHash);
|
|
40
|
+
cache.set(structureHash, { asArry, asMap });
|
|
41
|
+
}
|
|
42
|
+
function evictOneJoinPlan() {
|
|
43
|
+
const oldest = joinPlanKeyOrder.shift();
|
|
44
|
+
if (oldest != null)
|
|
45
|
+
joinPlanCache.delete(oldest);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns cached join plan (array of QueryPath) for the given join structure hash.
|
|
49
|
+
* Paths are applied to a fresh QB each request – we never cache the QB or EntityManager.
|
|
50
|
+
*/
|
|
51
|
+
function getCachedJoinPlan(joinStructureHash) {
|
|
52
|
+
return joinPlanCache.get(joinStructureHash);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Stores join plan (order of paths to apply) for the given join structure hash.
|
|
56
|
+
* Evicts oldest entry when at MAX_ENTRIES (LRU).
|
|
57
|
+
*/
|
|
58
|
+
function setCachedJoinPlan(joinStructureHash, paths) {
|
|
59
|
+
if (joinPlanCache.has(joinStructureHash))
|
|
60
|
+
return;
|
|
61
|
+
if (joinPlanKeyOrder.length >= MAX_ENTRIES)
|
|
62
|
+
evictOneJoinPlan();
|
|
63
|
+
joinPlanKeyOrder.push(joinStructureHash);
|
|
64
|
+
joinPlanCache.set(joinStructureHash, paths);
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=query-structure-cache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-structure-cache.js","sourceRoot":"./","sources":["query/functions/query-structure-cache.ts"],"names":[],"mappings":";;AAwBA,sDASC;AAMD,sDASC;AAWD,8CAEC;AAMD,8CAKC;AAtED,MAAM,WAAW,GAAG,GAAG,CAAC;AAOxB,MAAM,KAAK,GAAG,IAAI,GAAG,EAA6B,CAAC;AACnD,MAAM,QAAQ,GAAa,EAAE,CAAC;AAE9B,MAAM,aAAa,GAAG,IAAI,GAAG,EAAuB,CAAC;AACrD,MAAM,gBAAgB,GAAa,EAAE,CAAC;AAEtC,SAAS,QAAQ;IACd,MAAM,MAAM,GAAG,QAAQ,CAAC,KAAK,EAAE,CAAC;IAChC,IAAI,MAAM,IAAI,IAAI;QAAE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAC5C,CAAC;AAED;;;GAGG;AACH,SAAgB,qBAAqB,CAClC,aAAqB;IAErB,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAC7B,OAAO;QACJ,MAAM,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,KAAK,EAAE,IAAI,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC;KAC7B,CAAC;AACL,CAAC;AAED;;;GAGG;AACH,SAAgB,qBAAqB,CAClC,aAAqB,EACrB,MAAgB,EAChB,KAA0B;IAE1B,IAAI,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC;QAAE,OAAO;IACrC,IAAI,QAAQ,CAAC,MAAM,IAAI,WAAW;QAAE,QAAQ,EAAE,CAAC;IAC/C,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAC7B,KAAK,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,gBAAgB;IACtB,MAAM,MAAM,GAAG,gBAAgB,CAAC,KAAK,EAAE,CAAC;IACxC,IAAI,MAAM,IAAI,IAAI;QAAE,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC;AAED;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,iBAAyB;IACxD,OAAO,aAAa,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAC/C,CAAC;AAED;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,iBAAyB,EAAE,KAAkB;IAC5E,IAAI,aAAa,CAAC,GAAG,CAAC,iBAAiB,CAAC;QAAE,OAAO;IACjD,IAAI,gBAAgB,CAAC,MAAM,IAAI,WAAW;QAAE,gBAAgB,EAAE,CAAC;IAC/D,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACzC,aAAa,CAAC,GAAG,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replace-property-key-to-column-name.js","sourceRoot":"./","sources":["query/functions/replace-property-key-to-column-name.ts"],"names":[],"mappings":";;;AAAO,MAAM,8BAA8B,GAAG,CAC3C,IAAY,EACZ,KAAa,EACb,WAAmB,EACnB,UAAkB,EACnB,EAAE;IACD,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAC/D,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;QAC7B,CAAC,CAAC,gBAAgB;QAClB,CAAC,CAAC,IAAI,CAAC;AACb,CAAC,CAAA;AAVY,QAAA,8BAA8B,kCAU1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"./","sources":["query/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,iDAA+B;AAC/B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-action-options.js","sourceRoot":"./","sources":["query/interfaces/query-action-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-object.js","sourceRoot":"./","sources":["query/interfaces/query-object.ts"],"names":[],"mappings":""}
|
|
@@ -16,9 +16,37 @@ export type Query<Entity> = {
|
|
|
16
16
|
data?: Entity[];
|
|
17
17
|
page?: boolean;
|
|
18
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* One object graph node that owns ≥1 selected external property (same reference TypeORM returned;
|
|
21
|
+
* mutate in place so `transform` sees the values).
|
|
22
|
+
*/
|
|
23
|
+
export type ExternalColumnOwner = {
|
|
24
|
+
object: Record<string, unknown>;
|
|
25
|
+
/**
|
|
26
|
+
* Declared external column names on `object` (e.g. `person` when select is `user.person.id`).
|
|
27
|
+
* Not the nested leaf (`id`); the anchor property marked with ExternalColumn.
|
|
28
|
+
*/
|
|
29
|
+
properties: string[];
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Passed to {@link ExternalColumnBatchResolver} after `getMany()`, before `transform`.
|
|
33
|
+
* `owners` is deduped by object identity — batch-load once per unique node (e.g. all `InfraClient` rows).
|
|
34
|
+
*/
|
|
35
|
+
export type ExternalColumnResolvePayload<Entity = any> = {
|
|
36
|
+
roots: Entity[];
|
|
37
|
+
externalSelectPaths: string[];
|
|
38
|
+
owners: ExternalColumnOwner[];
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Called only when at least one external column is in the query select.
|
|
42
|
+
* Receives raw root rows from TypeORM and a flat list of owner objects that need those columns filled.
|
|
43
|
+
* Mutate `owners[].object` in place (or return new `roots`); then `transform` runs on `roots`.
|
|
44
|
+
*/
|
|
45
|
+
export type ExternalColumnBatchResolver<Entity = any, ContextData = any> = (payload: ExternalColumnResolvePayload<Entity>, context: IQueryContent<Entity, ContextData>) => Promise<Entity[]>;
|
|
19
46
|
export type IQueryContent<Entity, ContextData = any> = {
|
|
20
47
|
userId?: string;
|
|
21
|
-
|
|
48
|
+
nativeSelectAsArry?: string[];
|
|
49
|
+
nativeSelectAsMap?: Map<string, string>;
|
|
22
50
|
parameters?: Record<string, any>;
|
|
23
51
|
query: Query<Entity>;
|
|
24
52
|
target: Instantiable;
|
|
@@ -40,13 +68,29 @@ export type QueryPath = {
|
|
|
40
68
|
parent?: QueryPath;
|
|
41
69
|
secure?: boolean;
|
|
42
70
|
entityAlias: string;
|
|
43
|
-
|
|
71
|
+
rootOrRelationPath?: string;
|
|
44
72
|
};
|
|
45
73
|
export type QueryProperty = {
|
|
46
74
|
path: QueryPath;
|
|
47
75
|
isUUID?: boolean;
|
|
48
76
|
isArray?: boolean;
|
|
49
77
|
isJson?: boolean;
|
|
78
|
+
/** When true, value is provided by external service; not selected from DB. */
|
|
79
|
+
isExternal?: boolean;
|
|
80
|
+
/** Resolved Injectable class from ExternalColumn(() => Resolver); used by executeQuery. */
|
|
81
|
+
externalResolver?: Instantiable;
|
|
82
|
+
/**
|
|
83
|
+
* Walk from each root row through these relation/embed keys to reach the owner of {@link externalColumnKey}.
|
|
84
|
+
* Empty when the owner is the root row.
|
|
85
|
+
*/
|
|
86
|
+
externalOwnerWalkSegments?: string[];
|
|
87
|
+
/** External property on that owner (object or scalar). */
|
|
88
|
+
externalColumnKey?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Full query paths (e.g. `infraServer.client.clientId`) that must be added to the SQL select when this
|
|
91
|
+
* external path is selected — same entity row, declared via ExternalColumnOptions.selectDependencies.
|
|
92
|
+
*/
|
|
93
|
+
externalDependencyQueryPaths?: string[];
|
|
50
94
|
name: string;
|
|
51
95
|
type: PropertyType;
|
|
52
96
|
fullPath: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"./","sources":["query/interfaces/query.ts"],"names":[],"mappings":""}
|