taon-typeorm 21.0.2 → 21.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/fesm2022/taon-typeorm.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/taon-typeorm.d.ts +12402 -0
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/typeorm/query-builder/DeleteQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/DeleteQueryBuilder.js.map +1 -1
- package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js.map +1 -1
- package/lib/typeorm/query-builder/UpdateQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/UpdateQueryBuilder.js.map +1 -1
- package/package.json +1 -1
- package/websql/fesm2022/taon-typeorm.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/taon-typeorm.d.ts +12402 -0
- package/browser/index.d.ts +0 -6
- package/browser/lib/index.d.ts +0 -2
- package/browser/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
- package/browser/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
- package/browser/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
- package/browser/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
- package/browser/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
- package/browser/lib/typeorm/common/DeepPartial.d.ts +0 -7
- package/browser/lib/typeorm/common/EntityTarget.d.ts +0 -10
- package/browser/lib/typeorm/common/MixedList.d.ts +0 -9
- package/browser/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
- package/browser/lib/typeorm/common/ObjectType.d.ts +0 -7
- package/browser/lib/typeorm/common/RelationType.d.ts +0 -15
- package/browser/lib/typeorm/connection/Connection.d.ts +0 -11
- package/browser/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
- package/browser/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
- package/browser/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
- package/browser/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
- package/browser/lib/typeorm/constants.d.ts +0 -2
- package/browser/lib/typeorm/container.d.ts +0 -40
- package/browser/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
- package/browser/lib/typeorm/data-source/DataSource.d.ts +0 -247
- package/browser/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
- package/browser/lib/typeorm/data-source/index.d.ts +0 -3
- package/browser/lib/typeorm/decorator/Check.d.ts +0 -13
- package/browser/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
- package/browser/lib/typeorm/decorator/Exclusion.d.ts +0 -13
- package/browser/lib/typeorm/decorator/Generated.d.ts +0 -11
- package/browser/lib/typeorm/decorator/Index.d.ts +0 -50
- package/browser/lib/typeorm/decorator/Unique.d.ts +0 -22
- package/browser/lib/typeorm/decorator/columns/Column.d.ts +0 -75
- package/browser/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
- package/browser/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
- package/browser/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
- package/browser/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
- package/browser/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
- package/browser/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
- package/browser/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
- package/browser/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
- package/browser/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
- package/browser/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
- package/browser/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
- package/browser/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
- package/browser/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
- package/browser/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
- package/browser/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
- package/browser/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
- package/browser/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
- package/browser/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
- package/browser/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
- package/browser/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
- package/browser/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
- package/browser/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
- package/browser/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
- package/browser/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
- package/browser/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
- package/browser/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
- package/browser/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
- package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
- package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
- package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
- package/browser/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
- package/browser/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
- package/browser/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
- package/browser/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
- package/browser/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
- package/browser/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
- package/browser/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
- package/browser/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
- package/browser/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
- package/browser/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
- package/browser/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
- package/browser/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
- package/browser/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
- package/browser/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
- package/browser/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
- package/browser/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
- package/browser/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
- package/browser/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
- package/browser/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
- package/browser/lib/typeorm/driver/Driver.d.ts +0 -208
- package/browser/lib/typeorm/driver/DriverFactory.d.ts +0 -12
- package/browser/lib/typeorm/driver/DriverUtils.d.ts +0 -62
- package/browser/lib/typeorm/driver/Query.d.ts +0 -10
- package/browser/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
- package/browser/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
- package/browser/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
- package/browser/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
- package/browser/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
- package/browser/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
- package/browser/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
- package/browser/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
- package/browser/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
- package/browser/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
- package/browser/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
- package/browser/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
- package/browser/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
- package/browser/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
- package/browser/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
- package/browser/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
- package/browser/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
- package/browser/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
- package/browser/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
- package/browser/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
- package/browser/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
- package/browser/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
- package/browser/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
- package/browser/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
- package/browser/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
- package/browser/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
- package/browser/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
- package/browser/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
- package/browser/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
- package/browser/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
- package/browser/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
- package/browser/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
- package/browser/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
- package/browser/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
- package/browser/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
- package/browser/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
- package/browser/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
- package/browser/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
- package/browser/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
- package/browser/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
- package/browser/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
- package/browser/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
- package/browser/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
- package/browser/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
- package/browser/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
- package/browser/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
- package/browser/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
- package/browser/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
- package/browser/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
- package/browser/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
- package/browser/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
- package/browser/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
- package/browser/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
- package/browser/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
- package/browser/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
- package/browser/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
- package/browser/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
- package/browser/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
- package/browser/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
- package/browser/lib/typeorm/error/MissingDriverError.d.ts +0 -8
- package/browser/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
- package/browser/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
- package/browser/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
- package/browser/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
- package/browser/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
- package/browser/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
- package/browser/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
- package/browser/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
- package/browser/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
- package/browser/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
- package/browser/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
- package/browser/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
- package/browser/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
- package/browser/lib/typeorm/error/QueryFailedError.d.ts +0 -11
- package/browser/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
- package/browser/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
- package/browser/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
- package/browser/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
- package/browser/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
- package/browser/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
- package/browser/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
- package/browser/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
- package/browser/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
- package/browser/lib/typeorm/error/TypeORMError.d.ts +0 -5
- package/browser/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
- package/browser/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/index.d.ts +0 -62
- package/browser/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
- package/browser/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
- package/browser/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
- package/browser/lib/typeorm/find-options/FindOperator.d.ts +0 -66
- package/browser/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
- package/browser/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
- package/browser/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
- package/browser/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
- package/browser/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
- package/browser/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
- package/browser/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
- package/browser/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
- package/browser/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
- package/browser/lib/typeorm/find-options/operator/Any.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Between.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
- package/browser/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/In.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Like.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Not.d.ts +0 -8
- package/browser/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
- package/browser/lib/typeorm/globals.d.ts +0 -104
- package/browser/lib/typeorm/index.d.ts +0 -168
- package/browser/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
- package/browser/lib/typeorm/logger/DebugLogger.d.ts +0 -41
- package/browser/lib/typeorm/logger/Logger.d.ts +0 -32
- package/browser/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
- package/browser/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
- package/browser/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
- package/browser/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
- package/browser/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
- package/browser/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
- package/browser/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
- package/browser/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
- package/browser/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
- package/browser/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
- package/browser/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
- package/browser/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
- package/browser/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
- package/browser/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
- package/browser/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
- package/browser/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
- package/browser/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
- package/browser/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
- package/browser/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
- package/browser/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
- package/browser/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
- package/browser/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
- package/browser/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
- package/browser/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
- package/browser/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
- package/browser/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
- package/browser/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
- package/browser/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
- package/browser/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
- package/browser/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
- package/browser/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
- package/browser/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
- package/browser/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
- package/browser/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
- package/browser/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
- package/browser/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
- package/browser/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
- package/browser/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
- package/browser/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
- package/browser/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
- package/browser/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
- package/browser/lib/typeorm/migration/Migration.d.ts +0 -25
- package/browser/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
- package/browser/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
- package/browser/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
- package/browser/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
- package/browser/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
- package/browser/lib/typeorm/persistence/Subject.d.ts +0 -156
- package/browser/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
- package/browser/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
- package/browser/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
- package/browser/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
- package/browser/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
- package/browser/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
- package/browser/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
- package/browser/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
- package/browser/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
- package/browser/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
- package/browser/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
- package/browser/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
- package/browser/lib/typeorm/platform/PlatformTools.d.ts +0 -65
- package/browser/lib/typeorm/query-builder/Alias.d.ts +0 -23
- package/browser/lib/typeorm/query-builder/Brackets.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
- package/browser/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
- package/browser/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
- package/browser/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
- package/browser/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
- package/browser/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
- package/browser/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
- package/browser/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
- package/browser/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
- package/browser/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
- package/browser/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
- package/browser/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
- package/browser/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
- package/browser/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
- package/browser/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
- package/browser/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
- package/browser/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
- package/browser/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
- package/browser/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
- package/browser/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
- package/browser/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
- package/browser/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
- package/browser/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
- package/browser/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
- package/browser/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
- package/browser/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
- package/browser/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
- package/browser/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
- package/browser/lib/typeorm/relation-path.d.ts +0 -7
- package/browser/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
- package/browser/lib/typeorm/repository/BaseEntity.d.ts +0 -298
- package/browser/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
- package/browser/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
- package/browser/lib/typeorm/repository/Repository.d.ts +0 -292
- package/browser/lib/typeorm/repository/SaveOptions.d.ts +0 -36
- package/browser/lib/typeorm/repository/TreeRepository.d.ts +0 -56
- package/browser/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
- package/browser/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
- package/browser/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
- package/browser/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
- package/browser/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
- package/browser/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
- package/browser/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
- package/browser/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
- package/browser/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
- package/browser/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
- package/browser/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
- package/browser/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
- package/browser/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
- package/browser/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
- package/browser/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
- package/browser/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
- package/browser/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
- package/browser/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
- package/browser/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
- package/browser/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
- package/browser/lib/typeorm/schema-builder/view/View.d.ts +0 -38
- package/browser/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
- package/browser/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
- package/browser/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
- package/browser/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
- package/browser/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
- package/browser/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
- package/browser/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
- package/browser/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
- package/browser/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
- package/browser/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
- package/browser/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
- package/browser/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
- package/browser/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
- package/browser/lib/typeorm/util/DateUtils.d.ts +0 -59
- package/browser/lib/typeorm/util/DepGraph.d.ts +0 -65
- package/browser/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
- package/browser/lib/typeorm/util/ImportUtils.d.ts +0 -2
- package/browser/lib/typeorm/util/InstanceChecker.d.ts +0 -60
- package/browser/lib/typeorm/util/ObjectUtils.d.ts +0 -38
- package/browser/lib/typeorm/util/OrmUtils.d.ts +0 -53
- package/browser/lib/typeorm/util/PathUtils.d.ts +0 -11
- package/browser/lib/typeorm/util/RandomGenerator.d.ts +0 -16
- package/browser/lib/typeorm/util/StringUtils.d.ts +0 -64
- package/browser/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
- package/browser/lib/typeorm/util/VersionUtils.d.ts +0 -5
- package/browser/lib/typeorm/util/escapeRegExp.d.ts +0 -2
- package/browser/public-api.d.ts +0 -2
- package/tmp-environment.json +0 -43
- package/websql/index.d.ts +0 -6
- package/websql/lib/index.d.ts +0 -2
- package/websql/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
- package/websql/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
- package/websql/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
- package/websql/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
- package/websql/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
- package/websql/lib/typeorm/common/DeepPartial.d.ts +0 -7
- package/websql/lib/typeorm/common/EntityTarget.d.ts +0 -10
- package/websql/lib/typeorm/common/MixedList.d.ts +0 -9
- package/websql/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
- package/websql/lib/typeorm/common/ObjectType.d.ts +0 -7
- package/websql/lib/typeorm/common/RelationType.d.ts +0 -15
- package/websql/lib/typeorm/connection/Connection.d.ts +0 -11
- package/websql/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
- package/websql/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
- package/websql/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
- package/websql/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
- package/websql/lib/typeorm/constants.d.ts +0 -2
- package/websql/lib/typeorm/container.d.ts +0 -40
- package/websql/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
- package/websql/lib/typeorm/data-source/DataSource.d.ts +0 -247
- package/websql/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
- package/websql/lib/typeorm/data-source/index.d.ts +0 -3
- package/websql/lib/typeorm/decorator/Check.d.ts +0 -13
- package/websql/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
- package/websql/lib/typeorm/decorator/Exclusion.d.ts +0 -13
- package/websql/lib/typeorm/decorator/Generated.d.ts +0 -11
- package/websql/lib/typeorm/decorator/Index.d.ts +0 -50
- package/websql/lib/typeorm/decorator/Unique.d.ts +0 -22
- package/websql/lib/typeorm/decorator/columns/Column.d.ts +0 -75
- package/websql/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
- package/websql/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
- package/websql/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
- package/websql/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
- package/websql/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
- package/websql/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
- package/websql/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
- package/websql/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
- package/websql/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
- package/websql/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
- package/websql/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
- package/websql/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
- package/websql/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
- package/websql/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
- package/websql/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
- package/websql/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
- package/websql/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
- package/websql/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
- package/websql/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
- package/websql/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
- package/websql/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
- package/websql/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
- package/websql/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
- package/websql/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
- package/websql/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
- package/websql/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
- package/websql/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
- package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
- package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
- package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
- package/websql/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
- package/websql/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
- package/websql/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
- package/websql/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
- package/websql/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
- package/websql/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
- package/websql/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
- package/websql/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
- package/websql/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
- package/websql/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
- package/websql/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
- package/websql/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
- package/websql/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
- package/websql/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
- package/websql/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
- package/websql/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
- package/websql/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
- package/websql/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
- package/websql/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
- package/websql/lib/typeorm/driver/Driver.d.ts +0 -208
- package/websql/lib/typeorm/driver/DriverFactory.d.ts +0 -12
- package/websql/lib/typeorm/driver/DriverUtils.d.ts +0 -62
- package/websql/lib/typeorm/driver/Query.d.ts +0 -10
- package/websql/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
- package/websql/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
- package/websql/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
- package/websql/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
- package/websql/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
- package/websql/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
- package/websql/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
- package/websql/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
- package/websql/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
- package/websql/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
- package/websql/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
- package/websql/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
- package/websql/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
- package/websql/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
- package/websql/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
- package/websql/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
- package/websql/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
- package/websql/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
- package/websql/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
- package/websql/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
- package/websql/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
- package/websql/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
- package/websql/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
- package/websql/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
- package/websql/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
- package/websql/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
- package/websql/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
- package/websql/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
- package/websql/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
- package/websql/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
- package/websql/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
- package/websql/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
- package/websql/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
- package/websql/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
- package/websql/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
- package/websql/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
- package/websql/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
- package/websql/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
- package/websql/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
- package/websql/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
- package/websql/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
- package/websql/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
- package/websql/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
- package/websql/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
- package/websql/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
- package/websql/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
- package/websql/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
- package/websql/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
- package/websql/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
- package/websql/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
- package/websql/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
- package/websql/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
- package/websql/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
- package/websql/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
- package/websql/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
- package/websql/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
- package/websql/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
- package/websql/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
- package/websql/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
- package/websql/lib/typeorm/error/MissingDriverError.d.ts +0 -8
- package/websql/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
- package/websql/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
- package/websql/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
- package/websql/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
- package/websql/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
- package/websql/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
- package/websql/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
- package/websql/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
- package/websql/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
- package/websql/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
- package/websql/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
- package/websql/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
- package/websql/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
- package/websql/lib/typeorm/error/QueryFailedError.d.ts +0 -11
- package/websql/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
- package/websql/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
- package/websql/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
- package/websql/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
- package/websql/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
- package/websql/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
- package/websql/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
- package/websql/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
- package/websql/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
- package/websql/lib/typeorm/error/TypeORMError.d.ts +0 -5
- package/websql/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
- package/websql/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/index.d.ts +0 -62
- package/websql/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
- package/websql/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
- package/websql/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
- package/websql/lib/typeorm/find-options/FindOperator.d.ts +0 -66
- package/websql/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
- package/websql/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
- package/websql/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
- package/websql/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
- package/websql/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
- package/websql/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
- package/websql/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
- package/websql/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
- package/websql/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
- package/websql/lib/typeorm/find-options/operator/Any.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Between.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
- package/websql/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/In.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Like.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Not.d.ts +0 -8
- package/websql/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
- package/websql/lib/typeorm/globals.d.ts +0 -104
- package/websql/lib/typeorm/index.d.ts +0 -168
- package/websql/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
- package/websql/lib/typeorm/logger/DebugLogger.d.ts +0 -41
- package/websql/lib/typeorm/logger/Logger.d.ts +0 -32
- package/websql/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
- package/websql/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
- package/websql/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
- package/websql/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
- package/websql/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
- package/websql/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
- package/websql/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
- package/websql/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
- package/websql/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
- package/websql/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
- package/websql/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
- package/websql/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
- package/websql/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
- package/websql/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
- package/websql/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
- package/websql/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
- package/websql/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
- package/websql/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
- package/websql/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
- package/websql/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
- package/websql/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
- package/websql/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
- package/websql/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
- package/websql/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
- package/websql/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
- package/websql/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
- package/websql/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
- package/websql/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
- package/websql/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
- package/websql/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
- package/websql/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
- package/websql/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
- package/websql/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
- package/websql/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
- package/websql/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
- package/websql/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
- package/websql/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
- package/websql/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
- package/websql/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
- package/websql/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
- package/websql/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
- package/websql/lib/typeorm/migration/Migration.d.ts +0 -25
- package/websql/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
- package/websql/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
- package/websql/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
- package/websql/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
- package/websql/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
- package/websql/lib/typeorm/persistence/Subject.d.ts +0 -156
- package/websql/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
- package/websql/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
- package/websql/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
- package/websql/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
- package/websql/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
- package/websql/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
- package/websql/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
- package/websql/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
- package/websql/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
- package/websql/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
- package/websql/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
- package/websql/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
- package/websql/lib/typeorm/platform/PlatformTools.d.ts +0 -65
- package/websql/lib/typeorm/query-builder/Alias.d.ts +0 -23
- package/websql/lib/typeorm/query-builder/Brackets.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
- package/websql/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
- package/websql/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
- package/websql/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
- package/websql/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
- package/websql/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
- package/websql/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
- package/websql/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
- package/websql/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
- package/websql/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
- package/websql/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
- package/websql/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
- package/websql/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
- package/websql/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
- package/websql/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
- package/websql/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
- package/websql/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
- package/websql/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
- package/websql/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
- package/websql/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
- package/websql/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
- package/websql/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
- package/websql/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
- package/websql/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
- package/websql/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
- package/websql/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
- package/websql/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
- package/websql/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
- package/websql/lib/typeorm/relation-path.d.ts +0 -7
- package/websql/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
- package/websql/lib/typeorm/repository/BaseEntity.d.ts +0 -298
- package/websql/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
- package/websql/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
- package/websql/lib/typeorm/repository/Repository.d.ts +0 -292
- package/websql/lib/typeorm/repository/SaveOptions.d.ts +0 -36
- package/websql/lib/typeorm/repository/TreeRepository.d.ts +0 -56
- package/websql/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
- package/websql/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
- package/websql/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
- package/websql/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
- package/websql/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
- package/websql/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
- package/websql/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
- package/websql/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
- package/websql/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
- package/websql/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
- package/websql/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
- package/websql/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
- package/websql/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
- package/websql/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
- package/websql/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
- package/websql/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
- package/websql/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
- package/websql/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
- package/websql/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
- package/websql/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
- package/websql/lib/typeorm/schema-builder/view/View.d.ts +0 -38
- package/websql/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
- package/websql/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
- package/websql/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
- package/websql/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
- package/websql/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
- package/websql/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
- package/websql/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
- package/websql/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
- package/websql/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
- package/websql/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
- package/websql/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
- package/websql/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
- package/websql/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
- package/websql/lib/typeorm/util/DateUtils.d.ts +0 -59
- package/websql/lib/typeorm/util/DepGraph.d.ts +0 -65
- package/websql/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
- package/websql/lib/typeorm/util/ImportUtils.d.ts +0 -2
- package/websql/lib/typeorm/util/InstanceChecker.d.ts +0 -60
- package/websql/lib/typeorm/util/ObjectUtils.d.ts +0 -38
- package/websql/lib/typeorm/util/OrmUtils.d.ts +0 -53
- package/websql/lib/typeorm/util/PathUtils.d.ts +0 -11
- package/websql/lib/typeorm/util/RandomGenerator.d.ts +0 -16
- package/websql/lib/typeorm/util/StringUtils.d.ts +0 -64
- package/websql/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
- package/websql/lib/typeorm/util/VersionUtils.d.ts +0 -5
- package/websql/lib/typeorm/util/escapeRegExp.d.ts +0 -2
- package/websql/public-api.d.ts +0 -2
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { DataSource } from "../data-source/DataSource";
|
|
3
|
-
import { FindManyOptions } from "../find-options/FindManyOptions";
|
|
4
|
-
import { EntityTarget } from "../common/EntityTarget";
|
|
5
|
-
import { ObjectType } from "../common/ObjectType";
|
|
6
|
-
import { FindOneOptions } from "../find-options/FindOneOptions";
|
|
7
|
-
import { DeepPartial } from "../common/DeepPartial";
|
|
8
|
-
import { RemoveOptions } from "../repository/RemoveOptions";
|
|
9
|
-
import { SaveOptions } from "../repository/SaveOptions";
|
|
10
|
-
import { TreeRepository } from "../repository/TreeRepository";
|
|
11
|
-
import { Repository } from "../repository/Repository";
|
|
12
|
-
import { PlainObjectToNewEntityTransformer } from "../query-builder/transformer/PlainObjectToNewEntityTransformer";
|
|
13
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
14
|
-
import { SelectQueryBuilder } from "../query-builder/SelectQueryBuilder";
|
|
15
|
-
import { QueryDeepPartialEntity } from "../query-builder/QueryPartialEntity";
|
|
16
|
-
import { ObjectID } from "../driver/mongodb/typings";
|
|
17
|
-
import { InsertResult } from "../query-builder/result/InsertResult";
|
|
18
|
-
import { UpdateResult } from "../query-builder/result/UpdateResult";
|
|
19
|
-
import { DeleteResult } from "../query-builder/result/DeleteResult";
|
|
20
|
-
import { FindOptionsWhere } from "../find-options/FindOptionsWhere";
|
|
21
|
-
import { IsolationLevel } from "../driver/types/IsolationLevel";
|
|
22
|
-
import { UpsertOptions } from "../repository/UpsertOptions";
|
|
23
|
-
import { ObjectLiteral } from "../common/ObjectLiteral";
|
|
24
|
-
/**
|
|
25
|
-
* Entity manager supposed to work with any entity, automatically find its repository and call its methods,
|
|
26
|
-
* whatever entity type are you passing.
|
|
27
|
-
*/
|
|
28
|
-
export declare class EntityManager {
|
|
29
|
-
readonly "@instanceof": symbol;
|
|
30
|
-
/**
|
|
31
|
-
* Connection used by this entity manager.
|
|
32
|
-
*/
|
|
33
|
-
readonly connection: DataSource;
|
|
34
|
-
/**
|
|
35
|
-
* Custom query runner to be used for operations in this entity manager.
|
|
36
|
-
* Used only in non-global entity manager.
|
|
37
|
-
*/
|
|
38
|
-
readonly queryRunner?: QueryRunner;
|
|
39
|
-
/**
|
|
40
|
-
* Once created and then reused by repositories.
|
|
41
|
-
*/
|
|
42
|
-
protected repositories: Repository<any>[];
|
|
43
|
-
/**
|
|
44
|
-
* Once created and then reused by repositories.
|
|
45
|
-
*/
|
|
46
|
-
protected treeRepositories: TreeRepository<any>[];
|
|
47
|
-
/**
|
|
48
|
-
* Plain to object transformer used in create and merge operations.
|
|
49
|
-
*/
|
|
50
|
-
protected plainObjectToEntityTransformer: PlainObjectToNewEntityTransformer;
|
|
51
|
-
constructor(connection: DataSource, queryRunner?: QueryRunner);
|
|
52
|
-
/**
|
|
53
|
-
* Wraps given function execution (and all operations made there) in a transaction.
|
|
54
|
-
* All database operations must be executed using provided entity manager.
|
|
55
|
-
*/
|
|
56
|
-
transaction<T>(runInTransaction: (entityManager: EntityManager) => Promise<T>): Promise<T>;
|
|
57
|
-
/**
|
|
58
|
-
* Wraps given function execution (and all operations made there) in a transaction.
|
|
59
|
-
* All database operations must be executed using provided entity manager.
|
|
60
|
-
*/
|
|
61
|
-
transaction<T>(isolationLevel: IsolationLevel, runInTransaction: (entityManager: EntityManager) => Promise<T>): Promise<T>;
|
|
62
|
-
/**
|
|
63
|
-
* Executes raw SQL query and returns raw database results.
|
|
64
|
-
*/
|
|
65
|
-
query(query: string, parameters?: any[]): Promise<any>;
|
|
66
|
-
/**
|
|
67
|
-
* Creates a new query builder that can be used to build a SQL query.
|
|
68
|
-
*/
|
|
69
|
-
createQueryBuilder<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, alias: string, queryRunner?: QueryRunner): SelectQueryBuilder<Entity>;
|
|
70
|
-
/**
|
|
71
|
-
* Creates a new query builder that can be used to build a SQL query.
|
|
72
|
-
*/
|
|
73
|
-
createQueryBuilder(queryRunner?: QueryRunner): SelectQueryBuilder<any>;
|
|
74
|
-
/**
|
|
75
|
-
* Checks if entity has an id.
|
|
76
|
-
*/
|
|
77
|
-
hasId(entity: any): boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Checks if entity of given schema name has an id.
|
|
80
|
-
*/
|
|
81
|
-
hasId(target: Function | string, entity: any): boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Gets entity mixed id.
|
|
84
|
-
*/
|
|
85
|
-
getId(entity: any): any;
|
|
86
|
-
/**
|
|
87
|
-
* Gets entity mixed id.
|
|
88
|
-
*/
|
|
89
|
-
getId(target: EntityTarget<any>, entity: any): any;
|
|
90
|
-
/**
|
|
91
|
-
* Creates a new entity instance and copies all entity properties from this object into a new entity.
|
|
92
|
-
* Note that it copies only properties that present in entity schema.
|
|
93
|
-
*/
|
|
94
|
-
create<Entity>(entityClass: EntityTarget<Entity>, plainObject?: DeepPartial<Entity>): Entity;
|
|
95
|
-
/**
|
|
96
|
-
* Creates a new entities and copies all entity properties from given objects into their new entities.
|
|
97
|
-
* Note that it copies only properties that present in entity schema.
|
|
98
|
-
*/
|
|
99
|
-
create<Entity>(entityClass: EntityTarget<Entity>, plainObjects?: DeepPartial<Entity>[]): Entity[];
|
|
100
|
-
/**
|
|
101
|
-
* Merges two entities into one new entity.
|
|
102
|
-
*/
|
|
103
|
-
merge<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, mergeIntoEntity: Entity, ...entityLikes: DeepPartial<Entity>[]): Entity;
|
|
104
|
-
/**
|
|
105
|
-
* Creates a new entity from the given plain javascript object. If entity already exist in the database, then
|
|
106
|
-
* it loads it (and everything related to it), replaces all values with the new ones from the given object
|
|
107
|
-
* and returns this new entity. This new entity is actually a loaded from the db entity with all properties
|
|
108
|
-
* replaced from the new object.
|
|
109
|
-
*/
|
|
110
|
-
preload<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, entityLike: DeepPartial<Entity>): Promise<Entity | undefined>;
|
|
111
|
-
/**
|
|
112
|
-
* Saves all given entities in the database.
|
|
113
|
-
* If entities do not exist in the database then inserts, otherwise updates.
|
|
114
|
-
*/
|
|
115
|
-
save<Entity>(entities: Entity[], options?: SaveOptions): Promise<Entity[]>;
|
|
116
|
-
/**
|
|
117
|
-
* Saves all given entities in the database.
|
|
118
|
-
* If entities do not exist in the database then inserts, otherwise updates.
|
|
119
|
-
*/
|
|
120
|
-
save<Entity>(entity: Entity, options?: SaveOptions): Promise<Entity>;
|
|
121
|
-
/**
|
|
122
|
-
* Saves all given entities in the database.
|
|
123
|
-
* If entities do not exist in the database then inserts, otherwise updates.
|
|
124
|
-
*/
|
|
125
|
-
save<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entities: T[], options: SaveOptions & {
|
|
126
|
-
reload: false;
|
|
127
|
-
}): Promise<T[]>;
|
|
128
|
-
/**
|
|
129
|
-
* Saves all given entities in the database.
|
|
130
|
-
* If entities do not exist in the database then inserts, otherwise updates.
|
|
131
|
-
*/
|
|
132
|
-
save<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entities: T[], options?: SaveOptions): Promise<(T & Entity)[]>;
|
|
133
|
-
/**
|
|
134
|
-
* Saves a given entity in the database.
|
|
135
|
-
* If entity does not exist in the database then inserts, otherwise updates.
|
|
136
|
-
*/
|
|
137
|
-
save<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entity: T, options: SaveOptions & {
|
|
138
|
-
reload: false;
|
|
139
|
-
}): Promise<T>;
|
|
140
|
-
/**
|
|
141
|
-
* Saves a given entity in the database.
|
|
142
|
-
* If entity does not exist in the database then inserts, otherwise updates.
|
|
143
|
-
*/
|
|
144
|
-
save<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entity: T, options?: SaveOptions): Promise<T & Entity>;
|
|
145
|
-
/**
|
|
146
|
-
* Removes a given entity from the database.
|
|
147
|
-
*/
|
|
148
|
-
remove<Entity>(entity: Entity, options?: RemoveOptions): Promise<Entity>;
|
|
149
|
-
/**
|
|
150
|
-
* Removes a given entity from the database.
|
|
151
|
-
*/
|
|
152
|
-
remove<Entity>(targetOrEntity: EntityTarget<Entity>, entity: Entity, options?: RemoveOptions): Promise<Entity>;
|
|
153
|
-
/**
|
|
154
|
-
* Removes a given entity from the database.
|
|
155
|
-
*/
|
|
156
|
-
remove<Entity>(entity: Entity[], options?: RemoveOptions): Promise<Entity>;
|
|
157
|
-
/**
|
|
158
|
-
* Removes a given entity from the database.
|
|
159
|
-
*/
|
|
160
|
-
remove<Entity>(targetOrEntity: EntityTarget<Entity>, entity: Entity[], options?: RemoveOptions): Promise<Entity[]>;
|
|
161
|
-
/**
|
|
162
|
-
* Records the delete date of all given entities.
|
|
163
|
-
*/
|
|
164
|
-
softRemove<Entity>(entities: Entity[], options?: SaveOptions): Promise<Entity[]>;
|
|
165
|
-
/**
|
|
166
|
-
* Records the delete date of a given entity.
|
|
167
|
-
*/
|
|
168
|
-
softRemove<Entity>(entity: Entity, options?: SaveOptions): Promise<Entity>;
|
|
169
|
-
/**
|
|
170
|
-
* Records the delete date of all given entities.
|
|
171
|
-
*/
|
|
172
|
-
softRemove<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entities: T[], options?: SaveOptions): Promise<T[]>;
|
|
173
|
-
/**
|
|
174
|
-
* Records the delete date of a given entity.
|
|
175
|
-
*/
|
|
176
|
-
softRemove<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entity: T, options?: SaveOptions): Promise<T>;
|
|
177
|
-
/**
|
|
178
|
-
* Recovers all given entities.
|
|
179
|
-
*/
|
|
180
|
-
recover<Entity>(entities: Entity[], options?: SaveOptions): Promise<Entity[]>;
|
|
181
|
-
/**
|
|
182
|
-
* Recovers a given entity.
|
|
183
|
-
*/
|
|
184
|
-
recover<Entity>(entity: Entity, options?: SaveOptions): Promise<Entity>;
|
|
185
|
-
/**
|
|
186
|
-
* Recovers all given entities.
|
|
187
|
-
*/
|
|
188
|
-
recover<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entities: T[], options?: SaveOptions): Promise<T[]>;
|
|
189
|
-
/**
|
|
190
|
-
* Recovers a given entity.
|
|
191
|
-
*/
|
|
192
|
-
recover<Entity, T extends DeepPartial<Entity>>(targetOrEntity: EntityTarget<Entity>, entity: T, options?: SaveOptions): Promise<T>;
|
|
193
|
-
/**
|
|
194
|
-
* Inserts a given entity into the database.
|
|
195
|
-
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
196
|
-
* Executes fast and efficient INSERT query.
|
|
197
|
-
* Does not check if entity exist in the database, so query will fail if duplicate entity is being inserted.
|
|
198
|
-
* You can execute bulk inserts using this method.
|
|
199
|
-
*/
|
|
200
|
-
insert<Entity extends ObjectLiteral>(target: EntityTarget<Entity>, entity: QueryDeepPartialEntity<Entity> | QueryDeepPartialEntity<Entity>[]): Promise<InsertResult>;
|
|
201
|
-
upsert<Entity extends ObjectLiteral>(target: EntityTarget<Entity>, entityOrEntities: QueryDeepPartialEntity<Entity> | QueryDeepPartialEntity<Entity>[], conflictPathsOrOptions: string[] | UpsertOptions<Entity>): Promise<InsertResult>;
|
|
202
|
-
/**
|
|
203
|
-
* Updates entity partially. Entity can be found by a given condition(s).
|
|
204
|
-
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
205
|
-
* Executes fast and efficient UPDATE query.
|
|
206
|
-
* Does not check if entity exist in the database.
|
|
207
|
-
* Condition(s) cannot be empty.
|
|
208
|
-
*/
|
|
209
|
-
update<Entity extends ObjectLiteral>(target: EntityTarget<Entity>, criteria: string | string[] | number | number[] | Date | Date[] | any, partialEntity: QueryDeepPartialEntity<Entity>): Promise<UpdateResult>;
|
|
210
|
-
/**
|
|
211
|
-
* Deletes entities by a given condition(s).
|
|
212
|
-
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
213
|
-
* Executes fast and efficient DELETE query.
|
|
214
|
-
* Does not check if entity exist in the database.
|
|
215
|
-
* Condition(s) cannot be empty.
|
|
216
|
-
*/
|
|
217
|
-
delete<Entity extends ObjectLiteral>(targetOrEntity: EntityTarget<Entity>, criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | any): Promise<DeleteResult>;
|
|
218
|
-
/**
|
|
219
|
-
* Records the delete date of entities by a given condition(s).
|
|
220
|
-
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
221
|
-
* Executes fast and efficient DELETE query.
|
|
222
|
-
* Does not check if entity exist in the database.
|
|
223
|
-
* Condition(s) cannot be empty.
|
|
224
|
-
*/
|
|
225
|
-
softDelete<Entity extends ObjectLiteral>(targetOrEntity: EntityTarget<Entity>, criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | any): Promise<UpdateResult>;
|
|
226
|
-
/**
|
|
227
|
-
* Restores entities by a given condition(s).
|
|
228
|
-
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
229
|
-
* Executes fast and efficient DELETE query.
|
|
230
|
-
* Does not check if entity exist in the database.
|
|
231
|
-
* Condition(s) cannot be empty.
|
|
232
|
-
*/
|
|
233
|
-
restore<Entity extends ObjectLiteral>(targetOrEntity: EntityTarget<Entity>, criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | any): Promise<UpdateResult>;
|
|
234
|
-
/**
|
|
235
|
-
* Counts entities that match given options.
|
|
236
|
-
* Useful for pagination.
|
|
237
|
-
*/
|
|
238
|
-
count<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, options?: FindManyOptions<Entity>): Promise<number>;
|
|
239
|
-
/**
|
|
240
|
-
* Counts entities that match given conditions.
|
|
241
|
-
* Useful for pagination.
|
|
242
|
-
*/
|
|
243
|
-
countBy<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<number>;
|
|
244
|
-
/**
|
|
245
|
-
* Finds entities that match given find options.
|
|
246
|
-
*/
|
|
247
|
-
find<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, options?: FindManyOptions<Entity>): Promise<Entity[]>;
|
|
248
|
-
/**
|
|
249
|
-
* Finds entities that match given find options.
|
|
250
|
-
*/
|
|
251
|
-
findBy<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<Entity[]>;
|
|
252
|
-
/**
|
|
253
|
-
* Finds entities that match given find options.
|
|
254
|
-
* Also counts all entities that match given conditions,
|
|
255
|
-
* but ignores pagination settings (from and take options).
|
|
256
|
-
*/
|
|
257
|
-
findAndCount<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, options?: FindManyOptions<Entity>): Promise<[Entity[], number]>;
|
|
258
|
-
/**
|
|
259
|
-
* Finds entities that match given WHERE conditions.
|
|
260
|
-
* Also counts all entities that match given conditions,
|
|
261
|
-
* but ignores pagination settings (from and take options).
|
|
262
|
-
*/
|
|
263
|
-
findAndCountBy<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<[Entity[], number]>;
|
|
264
|
-
/**
|
|
265
|
-
* Finds entities with ids.
|
|
266
|
-
* Optionally find options or conditions can be applied.
|
|
267
|
-
*
|
|
268
|
-
* @deprecated use `findBy` method instead in conjunction with `In` operator, for example:
|
|
269
|
-
*
|
|
270
|
-
* .findBy({
|
|
271
|
-
* id: In([1, 2, 3])
|
|
272
|
-
* })
|
|
273
|
-
*/
|
|
274
|
-
findByIds<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, ids: any[]): Promise<Entity[]>;
|
|
275
|
-
/**
|
|
276
|
-
* Finds first entity by a given find options.
|
|
277
|
-
* If entity was not found in the database - returns null.
|
|
278
|
-
*/
|
|
279
|
-
findOne<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, options: FindOneOptions<Entity>): Promise<Entity | null>;
|
|
280
|
-
/**
|
|
281
|
-
* Finds first entity that matches given where condition.
|
|
282
|
-
* If entity was not found in the database - returns null.
|
|
283
|
-
*/
|
|
284
|
-
findOneBy<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<Entity | null>;
|
|
285
|
-
/**
|
|
286
|
-
* Finds first entity that matches given id.
|
|
287
|
-
* If entity was not found in the database - returns null.
|
|
288
|
-
*
|
|
289
|
-
* @deprecated use `findOneBy` method instead in conjunction with `In` operator, for example:
|
|
290
|
-
*
|
|
291
|
-
* .findOneBy({
|
|
292
|
-
* id: 1 // where "id" is your primary column name
|
|
293
|
-
* })
|
|
294
|
-
*/
|
|
295
|
-
findOneById<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, id: number | string | Date | ObjectID): Promise<Entity | null>;
|
|
296
|
-
/**
|
|
297
|
-
* Finds first entity by a given find options.
|
|
298
|
-
* If entity was not found in the database - rejects with error.
|
|
299
|
-
*/
|
|
300
|
-
findOneOrFail<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, options: FindOneOptions<Entity>): Promise<Entity>;
|
|
301
|
-
/**
|
|
302
|
-
* Finds first entity that matches given where condition.
|
|
303
|
-
* If entity was not found in the database - rejects with error.
|
|
304
|
-
*/
|
|
305
|
-
findOneByOrFail<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<Entity>;
|
|
306
|
-
/**
|
|
307
|
-
* Clears all the data from the given table (truncates/drops it).
|
|
308
|
-
*
|
|
309
|
-
* Note: this method uses TRUNCATE and may not work as you expect in transactions on some platforms.
|
|
310
|
-
* @see https://stackoverflow.com/a/5972738/925151
|
|
311
|
-
*/
|
|
312
|
-
clear<Entity>(entityClass: EntityTarget<Entity>): Promise<void>;
|
|
313
|
-
/**
|
|
314
|
-
* Increments some column by provided value of the entities matched given conditions.
|
|
315
|
-
*/
|
|
316
|
-
increment<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, conditions: any, propertyPath: string, value: number | string): Promise<UpdateResult>;
|
|
317
|
-
/**
|
|
318
|
-
* Decrements some column by provided value of the entities matched given conditions.
|
|
319
|
-
*/
|
|
320
|
-
decrement<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, conditions: any, propertyPath: string, value: number | string): Promise<UpdateResult>;
|
|
321
|
-
/**
|
|
322
|
-
* Gets repository for the given entity class or name.
|
|
323
|
-
* If single database connection mode is used, then repository is obtained from the
|
|
324
|
-
* repository aggregator, where each repository is individually created for this entity manager.
|
|
325
|
-
* When single database connection is not used, repository is being obtained from the connection.
|
|
326
|
-
*/
|
|
327
|
-
getRepository<Entity extends ObjectLiteral>(target: EntityTarget<Entity>): Repository<Entity>;
|
|
328
|
-
/**
|
|
329
|
-
* Gets tree repository for the given entity class or name.
|
|
330
|
-
* If single database connection mode is used, then repository is obtained from the
|
|
331
|
-
* repository aggregator, where each repository is individually created for this entity manager.
|
|
332
|
-
* When single database connection is not used, repository is being obtained from the connection.
|
|
333
|
-
*/
|
|
334
|
-
getTreeRepository<Entity extends ObjectLiteral>(target: EntityTarget<Entity>): TreeRepository<Entity>;
|
|
335
|
-
/**
|
|
336
|
-
* Creates a new repository instance out of a given Repository and
|
|
337
|
-
* sets current EntityManager instance to it. Used to work with custom repositories
|
|
338
|
-
* in transactions.
|
|
339
|
-
*/
|
|
340
|
-
withRepository<Entity extends ObjectLiteral, R extends Repository<any>>(repository: R & Repository<Entity>): R;
|
|
341
|
-
/**
|
|
342
|
-
* Gets custom entity repository marked with @EntityRepository decorator.
|
|
343
|
-
*
|
|
344
|
-
* @deprecated use Repository.extend to create custom repositories
|
|
345
|
-
*/
|
|
346
|
-
getCustomRepository<T>(customRepository: ObjectType<T>): T;
|
|
347
|
-
/**
|
|
348
|
-
* Releases all resources used by entity manager.
|
|
349
|
-
* This is used when entity manager is created with a single query runner,
|
|
350
|
-
* and this single query runner needs to be released after job with entity manager is done.
|
|
351
|
-
*/
|
|
352
|
-
release(): Promise<void>;
|
|
353
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { DataSource } from "../data-source/DataSource";
|
|
3
|
-
import { EntityManager } from "./EntityManager";
|
|
4
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
5
|
-
/**
|
|
6
|
-
* Helps to create entity managers.
|
|
7
|
-
*/
|
|
8
|
-
export declare class EntityManagerFactory {
|
|
9
|
-
/**
|
|
10
|
-
* Creates a new entity manager depend on a given connection's driver.
|
|
11
|
-
*/
|
|
12
|
-
create(connection: DataSource, queryRunner?: QueryRunner): EntityManager;
|
|
13
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { DataSource } from "../data-source/DataSource";
|
|
3
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
4
|
-
import { EntityManager } from "./EntityManager";
|
|
5
|
-
/**
|
|
6
|
-
* A special EntityManager that includes import/export and load/save function
|
|
7
|
-
* that are unique to Sql.js.
|
|
8
|
-
*/
|
|
9
|
-
export declare class SqljsEntityManager extends EntityManager {
|
|
10
|
-
readonly "@instanceof": symbol;
|
|
11
|
-
private driver;
|
|
12
|
-
constructor(connection: DataSource, queryRunner?: QueryRunner);
|
|
13
|
-
/**
|
|
14
|
-
* Loads either the definition from a file (Node.js) or localstorage (browser)
|
|
15
|
-
* or uses the given definition to open a new database.
|
|
16
|
-
*/
|
|
17
|
-
loadDatabase(fileNameOrLocalStorageOrData: string | Uint8Array): Promise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* Saves the current database to a file (Node.js) or localstorage (browser)
|
|
20
|
-
* if fileNameOrLocalStorage is not set options.location is used.
|
|
21
|
-
*/
|
|
22
|
-
saveDatabase(fileNameOrLocalStorage?: string): Promise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns the current database definition.
|
|
25
|
-
*/
|
|
26
|
-
exportDatabase(): Uint8Array;
|
|
27
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntitySchemaOptions } from "./EntitySchemaOptions";
|
|
3
|
-
/**
|
|
4
|
-
* Interface for entity metadata mappings stored inside "schemas" instead of models decorated by decorators.
|
|
5
|
-
*/
|
|
6
|
-
export declare class EntitySchema<T = any> {
|
|
7
|
-
options: EntitySchemaOptions<T>;
|
|
8
|
-
readonly "@instanceof": symbol;
|
|
9
|
-
constructor(options: EntitySchemaOptions<T>);
|
|
10
|
-
}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ColumnType } from "../driver/types/ColumnTypes";
|
|
3
|
-
import { ValueTransformer } from "../decorator/options/ValueTransformer";
|
|
4
|
-
import { SpatialColumnOptions } from "../decorator/options/SpatialColumnOptions";
|
|
5
|
-
export interface EntitySchemaColumnOptions extends SpatialColumnOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Indicates if this column is a primary column.
|
|
8
|
-
*/
|
|
9
|
-
primary?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Indicates if this column is of type ObjectID
|
|
12
|
-
*/
|
|
13
|
-
objectId?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Indicates if this column is a created date column.
|
|
16
|
-
*/
|
|
17
|
-
createDate?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Indicates if this column is an update date column.
|
|
20
|
-
*/
|
|
21
|
-
updateDate?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Indicates if this column is a delete date column.
|
|
24
|
-
*/
|
|
25
|
-
deleteDate?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Indicates if this column is a version column.
|
|
28
|
-
*/
|
|
29
|
-
version?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Indicates if this column is a treeChildrenCount column.
|
|
32
|
-
*/
|
|
33
|
-
treeChildrenCount?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Indicates if this column is a treeLevel column.
|
|
36
|
-
*/
|
|
37
|
-
treeLevel?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Column type. Must be one of the value from the ColumnTypes class.
|
|
40
|
-
*/
|
|
41
|
-
type: ColumnType;
|
|
42
|
-
/**
|
|
43
|
-
* Column name in the database.
|
|
44
|
-
*/
|
|
45
|
-
name?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Column type's length. For example type = "string" and length = 100 means that ORM will create a column with
|
|
48
|
-
* type varchar(100).
|
|
49
|
-
*/
|
|
50
|
-
length?: string | number;
|
|
51
|
-
/**
|
|
52
|
-
* Column type's display width. Used only on some column types in MySQL.
|
|
53
|
-
* For example, INT(4) specifies an INT with a display width of four digits.
|
|
54
|
-
*/
|
|
55
|
-
width?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Indicates if column's value can be set to NULL.
|
|
58
|
-
*/
|
|
59
|
-
nullable?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Indicates if column value is not updated by "save" operation.
|
|
62
|
-
* It means you'll be able to write this value only when you first time insert the object.
|
|
63
|
-
* Default value is "false".
|
|
64
|
-
*
|
|
65
|
-
* @deprecated Please use the `update` option instead. Careful, it takes
|
|
66
|
-
* the opposite value to readonly.
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
readonly?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Indicates if column value is updated by "save" operation.
|
|
72
|
-
* If false you'll be able to write this value only when you first time insert the object.
|
|
73
|
-
* Default value is "true".
|
|
74
|
-
*/
|
|
75
|
-
update?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Indicates if column is always selected by QueryBuilder and find operations.
|
|
78
|
-
* Default value is "true".
|
|
79
|
-
*/
|
|
80
|
-
select?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Indicates if column is inserted by default.
|
|
83
|
-
* Default value is "true".
|
|
84
|
-
*/
|
|
85
|
-
insert?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Specifies if this column will use AUTO_INCREMENT or not (e.g. generated number).
|
|
88
|
-
*/
|
|
89
|
-
generated?: true | "increment" | "uuid" | "rowid";
|
|
90
|
-
/**
|
|
91
|
-
* Specifies if column's value must be unique or not.
|
|
92
|
-
*/
|
|
93
|
-
unique?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Extra column definition. Should be used only in emergency situations. Note that if you'll use this property
|
|
96
|
-
* auto schema generation will not work properly anymore. Avoid using it.
|
|
97
|
-
*/
|
|
98
|
-
columnDefinition?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Column comment.
|
|
101
|
-
*/
|
|
102
|
-
comment?: string;
|
|
103
|
-
/**
|
|
104
|
-
* Default database value.
|
|
105
|
-
*/
|
|
106
|
-
default?: any;
|
|
107
|
-
/**
|
|
108
|
-
* ON UPDATE trigger. Works only for MySQL.
|
|
109
|
-
*/
|
|
110
|
-
onUpdate?: string;
|
|
111
|
-
/**
|
|
112
|
-
* The precision for a decimal (exact numeric) column (applies only for decimal column), which is the maximum
|
|
113
|
-
* number of digits that are stored for the values.
|
|
114
|
-
*/
|
|
115
|
-
precision?: number;
|
|
116
|
-
/**
|
|
117
|
-
* The scale for a decimal (exact numeric) column (applies only for decimal column), which represents the number
|
|
118
|
-
* of digits to the right of the decimal point and must not be greater than precision.
|
|
119
|
-
*/
|
|
120
|
-
scale?: number;
|
|
121
|
-
/**
|
|
122
|
-
* Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
|
|
123
|
-
* If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to the column
|
|
124
|
-
*/
|
|
125
|
-
zerofill?: boolean;
|
|
126
|
-
/**
|
|
127
|
-
* Puts UNSIGNED attribute on to numeric column. Works only for MySQL.
|
|
128
|
-
*/
|
|
129
|
-
unsigned?: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Defines a column character set.
|
|
132
|
-
* Not supported by all database types.
|
|
133
|
-
*/
|
|
134
|
-
charset?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Defines a column collation.
|
|
137
|
-
*/
|
|
138
|
-
collation?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Array of possible enumerated values.
|
|
141
|
-
*/
|
|
142
|
-
enum?: any[] | Object;
|
|
143
|
-
/**
|
|
144
|
-
* Exact name of enum
|
|
145
|
-
*/
|
|
146
|
-
enumName?: string;
|
|
147
|
-
/**
|
|
148
|
-
* Generated column expression.
|
|
149
|
-
*/
|
|
150
|
-
asExpression?: string;
|
|
151
|
-
/**
|
|
152
|
-
* Generated column type.
|
|
153
|
-
*/
|
|
154
|
-
generatedType?: "VIRTUAL" | "STORED";
|
|
155
|
-
/**
|
|
156
|
-
* Return type of HSTORE column.
|
|
157
|
-
* Returns value as string or as object.
|
|
158
|
-
*/
|
|
159
|
-
hstoreType?: "object" | "string";
|
|
160
|
-
/**
|
|
161
|
-
* Indicates if this column is an array.
|
|
162
|
-
* Can be simply set to true or array length can be specified.
|
|
163
|
-
* Supported only by postgres.
|
|
164
|
-
*/
|
|
165
|
-
array?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* Specifies a value transformer that is to be used to (un)marshal
|
|
168
|
-
* this column when reading or writing to the database.
|
|
169
|
-
*/
|
|
170
|
-
transformer?: ValueTransformer | ValueTransformer[];
|
|
171
|
-
/**
|
|
172
|
-
* Name of the primary key constraint.
|
|
173
|
-
*/
|
|
174
|
-
primaryKeyConstraintName?: string;
|
|
175
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntitySchema } from "./EntitySchema";
|
|
3
|
-
export declare class EntitySchemaEmbeddedColumnOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Schema of embedded entity
|
|
6
|
-
*/
|
|
7
|
-
schema: EntitySchema;
|
|
8
|
-
/**
|
|
9
|
-
* Embedded column prefix.
|
|
10
|
-
* If set to empty string or false, then prefix is not set at all.
|
|
11
|
-
*/
|
|
12
|
-
prefix?: string | boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Indicates if this embedded is in array mode.
|
|
15
|
-
*
|
|
16
|
-
* This option works only in mongodb.
|
|
17
|
-
*/
|
|
18
|
-
array?: boolean;
|
|
19
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TypeORMError } from "../error";
|
|
3
|
-
export declare class EntitySchemaEmbeddedError extends TypeORMError {
|
|
4
|
-
static createEntitySchemaIsRequiredException(field: string): EntitySchemaEmbeddedError;
|
|
5
|
-
static createTargetIsRequired(field: string): EntitySchemaEmbeddedError;
|
|
6
|
-
constructor(message: string);
|
|
7
|
-
}
|