taon-typeorm 19.0.19 → 19.0.22
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/browser/package.json +1 -1
- package/client/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/env/env.angular-node-app.d.ts +13 -0
- package/lib/env/env.angular-node-app.js +19 -0
- package/lib/env/env.angular-node-app.js.map +1 -0
- package/lib/env/env.electron-app.d.ts +13 -0
- package/lib/env/env.electron-app.js +19 -0
- package/lib/env/env.electron-app.js.map +1 -0
- package/lib/env/env.mobile-app.d.ts +13 -0
- package/lib/env/env.mobile-app.js +19 -0
- package/lib/env/env.mobile-app.js.map +1 -0
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +13 -0
- package/lib/env/env.npm-lib-and-cli-tool.js +19 -0
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib/env/env.vscode-plugin.d.ts +13 -0
- package/lib/env/env.vscode-plugin.js +19 -0
- package/lib/env/env.vscode-plugin.js.map +1 -0
- package/lib/env/index.d.ts +5 -0
- package/lib/env/index.js +22 -0
- package/lib/env/index.js.map +1 -0
- package/package.json +1 -1
- package/tmp-environment.json +4 -8
- package/websql/package.json +1 -1
- package/client/README.md +0 -24
- package/client/fesm2022/taon-typeorm.mjs +0 -30436
- package/client/fesm2022/taon-typeorm.mjs.map +0 -1
- package/client/index.d.ts +0 -6
- package/client/lib/index.d.ts +0 -2
- package/client/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
- package/client/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
- package/client/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
- package/client/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
- package/client/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
- package/client/lib/typeorm/common/DeepPartial.d.ts +0 -7
- package/client/lib/typeorm/common/EntityTarget.d.ts +0 -10
- package/client/lib/typeorm/common/MixedList.d.ts +0 -9
- package/client/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
- package/client/lib/typeorm/common/ObjectType.d.ts +0 -7
- package/client/lib/typeorm/common/RelationType.d.ts +0 -15
- package/client/lib/typeorm/connection/Connection.d.ts +0 -11
- package/client/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
- package/client/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
- package/client/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
- package/client/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
- package/client/lib/typeorm/constants.d.ts +0 -2
- package/client/lib/typeorm/container.d.ts +0 -40
- package/client/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
- package/client/lib/typeorm/data-source/DataSource.d.ts +0 -247
- package/client/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
- package/client/lib/typeorm/data-source/index.d.ts +0 -3
- package/client/lib/typeorm/decorator/Check.d.ts +0 -13
- package/client/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
- package/client/lib/typeorm/decorator/Exclusion.d.ts +0 -13
- package/client/lib/typeorm/decorator/Generated.d.ts +0 -11
- package/client/lib/typeorm/decorator/Index.d.ts +0 -50
- package/client/lib/typeorm/decorator/Unique.d.ts +0 -22
- package/client/lib/typeorm/decorator/columns/Column.d.ts +0 -75
- package/client/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
- package/client/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
- package/client/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
- package/client/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
- package/client/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
- package/client/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
- package/client/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
- package/client/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
- package/client/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
- package/client/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
- package/client/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
- package/client/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
- package/client/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
- package/client/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
- package/client/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
- package/client/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
- package/client/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
- package/client/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
- package/client/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
- package/client/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
- package/client/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
- package/client/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
- package/client/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
- package/client/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
- package/client/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
- package/client/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
- package/client/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
- package/client/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
- package/client/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
- package/client/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
- package/client/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
- package/client/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
- package/client/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
- package/client/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
- package/client/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
- package/client/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
- package/client/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
- package/client/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
- package/client/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
- package/client/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
- package/client/lib/typeorm/driver/Driver.d.ts +0 -208
- package/client/lib/typeorm/driver/DriverFactory.d.ts +0 -12
- package/client/lib/typeorm/driver/DriverUtils.d.ts +0 -62
- package/client/lib/typeorm/driver/Query.d.ts +0 -10
- package/client/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
- package/client/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
- package/client/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
- package/client/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
- package/client/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
- package/client/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
- package/client/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
- package/client/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
- package/client/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
- package/client/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
- package/client/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
- package/client/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
- package/client/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
- package/client/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
- package/client/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
- package/client/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
- package/client/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
- package/client/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
- package/client/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
- package/client/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
- package/client/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
- package/client/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
- package/client/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
- package/client/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
- package/client/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
- package/client/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
- package/client/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
- package/client/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
- package/client/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
- package/client/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
- package/client/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
- package/client/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
- package/client/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
- package/client/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
- package/client/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
- package/client/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
- package/client/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
- package/client/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
- package/client/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
- package/client/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
- package/client/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
- package/client/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
- package/client/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
- package/client/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
- package/client/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
- package/client/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
- package/client/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
- package/client/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
- package/client/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
- package/client/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
- package/client/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
- package/client/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
- package/client/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
- package/client/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
- package/client/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
- package/client/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
- package/client/lib/typeorm/error/MissingDriverError.d.ts +0 -8
- package/client/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
- package/client/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
- package/client/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
- package/client/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
- package/client/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
- package/client/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
- package/client/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
- package/client/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
- package/client/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
- package/client/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
- package/client/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
- package/client/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
- package/client/lib/typeorm/error/QueryFailedError.d.ts +0 -11
- package/client/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
- package/client/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
- package/client/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
- package/client/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
- package/client/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
- package/client/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
- package/client/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
- package/client/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
- package/client/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
- package/client/lib/typeorm/error/TypeORMError.d.ts +0 -5
- package/client/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
- package/client/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/index.d.ts +0 -62
- package/client/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
- package/client/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
- package/client/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
- package/client/lib/typeorm/find-options/FindOperator.d.ts +0 -66
- package/client/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
- package/client/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
- package/client/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
- package/client/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
- package/client/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
- package/client/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
- package/client/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
- package/client/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
- package/client/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
- package/client/lib/typeorm/find-options/operator/Any.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Between.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
- package/client/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/In.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Like.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Not.d.ts +0 -8
- package/client/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
- package/client/lib/typeorm/globals.d.ts +0 -104
- package/client/lib/typeorm/index.d.ts +0 -168
- package/client/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
- package/client/lib/typeorm/logger/DebugLogger.d.ts +0 -41
- package/client/lib/typeorm/logger/Logger.d.ts +0 -32
- package/client/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
- package/client/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
- package/client/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
- package/client/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
- package/client/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
- package/client/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
- package/client/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
- package/client/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
- package/client/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
- package/client/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
- package/client/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
- package/client/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
- package/client/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
- package/client/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
- package/client/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
- package/client/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
- package/client/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
- package/client/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
- package/client/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
- package/client/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
- package/client/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
- package/client/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
- package/client/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
- package/client/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
- package/client/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
- package/client/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
- package/client/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
- package/client/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
- package/client/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
- package/client/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
- package/client/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
- package/client/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
- package/client/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
- package/client/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
- package/client/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
- package/client/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
- package/client/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
- package/client/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
- package/client/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
- package/client/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
- package/client/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
- package/client/lib/typeorm/migration/Migration.d.ts +0 -25
- package/client/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
- package/client/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
- package/client/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
- package/client/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
- package/client/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
- package/client/lib/typeorm/persistence/Subject.d.ts +0 -156
- package/client/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
- package/client/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
- package/client/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
- package/client/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
- package/client/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
- package/client/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
- package/client/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
- package/client/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
- package/client/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
- package/client/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
- package/client/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
- package/client/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
- package/client/lib/typeorm/platform/PlatformTools.d.ts +0 -65
- package/client/lib/typeorm/query-builder/Alias.d.ts +0 -23
- package/client/lib/typeorm/query-builder/Brackets.d.ts +0 -17
- package/client/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
- package/client/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
- package/client/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
- package/client/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
- package/client/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
- package/client/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
- package/client/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
- package/client/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
- package/client/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
- package/client/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
- package/client/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
- package/client/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
- package/client/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
- package/client/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
- package/client/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
- package/client/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
- package/client/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
- package/client/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
- package/client/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
- package/client/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
- package/client/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
- package/client/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
- package/client/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
- package/client/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
- package/client/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
- package/client/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
- package/client/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
- package/client/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
- package/client/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
- package/client/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
- package/client/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
- package/client/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
- package/client/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
- package/client/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
- package/client/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
- package/client/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
- package/client/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
- package/client/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
- package/client/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
- package/client/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
- package/client/lib/typeorm/relation-path.d.ts +0 -7
- package/client/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
- package/client/lib/typeorm/repository/BaseEntity.d.ts +0 -298
- package/client/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
- package/client/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
- package/client/lib/typeorm/repository/Repository.d.ts +0 -292
- package/client/lib/typeorm/repository/SaveOptions.d.ts +0 -36
- package/client/lib/typeorm/repository/TreeRepository.d.ts +0 -56
- package/client/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
- package/client/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
- package/client/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
- package/client/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
- package/client/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
- package/client/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
- package/client/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
- package/client/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
- package/client/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
- package/client/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
- package/client/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
- package/client/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
- package/client/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
- package/client/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
- package/client/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
- package/client/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
- package/client/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
- package/client/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
- package/client/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
- package/client/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
- package/client/lib/typeorm/schema-builder/view/View.d.ts +0 -38
- package/client/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
- package/client/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
- package/client/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
- package/client/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
- package/client/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
- package/client/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
- package/client/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
- package/client/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
- package/client/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
- package/client/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
- package/client/lib/typeorm/util/DateUtils.d.ts +0 -59
- package/client/lib/typeorm/util/DepGraph.d.ts +0 -65
- package/client/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
- package/client/lib/typeorm/util/ImportUtils.d.ts +0 -2
- package/client/lib/typeorm/util/InstanceChecker.d.ts +0 -60
- package/client/lib/typeorm/util/ObjectUtils.d.ts +0 -38
- package/client/lib/typeorm/util/OrmUtils.d.ts +0 -53
- package/client/lib/typeorm/util/PathUtils.d.ts +0 -11
- package/client/lib/typeorm/util/RandomGenerator.d.ts +0 -16
- package/client/lib/typeorm/util/StringUtils.d.ts +0 -64
- package/client/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
- package/client/lib/typeorm/util/VersionUtils.d.ts +0 -5
- package/client/lib/typeorm/util/escapeRegExp.d.ts +0 -2
- package/client/public-api.d.ts +0 -2
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when consumer tries to access repository before connection is established.
|
|
5
|
-
*/
|
|
6
|
-
export declare class NoConnectionForRepositoryError extends TypeORMError {
|
|
7
|
-
constructor(connectionName: string);
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when consumer tries to release entity manager that does not use single database connection.
|
|
5
|
-
*/
|
|
6
|
-
export declare class NoNeedToReleaseEntityManagerError extends TypeORMError {
|
|
7
|
-
constructor();
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when an entity does not have no version and no update date column.
|
|
5
|
-
*/
|
|
6
|
-
export declare class NoVersionOrUpdateDateColumnError extends TypeORMError {
|
|
7
|
-
constructor(entity: string);
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when user tries to build SELECT query using OFFSET without LIMIT applied but database does not support it.
|
|
5
|
-
*/
|
|
6
|
-
export declare class OffsetWithoutLimitNotSupportedError extends TypeORMError {
|
|
7
|
-
constructor();
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when a version check on an object that uses optimistic locking through a version field fails.
|
|
5
|
-
*/
|
|
6
|
-
export declare class OptimisticLockVersionMismatchError extends TypeORMError {
|
|
7
|
-
constructor(entity: string, expectedVersion: number | Date, actualVersion: number | Date);
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when a transaction is required for the current operation, but there is none open.
|
|
5
|
-
*/
|
|
6
|
-
export declare class PessimisticLockTransactionRequiredError extends TypeORMError {
|
|
7
|
-
constructor();
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when query execution has failed.
|
|
5
|
-
*/
|
|
6
|
-
export declare class QueryFailedError extends TypeORMError {
|
|
7
|
-
readonly query: string;
|
|
8
|
-
readonly parameters: any[] | undefined;
|
|
9
|
-
readonly driverError: any;
|
|
10
|
-
constructor(query: string, parameters: any[] | undefined, driverError: any);
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when consumer tries to use query runner from query runner provider after it was released.
|
|
5
|
-
*/
|
|
6
|
-
export declare class QueryRunnerProviderAlreadyReleasedError extends TypeORMError {
|
|
7
|
-
constructor();
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityTarget } from "../common/EntityTarget";
|
|
3
|
-
import { TypeORMError } from "./TypeORMError";
|
|
4
|
-
/**
|
|
5
|
-
* Thrown when repository for the given class is not found.
|
|
6
|
-
*/
|
|
7
|
-
export declare class RepositoryNotTreeError extends TypeORMError {
|
|
8
|
-
constructor(entityClass: EntityTarget<any>);
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "./TypeORMError";
|
|
3
|
-
/**
|
|
4
|
-
* Thrown when user tries to build a query with RETURNING / OUTPUT statement,
|
|
5
|
-
* but used database does not support it.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ReturningStatementNotSupportedError extends TypeORMError {
|
|
8
|
-
constructor();
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../persistence/Subject";
|
|
3
|
-
import { TypeORMError } from "./TypeORMError";
|
|
4
|
-
/**
|
|
5
|
-
* Thrown when same object is scheduled for remove and updation at the same time.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SubjectRemovedAndUpdatedError extends TypeORMError {
|
|
8
|
-
constructor(subject: Subject);
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../persistence/Subject";
|
|
3
|
-
import { TypeORMError } from "./TypeORMError";
|
|
4
|
-
/**
|
|
5
|
-
* Thrown when operation is going to be executed on a subject without identifier.
|
|
6
|
-
* This error should never be thrown, however it still presents to prevent user from updation or removing the whole table.
|
|
7
|
-
* If this error occurs still, it most probably is an ORM internal problem which must be reported and fixed.
|
|
8
|
-
*/
|
|
9
|
-
export declare class SubjectWithoutIdentifierError extends TypeORMError {
|
|
10
|
-
constructor(subject: Subject);
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
3
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
4
|
-
import { TypeORMError } from "./TypeORMError";
|
|
5
|
-
export declare class UsingJoinColumnIsNotAllowedError extends TypeORMError {
|
|
6
|
-
constructor(entityMetadata: EntityMetadata, relation: RelationMetadata);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
3
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
4
|
-
import { TypeORMError } from "./TypeORMError";
|
|
5
|
-
export declare class UsingJoinColumnOnlyOnOneSideAllowedError extends TypeORMError {
|
|
6
|
-
constructor(entityMetadata: EntityMetadata, relation: RelationMetadata);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
3
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
4
|
-
import { TypeORMError } from "./TypeORMError";
|
|
5
|
-
export declare class UsingJoinTableIsNotAllowedError extends TypeORMError {
|
|
6
|
-
constructor(entityMetadata: EntityMetadata, relation: RelationMetadata);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
3
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
4
|
-
import { TypeORMError } from "./TypeORMError";
|
|
5
|
-
export declare class UsingJoinTableOnlyOnOneSideAllowedError extends TypeORMError {
|
|
6
|
-
constructor(entityMetadata: EntityMetadata, relation: RelationMetadata);
|
|
7
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export * from "./CannotReflectMethodParameterTypeError";
|
|
3
|
-
export * from "./AlreadyHasActiveConnectionError";
|
|
4
|
-
export * from "./SubjectWithoutIdentifierError";
|
|
5
|
-
export * from "./CannotConnectAlreadyConnectedError";
|
|
6
|
-
export * from "./LockNotSupportedOnGivenDriverError";
|
|
7
|
-
export * from "./ConnectionIsNotSetError";
|
|
8
|
-
export * from "./CannotCreateEntityIdMapError";
|
|
9
|
-
export * from "./MetadataAlreadyExistsError";
|
|
10
|
-
export * from "./CannotDetermineEntityError";
|
|
11
|
-
export * from "./UpdateValuesMissingError";
|
|
12
|
-
export * from "./TreeRepositoryNotSupportedError";
|
|
13
|
-
export * from "./CustomRepositoryNotFoundError";
|
|
14
|
-
export * from "./TransactionNotStartedError";
|
|
15
|
-
export * from "./TransactionAlreadyStartedError";
|
|
16
|
-
export * from "./EntityNotFoundError";
|
|
17
|
-
export * from "./EntityMetadataNotFoundError";
|
|
18
|
-
export * from "./MustBeEntityError";
|
|
19
|
-
export * from "./OptimisticLockVersionMismatchError";
|
|
20
|
-
export * from "./LimitOnUpdateNotSupportedError";
|
|
21
|
-
export * from "./PrimaryColumnCannotBeNullableError";
|
|
22
|
-
export * from "./CustomRepositoryCannotInheritRepositoryError";
|
|
23
|
-
export * from "./QueryRunnerProviderAlreadyReleasedError";
|
|
24
|
-
export * from "./CannotAttachTreeChildrenEntityError";
|
|
25
|
-
export * from "./CustomRepositoryDoesNotHaveEntityError";
|
|
26
|
-
export * from "./MissingDeleteDateColumnError";
|
|
27
|
-
export * from "./NoConnectionForRepositoryError";
|
|
28
|
-
export * from "./CircularRelationsError";
|
|
29
|
-
export * from "./ReturningStatementNotSupportedError";
|
|
30
|
-
export * from "./UsingJoinTableIsNotAllowedError";
|
|
31
|
-
export * from "./MissingJoinColumnError";
|
|
32
|
-
export * from "./MissingPrimaryColumnError";
|
|
33
|
-
export * from "./EntityPropertyNotFoundError";
|
|
34
|
-
export * from "./MissingDriverError";
|
|
35
|
-
export * from "./DriverPackageNotInstalledError";
|
|
36
|
-
export * from "./CannotGetEntityManagerNotConnectedError";
|
|
37
|
-
export * from "./ConnectionNotFoundError";
|
|
38
|
-
export * from "./NoVersionOrUpdateDateColumnError";
|
|
39
|
-
export * from "./InsertValuesMissingError";
|
|
40
|
-
export * from "./OptimisticLockCanNotBeUsedError";
|
|
41
|
-
export * from "./MetadataWithSuchNameAlreadyExistsError";
|
|
42
|
-
export * from "./DriverOptionNotSetError";
|
|
43
|
-
export * from "./FindRelationsNotFoundError";
|
|
44
|
-
export * from "./NamingStrategyNotFoundError";
|
|
45
|
-
export * from "./PessimisticLockTransactionRequiredError";
|
|
46
|
-
export * from "./RepositoryNotTreeError";
|
|
47
|
-
export * from "./DataTypeNotSupportedError";
|
|
48
|
-
export * from "./InitializedRelationError";
|
|
49
|
-
export * from "./MissingJoinTableError";
|
|
50
|
-
export * from "./QueryFailedError";
|
|
51
|
-
export * from "./NoNeedToReleaseEntityManagerError";
|
|
52
|
-
export * from "./UsingJoinColumnOnlyOnOneSideAllowedError";
|
|
53
|
-
export * from "./UsingJoinTableOnlyOnOneSideAllowedError";
|
|
54
|
-
export * from "./SubjectRemovedAndUpdatedError";
|
|
55
|
-
export * from "./PersistedEntityNotFoundError";
|
|
56
|
-
export * from "./UsingJoinColumnIsNotAllowedError";
|
|
57
|
-
export * from "./ColumnTypeUndefinedError";
|
|
58
|
-
export * from "./QueryRunnerAlreadyReleasedError";
|
|
59
|
-
export * from "./OffsetWithoutLimitNotSupportedError";
|
|
60
|
-
export * from "./CannotExecuteNotConnectedError";
|
|
61
|
-
export * from "./NoConnectionOptionError";
|
|
62
|
-
export * from "./TypeORMError";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { FindOneOptions } from "./FindOneOptions";
|
|
3
|
-
/**
|
|
4
|
-
* Defines a special criteria to find specific entities.
|
|
5
|
-
*/
|
|
6
|
-
export interface FindManyOptions<Entity = any> extends FindOneOptions<Entity> {
|
|
7
|
-
/**
|
|
8
|
-
* Offset (paginated) where from entities should be taken.
|
|
9
|
-
*/
|
|
10
|
-
skip?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Limit (paginated) - max number of entities should be taken.
|
|
13
|
-
*/
|
|
14
|
-
take?: number;
|
|
15
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { JoinOptions } from "./JoinOptions";
|
|
3
|
-
import { FindOptionsWhere } from "./FindOptionsWhere";
|
|
4
|
-
import { FindOptionsSelect, FindOptionsSelectByString } from "./FindOptionsSelect";
|
|
5
|
-
import { FindOptionsRelationByString, FindOptionsRelations } from "./FindOptionsRelations";
|
|
6
|
-
import { FindOptionsOrder } from "./FindOptionsOrder";
|
|
7
|
-
import { RelationPath } from "../relation-path";
|
|
8
|
-
/**
|
|
9
|
-
* Defines a special criteria to find specific entity.
|
|
10
|
-
*/
|
|
11
|
-
export interface FindOneOptions<Entity = any> {
|
|
12
|
-
/**
|
|
13
|
-
* Adds a comment with the supplied string in the generated query. This is
|
|
14
|
-
* helpful for debugging purposes, such as finding a specific query in the
|
|
15
|
-
* database server's logs, or for categorization using an APM product.
|
|
16
|
-
*/
|
|
17
|
-
comment?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies what columns should be retrieved.
|
|
20
|
-
*/
|
|
21
|
-
select?: FindOptionsSelect<Entity> | FindOptionsSelectByString<Entity>;
|
|
22
|
-
/**
|
|
23
|
-
* Simple condition that should be applied to match entities.
|
|
24
|
-
*/
|
|
25
|
-
where?: FindOptionsWhere<Entity>[] | FindOptionsWhere<Entity>;
|
|
26
|
-
/**
|
|
27
|
-
* Indicates what relations of entity should be loaded (simplified left join form).
|
|
28
|
-
*/
|
|
29
|
-
relations?: RelationPath<Entity>[] | FindOptionsRelations<Entity> | FindOptionsRelationByString;
|
|
30
|
-
/**
|
|
31
|
-
* Specifies how relations must be loaded - using "joins" or separate queries.
|
|
32
|
-
* If you are loading too much data with nested joins it's better to load relations
|
|
33
|
-
* using separate queries.
|
|
34
|
-
*
|
|
35
|
-
* Default strategy is "join", but default can be customized in connection options.
|
|
36
|
-
*/
|
|
37
|
-
relationLoadStrategy?: "join" | "query";
|
|
38
|
-
/**
|
|
39
|
-
* Specifies what relations should be loaded.
|
|
40
|
-
*
|
|
41
|
-
* @deprecated
|
|
42
|
-
*/
|
|
43
|
-
join?: JoinOptions;
|
|
44
|
-
/**
|
|
45
|
-
* Order, in which entities should be ordered.
|
|
46
|
-
*/
|
|
47
|
-
order?: FindOptionsOrder<Entity>;
|
|
48
|
-
/**
|
|
49
|
-
* Enables or disables query result caching.
|
|
50
|
-
*/
|
|
51
|
-
cache?: boolean | number | {
|
|
52
|
-
id: any;
|
|
53
|
-
milliseconds: number;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Indicates what locking mode should be used.
|
|
57
|
-
*
|
|
58
|
-
* Note: For lock tables, you must specify the table names and not the relation names
|
|
59
|
-
*/
|
|
60
|
-
lock?: {
|
|
61
|
-
mode: "optimistic";
|
|
62
|
-
version: number | Date;
|
|
63
|
-
} | {
|
|
64
|
-
mode: "pessimistic_read" | "pessimistic_write" | "dirty_read" | "pessimistic_partial_write" | "pessimistic_write_or_fail" | "for_no_key_update" | "for_key_share";
|
|
65
|
-
tables?: string[];
|
|
66
|
-
onLocked?: "nowait" | "skip_locked";
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Indicates if soft-deleted rows should be included in entity result.
|
|
70
|
-
*/
|
|
71
|
-
withDeleted?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* If sets to true then loads all relation ids of the entity and maps them into relation values (not relation objects).
|
|
74
|
-
* If array of strings is given then loads only relation ids of the given properties.
|
|
75
|
-
*/
|
|
76
|
-
loadRelationIds?: boolean | {
|
|
77
|
-
relations?: string[];
|
|
78
|
-
disableMixedMap?: boolean;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Indicates if eager relations should be loaded or not.
|
|
82
|
-
* By default, they are loaded when find methods are used.
|
|
83
|
-
*/
|
|
84
|
-
loadEagerRelations?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* If this is set to true, SELECT query in a `find` method will be executed in a transaction.
|
|
87
|
-
*/
|
|
88
|
-
transaction?: boolean;
|
|
89
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectLiteral } from "../common/ObjectLiteral";
|
|
3
|
-
import { FindOperatorType } from "./FindOperatorType";
|
|
4
|
-
type SqlGeneratorType = (aliasPath: string) => string;
|
|
5
|
-
/**
|
|
6
|
-
* Find Operator used in Find Conditions.
|
|
7
|
-
*/
|
|
8
|
-
export declare class FindOperator<T> {
|
|
9
|
-
readonly "@instanceof": symbol;
|
|
10
|
-
/**
|
|
11
|
-
* Operator type.
|
|
12
|
-
*/
|
|
13
|
-
private _type;
|
|
14
|
-
/**
|
|
15
|
-
* Parameter value.
|
|
16
|
-
*/
|
|
17
|
-
private _value;
|
|
18
|
-
/**
|
|
19
|
-
* ObjectLiteral parameters.
|
|
20
|
-
*/
|
|
21
|
-
private _objectLiteralParameters;
|
|
22
|
-
/**
|
|
23
|
-
* Indicates if parameter is used or not for this operator.
|
|
24
|
-
*/
|
|
25
|
-
private _useParameter;
|
|
26
|
-
/**
|
|
27
|
-
* Indicates if multiple parameters must be used for this operator.
|
|
28
|
-
*/
|
|
29
|
-
private _multipleParameters;
|
|
30
|
-
/**
|
|
31
|
-
* SQL generator
|
|
32
|
-
*/
|
|
33
|
-
private _getSql;
|
|
34
|
-
constructor(type: FindOperatorType, value: T | FindOperator<T>, useParameter?: boolean, multipleParameters?: boolean, getSql?: SqlGeneratorType, objectLiteralParameters?: ObjectLiteral);
|
|
35
|
-
/**
|
|
36
|
-
* Indicates if parameter is used or not for this operator.
|
|
37
|
-
* Extracts final value if value is another find operator.
|
|
38
|
-
*/
|
|
39
|
-
get useParameter(): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Indicates if multiple parameters must be used for this operator.
|
|
42
|
-
* Extracts final value if value is another find operator.
|
|
43
|
-
*/
|
|
44
|
-
get multipleParameters(): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Gets the Type of this FindOperator
|
|
47
|
-
*/
|
|
48
|
-
get type(): FindOperatorType;
|
|
49
|
-
/**
|
|
50
|
-
* Gets the final value needs to be used as parameter value.
|
|
51
|
-
*/
|
|
52
|
-
get value(): T;
|
|
53
|
-
/**
|
|
54
|
-
* Gets ObjectLiteral parameters.
|
|
55
|
-
*/
|
|
56
|
-
get objectLiteralParameters(): ObjectLiteral | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Gets the child FindOperator if it exists
|
|
59
|
-
*/
|
|
60
|
-
get child(): FindOperator<T> | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Gets the SQL generator
|
|
63
|
-
*/
|
|
64
|
-
get getSql(): SqlGeneratorType | undefined;
|
|
65
|
-
}
|
|
66
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* List of types that FindOperator can be.
|
|
4
|
-
*/
|
|
5
|
-
export type FindOperatorType = "not" | "lessThan" | "lessThanOrEqual" | "moreThan" | "moreThanOrEqual" | "equal" | "between" | "in" | "any" | "isNull" | "ilike" | "like" | "raw" | "arrayContains" | "arrayContainedBy" | "arrayOverlap" | "and";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectID } from "../driver/mongodb/typings";
|
|
3
|
-
/**
|
|
4
|
-
* A single property handler for FindOptionsOrder.
|
|
5
|
-
*/
|
|
6
|
-
export type FindOptionsOrderProperty<Property> = Property extends Promise<infer I> ? FindOptionsOrderProperty<NonNullable<I>> : Property extends Array<infer I> ? FindOptionsOrderProperty<NonNullable<I>> : Property extends Function ? never : Property extends Date ? FindOptionsOrderValue : Property extends ObjectID ? FindOptionsOrderValue : Property extends object ? FindOptionsOrder<Property> : FindOptionsOrderValue;
|
|
7
|
-
/**
|
|
8
|
-
* Order by find options.
|
|
9
|
-
*/
|
|
10
|
-
export type FindOptionsOrder<Entity> = {
|
|
11
|
-
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsOrderProperty<NonNullable<Entity[P]>>;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Value of order by in find options.
|
|
15
|
-
*/
|
|
16
|
-
export type FindOptionsOrderValue = "ASC" | "DESC" | "asc" | "desc" | 1 | -1 | {
|
|
17
|
-
direction?: "asc" | "desc" | "ASC" | "DESC";
|
|
18
|
-
nulls?: "first" | "last" | "FIRST" | "LAST";
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectID } from "../driver/mongodb/typings";
|
|
3
|
-
/**
|
|
4
|
-
* A single property handler for FindOptionsRelations.
|
|
5
|
-
*/
|
|
6
|
-
export type FindOptionsRelationsProperty<Property> = Property extends Promise<infer I> ? FindOptionsRelationsProperty<NonNullable<I>> | boolean : Property extends Array<infer I> ? FindOptionsRelationsProperty<NonNullable<I>> | boolean : Property extends Function ? never : Property extends Date ? never : Property extends ObjectID ? never : Property extends object ? FindOptionsRelations<Property> | boolean : boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Relations find options.
|
|
9
|
-
*/
|
|
10
|
-
export type FindOptionsRelations<Entity> = {
|
|
11
|
-
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsRelationsProperty<NonNullable<Entity[P]>>;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Relation names to be selected by "relation" defined as string.
|
|
15
|
-
* Old relation mechanism in TypeORM.
|
|
16
|
-
*
|
|
17
|
-
* @deprecated will be removed in the next version, use FindOptionsRelation type notation instead
|
|
18
|
-
*/
|
|
19
|
-
export type FindOptionsRelationByString = string[];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* A single property handler for FindOptionsSelect.
|
|
4
|
-
*/
|
|
5
|
-
export type FindOptionsSelectProperty<Property> = Property extends Promise<infer I> ? FindOptionsSelectProperty<I> | boolean : Property extends Array<infer I> ? FindOptionsSelectProperty<I> | boolean : Property extends Function ? never : Property extends Date ? boolean : Property extends object ? FindOptionsSelect<Property> : boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Select find options.
|
|
8
|
-
*/
|
|
9
|
-
export type FindOptionsSelect<Entity> = {
|
|
10
|
-
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsSelectProperty<NonNullable<Entity[P]>>;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Property paths (column names) to be selected by "find" defined as string.
|
|
14
|
-
* Old selection mechanism in TypeORM.
|
|
15
|
-
*
|
|
16
|
-
* @deprecated will be removed in the next version, use FindOptionsSelect type notation instead
|
|
17
|
-
*/
|
|
18
|
-
export type FindOptionsSelectByString<Entity> = (keyof Entity)[];
|