lakutata 2.0.25 → 2.0.26
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/com/database.cjs +16 -16
- package/com/database.mjs +16 -16
- package/com/docker.cjs +14 -14
- package/com/docker.mjs +14 -14
- package/com/entrypoint.cjs +9 -9
- package/com/entrypoint.mjs +9 -9
- package/com/logger.cjs +12 -12
- package/com/logger.mjs +12 -12
- package/decorator/asst.cjs +2 -2
- package/decorator/asst.mjs +2 -2
- package/decorator/ctrl.cjs +4 -4
- package/decorator/ctrl.mjs +4 -4
- package/decorator/di.cjs +3 -3
- package/decorator/di.mjs +3 -3
- package/decorator/dto.cjs +3 -3
- package/decorator/dto.mjs +3 -3
- package/decorator/orm.cjs +21 -21
- package/decorator/orm.d.ts +1 -1
- package/decorator/orm.mjs +21 -21
- package/helper.cjs +5 -5
- package/helper.mjs +5 -5
- package/lakutata.cjs +13 -13
- package/lakutata.mjs +13 -13
- package/orm.cjs +22 -22
- package/orm.d.ts +2 -2
- package/orm.mjs +34 -34
- package/package.json +6 -1
- package/provider/database.cjs +196 -0
- package/provider/database.d.ts +189 -0
- package/provider/database.mjs +183 -0
- package/src/components/Database.cjs +15 -15
- package/src/components/Database.mjs +15 -15
- package/src/components/Logger.cjs +12 -12
- package/src/components/Logger.mjs +12 -12
- package/src/components/docker/ConnectionOptionsBuilder.cjs +14 -14
- package/src/components/docker/ConnectionOptionsBuilder.mjs +14 -14
- package/src/components/docker/Docker.cjs +11 -11
- package/src/components/docker/Docker.mjs +11 -11
- package/src/components/docker/exceptions/DockerConnectionException.cjs +1 -1
- package/src/components/docker/exceptions/DockerConnectionException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageBuildException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageBuildException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageImportException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageImportException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImagePullException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImagePullException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImagePushException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImagePushException.mjs +1 -1
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +1 -1
- package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +1 -1
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +1 -1
- package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +1 -1
- package/src/components/docker/lib/DockerContainer.cjs +14 -14
- package/src/components/docker/lib/DockerContainer.mjs +14 -14
- package/src/components/docker/lib/DockerContainerTTY.cjs +14 -14
- package/src/components/docker/lib/DockerContainerTTY.mjs +14 -14
- package/src/components/docker/lib/DockerImage.cjs +8 -8
- package/src/components/docker/lib/DockerImage.mjs +8 -8
- package/src/components/docker/options/DockerPruneOptions.cjs +3 -3
- package/src/components/docker/options/DockerPruneOptions.mjs +3 -3
- package/src/components/docker/options/auth/DockerAuthOptions.cjs +3 -3
- package/src/components/docker/options/auth/DockerAuthOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerCommitOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerCommitOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerExecOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerExecOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerKillOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerKillOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerLogsOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerLogsOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerRemoveOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerRemoveOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerSettingOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerSettingOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerStopOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerStopOptions.mjs +3 -3
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +3 -3
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +3 -3
- package/src/components/docker/options/image/ImageBuildOptions.cjs +3 -3
- package/src/components/docker/options/image/ImageBuildOptions.mjs +3 -3
- package/src/components/docker/options/image/ImageExportOptions.cjs +3 -3
- package/src/components/docker/options/image/ImageExportOptions.mjs +3 -3
- package/src/components/docker/options/image/ImageImportOptions.cjs +3 -3
- package/src/components/docker/options/image/ImageImportOptions.mjs +3 -3
- package/src/components/docker/options/image/ImagePullOptions.cjs +3 -3
- package/src/components/docker/options/image/ImagePullOptions.mjs +3 -3
- package/src/components/docker/options/image/ImagePushOptions.cjs +3 -3
- package/src/components/docker/options/image/ImagePushOptions.mjs +3 -3
- package/src/components/docker/options/image/ImageRemoveOptions.cjs +3 -3
- package/src/components/docker/options/image/ImageRemoveOptions.mjs +3 -3
- package/src/components/docker/options/image/ImageTagOptions.cjs +3 -3
- package/src/components/docker/options/image/ImageTagOptions.mjs +3 -3
- package/src/components/docker/options/network/NetworkCreateOptions.cjs +3 -3
- package/src/components/docker/options/network/NetworkCreateOptions.mjs +3 -3
- package/src/components/entrypoint/Entrypoint.cjs +9 -9
- package/src/components/entrypoint/Entrypoint.mjs +9 -9
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +1 -1
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +1 -1
- package/src/components/entrypoint/lib/Controller.cjs +8 -8
- package/src/components/entrypoint/lib/Controller.mjs +8 -8
- package/src/constants/DIMetadataKey.cjs +2 -2
- package/src/constants/DIMetadataKey.mjs +2 -2
- package/src/constants/DTOMetadataKey.cjs +2 -2
- package/src/constants/DTOMetadataKey.mjs +2 -2
- package/src/decorators/asst/After.cjs +1 -1
- package/src/decorators/asst/After.mjs +1 -1
- package/src/decorators/asst/Before.cjs +1 -1
- package/src/decorators/asst/Before.mjs +1 -1
- package/src/decorators/ctrl/CLIAction.cjs +4 -4
- package/src/decorators/ctrl/CLIAction.mjs +4 -4
- package/src/decorators/ctrl/HTTPAction.cjs +4 -4
- package/src/decorators/ctrl/HTTPAction.mjs +4 -4
- package/src/decorators/ctrl/ServiceAction.cjs +4 -4
- package/src/decorators/ctrl/ServiceAction.mjs +4 -4
- package/src/decorators/di/Autoload.cjs +2 -2
- package/src/decorators/di/Autoload.mjs +2 -2
- package/src/decorators/di/Configurable.cjs +3 -3
- package/src/decorators/di/Configurable.mjs +3 -3
- package/src/decorators/di/Inject.cjs +3 -3
- package/src/decorators/di/Inject.mjs +3 -3
- package/src/decorators/di/Lifetime.cjs +2 -2
- package/src/decorators/di/Lifetime.mjs +2 -2
- package/src/decorators/dto/Accept.cjs +3 -3
- package/src/decorators/dto/Accept.mjs +3 -3
- package/src/decorators/dto/Expect.cjs +3 -3
- package/src/decorators/dto/Expect.mjs +3 -3
- package/src/decorators/dto/IndexSignature.cjs +3 -3
- package/src/decorators/dto/IndexSignature.mjs +3 -3
- package/src/decorators/dto/Return.cjs +3 -3
- package/src/decorators/dto/Return.mjs +3 -3
- package/src/decorators/orm/AfterInsert.cjs +20 -20
- package/src/decorators/orm/AfterInsert.mjs +20 -20
- package/src/decorators/orm/AfterLoad.cjs +20 -20
- package/src/decorators/orm/AfterLoad.mjs +20 -20
- package/src/decorators/orm/AfterRecover.cjs +20 -20
- package/src/decorators/orm/AfterRecover.mjs +20 -20
- package/src/decorators/orm/AfterRemove.cjs +20 -20
- package/src/decorators/orm/AfterRemove.mjs +25 -25
- package/src/decorators/orm/AfterSoftRemove.cjs +20 -20
- package/src/decorators/orm/AfterSoftRemove.mjs +25 -25
- package/src/decorators/orm/AfterUpdate.cjs +20 -20
- package/src/decorators/orm/AfterUpdate.mjs +20 -20
- package/src/decorators/orm/BeforeInsert.cjs +20 -20
- package/src/decorators/orm/BeforeInsert.mjs +20 -20
- package/src/decorators/orm/BeforeRecover.cjs +20 -20
- package/src/decorators/orm/BeforeRecover.mjs +25 -25
- package/src/decorators/orm/BeforeRemove.cjs +20 -20
- package/src/decorators/orm/BeforeRemove.mjs +20 -20
- package/src/decorators/orm/BeforeSoftRemove.cjs +20 -20
- package/src/decorators/orm/BeforeSoftRemove.mjs +26 -26
- package/src/decorators/orm/BeforeUpdate.cjs +20 -20
- package/src/decorators/orm/BeforeUpdate.mjs +25 -25
- package/src/decorators/orm/Check.cjs +20 -20
- package/src/decorators/orm/Check.mjs +20 -20
- package/src/decorators/orm/ChildEntity.cjs +20 -20
- package/src/decorators/orm/ChildEntity.mjs +20 -20
- package/src/decorators/orm/Column.cjs +20 -20
- package/src/decorators/orm/Column.mjs +20 -20
- package/src/decorators/orm/CreateDateColumn.cjs +20 -20
- package/src/decorators/orm/CreateDateColumn.mjs +28 -28
- package/src/decorators/orm/DeleteDateColumn.cjs +20 -20
- package/src/decorators/orm/DeleteDateColumn.mjs +20 -20
- package/src/decorators/orm/Entity.cjs +20 -20
- package/src/decorators/orm/Entity.mjs +20 -20
- package/src/decorators/orm/EventSubscriber.cjs +20 -20
- package/src/decorators/orm/EventSubscriber.mjs +20 -20
- package/src/decorators/orm/Exclusion.cjs +20 -20
- package/src/decorators/orm/Exclusion.mjs +20 -20
- package/src/decorators/orm/Generated.cjs +20 -20
- package/src/decorators/orm/Generated.mjs +20 -20
- package/src/decorators/orm/Index.cjs +20 -20
- package/src/decorators/orm/Index.mjs +20 -20
- package/src/decorators/orm/JoinColumn.cjs +20 -20
- package/src/decorators/orm/JoinColumn.mjs +20 -20
- package/src/decorators/orm/JoinTable.cjs +20 -20
- package/src/decorators/orm/JoinTable.mjs +20 -20
- package/src/decorators/orm/ManyToMany.cjs +20 -20
- package/src/decorators/orm/ManyToMany.mjs +20 -20
- package/src/decorators/orm/ManyToOne.cjs +20 -20
- package/src/decorators/orm/ManyToOne.mjs +20 -20
- package/src/decorators/orm/ObjectIdColumn.cjs +20 -20
- package/src/decorators/orm/ObjectIdColumn.mjs +20 -20
- package/src/decorators/orm/OneToMany.cjs +20 -20
- package/src/decorators/orm/OneToMany.mjs +20 -20
- package/src/decorators/orm/OneToOne.cjs +20 -20
- package/src/decorators/orm/OneToOne.mjs +20 -20
- package/src/decorators/orm/PrimaryColumn.cjs +20 -20
- package/src/decorators/orm/PrimaryColumn.mjs +36 -36
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +20 -20
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +20 -20
- package/src/decorators/orm/RelationId.cjs +20 -20
- package/src/decorators/orm/RelationId.mjs +22 -22
- package/src/decorators/orm/TableInheritance.cjs +20 -20
- package/src/decorators/orm/TableInheritance.mjs +31 -31
- package/src/decorators/orm/Tree.cjs +20 -20
- package/src/decorators/orm/Tree.mjs +20 -20
- package/src/decorators/orm/TreeChildren.cjs +20 -20
- package/src/decorators/orm/TreeChildren.mjs +25 -25
- package/src/decorators/orm/TreeLevelColumn.cjs +20 -20
- package/src/decorators/orm/TreeLevelColumn.mjs +28 -28
- package/src/decorators/orm/TreeParent.cjs +20 -20
- package/src/decorators/orm/TreeParent.mjs +20 -20
- package/src/decorators/orm/Unique.cjs +20 -20
- package/src/decorators/orm/Unique.mjs +23 -23
- package/src/decorators/orm/UpdateDateColumn.cjs +20 -20
- package/src/decorators/orm/UpdateDateColumn.mjs +20 -20
- package/src/decorators/orm/VersionColumn.cjs +20 -20
- package/src/decorators/orm/VersionColumn.mjs +20 -20
- package/src/decorators/orm/ViewColumn.cjs +20 -20
- package/src/decorators/orm/ViewColumn.mjs +20 -20
- package/src/decorators/orm/ViewEntity.cjs +20 -20
- package/src/decorators/orm/ViewEntity.mjs +24 -24
- package/src/decorators/orm/VirtualColumn.cjs +20 -20
- package/src/decorators/orm/VirtualColumn.mjs +23 -23
- package/src/exceptions/DestroyRuntimeContainerException.cjs +1 -1
- package/src/exceptions/DestroyRuntimeContainerException.mjs +1 -1
- package/src/exceptions/InvalidActionPatternDepthException.cjs +1 -1
- package/src/exceptions/InvalidActionPatternDepthException.mjs +1 -1
- package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +1 -1
- package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +1 -1
- package/src/exceptions/InvalidObjectTypeException.cjs +1 -1
- package/src/exceptions/InvalidObjectTypeException.mjs +1 -1
- package/src/exceptions/MethodNotFoundException.cjs +1 -1
- package/src/exceptions/MethodNotFoundException.mjs +1 -1
- package/src/exceptions/alias/AliasExistsException.cjs +1 -1
- package/src/exceptions/alias/AliasExistsException.mjs +1 -1
- package/src/exceptions/alias/AliasNotFoundException.cjs +1 -1
- package/src/exceptions/alias/AliasNotFoundException.mjs +1 -1
- package/src/exceptions/alias/InvalidAliasNameException.cjs +1 -1
- package/src/exceptions/alias/InvalidAliasNameException.mjs +1 -1
- package/src/exceptions/di/DependencyInjectionException.cjs +1 -1
- package/src/exceptions/di/DependencyInjectionException.mjs +1 -1
- package/src/exceptions/di/LifetimeLockedException.cjs +1 -1
- package/src/exceptions/di/LifetimeLockedException.mjs +1 -1
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +1 -1
- package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +1 -1
- package/src/exceptions/dto/InvalidMethodAcceptException.cjs +1 -1
- package/src/exceptions/dto/InvalidMethodAcceptException.mjs +1 -1
- package/src/exceptions/dto/InvalidMethodReturnException.cjs +1 -1
- package/src/exceptions/dto/InvalidMethodReturnException.mjs +1 -1
- package/src/exceptions/dto/InvalidValueException.cjs +1 -1
- package/src/exceptions/dto/InvalidValueException.mjs +1 -1
- package/src/lib/base/BaseObject.cjs +8 -8
- package/src/lib/base/BaseObject.mjs +8 -8
- package/src/lib/base/Context.cjs +3 -3
- package/src/lib/base/Context.mjs +3 -3
- package/src/lib/base/EventEmitter.cjs +1 -1
- package/src/lib/base/EventEmitter.mjs +1 -1
- package/src/lib/base/abstracts/Exception.cjs +1 -1
- package/src/lib/base/abstracts/Exception.mjs +1 -1
- package/src/lib/base/internal/ApplicationConfigLoader.cjs +8 -8
- package/src/lib/base/internal/ApplicationConfigLoader.mjs +8 -8
- package/src/lib/base/internal/BasicInfo.cjs +1 -1
- package/src/lib/base/internal/BasicInfo.mjs +1 -1
- package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +2 -2
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +2 -2
- package/src/lib/base/internal/ConstructorSymbol.cjs +2 -2
- package/src/lib/base/internal/ConstructorSymbol.mjs +2 -2
- package/src/lib/base/internal/ControllerEntrypoint.cjs +2 -2
- package/src/lib/base/internal/ControllerEntrypoint.mjs +2 -2
- package/src/lib/base/internal/DataValidator.cjs +2 -2
- package/src/lib/base/internal/DataValidator.mjs +2 -2
- package/src/lib/base/internal/FlexibleDTO.cjs +3 -3
- package/src/lib/base/internal/FlexibleDTO.mjs +3 -3
- package/src/lib/base/internal/MethodAssistantFunction.cjs +1 -1
- package/src/lib/base/internal/MethodAssistantFunction.mjs +1 -1
- package/src/lib/base/internal/MethodValidation.cjs +3 -3
- package/src/lib/base/internal/MethodValidation.mjs +3 -3
- package/src/lib/base/internal/ModuleConfigLoader.cjs +8 -8
- package/src/lib/base/internal/ModuleConfigLoader.mjs +8 -8
- package/src/lib/base/internal/ObjectConfiguration.cjs +3 -3
- package/src/lib/base/internal/ObjectConfiguration.mjs +3 -3
- package/src/lib/base/internal/ObjectContainer.cjs +2 -2
- package/src/lib/base/internal/ObjectContainer.mjs +2 -2
- package/src/lib/base/internal/ObjectInjection.cjs +2 -2
- package/src/lib/base/internal/ObjectInjection.mjs +2 -2
- package/src/lib/base/internal/ObjectLifetime.cjs +2 -2
- package/src/lib/base/internal/ObjectLifetime.mjs +2 -2
- package/src/lib/base/internal/ObjectSchemaValidation.cjs +3 -3
- package/src/lib/base/internal/ObjectSchemaValidation.mjs +3 -3
- package/src/lib/base/internal/ObjectType.cjs +8 -8
- package/src/lib/base/internal/ObjectType.mjs +8 -8
- package/src/lib/base/internal/PatternManager.cjs +1 -1
- package/src/lib/base/internal/PatternManager.mjs +1 -1
- package/src/lib/context/CLIContext.cjs +3 -3
- package/src/lib/context/CLIContext.mjs +3 -3
- package/src/lib/context/HTTPContext.cjs +3 -3
- package/src/lib/context/HTTPContext.mjs +3 -3
- package/src/lib/context/ServiceContext.cjs +3 -3
- package/src/lib/context/ServiceContext.mjs +3 -3
- package/src/lib/core/Alias.cjs +1 -1
- package/src/lib/core/Alias.mjs +1 -1
- package/src/lib/core/Application.cjs +13 -13
- package/src/lib/core/Application.mjs +13 -13
- package/src/lib/core/Component.cjs +8 -8
- package/src/lib/core/Component.mjs +8 -8
- package/src/lib/core/Container.cjs +8 -8
- package/src/lib/core/Container.mjs +8 -8
- package/src/lib/core/DTO.cjs +3 -3
- package/src/lib/core/DTO.mjs +3 -3
- package/src/lib/core/Module.cjs +9 -9
- package/src/lib/core/Module.mjs +9 -9
- package/src/lib/core/Provider.cjs +8 -8
- package/src/lib/core/Provider.mjs +8 -8
- package/src/lib/core/Time.cjs +2 -2
- package/src/lib/core/Time.mjs +2 -2
- package/src/lib/helpers/Glob.cjs +1 -1
- package/src/lib/helpers/Glob.mjs +1 -1
- package/src/lib/helpers/IsGlobString.cjs +1 -1
- package/src/lib/helpers/IsGlobString.mjs +1 -1
- package/src/lib/helpers/IsHtml.cjs +1 -1
- package/src/lib/helpers/IsHtml.mjs +1 -1
- package/src/lib/helpers/IsSymbol.cjs +3 -3
- package/src/lib/helpers/IsSymbol.mjs +3 -3
- package/src/lib/helpers/IsXML.cjs +1 -1
- package/src/lib/helpers/IsXML.mjs +1 -1
- package/src/lib/helpers/MD5.cjs +2 -2
- package/src/lib/helpers/MD5.mjs +2 -2
- package/src/lib/helpers/NonceStr.cjs +2 -2
- package/src/lib/helpers/NonceStr.mjs +2 -2
- package/src/lib/helpers/ObjectHash.cjs +2 -2
- package/src/lib/helpers/ObjectHash.mjs +2 -2
- package/src/lib/helpers/RandomString.cjs +2 -2
- package/src/lib/helpers/RandomString.mjs +2 -2
- package/src/lib/helpers/SHA1.cjs +2 -2
- package/src/lib/helpers/SHA1.mjs +2 -2
- package/src/lib/helpers/SHA256.cjs +2 -2
- package/src/lib/helpers/SHA256.mjs +2 -2
- package/src/lib/ioc/DependencyInjectionContainer.cjs +7 -7
- package/src/lib/ioc/DependencyInjectionContainer.mjs +7 -7
- package/src/lib/ioc/Errors.cjs +3 -3
- package/src/lib/ioc/Errors.mjs +3 -3
- package/src/lib/ioc/ListModules.cjs +4 -4
- package/src/lib/ioc/ListModules.mjs +4 -4
- package/src/lib/ioc/LoadModules.cjs +3 -3
- package/src/lib/ioc/LoadModules.mjs +3 -3
- package/src/lib/ioc/Resolvers.cjs +3 -3
- package/src/lib/ioc/Resolvers.mjs +3 -3
- package/src/lib/ioc/Utils.cjs +3 -3
- package/src/lib/ioc/Utils.mjs +3 -3
- package/src/lib/validation/VLD.cjs +1 -1
- package/src/lib/validation/VLD.mjs +1 -1
- package/src/options/ApplicationOptions.cjs +8 -8
- package/src/options/ApplicationOptions.mjs +8 -8
- package/src/options/LoadAnonymousObjectOptions.cjs +8 -8
- package/src/options/LoadAnonymousObjectOptions.mjs +8 -8
- package/src/options/LoadNamedObjectOptions.cjs +8 -8
- package/src/options/LoadNamedObjectOptions.mjs +8 -8
- package/src/options/LoadObjectOptions.cjs +8 -8
- package/src/options/LoadObjectOptions.mjs +8 -8
- package/src/options/ModuleLoadObjectsOptions.cjs +8 -8
- package/src/options/ModuleLoadObjectsOptions.mjs +8 -8
- package/src/options/ModuleOptions.cjs +8 -8
- package/src/options/ModuleOptions.mjs +8 -8
- package/src/options/OverridableNamedObjectOptions.cjs +8 -8
- package/src/options/OverridableNamedObjectOptions.mjs +8 -8
- package/src/options/OverridableObjectOptions.cjs +8 -8
- package/src/options/OverridableObjectOptions.mjs +8 -8
- package/src/providers/Database.cjs +287 -0
- package/src/providers/Database.mjs +281 -0
- package/vendor/Package.10.cjs +79 -5
- package/vendor/Package.10.mjs +73 -5
- package/vendor/Package.11.cjs +9 -1
- package/vendor/Package.11.mjs +9 -1
- package/vendor/Package.12.cjs +1 -14055
- package/vendor/Package.12.mjs +1 -14029
- package/vendor/Package.13.cjs +365 -47129
- package/vendor/Package.13.mjs +356 -47074
- package/vendor/Package.14.cjs +14051 -5
- package/vendor/Package.14.mjs +14025 -5
- package/vendor/Package.15.cjs +518 -515
- package/vendor/Package.15.mjs +445 -438
- package/vendor/Package.2.cjs +5 -7002
- package/vendor/Package.2.mjs +5 -6992
- package/vendor/Package.22.cjs +47244 -0
- package/vendor/Package.22.mjs +47178 -0
- package/vendor/Package.3.cjs +925 -455
- package/vendor/Package.3.mjs +925 -437
- package/vendor/Package.4.cjs +37 -939
- package/vendor/Package.4.mjs +35 -941
- package/vendor/Package.5.cjs +6992 -32
- package/vendor/Package.5.mjs +6984 -30
- package/vendor/Package.7.cjs +1 -1
- package/vendor/Package.7.mjs +1 -1
- package/vendor/Package.72.cjs +547 -4092
- package/vendor/Package.72.mjs +538 -4093
- package/vendor/Package.73.cjs +1 -1
- package/vendor/Package.73.mjs +1 -1
- package/vendor/Package.74.cjs +4148 -67
- package/vendor/Package.74.mjs +4157 -62
- package/vendor/Package.9.cjs +1 -1
- package/vendor/Package.9.mjs +1 -1
- package/vendor/TypeDef.12.d.ts +1 -1
- package/vendor/TypeDef.4.d.ts +2 -2
- package/vendor/Package.75.cjs +0 -621
- package/vendor/Package.75.mjs +0 -617
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { _ as t, a as e } from "../../vendor/Package.1.mjs";
|
|
2
|
+
|
|
3
|
+
import { Configurable as r } from "../decorators/di/Configurable.mjs";
|
|
4
|
+
|
|
5
|
+
import { Transient as i } from "../decorators/di/Lifetime.mjs";
|
|
6
|
+
|
|
7
|
+
import { D as o } from "../../vendor/Package.2.mjs";
|
|
8
|
+
|
|
9
|
+
import { Provider as s } from "../lib/core/Provider.mjs";
|
|
10
|
+
|
|
11
|
+
import "../lib/base/internal/ObjectConfiguration.mjs";
|
|
12
|
+
|
|
13
|
+
import "../constants/DIMetadataKey.mjs";
|
|
14
|
+
|
|
15
|
+
import "../../vendor/Package.3.mjs";
|
|
16
|
+
|
|
17
|
+
import "../../vendor/Package.4.mjs";
|
|
18
|
+
|
|
19
|
+
import "../../vendor/Package.5.mjs";
|
|
20
|
+
|
|
21
|
+
import "../lib/base/internal/DataValidator.mjs";
|
|
22
|
+
|
|
23
|
+
import "node:util/types";
|
|
24
|
+
|
|
25
|
+
import "../lib/validation/VLD.mjs";
|
|
26
|
+
|
|
27
|
+
import "../../vendor/Package.6.mjs";
|
|
28
|
+
|
|
29
|
+
import "url";
|
|
30
|
+
|
|
31
|
+
import "util";
|
|
32
|
+
|
|
33
|
+
import "../exceptions/dto/InvalidValueException.mjs";
|
|
34
|
+
|
|
35
|
+
import "../lib/base/abstracts/Exception.mjs";
|
|
36
|
+
|
|
37
|
+
import "../lib/base/internal/BasicInfo.mjs";
|
|
38
|
+
|
|
39
|
+
import "../lib/helpers/As.mjs";
|
|
40
|
+
|
|
41
|
+
import "../../vendor/Package.7.mjs";
|
|
42
|
+
|
|
43
|
+
import "../../vendor/Package.8.mjs";
|
|
44
|
+
|
|
45
|
+
import "../lib/base/internal/ThrowWarning.mjs";
|
|
46
|
+
|
|
47
|
+
import "../lib/helpers/Templating.mjs";
|
|
48
|
+
|
|
49
|
+
import "../lib/base/internal/CamelCase.mjs";
|
|
50
|
+
|
|
51
|
+
import "../lib/helpers/NoCase.mjs";
|
|
52
|
+
|
|
53
|
+
import "../../vendor/Package.9.mjs";
|
|
54
|
+
|
|
55
|
+
import "../lib/helpers/IsHtml.mjs";
|
|
56
|
+
|
|
57
|
+
import "../lib/helpers/IsXML.mjs";
|
|
58
|
+
|
|
59
|
+
import "../constants/DTOMetadataKey.mjs";
|
|
60
|
+
|
|
61
|
+
import "../lib/helpers/ObjectConstructor.mjs";
|
|
62
|
+
|
|
63
|
+
import "../lib/helpers/ObjectParentConstructors.mjs";
|
|
64
|
+
|
|
65
|
+
import "../lib/helpers/ObjectParentConstructor.mjs";
|
|
66
|
+
|
|
67
|
+
import "../lib/helpers/ObjectPrototype.mjs";
|
|
68
|
+
|
|
69
|
+
import "../lib/base/internal/ObjectLifetime.mjs";
|
|
70
|
+
|
|
71
|
+
import "../exceptions/di/LifetimeLockedException.mjs";
|
|
72
|
+
|
|
73
|
+
import "../../vendor/Package.22.mjs";
|
|
74
|
+
|
|
75
|
+
import "../../vendor/Package.72.mjs";
|
|
76
|
+
|
|
77
|
+
import "../../vendor/Package.10.mjs";
|
|
78
|
+
|
|
79
|
+
import "buffer";
|
|
80
|
+
|
|
81
|
+
import "module";
|
|
82
|
+
|
|
83
|
+
import "tty";
|
|
84
|
+
|
|
85
|
+
import "../../vendor/Package.11.mjs";
|
|
86
|
+
|
|
87
|
+
import "fs";
|
|
88
|
+
|
|
89
|
+
import "path";
|
|
90
|
+
|
|
91
|
+
import "os";
|
|
92
|
+
|
|
93
|
+
import "events";
|
|
94
|
+
|
|
95
|
+
import "stream";
|
|
96
|
+
|
|
97
|
+
import "../../vendor/Package.12.mjs";
|
|
98
|
+
|
|
99
|
+
import "crypto";
|
|
100
|
+
|
|
101
|
+
import "fs/promises";
|
|
102
|
+
|
|
103
|
+
import "../../vendor/Package.73.mjs";
|
|
104
|
+
|
|
105
|
+
import "node:url";
|
|
106
|
+
|
|
107
|
+
import "node:path";
|
|
108
|
+
|
|
109
|
+
import "node:fs";
|
|
110
|
+
|
|
111
|
+
import "node:fs/promises";
|
|
112
|
+
|
|
113
|
+
import "node:events";
|
|
114
|
+
|
|
115
|
+
import "node:stream";
|
|
116
|
+
|
|
117
|
+
import "node:string_decoder";
|
|
118
|
+
|
|
119
|
+
import "../../vendor/Package.13.mjs";
|
|
120
|
+
|
|
121
|
+
import "../lib/base/async-constructor/AsyncConstructor.mjs";
|
|
122
|
+
|
|
123
|
+
import "../lib/base/async-constructor/Append.mjs";
|
|
124
|
+
|
|
125
|
+
import "../lib/helpers/IsPromiseLike.mjs";
|
|
126
|
+
|
|
127
|
+
import "../lib/helpers/IsPromise.mjs";
|
|
128
|
+
|
|
129
|
+
import "util/types";
|
|
130
|
+
|
|
131
|
+
import "../exceptions/MethodNotFoundException.mjs";
|
|
132
|
+
|
|
133
|
+
import "../lib/ioc/DependencyInjectionContainer.mjs";
|
|
134
|
+
|
|
135
|
+
import "../lib/ioc/Errors.mjs";
|
|
136
|
+
|
|
137
|
+
import "../exceptions/di/DependencyInjectionException.mjs";
|
|
138
|
+
|
|
139
|
+
import "../lib/base/internal/ConstructorSymbol.mjs";
|
|
140
|
+
|
|
141
|
+
import "node:crypto";
|
|
142
|
+
|
|
143
|
+
import "../lib/ioc/InjectionMode.mjs";
|
|
144
|
+
|
|
145
|
+
import "../lib/ioc/Lifetime.mjs";
|
|
146
|
+
|
|
147
|
+
import "../lib/ioc/ListModules.mjs";
|
|
148
|
+
|
|
149
|
+
import "../lib/ioc/Utils.mjs";
|
|
150
|
+
|
|
151
|
+
import "../lib/ioc/FunctionTokenizer.mjs";
|
|
152
|
+
|
|
153
|
+
import "../lib/ioc/LoadModules.mjs";
|
|
154
|
+
|
|
155
|
+
import "../lib/ioc/Resolvers.mjs";
|
|
156
|
+
|
|
157
|
+
import "../lib/ioc/ParamParser.mjs";
|
|
158
|
+
|
|
159
|
+
import "../lib/base/internal/ObjectWeakRefs.mjs";
|
|
160
|
+
|
|
161
|
+
import "../lib/base/internal/ConfigurableRecordsInjection.mjs";
|
|
162
|
+
|
|
163
|
+
import "../lib/base/internal/ObjectInjection.mjs";
|
|
164
|
+
|
|
165
|
+
import "../lib/base/internal/ObjectContainer.mjs";
|
|
166
|
+
|
|
167
|
+
import "../lib/helpers/DevNull.mjs";
|
|
168
|
+
|
|
169
|
+
import "../decorators/dto/Expect.mjs";
|
|
170
|
+
|
|
171
|
+
import "../decorators/dto/IndexSignature.mjs";
|
|
172
|
+
|
|
173
|
+
import "../decorators/dto/Accept.mjs";
|
|
174
|
+
|
|
175
|
+
import "../lib/base/internal/MethodValidation.mjs";
|
|
176
|
+
|
|
177
|
+
import "../exceptions/dto/InvalidMethodAcceptException.mjs";
|
|
178
|
+
|
|
179
|
+
import "../exceptions/dto/InvalidMethodReturnException.mjs";
|
|
180
|
+
|
|
181
|
+
import "../lib/helpers/IsEmptyObject.mjs";
|
|
182
|
+
|
|
183
|
+
const a = t => ({
|
|
184
|
+
class: n,
|
|
185
|
+
options: t
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
let n = class Database extends s {
|
|
189
|
+
#t;
|
|
190
|
+
get datasource() {
|
|
191
|
+
return this.#t;
|
|
192
|
+
}
|
|
193
|
+
get driver() {
|
|
194
|
+
return this.datasource.driver;
|
|
195
|
+
}
|
|
196
|
+
get manager() {
|
|
197
|
+
return this.datasource.manager;
|
|
198
|
+
}
|
|
199
|
+
set namingStrategy(t) {
|
|
200
|
+
this.datasource.namingStrategy = t;
|
|
201
|
+
}
|
|
202
|
+
get namingStrategy() {
|
|
203
|
+
return this.datasource.namingStrategy;
|
|
204
|
+
}
|
|
205
|
+
get subscribers() {
|
|
206
|
+
return this.datasource.subscribers;
|
|
207
|
+
}
|
|
208
|
+
get entityMetadatas() {
|
|
209
|
+
return this.datasource.entityMetadatas;
|
|
210
|
+
}
|
|
211
|
+
get entityMetadatasMap() {
|
|
212
|
+
return this.datasource.entityMetadatasMap;
|
|
213
|
+
}
|
|
214
|
+
get queryResultCache() {
|
|
215
|
+
return this.datasource.queryResultCache;
|
|
216
|
+
}
|
|
217
|
+
async init() {
|
|
218
|
+
const t = this.entities ? this.entities : [];
|
|
219
|
+
const e = {
|
|
220
|
+
...this.options,
|
|
221
|
+
entities: t
|
|
222
|
+
};
|
|
223
|
+
this.#t = await new o.DataSource(this.options).initialize();
|
|
224
|
+
}
|
|
225
|
+
async destroy() {
|
|
226
|
+
await this.datasource.destroy();
|
|
227
|
+
}
|
|
228
|
+
async synchronize(t) {
|
|
229
|
+
return await this.datasource.synchronize(t);
|
|
230
|
+
}
|
|
231
|
+
async runMigrations(t) {
|
|
232
|
+
return await this.datasource.runMigrations(t);
|
|
233
|
+
}
|
|
234
|
+
async undoLastMigration(t) {
|
|
235
|
+
return await this.datasource.undoLastMigration(t);
|
|
236
|
+
}
|
|
237
|
+
async showMigrations() {
|
|
238
|
+
return await this.datasource.showMigrations();
|
|
239
|
+
}
|
|
240
|
+
hasMetadata(t) {
|
|
241
|
+
return this.datasource.hasMetadata(t);
|
|
242
|
+
}
|
|
243
|
+
getMetadata(t) {
|
|
244
|
+
return this.datasource.getMetadata(t);
|
|
245
|
+
}
|
|
246
|
+
getRepository(t) {
|
|
247
|
+
return this.datasource.getRepository(t);
|
|
248
|
+
}
|
|
249
|
+
getTreeRepository(t) {
|
|
250
|
+
return this.datasource.getTreeRepository(t);
|
|
251
|
+
}
|
|
252
|
+
getMongoRepository(t) {
|
|
253
|
+
return this.datasource.getMongoRepository(t);
|
|
254
|
+
}
|
|
255
|
+
async transaction(t, e) {
|
|
256
|
+
return e ? await this.datasource.transaction(t, e) : await this.datasource.transaction(t);
|
|
257
|
+
}
|
|
258
|
+
async query(t, e, r) {
|
|
259
|
+
return await this.datasource.query(t, e, r);
|
|
260
|
+
}
|
|
261
|
+
createQueryBuilder(t, e, r) {
|
|
262
|
+
return arguments.length > 1 ? this.datasource.createQueryBuilder(t, e, r) : this.datasource.createQueryBuilder(t);
|
|
263
|
+
}
|
|
264
|
+
createQueryRunner(t) {
|
|
265
|
+
return this.datasource.createQueryRunner(t);
|
|
266
|
+
}
|
|
267
|
+
getManyToManyMetadata(t, e) {
|
|
268
|
+
return this.datasource.getManyToManyMetadata(t, e);
|
|
269
|
+
}
|
|
270
|
+
createEntityManager(t) {
|
|
271
|
+
return this.datasource.createEntityManager(t);
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
t([ r(), e("design:type", Object) ], n.prototype, "options", void 0);
|
|
276
|
+
|
|
277
|
+
t([ r(), e("design:type", Object) ], n.prototype, "entities", void 0);
|
|
278
|
+
|
|
279
|
+
n = t([ i() ], n);
|
|
280
|
+
|
|
281
|
+
export { a as BuildDatabaseOptions, n as Database };
|
package/vendor/Package.10.cjs
CHANGED
|
@@ -1,11 +1,85 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("
|
|
3
|
+
require("./Package.4.cjs");
|
|
4
4
|
|
|
5
|
-
require("
|
|
5
|
+
const e = require("buffer");
|
|
6
6
|
|
|
7
|
-
require("
|
|
7
|
+
require("module");
|
|
8
8
|
|
|
9
|
-
require("
|
|
9
|
+
require("tty");
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
const r = e => e && e.__esModule ? e : {
|
|
12
|
+
default: e
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const t = r(e);
|
|
16
|
+
|
|
17
|
+
var n = {
|
|
18
|
+
exports: {}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
var o = n.exports;
|
|
22
|
+
|
|
23
|
+
var u;
|
|
24
|
+
|
|
25
|
+
function f() {
|
|
26
|
+
if (u) return n.exports;
|
|
27
|
+
u = 1;
|
|
28
|
+
(function(e, r) {
|
|
29
|
+
var n = t.default;
|
|
30
|
+
var o = n.Buffer;
|
|
31
|
+
function u(e, r) {
|
|
32
|
+
for (var t in e) {
|
|
33
|
+
r[t] = e[t];
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
if (o.from && o.alloc && o.allocUnsafe && o.allocUnsafeSlow) {
|
|
37
|
+
e.exports = n;
|
|
38
|
+
} else {
|
|
39
|
+
u(n, r);
|
|
40
|
+
r.Buffer = f;
|
|
41
|
+
}
|
|
42
|
+
function f(e, r, t) {
|
|
43
|
+
return o(e, r, t);
|
|
44
|
+
}
|
|
45
|
+
f.prototype = Object.create(o.prototype);
|
|
46
|
+
u(o, f);
|
|
47
|
+
f.from = function(e, r, t) {
|
|
48
|
+
if (typeof e === "number") {
|
|
49
|
+
throw new TypeError("Argument must not be a number");
|
|
50
|
+
}
|
|
51
|
+
return o(e, r, t);
|
|
52
|
+
};
|
|
53
|
+
f.alloc = function(e, r, t) {
|
|
54
|
+
if (typeof e !== "number") {
|
|
55
|
+
throw new TypeError("Argument must be a number");
|
|
56
|
+
}
|
|
57
|
+
var n = o(e);
|
|
58
|
+
if (r !== undefined) {
|
|
59
|
+
if (typeof t === "string") {
|
|
60
|
+
n.fill(r, t);
|
|
61
|
+
} else {
|
|
62
|
+
n.fill(r);
|
|
63
|
+
}
|
|
64
|
+
} else {
|
|
65
|
+
n.fill(0);
|
|
66
|
+
}
|
|
67
|
+
return n;
|
|
68
|
+
};
|
|
69
|
+
f.allocUnsafe = function(e) {
|
|
70
|
+
if (typeof e !== "number") {
|
|
71
|
+
throw new TypeError("Argument must be a number");
|
|
72
|
+
}
|
|
73
|
+
return o(e);
|
|
74
|
+
};
|
|
75
|
+
f.allocUnsafeSlow = function(e) {
|
|
76
|
+
if (typeof e !== "number") {
|
|
77
|
+
throw new TypeError("Argument must be a number");
|
|
78
|
+
}
|
|
79
|
+
return n.SlowBuffer(e);
|
|
80
|
+
};
|
|
81
|
+
})(n, n.exports);
|
|
82
|
+
return n.exports;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
exports.requireSafeBuffer = f;
|
package/vendor/Package.10.mjs
CHANGED
|
@@ -1,9 +1,77 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "./Package.4.mjs";
|
|
2
2
|
|
|
3
|
-
import "
|
|
3
|
+
import r from "buffer";
|
|
4
4
|
|
|
5
|
-
import "
|
|
5
|
+
import "module";
|
|
6
6
|
|
|
7
|
-
import "
|
|
7
|
+
import "tty";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
var e = {
|
|
10
|
+
exports: {}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
var t = e.exports;
|
|
14
|
+
|
|
15
|
+
var o;
|
|
16
|
+
|
|
17
|
+
function n() {
|
|
18
|
+
if (o) return e.exports;
|
|
19
|
+
o = 1;
|
|
20
|
+
(function(e, t) {
|
|
21
|
+
var o = r;
|
|
22
|
+
var n = o.Buffer;
|
|
23
|
+
function f(r, e) {
|
|
24
|
+
for (var t in r) {
|
|
25
|
+
e[t] = r[t];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (n.from && n.alloc && n.allocUnsafe && n.allocUnsafeSlow) {
|
|
29
|
+
e.exports = o;
|
|
30
|
+
} else {
|
|
31
|
+
f(o, t);
|
|
32
|
+
t.Buffer = u;
|
|
33
|
+
}
|
|
34
|
+
function u(r, e, t) {
|
|
35
|
+
return n(r, e, t);
|
|
36
|
+
}
|
|
37
|
+
u.prototype = Object.create(n.prototype);
|
|
38
|
+
f(n, u);
|
|
39
|
+
u.from = function(r, e, t) {
|
|
40
|
+
if (typeof r === "number") {
|
|
41
|
+
throw new TypeError("Argument must not be a number");
|
|
42
|
+
}
|
|
43
|
+
return n(r, e, t);
|
|
44
|
+
};
|
|
45
|
+
u.alloc = function(r, e, t) {
|
|
46
|
+
if (typeof r !== "number") {
|
|
47
|
+
throw new TypeError("Argument must be a number");
|
|
48
|
+
}
|
|
49
|
+
var o = n(r);
|
|
50
|
+
if (e !== undefined) {
|
|
51
|
+
if (typeof t === "string") {
|
|
52
|
+
o.fill(e, t);
|
|
53
|
+
} else {
|
|
54
|
+
o.fill(e);
|
|
55
|
+
}
|
|
56
|
+
} else {
|
|
57
|
+
o.fill(0);
|
|
58
|
+
}
|
|
59
|
+
return o;
|
|
60
|
+
};
|
|
61
|
+
u.allocUnsafe = function(r) {
|
|
62
|
+
if (typeof r !== "number") {
|
|
63
|
+
throw new TypeError("Argument must be a number");
|
|
64
|
+
}
|
|
65
|
+
return n(r);
|
|
66
|
+
};
|
|
67
|
+
u.allocUnsafeSlow = function(r) {
|
|
68
|
+
if (typeof r !== "number") {
|
|
69
|
+
throw new TypeError("Argument must be a number");
|
|
70
|
+
}
|
|
71
|
+
return o.SlowBuffer(r);
|
|
72
|
+
};
|
|
73
|
+
})(e, e.exports);
|
|
74
|
+
return e.exports;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { n as r };
|
package/vendor/Package.11.cjs
CHANGED