lakutata 2.0.70 → 2.0.72
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/cacher.cjs +4 -8
- package/com/cacher.mjs +4 -8
- package/com/database.cjs +6 -10
- package/com/database.mjs +6 -10
- package/com/docker.cjs +19 -23
- package/com/docker.mjs +15 -19
- package/com/entrypoint.cjs +1 -5
- package/com/entrypoint.mjs +1 -5
- package/com/logger.cjs +4 -8
- package/com/logger.mjs +4 -8
- package/com/monitor.cjs +1 -5
- package/com/monitor.mjs +1 -5
- package/decorator/ctrl.cjs +1 -5
- package/decorator/ctrl.mjs +1 -5
- package/decorator/di.cjs +0 -4
- package/decorator/di.mjs +0 -4
- package/decorator/dto.cjs +0 -4
- package/decorator/dto.mjs +0 -4
- package/decorator/orm.cjs +17 -21
- package/decorator/orm.mjs +11 -15
- package/dtos.cjs +69 -0
- package/dtos.d.ts +19 -0
- package/dtos.mjs +59 -0
- package/helper.cjs +20 -20
- package/helper.d.ts +11 -1
- package/helper.mjs +4 -6
- package/lakutata.cjs +15 -19
- package/lakutata.d.ts +1 -1
- package/lakutata.mjs +5 -9
- package/orm.cjs +20 -24
- package/orm.mjs +22 -26
- package/package.json +6 -1
- package/provider/database.cjs +6 -10
- package/provider/database.mjs +6 -10
- package/provider/passwordHash.cjs +0 -4
- package/provider/passwordHash.mjs +0 -4
- package/src/components/Database.cjs +6 -10
- package/src/components/Database.mjs +6 -10
- package/src/components/Logger.cjs +4 -8
- package/src/components/Logger.mjs +4 -8
- package/src/components/cacher/Cacher.cjs +8 -12
- package/src/components/cacher/Cacher.mjs +12 -16
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +4 -6
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +4 -6
- package/src/components/cacher/options/FileCacheOptions.cjs +6 -10
- package/src/components/cacher/options/FileCacheOptions.mjs +0 -4
- package/src/components/cacher/options/MemcacheCacheOptions.cjs +0 -4
- package/src/components/cacher/options/MemcacheCacheOptions.mjs +0 -4
- package/src/components/cacher/options/MongoCacheOptions.cjs +0 -4
- package/src/components/cacher/options/MongoCacheOptions.mjs +0 -4
- package/src/components/cacher/options/MysqlCacheOptions.cjs +0 -4
- package/src/components/cacher/options/MysqlCacheOptions.mjs +11 -15
- package/src/components/cacher/options/PostgresCacheOptions.cjs +0 -4
- package/src/components/cacher/options/PostgresCacheOptions.mjs +0 -4
- package/src/components/cacher/options/RedisCacheOptions.cjs +0 -4
- package/src/components/cacher/options/RedisCacheOptions.mjs +0 -4
- package/src/components/cacher/options/SqliteCacheOptions.cjs +0 -4
- package/src/components/cacher/options/SqliteCacheOptions.mjs +6 -10
- package/src/components/docker/ConnectionOptionsBuilder.cjs +15 -19
- package/src/components/docker/ConnectionOptionsBuilder.mjs +15 -19
- package/src/components/docker/Docker.cjs +15 -19
- package/src/components/docker/Docker.mjs +15 -19
- package/src/components/docker/lib/DockerContainer.cjs +22 -26
- package/src/components/docker/lib/DockerContainer.mjs +19 -23
- package/src/components/docker/lib/DockerContainerTTY.cjs +15 -19
- package/src/components/docker/lib/DockerContainerTTY.mjs +15 -19
- package/src/components/docker/lib/DockerImage.cjs +8 -12
- package/src/components/docker/lib/DockerImage.mjs +0 -4
- package/src/components/docker/options/DockerPruneOptions.cjs +0 -4
- package/src/components/docker/options/DockerPruneOptions.mjs +0 -4
- package/src/components/docker/options/auth/DockerAuthOptions.cjs +0 -4
- package/src/components/docker/options/auth/DockerAuthOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerCommitOptions.cjs +3 -7
- package/src/components/docker/options/container/ContainerCommitOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +4 -8
- package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerExecOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerExecOptions.mjs +2 -6
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerKillOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerKillOptions.mjs +2 -6
- package/src/components/docker/options/container/ContainerLogsOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerLogsOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerRemoveOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerRemoveOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerSettingOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerSettingOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerStopOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerStopOptions.mjs +0 -4
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +0 -4
- package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +0 -4
- package/src/components/docker/options/image/ImageBuildOptions.cjs +2 -6
- package/src/components/docker/options/image/ImageBuildOptions.mjs +2 -6
- package/src/components/docker/options/image/ImageExportOptions.cjs +0 -4
- package/src/components/docker/options/image/ImageExportOptions.mjs +0 -4
- package/src/components/docker/options/image/ImageImportOptions.cjs +0 -4
- package/src/components/docker/options/image/ImageImportOptions.mjs +0 -4
- package/src/components/docker/options/image/ImagePullOptions.cjs +0 -4
- package/src/components/docker/options/image/ImagePullOptions.mjs +0 -4
- package/src/components/docker/options/image/ImagePushOptions.cjs +0 -4
- package/src/components/docker/options/image/ImagePushOptions.mjs +0 -4
- package/src/components/docker/options/image/ImageRemoveOptions.cjs +3 -7
- package/src/components/docker/options/image/ImageRemoveOptions.mjs +0 -4
- package/src/components/docker/options/image/ImageTagOptions.cjs +0 -4
- package/src/components/docker/options/image/ImageTagOptions.mjs +0 -4
- package/src/components/docker/options/network/NetworkCreateOptions.cjs +0 -4
- package/src/components/docker/options/network/NetworkCreateOptions.mjs +0 -4
- package/src/components/entrypoint/Entrypoint.cjs +98 -102
- package/src/components/entrypoint/Entrypoint.mjs +53 -57
- package/src/components/entrypoint/lib/AccessControl.cjs +0 -4
- package/src/components/entrypoint/lib/AccessControl.mjs +0 -4
- package/src/components/entrypoint/lib/AccessControlRule.cjs +0 -4
- package/src/components/entrypoint/lib/AccessControlRule.mjs +0 -4
- package/src/components/entrypoint/lib/Controller.cjs +0 -4
- package/src/components/entrypoint/lib/Controller.mjs +0 -4
- package/src/components/monitor/AliveMonitor.cjs +0 -4
- package/src/components/monitor/AliveMonitor.mjs +0 -4
- package/src/components/monitor/CpuMonitor.cjs +1 -5
- package/src/components/monitor/CpuMonitor.mjs +1 -5
- package/src/components/monitor/EventLoopMonitor.cjs +0 -4
- package/src/components/monitor/EventLoopMonitor.mjs +0 -4
- package/src/components/monitor/HttpRequestMonitor.cjs +1 -5
- package/src/components/monitor/HttpRequestMonitor.mjs +1 -5
- package/src/components/monitor/MemoryMonitor.cjs +1 -5
- package/src/components/monitor/MemoryMonitor.mjs +1 -5
- package/src/decorators/ctrl/CLIAction.cjs +5 -9
- package/src/decorators/ctrl/CLIAction.mjs +1 -5
- package/src/decorators/ctrl/HTTPAction.cjs +8 -12
- package/src/decorators/ctrl/HTTPAction.mjs +1 -5
- package/src/decorators/ctrl/ServiceAction.cjs +1 -5
- package/src/decorators/ctrl/ServiceAction.mjs +5 -9
- package/src/decorators/ctrl/http/DELETE.cjs +1 -5
- package/src/decorators/ctrl/http/DELETE.mjs +1 -5
- package/src/decorators/ctrl/http/GET.cjs +1 -5
- package/src/decorators/ctrl/http/GET.mjs +1 -5
- package/src/decorators/ctrl/http/HEAD.cjs +1 -5
- package/src/decorators/ctrl/http/HEAD.mjs +1 -5
- package/src/decorators/ctrl/http/OPTIONS.cjs +1 -5
- package/src/decorators/ctrl/http/OPTIONS.mjs +4 -8
- package/src/decorators/ctrl/http/PATCH.cjs +1 -5
- package/src/decorators/ctrl/http/PATCH.mjs +1 -5
- package/src/decorators/ctrl/http/POST.cjs +1 -5
- package/src/decorators/ctrl/http/POST.mjs +1 -5
- package/src/decorators/ctrl/http/PUT.cjs +1 -5
- package/src/decorators/ctrl/http/PUT.mjs +1 -5
- package/src/decorators/di/Configurable.cjs +1 -5
- package/src/decorators/di/Configurable.mjs +0 -4
- package/src/decorators/di/Inject.cjs +8 -12
- package/src/decorators/di/Inject.mjs +7 -11
- package/src/decorators/dto/Accept.cjs +0 -4
- package/src/decorators/dto/Accept.mjs +0 -4
- package/src/decorators/dto/Expect.cjs +0 -4
- package/src/decorators/dto/Expect.mjs +4 -8
- package/src/decorators/dto/IndexSignature.cjs +0 -4
- package/src/decorators/dto/IndexSignature.mjs +4 -8
- package/src/decorators/dto/Return.cjs +0 -4
- package/src/decorators/dto/Return.mjs +0 -4
- package/src/decorators/orm/AfterInsert.cjs +11 -15
- package/src/decorators/orm/AfterInsert.mjs +17 -21
- package/src/decorators/orm/AfterLoad.cjs +15 -19
- package/src/decorators/orm/AfterLoad.mjs +20 -24
- package/src/decorators/orm/AfterRecover.cjs +15 -19
- package/src/decorators/orm/AfterRecover.mjs +16 -20
- package/src/decorators/orm/AfterRemove.cjs +15 -19
- package/src/decorators/orm/AfterRemove.mjs +16 -20
- package/src/decorators/orm/AfterSoftRemove.cjs +11 -15
- package/src/decorators/orm/AfterSoftRemove.mjs +16 -20
- package/src/decorators/orm/AfterUpdate.cjs +11 -15
- package/src/decorators/orm/AfterUpdate.mjs +17 -21
- package/src/decorators/orm/BeforeInsert.cjs +17 -21
- package/src/decorators/orm/BeforeInsert.mjs +15 -19
- package/src/decorators/orm/BeforeRecover.cjs +17 -21
- package/src/decorators/orm/BeforeRecover.mjs +13 -17
- package/src/decorators/orm/BeforeRemove.cjs +17 -21
- package/src/decorators/orm/BeforeRemove.mjs +13 -17
- package/src/decorators/orm/BeforeSoftRemove.cjs +17 -21
- package/src/decorators/orm/BeforeSoftRemove.mjs +13 -17
- package/src/decorators/orm/BeforeUpdate.cjs +15 -19
- package/src/decorators/orm/BeforeUpdate.mjs +15 -19
- package/src/decorators/orm/Check.cjs +11 -15
- package/src/decorators/orm/Check.mjs +11 -15
- package/src/decorators/orm/ChildEntity.cjs +16 -20
- package/src/decorators/orm/ChildEntity.mjs +13 -17
- package/src/decorators/orm/Column.cjs +28 -32
- package/src/decorators/orm/Column.mjs +11 -15
- package/src/decorators/orm/CreateDateColumn.cjs +13 -17
- package/src/decorators/orm/CreateDateColumn.mjs +11 -15
- package/src/decorators/orm/DeleteDateColumn.cjs +13 -17
- package/src/decorators/orm/DeleteDateColumn.mjs +11 -15
- package/src/decorators/orm/Entity.cjs +15 -19
- package/src/decorators/orm/Entity.mjs +15 -19
- package/src/decorators/orm/EventSubscriber.cjs +11 -15
- package/src/decorators/orm/EventSubscriber.mjs +11 -15
- package/src/decorators/orm/Exclusion.cjs +11 -15
- package/src/decorators/orm/Exclusion.mjs +15 -19
- package/src/decorators/orm/Generated.cjs +15 -19
- package/src/decorators/orm/Generated.mjs +11 -15
- package/src/decorators/orm/Index.cjs +16 -20
- package/src/decorators/orm/Index.mjs +29 -33
- package/src/decorators/orm/JoinColumn.cjs +15 -19
- package/src/decorators/orm/JoinColumn.mjs +11 -15
- package/src/decorators/orm/JoinTable.cjs +11 -15
- package/src/decorators/orm/JoinTable.mjs +15 -19
- package/src/decorators/orm/ManyToMany.cjs +18 -22
- package/src/decorators/orm/ManyToMany.mjs +22 -26
- package/src/decorators/orm/ManyToOne.cjs +21 -25
- package/src/decorators/orm/ManyToOne.mjs +22 -26
- package/src/decorators/orm/ObjectIdColumn.cjs +11 -15
- package/src/decorators/orm/ObjectIdColumn.mjs +11 -15
- package/src/decorators/orm/OneToMany.cjs +18 -22
- package/src/decorators/orm/OneToMany.mjs +11 -15
- package/src/decorators/orm/OneToOne.cjs +20 -24
- package/src/decorators/orm/OneToOne.mjs +11 -15
- package/src/decorators/orm/PrimaryColumn.cjs +15 -19
- package/src/decorators/orm/PrimaryColumn.mjs +11 -15
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +11 -15
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +13 -17
- package/src/decorators/orm/RelationId.cjs +16 -20
- package/src/decorators/orm/RelationId.mjs +17 -21
- package/src/decorators/orm/TableInheritance.cjs +13 -17
- package/src/decorators/orm/TableInheritance.mjs +11 -15
- package/src/decorators/orm/Tree.cjs +11 -15
- package/src/decorators/orm/Tree.mjs +11 -15
- package/src/decorators/orm/TreeChildren.cjs +11 -15
- package/src/decorators/orm/TreeChildren.mjs +20 -24
- package/src/decorators/orm/TreeLevelColumn.cjs +11 -15
- package/src/decorators/orm/TreeLevelColumn.mjs +11 -15
- package/src/decorators/orm/TreeParent.cjs +11 -15
- package/src/decorators/orm/TreeParent.mjs +11 -15
- package/src/decorators/orm/Unique.cjs +18 -22
- package/src/decorators/orm/Unique.mjs +11 -15
- package/src/decorators/orm/UpdateDateColumn.cjs +13 -17
- package/src/decorators/orm/UpdateDateColumn.mjs +17 -21
- package/src/decorators/orm/VersionColumn.cjs +11 -15
- package/src/decorators/orm/VersionColumn.mjs +11 -15
- package/src/decorators/orm/ViewColumn.cjs +11 -15
- package/src/decorators/orm/ViewColumn.mjs +11 -15
- package/src/decorators/orm/ViewEntity.cjs +11 -15
- package/src/decorators/orm/ViewEntity.mjs +11 -15
- package/src/decorators/orm/VirtualColumn.cjs +11 -15
- package/src/decorators/orm/VirtualColumn.mjs +11 -15
- package/src/dto/PaginationResultDTO.cjs +74 -0
- package/src/dto/PaginationResultDTO.mjs +68 -0
- package/src/dto/PaginationSearchDTO.cjs +69 -0
- package/src/dto/PaginationSearchDTO.mjs +63 -0
- package/src/lib/base/BaseObject.cjs +0 -4
- package/src/lib/base/BaseObject.mjs +0 -4
- package/src/lib/base/Context.cjs +0 -4
- package/src/lib/base/Context.mjs +5 -9
- package/src/lib/base/internal/ActionOptions.cjs +0 -4
- package/src/lib/base/internal/ActionOptions.mjs +6 -10
- package/src/lib/base/internal/ApplicationConfigLoader.cjs +0 -4
- package/src/lib/base/internal/ApplicationConfigLoader.mjs +0 -4
- package/src/lib/base/internal/ControllerEntrypoint.cjs +1 -1
- package/src/lib/base/internal/ControllerEntrypoint.mjs +1 -1
- package/src/lib/base/internal/DataValidator.cjs +11 -12
- package/src/lib/base/internal/DataValidator.mjs +116 -117
- package/src/lib/base/internal/FlexibleDTO.cjs +0 -4
- package/src/lib/base/internal/FlexibleDTO.mjs +4 -8
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +7 -11
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +0 -4
- package/src/lib/base/internal/MethodValidation.cjs +25 -29
- package/src/lib/base/internal/MethodValidation.mjs +0 -4
- package/src/lib/base/internal/ModuleConfigLoader.cjs +0 -4
- package/src/lib/base/internal/ModuleConfigLoader.mjs +21 -25
- package/src/lib/base/internal/ObjectConfiguration.cjs +0 -4
- package/src/lib/base/internal/ObjectConfiguration.mjs +12 -16
- package/src/lib/base/internal/ObjectSchemaValidation.cjs +0 -4
- package/src/lib/base/internal/ObjectSchemaValidation.mjs +0 -4
- package/src/lib/base/internal/ObjectType.cjs +0 -4
- package/src/lib/base/internal/ObjectType.mjs +0 -4
- package/src/lib/context/CLIContext.cjs +0 -4
- package/src/lib/context/CLIContext.mjs +0 -4
- package/src/lib/context/HTTPContext.cjs +0 -4
- package/src/lib/context/HTTPContext.mjs +4 -8
- package/src/lib/context/ServiceContext.cjs +0 -4
- package/src/lib/context/ServiceContext.mjs +0 -4
- package/src/lib/core/Application.cjs +5 -9
- package/src/lib/core/Application.mjs +5 -9
- package/src/lib/core/Component.cjs +0 -4
- package/src/lib/core/Component.mjs +0 -4
- package/src/lib/core/Container.cjs +0 -4
- package/src/lib/core/Container.mjs +0 -4
- package/src/lib/core/DTO.cjs +0 -4
- package/src/lib/core/DTO.mjs +0 -4
- package/src/lib/core/Module.cjs +1 -5
- package/src/lib/core/Module.mjs +1 -5
- package/src/lib/core/Provider.cjs +0 -4
- package/src/lib/core/Provider.mjs +0 -4
- package/src/lib/helpers/IsSymbol.cjs +0 -4
- package/src/lib/helpers/IsSymbol.mjs +0 -4
- package/src/lib/helpers/NonceStr.cjs +1 -1
- package/src/lib/helpers/NonceStr.mjs +1 -1
- package/src/lib/helpers/ObjectHash.cjs +1 -1
- package/src/lib/helpers/ObjectHash.mjs +1 -1
- package/src/lib/helpers/Paginator.cjs +11 -0
- package/src/lib/helpers/Paginator.mjs +5 -0
- package/src/lib/helpers/RandomString.cjs +1 -1
- package/src/lib/helpers/RandomString.mjs +1 -1
- package/src/lib/helpers/Statistics.cjs +1 -1
- package/src/lib/helpers/Statistics.mjs +1 -1
- package/src/lib/ioc/DependencyInjectionContainer.cjs +28 -32
- package/src/lib/ioc/DependencyInjectionContainer.mjs +17 -21
- package/src/lib/ioc/Errors.cjs +0 -4
- package/src/lib/ioc/Errors.mjs +4 -8
- package/src/lib/ioc/ListModules.cjs +100 -104
- package/src/lib/ioc/ListModules.mjs +0 -4
- package/src/lib/ioc/LoadModules.cjs +27 -31
- package/src/lib/ioc/LoadModules.mjs +5 -9
- package/src/lib/ioc/Resolvers.cjs +6 -10
- package/src/lib/ioc/Resolvers.mjs +3 -7
- package/src/lib/ioc/Utils.cjs +0 -4
- package/src/lib/ioc/Utils.mjs +0 -4
- package/src/lib/validation/VLD.cjs +4096 -3158
- package/src/lib/validation/VLD.mjs +2807 -1887
- package/src/lib/validation/interfaces/BigIntSchema.cjs +1 -0
- package/src/lib/validation/interfaces/BigIntSchema.mjs +1 -0
- package/src/lib/validation/types/NoNestedArrays.cjs +1 -0
- package/src/lib/validation/types/NoNestedArrays.mjs +1 -0
- package/src/lib/validation/types/Primitives.cjs +1 -0
- package/src/lib/validation/types/Primitives.mjs +1 -0
- package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.cjs +1 -0
- package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.mjs +1 -0
- package/src/options/ApplicationOptions.cjs +0 -4
- package/src/options/ApplicationOptions.mjs +0 -4
- package/src/options/LoadAnonymousObjectOptions.cjs +0 -4
- package/src/options/LoadAnonymousObjectOptions.mjs +0 -4
- package/src/options/LoadNamedObjectOptions.cjs +0 -4
- package/src/options/LoadNamedObjectOptions.mjs +0 -4
- package/src/options/LoadObjectOptions.cjs +0 -4
- package/src/options/LoadObjectOptions.mjs +0 -4
- package/src/options/ModuleLoadObjectsOptions.cjs +0 -4
- package/src/options/ModuleLoadObjectsOptions.mjs +0 -4
- package/src/options/ModuleOptions.cjs +0 -4
- package/src/options/ModuleOptions.mjs +0 -4
- package/src/options/OverridableNamedObjectOptions.cjs +0 -4
- package/src/options/OverridableNamedObjectOptions.mjs +0 -4
- package/src/options/OverridableObjectOptions.cjs +0 -4
- package/src/options/OverridableObjectOptions.mjs +0 -4
- package/src/providers/Database.cjs +6 -10
- package/src/providers/Database.mjs +6 -10
- package/src/providers/PasswordHash.cjs +13 -17
- package/src/providers/PasswordHash.mjs +208 -212
- package/vendor/Package.10.cjs +9 -1
- package/vendor/Package.10.mjs +9 -1
- package/vendor/Package.102.cjs +48831 -0
- package/vendor/Package.102.mjs +48767 -0
- package/vendor/Package.11.cjs +86 -0
- package/vendor/Package.11.mjs +80 -0
- package/vendor/Package.12.cjs +3 -5
- package/vendor/Package.12.mjs +3 -5
- package/vendor/Package.122.cjs +1 -48833
- package/vendor/Package.122.mjs +1 -48771
- package/vendor/Package.13.cjs +1 -7
- package/vendor/Package.13.mjs +1 -7
- package/vendor/Package.14.cjs +2247 -1
- package/vendor/Package.14.mjs +2139 -1
- package/vendor/Package.15.cjs +14057 -1
- package/vendor/Package.15.mjs +14031 -1
- package/vendor/Package.16.cjs +1 -2247
- package/vendor/Package.16.mjs +1 -2139
- package/vendor/Package.17.cjs +46794 -12601
- package/vendor/Package.17.mjs +46762 -12584
- package/vendor/Package.18.cjs +1 -1
- package/vendor/Package.18.mjs +1 -1
- package/vendor/Package.2.cjs +1633 -2052
- package/vendor/Package.2.mjs +2147 -2566
- package/vendor/Package.62.cjs +2 -2
- package/vendor/Package.62.mjs +2 -2
- package/vendor/Package.8.cjs +2 -0
- package/vendor/Package.8.mjs +2 -0
- package/vendor/TypeDef.internal.5.d.ts +2422 -2041
- package/vendor/Package.132.cjs +0 -87
- package/vendor/Package.132.mjs +0 -79
- package/vendor/Package.19.cjs +0 -48247
- package/vendor/Package.19.mjs +0 -48204
- package/vendor/Package.20.cjs +0 -3
- package/vendor/Package.20.mjs +0 -1
|
@@ -68,12 +68,8 @@ import "node:util/types";
|
|
|
68
68
|
|
|
69
69
|
import "../../validation/VLD.mjs";
|
|
70
70
|
|
|
71
|
-
import "../../../../vendor/Package.11.mjs";
|
|
72
|
-
|
|
73
71
|
import "url";
|
|
74
72
|
|
|
75
|
-
import "../../../../vendor/Package.10.mjs";
|
|
76
|
-
|
|
77
73
|
import "../../../exceptions/dto/InvalidValueException.mjs";
|
|
78
74
|
|
|
79
75
|
import "../../../../vendor/Package.9.mjs";
|
|
@@ -20,12 +20,8 @@ const i = require("../../helpers/IsHtml.cjs");
|
|
|
20
20
|
|
|
21
21
|
const s = require("../../helpers/IsXML.cjs");
|
|
22
22
|
|
|
23
|
-
require("../../../../vendor/Package.11.cjs");
|
|
24
|
-
|
|
25
23
|
require("url");
|
|
26
24
|
|
|
27
|
-
require("../../../../vendor/Package.10.cjs");
|
|
28
|
-
|
|
29
25
|
require("util");
|
|
30
26
|
|
|
31
27
|
require("../../../exceptions/dto/InvalidValueException.cjs");
|
|
@@ -138,11 +134,11 @@ var D = function(r) {
|
|
|
138
134
|
return h(r, 0, 23);
|
|
139
135
|
};
|
|
140
136
|
|
|
141
|
-
var
|
|
137
|
+
var V = function(r, t) {
|
|
142
138
|
return t && d(r) || h(r, 1, 31);
|
|
143
139
|
};
|
|
144
140
|
|
|
145
|
-
var
|
|
141
|
+
var j = {
|
|
146
142
|
jan: "1",
|
|
147
143
|
feb: "2",
|
|
148
144
|
mar: "3",
|
|
@@ -157,20 +153,20 @@ var V = {
|
|
|
157
153
|
dec: "12"
|
|
158
154
|
};
|
|
159
155
|
|
|
160
|
-
var
|
|
156
|
+
var b = function(r, t) {
|
|
161
157
|
if (r.search(/\/[a-zA-Z]/) !== -1) {
|
|
162
158
|
return false;
|
|
163
159
|
}
|
|
164
160
|
if (t) {
|
|
165
161
|
var e = r.toLowerCase().replace(/[a-z]{3}/g, (function(r) {
|
|
166
|
-
return
|
|
162
|
+
return j[r] === undefined ? r : j[r];
|
|
167
163
|
}));
|
|
168
164
|
return h(e, 1, 12);
|
|
169
165
|
}
|
|
170
166
|
return h(r, 1, 12);
|
|
171
167
|
};
|
|
172
168
|
|
|
173
|
-
var
|
|
169
|
+
var A = {
|
|
174
170
|
sun: "0",
|
|
175
171
|
mon: "1",
|
|
176
172
|
tue: "2",
|
|
@@ -191,7 +187,7 @@ var L = function(r, t, e, n) {
|
|
|
191
187
|
}
|
|
192
188
|
if (t) {
|
|
193
189
|
var a = r.toLowerCase().replace(/[a-z]{3}/g, (function(r) {
|
|
194
|
-
return
|
|
190
|
+
return A[r] === undefined ? r : A[r];
|
|
195
191
|
}));
|
|
196
192
|
return h(a, 0, n ? 7 : 6);
|
|
197
193
|
}
|
|
@@ -229,8 +225,8 @@ o = u.isValidCron = function(r, t) {
|
|
|
229
225
|
var i = e[0], s = e[1], u = e[2], o = e[3], l = e[4];
|
|
230
226
|
n.push(m(i));
|
|
231
227
|
n.push(D(s));
|
|
232
|
-
n.push(
|
|
233
|
-
n.push(
|
|
228
|
+
n.push(V(u, t.allowBlankDay));
|
|
229
|
+
n.push(b(o, t.alias));
|
|
234
230
|
n.push(L(l, t.alias, t.allowBlankDay, t.allowSevenAsSunday));
|
|
235
231
|
n.push(q(u, l, t.allowBlankDay));
|
|
236
232
|
return n.every(Boolean);
|
|
@@ -246,6 +242,9 @@ class DataValidator {
|
|
|
246
242
|
static Number() {
|
|
247
243
|
return e.VLD.number().strict(true);
|
|
248
244
|
}
|
|
245
|
+
static BigInt() {
|
|
246
|
+
return e.VLD.bigint().strict(true);
|
|
247
|
+
}
|
|
249
248
|
static Boolean() {
|
|
250
249
|
return e.VLD.boolean().strict(true);
|
|
251
250
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../vendor/Package.4.mjs";
|
|
2
2
|
|
|
3
|
-
import { isAsyncFunction as
|
|
3
|
+
import { isAsyncFunction as t } from "node:util/types";
|
|
4
4
|
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as r } from "../../../../vendor/Package.5.mjs";
|
|
6
6
|
|
|
7
7
|
import { VLD as n } from "../../validation/VLD.mjs";
|
|
8
8
|
|
|
@@ -14,12 +14,8 @@ import { IsHtml as i } from "../../helpers/IsHtml.mjs";
|
|
|
14
14
|
|
|
15
15
|
import { IsXML as s } from "../../helpers/IsXML.mjs";
|
|
16
16
|
|
|
17
|
-
import "../../../../vendor/Package.11.mjs";
|
|
18
|
-
|
|
19
17
|
import "url";
|
|
20
18
|
|
|
21
|
-
import "../../../../vendor/Package.10.mjs";
|
|
22
|
-
|
|
23
19
|
import "util";
|
|
24
20
|
|
|
25
21
|
import "../../../exceptions/dto/InvalidValueException.mjs";
|
|
@@ -44,13 +40,13 @@ var u = {};
|
|
|
44
40
|
|
|
45
41
|
"use strict";
|
|
46
42
|
|
|
47
|
-
var o =
|
|
48
|
-
o = Object.assign || function(
|
|
49
|
-
for (var
|
|
50
|
-
|
|
51
|
-
for (var a in
|
|
43
|
+
var o = r && r.__assign || function() {
|
|
44
|
+
o = Object.assign || function(t) {
|
|
45
|
+
for (var r, n = 1, e = arguments.length; n < e; n++) {
|
|
46
|
+
r = arguments[n];
|
|
47
|
+
for (var a in r) if (Object.prototype.hasOwnProperty.call(r, a)) t[a] = r[a];
|
|
52
48
|
}
|
|
53
|
-
return
|
|
49
|
+
return t;
|
|
54
50
|
};
|
|
55
51
|
return o.apply(this, arguments);
|
|
56
52
|
};
|
|
@@ -61,82 +57,82 @@ Object.defineProperty(u, "__esModule", {
|
|
|
61
57
|
|
|
62
58
|
var c = u.isValidCron = void 0;
|
|
63
59
|
|
|
64
|
-
var l = function(
|
|
65
|
-
if (/^\d+$/.test(
|
|
66
|
-
return Number(
|
|
60
|
+
var l = function(t) {
|
|
61
|
+
if (/^\d+$/.test(t)) {
|
|
62
|
+
return Number(t);
|
|
67
63
|
} else {
|
|
68
64
|
return NaN;
|
|
69
65
|
}
|
|
70
66
|
};
|
|
71
67
|
|
|
72
|
-
var f = function(
|
|
73
|
-
return
|
|
68
|
+
var f = function(t) {
|
|
69
|
+
return t === "*";
|
|
74
70
|
};
|
|
75
71
|
|
|
76
|
-
var m = function(
|
|
77
|
-
return
|
|
72
|
+
var m = function(t) {
|
|
73
|
+
return t === "?";
|
|
78
74
|
};
|
|
79
75
|
|
|
80
|
-
var p = function(
|
|
81
|
-
return
|
|
76
|
+
var p = function(t, r, n) {
|
|
77
|
+
return t >= r && t <= n;
|
|
82
78
|
};
|
|
83
79
|
|
|
84
|
-
var d = function(
|
|
85
|
-
var e =
|
|
80
|
+
var d = function(t, r, n) {
|
|
81
|
+
var e = t.split("-");
|
|
86
82
|
switch (e.length) {
|
|
87
83
|
case 1:
|
|
88
|
-
return f(
|
|
84
|
+
return f(t) || p(l(t), r, n);
|
|
89
85
|
|
|
90
86
|
case 2:
|
|
91
|
-
var a = e.map((function(
|
|
92
|
-
return l(
|
|
87
|
+
var a = e.map((function(t) {
|
|
88
|
+
return l(t);
|
|
93
89
|
})), i = a[0], s = a[1];
|
|
94
|
-
return i <= s && p(i,
|
|
90
|
+
return i <= s && p(i, r, n) && p(s, r, n);
|
|
95
91
|
|
|
96
92
|
default:
|
|
97
93
|
return false;
|
|
98
94
|
}
|
|
99
95
|
};
|
|
100
96
|
|
|
101
|
-
var v = function(
|
|
102
|
-
return
|
|
97
|
+
var v = function(t) {
|
|
98
|
+
return t === undefined || t.search(/[^\d]/) === -1 && l(t) > 0;
|
|
103
99
|
};
|
|
104
100
|
|
|
105
|
-
var y = function(
|
|
106
|
-
if (
|
|
101
|
+
var y = function(t, r, n) {
|
|
102
|
+
if (t.search(/[^\d-,\/*]/) !== -1) {
|
|
107
103
|
return false;
|
|
108
104
|
}
|
|
109
|
-
var e =
|
|
110
|
-
return e.every((function(
|
|
111
|
-
var e =
|
|
112
|
-
if (
|
|
105
|
+
var e = t.split(",");
|
|
106
|
+
return e.every((function(t) {
|
|
107
|
+
var e = t.split("/");
|
|
108
|
+
if (t.trim().endsWith("/")) {
|
|
113
109
|
return false;
|
|
114
110
|
}
|
|
115
111
|
if (e.length > 2) {
|
|
116
112
|
return false;
|
|
117
113
|
}
|
|
118
114
|
var a = e[0], i = e[1];
|
|
119
|
-
return d(a,
|
|
115
|
+
return d(a, r, n) && v(i);
|
|
120
116
|
}));
|
|
121
117
|
};
|
|
122
118
|
|
|
123
|
-
var h = function(
|
|
124
|
-
return y(
|
|
119
|
+
var h = function(t) {
|
|
120
|
+
return y(t, 0, 59);
|
|
125
121
|
};
|
|
126
122
|
|
|
127
|
-
var g = function(
|
|
128
|
-
return y(
|
|
123
|
+
var g = function(t) {
|
|
124
|
+
return y(t, 0, 59);
|
|
129
125
|
};
|
|
130
126
|
|
|
131
|
-
var j = function(
|
|
132
|
-
return y(
|
|
127
|
+
var j = function(t) {
|
|
128
|
+
return y(t, 0, 23);
|
|
133
129
|
};
|
|
134
130
|
|
|
135
|
-
var
|
|
136
|
-
return
|
|
131
|
+
var b = function(t, r) {
|
|
132
|
+
return r && m(t) || y(t, 1, 31);
|
|
137
133
|
};
|
|
138
134
|
|
|
139
|
-
var
|
|
135
|
+
var w = {
|
|
140
136
|
jan: "1",
|
|
141
137
|
feb: "2",
|
|
142
138
|
mar: "3",
|
|
@@ -151,20 +147,20 @@ var b = {
|
|
|
151
147
|
dec: "12"
|
|
152
148
|
};
|
|
153
149
|
|
|
154
|
-
var
|
|
155
|
-
if (
|
|
150
|
+
var A = function(t, r) {
|
|
151
|
+
if (t.search(/\/[a-zA-Z]/) !== -1) {
|
|
156
152
|
return false;
|
|
157
153
|
}
|
|
158
|
-
if (
|
|
159
|
-
var n =
|
|
160
|
-
return
|
|
154
|
+
if (r) {
|
|
155
|
+
var n = t.toLowerCase().replace(/[a-z]{3}/g, (function(t) {
|
|
156
|
+
return w[t] === undefined ? t : w[t];
|
|
161
157
|
}));
|
|
162
158
|
return y(n, 1, 12);
|
|
163
159
|
}
|
|
164
|
-
return y(
|
|
160
|
+
return y(t, 1, 12);
|
|
165
161
|
};
|
|
166
162
|
|
|
167
|
-
var
|
|
163
|
+
var S = {
|
|
168
164
|
sun: "0",
|
|
169
165
|
mon: "1",
|
|
170
166
|
tue: "2",
|
|
@@ -174,43 +170,43 @@ var A = {
|
|
|
174
170
|
sat: "6"
|
|
175
171
|
};
|
|
176
172
|
|
|
177
|
-
var
|
|
178
|
-
if (n && m(
|
|
173
|
+
var k = function(t, r, n, e) {
|
|
174
|
+
if (n && m(t)) {
|
|
179
175
|
return true;
|
|
180
|
-
} else if (!n && m(
|
|
176
|
+
} else if (!n && m(t)) {
|
|
181
177
|
return false;
|
|
182
178
|
}
|
|
183
|
-
if (
|
|
179
|
+
if (t.search(/\/[a-zA-Z]/) !== -1) {
|
|
184
180
|
return false;
|
|
185
181
|
}
|
|
186
|
-
if (
|
|
187
|
-
var a =
|
|
188
|
-
return
|
|
182
|
+
if (r) {
|
|
183
|
+
var a = t.toLowerCase().replace(/[a-z]{3}/g, (function(t) {
|
|
184
|
+
return S[t] === undefined ? t : S[t];
|
|
189
185
|
}));
|
|
190
186
|
return y(a, 0, e ? 7 : 6);
|
|
191
187
|
}
|
|
192
|
-
return y(
|
|
188
|
+
return y(t, 0, e ? 7 : 6);
|
|
193
189
|
};
|
|
194
190
|
|
|
195
|
-
var D = function(
|
|
196
|
-
return !(n && m(
|
|
191
|
+
var D = function(t, r, n) {
|
|
192
|
+
return !(n && m(t) && m(r));
|
|
197
193
|
};
|
|
198
194
|
|
|
199
|
-
var
|
|
200
|
-
return
|
|
195
|
+
var B = function(t) {
|
|
196
|
+
return t.trim().split(/\s+/);
|
|
201
197
|
};
|
|
202
198
|
|
|
203
|
-
var
|
|
199
|
+
var C = {
|
|
204
200
|
alias: false,
|
|
205
201
|
seconds: false,
|
|
206
202
|
allowBlankDay: false,
|
|
207
203
|
allowSevenAsSunday: false
|
|
208
204
|
};
|
|
209
205
|
|
|
210
|
-
c = u.isValidCron = function(
|
|
211
|
-
|
|
212
|
-
var n =
|
|
213
|
-
if (n.length > (
|
|
206
|
+
c = u.isValidCron = function(t, r) {
|
|
207
|
+
r = o(o({}, C), r);
|
|
208
|
+
var n = B(t);
|
|
209
|
+
if (n.length > (r.seconds ? 6 : 5) || n.length < 5) {
|
|
214
210
|
return false;
|
|
215
211
|
}
|
|
216
212
|
var e = [];
|
|
@@ -223,10 +219,10 @@ c = u.isValidCron = function(r, t) {
|
|
|
223
219
|
var i = n[0], s = n[1], u = n[2], c = n[3], l = n[4];
|
|
224
220
|
e.push(g(i));
|
|
225
221
|
e.push(j(s));
|
|
226
|
-
e.push(
|
|
227
|
-
e.push(
|
|
228
|
-
e.push(
|
|
229
|
-
e.push(D(u, l,
|
|
222
|
+
e.push(b(u, r.allowBlankDay));
|
|
223
|
+
e.push(A(c, r.alias));
|
|
224
|
+
e.push(k(l, r.alias, r.allowBlankDay, r.allowSevenAsSunday));
|
|
225
|
+
e.push(D(u, l, r.allowBlankDay));
|
|
230
226
|
return e.every(Boolean);
|
|
231
227
|
};
|
|
232
228
|
|
|
@@ -240,17 +236,20 @@ class DataValidator {
|
|
|
240
236
|
static Number() {
|
|
241
237
|
return n.number().strict(true);
|
|
242
238
|
}
|
|
239
|
+
static BigInt() {
|
|
240
|
+
return n.bigint().strict(true);
|
|
241
|
+
}
|
|
243
242
|
static Boolean() {
|
|
244
243
|
return n.boolean().strict(true);
|
|
245
244
|
}
|
|
246
245
|
static Date() {
|
|
247
246
|
return n.date().strict(true);
|
|
248
247
|
}
|
|
249
|
-
static Object(
|
|
250
|
-
return n.object(
|
|
248
|
+
static Object(t) {
|
|
249
|
+
return n.object(t).strict(true);
|
|
251
250
|
}
|
|
252
|
-
static Array(...
|
|
253
|
-
return n.array().items(...
|
|
251
|
+
static Array(...t) {
|
|
252
|
+
return n.array().items(...t).strict(true);
|
|
254
253
|
}
|
|
255
254
|
static Binary() {
|
|
256
255
|
return n.binary().strict(true);
|
|
@@ -259,73 +258,73 @@ class DataValidator {
|
|
|
259
258
|
return n.func().strict(true);
|
|
260
259
|
}
|
|
261
260
|
static AsyncFunction() {
|
|
262
|
-
return this.Function().custom(((
|
|
263
|
-
if (r
|
|
261
|
+
return this.Function().custom(((r, n) => {
|
|
262
|
+
if (t(r)) return r;
|
|
264
263
|
return n.error("asyncFunc.invalid");
|
|
265
|
-
}), "Async Function Validation").error((
|
|
266
|
-
for (const
|
|
267
|
-
if (
|
|
268
|
-
|
|
269
|
-
return
|
|
264
|
+
}), "Async Function Validation").error((t => {
|
|
265
|
+
for (const r of t) {
|
|
266
|
+
if (r.code === "asyncFunc.invalid") {
|
|
267
|
+
r.message = "Expected AsyncFunction but got Function";
|
|
268
|
+
return r;
|
|
270
269
|
}
|
|
271
270
|
}
|
|
272
|
-
return
|
|
271
|
+
return t[0];
|
|
273
272
|
}));
|
|
274
273
|
}
|
|
275
|
-
static Class(
|
|
276
|
-
if (!
|
|
277
|
-
return this.Function().class().custom(((
|
|
278
|
-
if (!e(
|
|
279
|
-
if (
|
|
274
|
+
static Class(t) {
|
|
275
|
+
if (!t) return n.func().class();
|
|
276
|
+
return this.Function().class().custom(((r, n) => {
|
|
277
|
+
if (!e(t).prototype) t = e(t)();
|
|
278
|
+
if (r instanceof e(t) || r["prototype"] instanceof e(t)) return r;
|
|
280
279
|
return n.error("any.invalid");
|
|
281
280
|
}), "Class Validation");
|
|
282
281
|
}
|
|
283
|
-
static InstanceOf(
|
|
284
|
-
return this.Any().custom(((
|
|
285
|
-
if (
|
|
282
|
+
static InstanceOf(t) {
|
|
283
|
+
return this.Any().custom(((r, n) => {
|
|
284
|
+
if (r instanceof e(t) || r["prototype"] instanceof e(t)) return r;
|
|
286
285
|
return n.error("any.invalid");
|
|
287
286
|
}), "Class Instance Validation");
|
|
288
287
|
}
|
|
289
288
|
static Glob() {
|
|
290
|
-
return this.String().custom(((
|
|
291
|
-
if (typeof
|
|
292
|
-
return
|
|
289
|
+
return this.String().custom(((t, r) => {
|
|
290
|
+
if (typeof t === "string" && a(t)) return t;
|
|
291
|
+
return r.error("any.invalid");
|
|
293
292
|
}), "Glob Validation");
|
|
294
293
|
}
|
|
295
|
-
static Cron(
|
|
296
|
-
return this.String().custom(((
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
if (typeof
|
|
294
|
+
static Cron(t) {
|
|
295
|
+
return this.String().custom(((r, n) => {
|
|
296
|
+
t = t ? t : {};
|
|
297
|
+
t.alias = t.alias !== undefined ? t.alias : false;
|
|
298
|
+
t.seconds = t.seconds !== undefined ? t.seconds : true;
|
|
299
|
+
t.allowBlankDay = t.allowBlankDay !== undefined ? t.allowBlankDay : true;
|
|
300
|
+
t.allowSevenAsSunday = t.allowSevenAsSunday !== undefined ? t.allowSevenAsSunday : true;
|
|
301
|
+
if (typeof r === "string" && c(r, t)) return r;
|
|
303
302
|
return n.error("any.invalid");
|
|
304
303
|
}), "Cron Validation");
|
|
305
304
|
}
|
|
306
305
|
static HttpDocument() {
|
|
307
|
-
return this.String().custom(((
|
|
308
|
-
if (typeof
|
|
309
|
-
return
|
|
306
|
+
return this.String().custom(((t, r) => {
|
|
307
|
+
if (typeof t === "string" && (i(t) || s(t))) return t;
|
|
308
|
+
return r.error("any.invalid");
|
|
310
309
|
}), "HttpDocument Validation");
|
|
311
310
|
}
|
|
312
311
|
static Symbol() {
|
|
313
312
|
return n.symbol().strict(true);
|
|
314
313
|
}
|
|
315
|
-
static Alternatives(...
|
|
316
|
-
return n.alternatives(...
|
|
314
|
+
static Alternatives(...t) {
|
|
315
|
+
return n.alternatives(...t).strict(true);
|
|
317
316
|
}
|
|
318
|
-
static Ref(
|
|
319
|
-
return n.ref(
|
|
317
|
+
static Ref(t, r) {
|
|
318
|
+
return n.ref(t, r);
|
|
320
319
|
}
|
|
321
|
-
static In(
|
|
322
|
-
return n.in(
|
|
320
|
+
static In(t, r) {
|
|
321
|
+
return n.in(t, r);
|
|
323
322
|
}
|
|
324
|
-
static Attempt(
|
|
325
|
-
return n.attempt(
|
|
323
|
+
static Attempt(t, r, e) {
|
|
324
|
+
return n.attempt(t, r, e);
|
|
326
325
|
}
|
|
327
|
-
static Link(
|
|
328
|
-
return n.link(
|
|
326
|
+
static Link(t) {
|
|
327
|
+
return n.link(t);
|
|
329
328
|
}
|
|
330
329
|
}
|
|
331
330
|
|
|
@@ -20,12 +20,8 @@ require("node:util/types");
|
|
|
20
20
|
|
|
21
21
|
require("../../validation/VLD.cjs");
|
|
22
22
|
|
|
23
|
-
require("../../../../vendor/Package.11.cjs");
|
|
24
|
-
|
|
25
23
|
require("url");
|
|
26
24
|
|
|
27
|
-
require("../../../../vendor/Package.10.cjs");
|
|
28
|
-
|
|
29
25
|
require("util");
|
|
30
26
|
|
|
31
27
|
require("../../../exceptions/dto/InvalidValueException.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as t } from "../../../../vendor/Package.1.mjs";
|
|
2
2
|
|
|
3
|
-
import { D as
|
|
3
|
+
import { D as r } from "../../../../vendor/Package.2.mjs";
|
|
4
4
|
|
|
5
5
|
import { IndexSignature as e } from "../../../decorators/dto/IndexSignature.mjs";
|
|
6
6
|
|
|
@@ -14,12 +14,8 @@ import "node:util/types";
|
|
|
14
14
|
|
|
15
15
|
import "../../validation/VLD.mjs";
|
|
16
16
|
|
|
17
|
-
import "../../../../vendor/Package.11.mjs";
|
|
18
|
-
|
|
19
17
|
import "url";
|
|
20
18
|
|
|
21
|
-
import "../../../../vendor/Package.10.mjs";
|
|
22
|
-
|
|
23
19
|
import "util";
|
|
24
20
|
|
|
25
21
|
import "../../../exceptions/dto/InvalidValueException.mjs";
|
|
@@ -58,8 +54,8 @@ import "../../helpers/ObjectParentConstructor.mjs";
|
|
|
58
54
|
|
|
59
55
|
import "../../helpers/ObjectPrototype.mjs";
|
|
60
56
|
|
|
61
|
-
let o = class FlexibleDTO extends
|
|
57
|
+
let o = class FlexibleDTO extends r {};
|
|
62
58
|
|
|
63
|
-
o =
|
|
59
|
+
o = t([ e(r.Any()) ], o);
|
|
64
60
|
|
|
65
61
|
export { o as FlexibleDTO };
|
|
@@ -22,12 +22,8 @@ require("node:util/types");
|
|
|
22
22
|
|
|
23
23
|
require("../../validation/VLD.cjs");
|
|
24
24
|
|
|
25
|
-
require("../../../../vendor/Package.11.cjs");
|
|
26
|
-
|
|
27
25
|
require("url");
|
|
28
26
|
|
|
29
|
-
require("../../../../vendor/Package.10.cjs");
|
|
30
|
-
|
|
31
27
|
require("util");
|
|
32
28
|
|
|
33
29
|
require("../../../exceptions/dto/InvalidValueException.cjs");
|
|
@@ -70,20 +66,20 @@ require("../../../decorators/dto/Expect.cjs");
|
|
|
70
66
|
|
|
71
67
|
require("../../../decorators/dto/IndexSignature.cjs");
|
|
72
68
|
|
|
73
|
-
function s(s,
|
|
74
|
-
let
|
|
69
|
+
function s(s, t) {
|
|
70
|
+
let c = r.FlexibleDTO;
|
|
75
71
|
let i = {};
|
|
76
|
-
if (s &&
|
|
77
|
-
|
|
78
|
-
i =
|
|
72
|
+
if (s && t) {
|
|
73
|
+
c = s;
|
|
74
|
+
i = t;
|
|
79
75
|
} else if (s) {
|
|
80
76
|
if (s.constructor.name.toUpperCase() === "FUNCTION") {
|
|
81
|
-
|
|
77
|
+
c = s;
|
|
82
78
|
} else {
|
|
83
79
|
i = s;
|
|
84
80
|
}
|
|
85
81
|
}
|
|
86
|
-
return [
|
|
82
|
+
return [ c, e.ActionOptions.validate(i) ];
|
|
87
83
|
}
|
|
88
84
|
|
|
89
85
|
exports.GetActionDTOAndOptions = s;
|
|
@@ -16,12 +16,8 @@ import "node:util/types";
|
|
|
16
16
|
|
|
17
17
|
import "../../validation/VLD.mjs";
|
|
18
18
|
|
|
19
|
-
import "../../../../vendor/Package.11.mjs";
|
|
20
|
-
|
|
21
19
|
import "url";
|
|
22
20
|
|
|
23
|
-
import "../../../../vendor/Package.10.mjs";
|
|
24
|
-
|
|
25
21
|
import "util";
|
|
26
22
|
|
|
27
23
|
import "../../../exceptions/dto/InvalidValueException.mjs";
|