@rockster/core 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +3 -1
- 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 +11 -2
- package/command/services/post-action-builder.js.map +1 -0
- package/command/services/remove-action-builder.js +11 -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 +1 -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.js +1 -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.js +1 -0
- package/controllers/constants.js.map +1 -0
- package/controllers/controller.controller.js +1 -0
- 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 +1 -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.js +1 -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/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.js +1 -0
- package/controllers/interfaces/controller-object.js.map +1 -0
- package/controllers/interfaces/controller-options.js +1 -0
- package/controllers/interfaces/controller-options.js.map +1 -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 +11 -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 +1 -3
- package/core/core.controller.js +11 -10
- 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 +1 -0
- 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/index.js +1 -0
- package/core/index.js.map +1 -0
- 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/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.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 +1 -0
- 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.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.js +1 -0
- package/core/services/request-executor.js.map +1 -0
- package/core/services/request-router.js +1 -0
- 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.js +1 -0
- package/database/decorators/entity.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 +1 -0
- package/database/decorators/index.js +2 -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.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.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.js +1 -0
- package/database/functions/find-relation.js.map +1 -0
- package/database/functions/generate-id.js +1 -0
- package/database/functions/generate-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.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 +1 -0
- 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.js +1 -0
- 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-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 +2 -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.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/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.js +1 -0
- package/database/services/protect-builder.js.map +1 -0
- package/database/services/repository.service.js +1 -0
- 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 +48 -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.js +1 -0
- package/forms/queries/form.query.js.map +1 -0
- 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 +5 -1
- package/global.js.map +1 -0
- package/http/http.controller.d.ts +1 -6
- package/http/http.controller.js +1 -0
- 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.js +1 -0
- 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 +1 -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 +11 -10
- 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 +1 -0
- package/query/functions/add-join.js.map +1 -0
- package/query/functions/create-query-builder.js +4 -1
- package/query/functions/create-query-builder.js.map +1 -0
- package/query/functions/create-query.js +4 -0
- package/query/functions/create-query.js.map +1 -0
- package/query/functions/describe-query-filter.js +6 -3
- package/query/functions/describe-query-filter.js.map +1 -0
- package/query/functions/execute-query.js +3 -7
- package/query/functions/execute-query.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-native-select.d.ts +4 -1
- package/query/functions/get-native-select.js +9 -1
- package/query/functions/get-native-select.js.map +1 -0
- package/query/functions/load-properties.js +4 -2
- package/query/functions/load-properties.js.map +1 -0
- package/query/functions/map-query-property-to-column-name.js +1 -0
- package/query/functions/map-query-property-to-column-name.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 +2 -1
- 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.js +11 -2
- 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 +1 -0
- 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 +6 -1
- 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-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-receptor.js +7 -6
- package/tasks/functions/create-task-message-receptor.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 +2 -0
- package/tasks/interfaces/task-object.js +1 -0
- package/tasks/interfaces/task-object.js.map +1 -0
- package/tasks/interfaces/task-post-intercept.js +1 -0
- package/tasks/interfaces/task-post-intercept.js.map +1 -0
- 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 +1 -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 +57 -37
- 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} +11 -10
- 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 +1 -0
- 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 +1 -0
- 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.js +1 -0
- package/translations/queries/translation-config.query.js.map +1 -0
- package/translations/queries/translation-values.query.js +1 -0
- 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.js +4 -5
- 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/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
|
@@ -27,3 +27,5 @@ __exportStar(require("./protect-target-column.decorator"), exports);
|
|
|
27
27
|
__exportStar(require("./protected-entity.decorator"), exports);
|
|
28
28
|
__exportStar(require("./relation.decorator"), exports);
|
|
29
29
|
__exportStar(require("./virtual-column.decorator"), exports);
|
|
30
|
+
__exportStar(require("./jsonb-index.decorator"), exports);
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"./","sources":["database/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qDAAmC;AACnC,2DAAyC;AACzC,iDAA+B;AAC/B,iEAA+C;AAC/C,gEAA8C;AAC9C,qEAAmD;AACnD,6DAA2C;AAC3C,iEAA+C;AAC/C,oEAAkD;AAClD,+DAA6C;AAC7C,uDAAqC;AACrC,6DAA2C;AAC3C,0DAAwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inject-data-source.decorator.js","sourceRoot":"./","sources":["database/decorators/inject-data-source.decorator.ts"],"names":[],"mappings":";;;AAAO,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAClC,OAAO,CAAC,MAAM,EAAE,WAAmB,EAAE,EAAE;QACpC,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE;YACzC,GAAG;gBACA,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC;YACnC,CAAC;SACH,CAAC,CAAC;IACN,CAAC,CAAA;AACJ,CAAC,CAAA;AARY,QAAA,gBAAgB,oBAQ5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inject-repository.decorator.js","sourceRoot":"./","sources":["database/decorators/inject-repository.decorator.ts"],"names":[],"mappings":";;AAIA,4CAWC;AAdD,yEAA0E;AAC1E,gEAA4D;AAE5D,SAAgB,gBAAgB,CAAE,IAAqB;IACpD,OAAO,UAAU,MAAM,EAAE,WAAmB;QACzC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE;YACxC,GAAG,EAAE,GAAG,EAAE;gBACP,MAAM,kBAAkB,GAAG,6CAAuB,CAAC,QAAQ,EAAE,CAAC;gBAC9D,OAAO,kBAAkB,EAAE,aAAa;oBACrC,CAAC,CAAC,kBAAkB,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;oBACxD,CAAC,CAAC,IAAA,8BAAa,EAAC,IAAI,EAAE,CAAC,CAAA;YAC7B,CAAC;SACH,CAAC,CAAC;IACN,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Instantiable } from "@rockster/common";
|
|
2
|
+
export declare enum JsonbIndexStrategy {
|
|
3
|
+
full = "full",/**Includes null values */
|
|
4
|
+
partial = "partial" /**Includes only if has value */
|
|
5
|
+
}
|
|
6
|
+
export type JsonbIndexSettings = {
|
|
7
|
+
target: Instantiable;
|
|
8
|
+
strategy?: JsonbIndexStrategy;
|
|
9
|
+
path?: string;
|
|
10
|
+
table?: string;
|
|
11
|
+
column?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
unique?: boolean;
|
|
14
|
+
nullsNotDistinct?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type JsonbIndexOptions = {
|
|
17
|
+
strategy?: JsonbIndexStrategy;
|
|
18
|
+
unique?: boolean;
|
|
19
|
+
nullsNotDistinct?: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare function JsonbIndex(options?: JsonbIndexOptions): PropertyDecorator;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JsonbIndexStrategy = void 0;
|
|
4
|
+
exports.JsonbIndex = JsonbIndex;
|
|
5
|
+
const enum_1 = require("../../common/interfaces/enum");
|
|
6
|
+
var JsonbIndexStrategy;
|
|
7
|
+
(function (JsonbIndexStrategy) {
|
|
8
|
+
JsonbIndexStrategy["full"] = "full";
|
|
9
|
+
JsonbIndexStrategy["partial"] = "partial"; /**Includes only if has value */
|
|
10
|
+
})(JsonbIndexStrategy || (exports.JsonbIndexStrategy = JsonbIndexStrategy = {}));
|
|
11
|
+
function JsonbIndex(options) {
|
|
12
|
+
return function (target, propertyKey) {
|
|
13
|
+
const property = core.storage.createProperty(target, propertyKey);
|
|
14
|
+
property.type = enum_1.PropertyType.entity;
|
|
15
|
+
property.jsonbIndexSettings = {
|
|
16
|
+
strategy: options?.strategy ?? JsonbIndexStrategy.partial,
|
|
17
|
+
unique: options?.unique,
|
|
18
|
+
nullsNotDistinct: options?.nullsNotDistinct,
|
|
19
|
+
target: target
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=jsonb-index.decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsonb-index.decorator.js","sourceRoot":"./","sources":["database/decorators/jsonb-index.decorator.ts"],"names":[],"mappings":";;;AA2BA,gCAcC;AAtCD,uDAA4D;AAE5D,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC3B,mCAAa,CAAA;IACb,yCAAmB,CAAA,CAAA,gCAAgC;AACtD,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAmBD,SAAgB,UAAU,CAAC,OAA2B;IACnD,OAAO,UAAU,MAAM,EAAE,WAAW;QACjC,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,CACzC,MAAsB,EACtB,WAAqB,CACU,CAAC;QACnC,QAAQ,CAAC,IAAI,GAAG,mBAAY,CAAC,MAAM,CAAC;QACpC,QAAQ,CAAC,kBAAkB,GAAG;YAC3B,QAAQ,EAAE,OAAO,EAAE,QAAQ,IAAI,kBAAkB,CAAC,OAAO;YACzD,MAAM,EAAE,OAAO,EAAE,MAAM;YACvB,gBAAgB,EAAE,OAAO,EAAE,gBAAgB;YAC3C,MAAM,EAAE,MAAsB;SAChC,CAAA;IACJ,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protect-context-column.decorator.js","sourceRoot":"./","sources":["database/decorators/protect-context-column.decorator.ts"],"names":[],"mappings":";;;AACA,wEAAoE;AAG7D,MAAM,oBAAoB,GAAG,CACjC,IAAqB,EACrB,OAAyB,EAC1B,EAAE;IACD,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE;QAC5B,MAAM,QAAQ,GAAG,IAAA,sCAAiB,EAC/B,MAAM,EACN,WAAW,EACX,IAAI,EACJ,OAAO,CACT,CAAC;QACF,QAAQ,CAAC,gBAAgB,GAAG,IAAI,CAAC;IACpC,CAAC,CAAA;AACJ,CAAC,CAAA;AAbY,QAAA,oBAAoB,wBAahC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protect-entity.decorator.js","sourceRoot":"./","sources":["database/decorators/protect-entity.decorator.ts"],"names":[],"mappings":";;;AACA,oEAAgE;AAEA,CAAC;AAE1D,MAAM,aAAa,GAAG,CAAC,OAA+B,EAAE,EAAE;IAC9D,OAAO,CAAC,MAAM,EAAE,EAAE;QACf,MAAM,MAAM,GAAG,IAAA,kCAAe,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAChD,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;IAC3B,CAAC,CAAA;AACJ,CAAC,CAAA;AALY,QAAA,aAAa,iBAKzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protect-key-column.decorator.js","sourceRoot":"./","sources":["database/decorators/protect-key-column.decorator.ts"],"names":[],"mappings":";;;AACA,oEAA+D;AAGxD,MAAM,gBAAgB,GAAG,CAC7B,OAAuB,EACxB,EAAE;IACD,OAAO,CACJ,MAAM,EACN,WAAmB,EACpB,EAAE;QACD,MAAM,QAAQ,GAAG,IAAA,kCAAe,EAC7B,MAAM,EACN,WAAW,EACX,SAAiC,EACjC,OAAO,CACT,CAAC;QACF,QAAQ,CAAC,YAAY,GAAG,IAAI,CAAC;IAChC,CAAC,CAAA;AACJ,CAAC,CAAA;AAfY,QAAA,gBAAgB,oBAe5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protect-target-column.decorator.js","sourceRoot":"./","sources":["database/decorators/protect-target-column.decorator.ts"],"names":[],"mappings":";;;AACA,wEAAmE;AAG5D,MAAM,mBAAmB,GAAG,CAChC,IAAqB,EACrB,OAA0B,EAC3B,EAAE;IACD,OAAO,CAAC,MAAM,EAAE,WAAmB,EAAE,EAAE;QACpC,MAAM,QAAQ,GAAG,IAAA,sCAAiB,EAC/B,MAAM,EACN,WAAW,EACX,IAAI,EACJ,OAAO,CACT,CAAC;QACF,QAAQ,CAAC,eAAe,GAAG,IAAI,CAAC;IACnC,CAAC,CAAA;AACJ,CAAC,CAAA;AAbY,QAAA,mBAAmB,uBAa/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protected-entity.decorator.js","sourceRoot":"./","sources":["database/decorators/protected-entity.decorator.ts"],"names":[],"mappings":";;;AAEA,0EAAsE;AAEtE,oEAAgE;AAK/D,CAAC;AAEK,MAAM,eAAe,GAAG,CAC5B,OAAgC,EACjC,EAAE;IACD,OAAO,CAAC,MAAM,EAAE,EAAE;QACf,MAAM,MAAM,GAAG,IAAA,kCAAe,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAChD,MAAM,CAAC,SAAS,GAAG,OAAO,CAAC;QAC3B,IAAI,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;YACxB,IAAA,4BAAY,EACT,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,OAAO,CAAC,IAAI,EAC7C,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CACvB,CAAC;QACL,CAAC;QACD,IAAI,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;YACxB,IAAA,4BAAY,EACT,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,OAAO,CAAC,IAAI,EAC7C,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CACvB,CAAC;QACL,CAAC;QACD,IAAI,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC;YACtB,IAAA,4BAAY,EACT,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,IAAI,EAC3C,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CACrB,CAAC;QACL,CAAC;QACD,IAAI,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;YACxB,IAAA,4BAAY,EACT,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,OAAO,CAAC,IAAI,EAC7C,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CACvB,CAAC;QACL,CAAC;IACJ,CAAC,CAAA;AACJ,CAAC,CAAA;AA/BY,QAAA,eAAe,mBA+B3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relation.decorator.js","sourceRoot":"./","sources":["database/decorators/relation.decorator.ts"],"names":[],"mappings":";;;AAEA,wEAAoE;AAE7D,MAAM,QAAQ,GAAG,CACrB,IAAwB,EACxB,OAAyB,EAC1B,EAAE;IACD,OAAO,CAAC,MAAM,EAAE,WAAmB,EAAE,EAAE;QACpC,MAAM,QAAQ,GAAG;YACd,QAAQ,EAAE,SAAS;SACF,CAAC;QACrB,IAAA,sCAAiB,EACd,MAAM,EACN,WAAW,EACX,IAAI,EAAE,EAAC,GAAG,QAAQ,EAAE,GAAG,OAAO,EAAE,CAClC,CAAC;IACL,CAAC,CAAA;AACJ,CAAC,CAAA;AAdY,QAAA,QAAQ,YAcpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-column.decorator.js","sourceRoot":"./","sources":["database/decorators/virtual-column.decorator.ts"],"names":[],"mappings":";;AAQA,sCAaC;AArBD,qCAAgE;AAQhE,SAAgB,aAAa,CAAC,IAAI,EAAE,IAAK;IACtC,OAAO,UAAS,MAAM,EAAE,WAAW;QAChC,MAAM,QAAQ,GAAG,IAAI;aACjB,OAAO;aACP,cAAc,CACZ,MAAM,EACN,WAAW,CAEe,CAAC;QACjC,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;QAC1B,IAAI,IAAI;YAAE,IAAA,uBAAoB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;;YAC3D,IAAA,uBAAoB,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACxD,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { RegisterOneToMany } from "./interfaces/register-one-to-many";
|
|
2
|
-
|
|
2
|
+
import { Bootable } from "@rockster/common";
|
|
3
|
+
export declare const env: {
|
|
4
|
+
migrations: Bootable[];
|
|
3
5
|
nanoIdAlphabet: {
|
|
4
6
|
urlAlphabet: string;
|
|
5
7
|
lowerCaseLettersAndDigits: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.env = void 0;
|
|
4
4
|
const nanoid_1 = require("nanoid");
|
|
5
5
|
const nano_id_alphabet_type_1 = require("./interfaces/enum/nano-id-alphabet-type");
|
|
6
|
-
exports.
|
|
6
|
+
exports.env = {
|
|
7
|
+
migrations: [],
|
|
7
8
|
nanoIdAlphabet: {
|
|
8
9
|
[nano_id_alphabet_type_1.NanoIdAlphabetType.urlAlphabet]: nanoid_1.urlAlphabet,
|
|
9
10
|
[nano_id_alphabet_type_1.NanoIdAlphabetType.lowerCaseLettersAndDigits]: '0123456789abcdefghijklmnopqrstuvwxyz',
|
|
@@ -23,3 +24,4 @@ exports.environment = {
|
|
|
23
24
|
},
|
|
24
25
|
oneToManyRegistrations: []
|
|
25
26
|
};
|
|
27
|
+
//# sourceMappingURL=env.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.js","sourceRoot":"./","sources":["database/env.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AACrC,mFAA6E;AAIhE,QAAA,GAAG,GAAG;IAChB,UAAU,EAAE,EAAgB;IAC5B,cAAc,EAAE;QACb,CAAC,0CAAkB,CAAC,WAAW,CAAC,EAAE,oBAAW;QAC7C,CAAC,0CAAkB,CAAC,yBAAyB,CAAC,EAAE,sCAAsC;QACtF,CAAC,0CAAkB,CAAC,gBAAgB,CAAC,EAAE,4BAA4B;QACnE,CAAC,0CAAkB,CAAC,OAAO,CAAC,EAAE,sDAAsD;QACpF,CAAC,0CAAkB,CAAC,gBAAgB,CAAC,EAAE,gEAAgE;QACvG,CAAC,0CAAkB,CAAC,oBAAoB,CAAC,EAAE,kBAAkB;QAC7D,CAAC,0CAAkB,CAAC,oBAAoB,CAAC,EAAE,kBAAkB;QAC7D,CAAC,0CAAkB,CAAC,MAAM,CAAC,EAAE,YAAY;QACzC,CAAC,0CAAkB,CAAC,YAAY,CAAC,EAAE,mDAAmD;QACtF,CAAC,0CAAkB,CAAC,gBAAgB,CAAC,EAAE,sCAAsC;QAC7E,CAAC,0CAAkB,CAAC,gBAAgB,CAAC,EAAE,4BAA4B;QACnE,CAAC,0CAAkB,CAAC,yBAAyB,CAAC,EAAE,sCAAsC;KACxF;IACD,oBAAoB,EAAE;QACnB,QAAQ,EAAE,IAAc;KAC1B;IACD,sBAAsB,EAAE,EAAyB;CACnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"./","sources":["database/exports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -7,3 +7,4 @@ Object.defineProperty(exports, "DeleteResult", { enumerable: true, get: function
|
|
|
7
7
|
Object.defineProperty(exports, "DataSource", { enumerable: true, get: function () { return typeorm_1.DataSource; } });
|
|
8
8
|
Object.defineProperty(exports, "Unique", { enumerable: true, get: function () { return typeorm_1.Unique; } });
|
|
9
9
|
Object.defineProperty(exports, "Index", { enumerable: true, get: function () { return typeorm_1.Index; } });
|
|
10
|
+
//# sourceMappingURL=typeorm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeorm.js","sourceRoot":"./","sources":["database/exports/typeorm.ts"],"names":[],"mappings":";;;AAAA,mCASiB;AARd,uGAAA,YAAY,OAAA;AACZ,uGAAA,YAAY,OAAA;AAIZ,qGAAA,UAAU,OAAA;AACV,iGAAA,MAAM,OAAA;AACN,gGAAA,KAAK,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-query-builder.js","sourceRoot":"./","sources":["database/extensions/select-query-builder.ts"],"names":[],"mappings":";;;AAAA,qCAAoE;AAOpE,MAAa,kBAAsB,SAAQ,4BAAsB;IAAjE;;QAEa,kBAAa,GAAG,EAAqB,CAAC;IAenD,CAAC;IAbE,gBAAgB,CAAC,SAAiB,EAAE,KAAa;QAC9C,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC;YAChC,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK;SACd,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,CACpB,MAAM,CAAC,SAAS,KAAK,MAAM,CAAC,SAAS,CACvC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACf,CAAC;IAED,gBAAgB;QACb,OAAO,IAAI,CAAC,aAAa,CAAC;IAC7B,CAAC;CACH;AAjBD,gDAiBC"}
|
|
@@ -5,6 +5,7 @@ const register_column_1 = require("./register-column");
|
|
|
5
5
|
const get_primitive_type_1 = require("./get-primitive-type");
|
|
6
6
|
const get_column_type_1 = require("./get-column-type");
|
|
7
7
|
const get_name_by_strategy_1 = require("./get-name-by-strategy");
|
|
8
|
+
const enum_1 = require("../../common/interfaces/enum");
|
|
8
9
|
const columnDecorator = (target, propertyKey, type, options) => {
|
|
9
10
|
const property = core
|
|
10
11
|
.storage
|
|
@@ -22,6 +23,7 @@ const columnDecorator = (target, propertyKey, type, options) => {
|
|
|
22
23
|
name: property.columnName
|
|
23
24
|
}
|
|
24
25
|
});
|
|
26
|
+
property.type = enum_1.PropertyType.entity;
|
|
25
27
|
property.primitiveType =
|
|
26
28
|
(0, get_primitive_type_1.getPrimitiveType)(property);
|
|
27
29
|
property.columnType =
|
|
@@ -29,3 +31,4 @@ const columnDecorator = (target, propertyKey, type, options) => {
|
|
|
29
31
|
return property;
|
|
30
32
|
};
|
|
31
33
|
exports.columnDecorator = columnDecorator;
|
|
34
|
+
//# sourceMappingURL=column-decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-decorator.js","sourceRoot":"./","sources":["database/functions/column-decorator.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAGnD,6DAAwD;AACxD,uDAAkD;AAClD,iEAA2D;AAC3D,uDAA4D;AAErD,MAAM,eAAe,GAAG,CAC5B,MAAM,EACN,WAAmB,EACnB,IAAkC,EAClC,OAAoD,EACrD,EAAE;IAED,MAAM,QAAQ,GAAG,IAAI;SACjB,OAAO;SACP,cAAc,CACZ,MAAM,EACN,WAAW,CAEe,CAAC;IAEjC,QAAQ,CAAC,UAAU,GAAG,IAAA,wCAAiB,EAAC;QACrC,IAAI,EAAC,WAAW;QAChB,YAAY,EAAE,OAAO,EAAE,IAAI;KAC7B,CAAC,CAAC;IAEH,IAAA,gCAAc,EAAC;QACZ,IAAI;QACJ,WAAW;QACX,MAAM;QACN,OAAO,EAAE;YACN,GAAG,OAAO;YACV,IAAI,EAAE,QAAQ,CAAC,UAAU;SAC3B;KACH,CAAC,CAAC;IAEH,QAAQ,CAAC,IAAI,GAAG,mBAAY,CAAC,MAAM,CAAC;IACpC,QAAQ,CAAC,aAAa;QACnB,IAAA,qCAAgB,EAAC,QAAQ,CAAC,CAAC;IAC9B,QAAQ,CAAC,UAAU;QAChB,IAAA,+BAAa,EAAC,QAAQ,CAAC,CAAC;IAC3B,OAAO,QAAQ,CAAC;AACnB,CAAC,CAAA;AApCY,QAAA,eAAe,mBAoC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-entity.js","sourceRoot":"./","sources":["database/functions/create-entity.ts"],"names":[],"mappings":";;;AACA,yCAA+C;AAC/C,yDAAoD;AACpD,gEAA4D;AAC5D,8CAMuB;AACvB,8CAMuB;AAEf,MAAM,YAAY,GAAG,CAAC,EAC3B,IAAI,EACJ,OAAO,EACP,OAAO,EACP,SAAS,EAMX,EAAE,EAAE;IACF,MAAM,WAAW,GAAG,IAAA,iCAAc,EAAC,IAAI,CAAC,CAAC;IACzC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC5B,OAAO;aACH,cAAc,CACZ,wBAAe,EACf,MAAM,CAAC,UAAU,EACjB,WAAW,CAAC,SAAS,EACrB,MAAM,CAAC,WAAW,CACpB,CAAC;QACL,QAAO,MAAM,CAAC,OAAO,EAAE,CAAC;YACrB,KAAK,0BAAa,CAAC,MAAM;gBACtB,IAAA,mBAAM,EAAC;oBACJ,GAAG,MAAM,CAAC,OAAO;oBACjB,IAAI,EAAE,MAAM,CAAC,IAAI;iBACnB,CAAC,CACC,WAAW,CAAC,SAAS,EACrB,MAAM,CAAC,WAAW,CACpB,CAAC;gBACF,MAAM;YACT,KAAK,0BAAa,CAAC,WAAW;gBAC3B,IAAA,wBAAW,EACR,MAAM,CAAC,QAAe,EACtB,MAAM,CAAC,OAAO,CAChB,CACE,WAAW,CAAC,SAAS,EACrB,MAAM,CAAC,WAAW,CACpB,CAAC;gBACF,MAAM;YACT,KAAK,0BAAa,CAAC,EAAE;gBAClB,IAAA,eAAE,EACC,MAAM,CAAC,IAAI,EACX,MAAM,CAAC,OAAO,CAChB,CACE,WAAW,CAAC,SAAS,EACrB,MAAM,CAAC,WAAW,CACpB,CAAA;gBACD,MAAM;QACZ,CAAC;IACJ,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QAChC,OAAO;aACH,cAAc,CACZ,wBAAe,EACf,QAAQ,CAAC,UAAU,EACnB,WAAW,CAAC,SAAS,EACrB,QAAQ,CAAC,WAAW,CACtB,CAAC;QACL,IAAA,qBAAQ,EACL,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,OAAO,CAClB,CACE,WAAW,CAAC,SAAS,EACrB,QAAQ,CAAC,WAAW,CACtB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI;aACnB,OAAO;aACP,UAAU,CACR,QAAQ,CAAC,IAAI,EAAE,CACjB,CAAC;QACL,IAAI,UAAU,EAAE,CAAC;YACd,wCAAkB;iBACjB,QAAQ;iBACR,eAAe,CAAC,UAAU,CAAC,CAAC;QAChC,CAAC;IACJ,CAAC;IACD,IAAA,mBAAM,EAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC;IAC7B,MAAM,UAAU,GAAG,IAAI;SACnB,OAAO;SACP,UAAU,CAAC,WAAW,CACE,CAAC;IAC1B,wCAAkB;SACd,QAAQ;SACR,IAAI,CAAC,UAAU,CAAC,CAAC;IACxB,OAAO,WAAW,CAAC;AACtB,CAAC,CAAA;AArFa,QAAA,YAAY,gBAqFzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-new-class.js","sourceRoot":"./","sources":["database/functions/create-new-class.ts"],"names":[],"mappings":";;;AAAO,MAAM,cAAc,GAAG,CAC3B,IAAY,EACZ,aAAc,EACf,EAAE;IACD,IAAI,MAAM,CAAC;IACX,IAAI,aAAa,EAAE,CAAC;QACjB,MAAM,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,KAAM,SAAQ,aAAa;aAAG,EAAG,CAAC;IACxD,CAAC;SAAM,CAAC;QACL,MAAM,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE;aAAQ,EAAG,CAAC;IAClC,CAAC;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACvB,CAAC,CAAA;AAXY,QAAA,cAAc,kBAW1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-decorator.js","sourceRoot":"./","sources":["database/functions/entity-decorator.ts"],"names":[],"mappings":";;AASA,0CAgCC;AAxCD,uDAAmD;AACnD,yCAA0C;AAO1C,SAAgB,eAAe,CAC5B,MAAM,EACN,OAAuB;IAEvB,MAAM,MAAM,GAAG,IAAI;SACf,OAAO;SACP,YAAY,CAAC,MAAM,CACK,CAAC;IAC7B,MAAM,EACH,SAAS,EACT,SAAS,GACX,GAAG,MAAM;SACN,SAAS;SACT,SAAS,EAAE,CAAC;IAChB,MAAM,CAAC,IAAI,GAAG,mBAAU,CAAC,MAAM,CAAC;IAChC,MAAM,CAAC,SAAS,GAAG,OAAO,EAAE,SAAS,IAAI,SAAS,CAAC;IACnD,MAAM,CAAC,KAAK,GAAG,OAAO,EAAE,KAAK,IAAI,SAAS,CAAC;IAC3C,MAAM,CAAC,MAAM,GAAG,OAAO,EAAE,MAAM,CAAC;IAChC,MAAM,CAAC,UAAU,GAAG,IAAI;SACpB,OAAO;SACP,aAAa,CAAkB,MAAM,CAAC;SACtC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;QAChB,OAAO,QAAQ,CAAC,YAAY,CAAC;IAChC,CAAC,CAAC;QACF,EAAE,WAAW,CAAC;IAEjB,IAAA,gCAAc,EAAC;QACZ,MAAM;QACN,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,SAAS,EAAE;KACrC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute-if-not-exists-column.js","sourceRoot":"./","sources":["database/functions/execute-if-not-exists-column.ts"],"names":[],"mappings":";;;AAGO,MAAM,wBAAwB,GAAG,KAAK,EAC1C,IAAY,EACZ,WAAwB,EACxB,QAAyB,EAC1B,EAAE;IACD,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,KAAK,CAAC;;4BAEZ,KAAK;2BACN,MAAM;IAC7B,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACvB,IAAI,CAAC,MAAM,EAAE,CAAC;QACX,MAAM,QAAQ,EAAE,CAAC;IACpB,CAAC;AACJ,CAAC,CAAA;AAfY,QAAA,wBAAwB,4BAepC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute-if-not-exists-table.js","sourceRoot":"./","sources":["database/functions/execute-if-not-exists-table.ts"],"names":[],"mappings":";;;AAGO,MAAM,uBAAuB,GAAG,KAAK,EACzC,IAAY,EACZ,WAAwB,EACxB,QAAyB,EAC1B,EAAE;IACD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,KAAK,CAAC;;4BAEZ,IAAI;IAC5B,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACvB,IAAI,CAAC,MAAM,EAAE,CAAC;QACX,MAAM,QAAQ,EAAE,CAAC;IACpB,CAAC;AACJ,CAAC,CAAA;AAbY,QAAA,uBAAuB,2BAanC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-relation.js","sourceRoot":"./","sources":["database/functions/find-relation.ts"],"names":[],"mappings":";;;AACA,6DAAyD;AACzD,0BAGY;AAEL,MAAM,gBAAgB,GAAG,CAC7B,IAAsB,EACtB,UAAwB,EACxB,QAAsB,EACtB,YAAoB,EACrB,EAAE;IACD,MAAM,QAAQ,GAAG,IAAI,KAAK,oBAAgB,CAAC,MAAM;QAC9C,CAAC,CAAC,kBAAkB,CACjB,UAAU,EACV,QAAQ,EACR,YAAY,CACd;QACD,CAAC,CAAC,oBAAoB,CACnB,UAAU,EACV,QAAQ,CACV,CAAA;IACJ,IAAI,CAAC,QAAQ,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,IAAI,QAAQ,CAAC,IAAI,oCAAoC,UAAU,CAAC,IAAI,GAAG,CAAC,CAAC;IAC5F,CAAC;IACD,OAAO,QAAQ,CAAC;AACnB,CAAC,CAAA;AApBY,QAAA,gBAAgB,oBAoB5B;AAED,MAAM,kBAAkB,GAAG,CACxB,UAAwB,EACxB,QAAsB,EACtB,YAAoB,EACrB,EAAE;IACD,OAAO,4BAAY;SACf,cAAc;SACd,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;QAChB,OAAO,CAAC,QAAQ,CAAC,MAAM;eACjB,QAAQ,CAAC,MAAM,CAAC,WAAW,KAAK,UAAU;eAC1C,QAAQ,CAAC,QAAQ,CAAC,eAAe,EAAE,KAAK,QAAQ;eAChD,QAAQ,CAAC,QAAQ,CAAC,WAAW,KAAK,YAAY,CAAA;IACvD,CAAC,CAAC,CAAC;AACT,CAAC,CAAA;AAED,MAAM,oBAAoB,GAAG,CAC1B,UAAwB,EACxB,QAAsB,EACvB,EAAE;IACD,OAAO,4BAAY;SACf,cAAc;SACd,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;QAChB,OAAO,QAAQ;aACX,QAAQ;aACR,eAAe,EAAE,KAAK,UAAU;eAC9B,QAAQ,CAAC,QAAQ,CAAC,WAAW,KAAK,QAAQ;eAC1C,aAAa,CACb,QAAQ,EACR,UAAU,CACZ;eACE,QAAQ,CAAC,IAAI,KAAK,oBAAgB,CAAC,QAAQ,CAAA;IACpD,CAAC,CAAC,CAAC;AACT,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CACnB,YAA0B,EAC1B,MAAoB,EACrB,EAAE;IACD,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;QACvB,OAAO,aAAa,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,YAAY,CAAC,MAAM,CAAC,WAAW,KAAK,MAAM,CAAC;AACrD,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-id.js","sourceRoot":"./","sources":["database/functions/generate-id.ts"],"names":[],"mappings":";;AAGA,6BAYC;AAfD,uDAAkD;AAGlD,SAAwB,UAAU,CAAI,MAAuB,EAAE,IAAQ;IACpE,MAAM,UAAU,GAAG,IAAA,+BAAa,EAAC,MAAM,CAAC,CAAC;IACzC,IAAI,OAAO,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC;IAEpC,IAAI,CAAC,IAAI;QACN,OAAO,OAAO,CAAC;IAElB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;QACjC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC;IAC1C,CAAC;IAED,OAAO,OAAO,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-column-type.js","sourceRoot":"./","sources":["database/functions/get-column-type.ts"],"names":[],"mappings":";;AAGA,sCAkBC;AAlBD,SAAgB,aAAa,CAC1B,QAAuC;IAEvC,MAAM,cAAc,GAAG,MAAM;SACzB,0BAA0B,CAAC;IAE/B,MAAM,MAAM,GAAG,cAAc;SACzB,OAAO;SACP,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;QACd,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,WAAW;eAC1C,MAAM,CAAC,YAAY,KAAK,QAAQ,CAAC,WAAW,CAAA;IAClD,CAAC,CAAC,CAAC;IAEN,MAAM,IAAI,GAAG,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC;IACnC,OAAO,OAAO,IAAI,KAAK,UAAU;WAC3B,OAAO,IAAI,KAAK,QAAQ;QAC3B,CAAC,CAAC,IAAI,EAAE,IAAI;QACZ,CAAC,CAAC,IAAI,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-id-property.js","sourceRoot":"./","sources":["database/functions/get-id-property.ts"],"names":[],"mappings":";;;AAGO,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,EAAE;IACrC,MAAM,UAAU,GAAG,IAAI;SACnB,OAAO;SACP,aAAa,CAAC,MAAM,CACU,CAAC;IACnC,MAAM,UAAU,GAAG,UAAU;SACzB,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;QAChB,OAAO,QAAQ,CAAC,YAAY,CAAC;IAChC,CAAC,CAAC,CAAC;IACN,OAAO,UAAU,CAAC;AACrB,CAAC,CAAA;AAVY,QAAA,aAAa,iBAUzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-name-by-strategy.js","sourceRoot":"./","sources":["database/functions/get-name-by-strategy.ts"],"names":[],"mappings":";;AAKA,8CAOC;AAPD,SAAgB,iBAAiB,CAAC,EAC/B,IAAI,EACJ,YAAY,EACK;IACjB,IAAI,YAAY;QAAE,OAAO,YAAY,CAAC;IACtC,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACpC,OAAO,MAAM,CAAC,SAAS,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-primitive-type.js","sourceRoot":"./","sources":["database/functions/get-primitive-type.ts"],"names":[],"mappings":";;AAGA,4CAOC;AAPD,SAAgB,gBAAgB,CAC7B,QAAuC;IAEvC,OAAO,QAAQ;SACX,QAAQ,CACR,aAAa,CAAC;QACf,EAAE,IAAI,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-relations.js","sourceRoot":"./","sources":["database/functions/get-relations.ts"],"names":[],"mappings":";;;AAEO,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,EAAE;IACpC,OAAO,IAAI;SACP,OAAO;SACP,aAAa,CAAkB,MAAM,CAAC;SACtC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE;QAClB,OAAO,QAAQ,CAAC,UAAU,CAAC;IAC9B,CAAC,CAAC,CAAC;AACT,CAAC,CAAA;AAPY,QAAA,YAAY,gBAOxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"has-update.js","sourceRoot":"./","sources":["database/functions/has-update.ts"],"names":[],"mappings":";;;AAKO,MAAM,SAAS,GAAG,CACtB,MAAmC,EACpC,EAAE;IACD,OAAO,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAC;AAC/B,CAAC,CAAA;AAJY,QAAA,SAAS,aAIrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inject-repository-handle.js","sourceRoot":"./","sources":["database/functions/inject-repository-handle.ts"],"names":[],"mappings":";;AAQA,wDAkCC;AAzCD,qDAAiD;AACjD,yEAA0E;AAM1E,SAAgB,sBAAsB,CACnC,IAAqB,EACrB,MAAM,EACN,WAAmB;IAEnB,IAAI,MAAM,GAAG,SAAS,CAAC;IACvB,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE;QACzC,GAAG;YACA,OAAO,IAAI,CAAC,QAAQ,EAAE,UAAU;gBAC7B,CAAC,CAAC,IAAI,KAAK,CAAC,IAAA,8BAAa,EAAC,IAAI,EAAE,CAAC,EAAE;oBAChC,GAAG,EAAE,CAAC,MAAM,EAAE,QAA+B,EAAE,EAAE;wBAC9C,QAAQ,QAAQ,EAAE,CAAC;4BAChB,KAAK,QAAQ,CAAC;4BACd,KAAK,aAAa,CAAC;4BACnB,KAAK,UAAU,CAAC;4BAChB,KAAK,SAAS;gCACX,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAC;4BAC3B;gCACG,OAAO,CAAC,CAAgB,EAAE,GAAG,IAAI,EAAE,EAAE;oCAClC,MAAM,YAAY,GAAG,6CAAuB,CAAC,QAAQ,EAAE,CAAC;oCACxD,MAAM,UAAU,GAAG,YAAY,EAAE,aAAa;wCAC3C,CAAC,CAAC,YAAY,EAAE,aAAa,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;wCACnD,CAAC,CAAC,MAAM,CAAC;oCACZ,OAAO,UAAU,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;gCAC7D,CAAC,CAAA;wBACP,CAAC;oBACJ,CAAC;iBACH,CAAC;gBACF,CAAC,CAAC,MAAM,CAAC;QACf,CAAC;QACD,GAAG,CAAC,KAAK;YACN,MAAM,GAAG,KAAK,CAAC;QAClB,CAAC;KACH,CAAC,CAAA;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-to-jsonb.js","sourceRoot":"./","sources":["database/functions/object-to-jsonb.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,CAC1B,KAAK,EACL,QAAiB,EACjB,SAAiB,EAAE,EACpB,EAAE;IACD,MAAM,UAAU,GAAG,MAAM;SACrB,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAC/B,MAAM,MAAM,GAAG,QAAQ,CAAC;IACxB,IAAI,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,MAAM,YAAY,IAAI,UAAU,EAAE,CAAC;QACrC,MAAM,aAAa,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;QAC1C,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;YACrC,MAAM,GAAG,MAAM;iBACX,OAAO,CACL,MAAM,EACN,IAAA,qBAAa,EACV,aAAa,EACb,SAAS,EACT,GAAG,YAAY,GAAG,CACpB,CACH,CAAC;QACR,CAAC;aAAM,CAAC;YACL,MAAM,QAAQ,GAAG,aAAa,MAAM,OAAO,MAAM,GAAG,YAAY,gBAAgB,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC;YAC5G,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAC7C,CAAC;IACJ,CAAC;IACD,IAAI,QAAQ,EAAE,CAAC;QACZ,MAAM,GAAG,MAAM;aACX,OAAO,CACL,MAAM,EACN,aAAa,QAAQ,IAAI,CAC3B,CAAC;IACR,CAAC;IACD,OAAO,MAAM,CAAC;AACjB,CAAC,CAAA;AAlCY,QAAA,aAAa,iBAkCzB;AAED,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,EAAE;IACxB,QAAO,OAAO,KAAK,EAAE,CAAC;QACnB,KAAK,QAAQ,CAAC;QACd,KAAK,SAAS,CAAC;QACf,KAAK,QAAQ;YACV,OAAO,GAAG,KAAK,EAAE,CAAC;QACrB;YACG,OAAO,IAAI,KAAK,GAAG,CAAC;IAC1B,CAAC;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-column.js","sourceRoot":"./","sources":["database/functions/register-column.ts"],"names":[],"mappings":";;;AAAA,mCAGgB;AAChB,qCAIiB;AAEV,MAAM,cAAc,GAAG,CAAC,EAC5B,WAAW,EACX,MAAM,EACN,OAAO,EACP,IAAI,EAMN,EAAE,EAAE;IACF,MAAM,UAAU,GAAG,CAAC,IAAA,iBAAQ,EAAC,IAAI,CAAC;QAC/B,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,IAAI,EAAE,IAAI,IAAI,OAAO,EAAE,IAAI,CACjB,CAAC;IAChB,IAAA,gBAAM,EAAC;QACJ,GAAG,OAAO;QACV,GAAG,IAAA,iBAAQ,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;QAC7B,IAAI,EAAE,UAAU;KAClB,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAC3B,CAAC,CAAA;AApBY,QAAA,cAAc,kBAoB1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-entity.js","sourceRoot":"./","sources":["database/functions/register-entity.ts"],"names":[],"mappings":";;;AAAA,qCAGiB;AAEV,MAAM,cAAc,GAAG,CAC3B,EACG,MAAM,EACN,OAAO,EAIT,EACF,EAAE;IACD,IAAA,gBAAM,EAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC,CAAA;AAVY,QAAA,cAAc,kBAU1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-generated-id.js","sourceRoot":"./","sources":["database/functions/register-generated-id.ts"],"names":[],"mappings":";;;AAAA,qCAAiD;AAE1C,MAAM,mBAAmB,GAAG,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,MAAM,EACN,OAAO,EAMT,EAAE,EAAE;IACF,IAAA,gCAAsB,EACnB,QAAQ,EACR,OAAO,CACT,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAC1B,CAAC,CAAA;AAfY,QAAA,mBAAmB,uBAe/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-id.js","sourceRoot":"./","sources":["database/functions/register-id.ts"],"names":[],"mappings":";;;AAAA,qCAGgB;AAET,MAAM,UAAU,GAAG,CAAC,EACxB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,OAAO,EAMT,EAAE,EAAE;IACF,IAAA,uBAAa,EACV,IAAI,EACJ,OAAO,CACT,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAC1B,CAAC,CAAA;AAfY,QAAA,UAAU,cAetB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-relation.js","sourceRoot":"./","sources":["database/functions/register-relation.ts"],"names":[],"mappings":";;;AAAA,qCAGiB;AAMV,MAAM,gBAAgB,GAAG,CAAC,EAC9B,IAAI,EACJ,OAAO,EACP,WAAW,EACX,MAAM,EAMR,EAAE,EAAE;IACF,IAAA,mBAAS,EACN,IAAI,EACJ,OAAO,CACT,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACvB,IAAA,oBAAU,EAAC;QACR,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,oBAAoB,EAAE,OAAO,EAAE,oBAAoB;KACrD,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAC3B,CAAC,CAAA;AAnBY,QAAA,gBAAgB,oBAmB5B"}
|
|
@@ -5,7 +5,7 @@ const get_primitive_type_1 = require("./get-primitive-type");
|
|
|
5
5
|
const register_column_1 = require("./register-column");
|
|
6
6
|
const register_relation_1 = require("./register-relation");
|
|
7
7
|
const get_name_by_strategy_1 = require("./get-name-by-strategy");
|
|
8
|
-
const
|
|
8
|
+
const env_1 = require("../env");
|
|
9
9
|
const inflection_1 = require("inflection");
|
|
10
10
|
const typeorm_1 = require("typeorm");
|
|
11
11
|
const relationDecorator = (target, propertyKey, type, options) => {
|
|
@@ -23,7 +23,7 @@ const relationDecorator = (target, propertyKey, type, options) => {
|
|
|
23
23
|
name: propertyKey,
|
|
24
24
|
overrideName: options?.name,
|
|
25
25
|
});
|
|
26
|
-
|
|
26
|
+
env_1.env.oneToManyRegistrations.push({
|
|
27
27
|
type: type,
|
|
28
28
|
handle: () => {
|
|
29
29
|
const RelationType = type();
|
|
@@ -72,3 +72,4 @@ const relationDecorator = (target, propertyKey, type, options) => {
|
|
|
72
72
|
return property;
|
|
73
73
|
};
|
|
74
74
|
exports.relationDecorator = relationDecorator;
|
|
75
|
+
//# sourceMappingURL=relation-decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relation-decorator.js","sourceRoot":"./","sources":["database/functions/relation-decorator.ts"],"names":[],"mappings":";;;AAUA,6DAAwD;AACxD,uDAAmD;AACnD,2DAAuD;AACvD,iEAA2D;AAC3D,gCAA6B;AAC7B,2CAAuC;AACvC,qCAAoC;AAE7B,MAAM,iBAAiB,GAAG,CAC9B,MAAM,EACN,WAAmB,EACnB,IAAwB,EACxB,OAAyB,EAC1B,EAAE;IACD,MAAM,QAAQ,GAAG,IAAI;SACjB,OAAO;SACP,cAAc,CACZ,MAAM,EACN,WAAW,CAEe,CAAC;IACjC,QAAQ,CAAC,aAAa;QACnB,IAAA,qCAAgB,EAAC,QAAQ,CAAC,CAAC;IAC9B,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,eAAe,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,WAAW,GAAG,OAAO,EAAE,WAAW;QACxC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE;QACvB,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACrC,QAAQ,CAAC,UAAU,GAAG,IAAA,wCAAiB,EAAC;QACrC,IAAI,EAAC,WAAW;QAChB,YAAY,EAAE,OAAO,EAAE,IAAI;KAC7B,CAAC,CAAC;IAEH,SAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC;QAC7B,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,GAAG,EAAE;YACV,MAAM,YAAY,GAAG,IAAI,EAAE,CAAC;YAC5B,MAAM,UAAU,GAAG,IAAI;iBACnB,OAAO;iBACP,UAAU,CAAC,MAAM,CAAC,WAAW,CACL,CAAC;YAC7B,IAAI,CAAC,UAAU,EAAE,CAAC;gBAAC,OAAO;YAAC,CAAC;YAC5B,MAAM,iBAAiB,GAAG,IAAI;iBAC1B,OAAO;iBACP,aAAa,CAAC,YAAY,CACI,CAAA;YAClC,MAAM,QAAQ,GAAG,iBAAiB;iBAC9B,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;gBAChB,OAAO,QAAQ,CAAC,YAAY,CAAC;YAChC,CAAC,CAAC,CAAC;YAEN,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YAC1C,QAAQ,CAAC,YAAY,GAAG,CAAC,QAAQ,CAAC,YAAY;gBAC3C,CAAC,CAAC;oBACC,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,KAAK,EAAE,IAAA,sBAAS,EAAC,UAAU,CAAC,KAAK,CAAC;iBACpC;gBACD,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAC3B,IAAA,mBAAS,EACN,GAAG,EAAE;gBACF,OAAO,MAAM,CAAC,WAAW,CAAC;YAC7B,CAAC,EACD,QAAQ,CAAC,EAAE;gBACR,OAAO,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;YACzC,CAAC,CACH,CAAC,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC1D,CAAC;KACH,CAAC,CAAC;IAEH,MAAM,eAAe,GAAG;QACrB,GAAG,OAAO;QACV,IAAI,EAAE,QAAQ,CAAC,UAAU;KAC3B,CAAC;IAEF,IAAA,gCAAc,EAAC;QACZ,WAAW,EAAE,WAAW;QACxB,MAAM;QACN,OAAO,EAAE,eAAe;KAC1B,CAAC,CAAC;IAEH,IAAA,oCAAgB,EAAC;QACd,WAAW,EAAE,QAAQ,CAAC,WAAW;QACjC,MAAM;QACN,IAAI;QACJ,OAAO,EAAE,eAAe;KAC1B,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AACnB,CAAC,CAAA;AAhFY,QAAA,iBAAiB,qBAgF7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-protector.js","sourceRoot":"./","sources":["database/functions/use-protector.ts"],"names":[],"mappings":";;;AAIO,MAAM,YAAY,GAAG,CAAC,MAAoB,EAAE,EAAE;IAClD,MAAM,MAAM,GAAG,IAAI;SACf,OAAO;SACP,UAAU,CAAC,MAAM,CACO,CAAC;IAC7B,OAAO,MAAM,CAAC,SAAS,CAAC;AAC3B,CAAC,CAAA;AANY,QAAA,YAAY,gBAMxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-repository.js","sourceRoot":"./","sources":["database/functions/use-repository.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,CAC1B,MAAuB,EACxB,EAAE;IACD,OAAO,IAAI;QACR,EAAE,QAAQ;QACV,EAAE,UAAU;QACZ,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;AAC9B,CAAC,CAAA;AAPY,QAAA,aAAa,iBAOzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-transaction.js","sourceRoot":"./","sources":["database/functions/use-transaction.ts"],"names":[],"mappings":";;;AAAO,MAAM,cAAc,GAAG,GAAG,EAAE;IAChC,MAAM,WAAW,GAAG,IAAI;SACpB,OAAO;SACP,WAAW,CAAC;IAChB,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC;QACnC,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,IAAI,CAAC;AACb,CAAC,CAAA;AAPY,QAAA,cAAc,kBAO1B"}
|
package/database/index.js
CHANGED
|
@@ -30,3 +30,4 @@ __exportStar(require("./functions/execute-if-not-exists-table"), exports);
|
|
|
30
30
|
__exportStar(require("./services/repository.service"), exports);
|
|
31
31
|
__exportStar(require("./migrations/use-uuid-varchar-migration"), exports);
|
|
32
32
|
__exportStar(require("./contexts/transaction-context"), exports);
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"./","sources":["database/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,wDAAsC;AACtC,oEAAkD;AAClD,4CAA0B;AAC1B,yDAAuC;AACvC,8DAA4C;AAC5C,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C;AAC5C,2EAAyD;AACzD,0EAAwD;AACxD,gEAA8C;AAC9C,0EAAwD;AACxD,iEAA+C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-columns-name-override.js","sourceRoot":"./","sources":["database/interfaces/base-columns-name-override.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-def.js","sourceRoot":"./","sources":["database/interfaces/column-def.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.options.js","sourceRoot":"./","sources":["database/interfaces/connection.options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direact-alias.js","sourceRoot":"./","sources":["database/interfaces/direact-alias.ts"],"names":[],"mappings":""}
|