taon-typeorm 19.0.49 → 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/build-info._auto-generated_.js.map +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 +2 -2
- 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 -39
- 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,20 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TreeType } from "../metadata/types/TreeTypes";
|
|
3
|
-
import { ClosureTreeOptions } from "../metadata/types/ClosureTreeOptions";
|
|
4
|
-
/**
|
|
5
|
-
* Stores metadata collected for Tree entities.
|
|
6
|
-
*/
|
|
7
|
-
export interface TreeMetadataArgs {
|
|
8
|
-
/**
|
|
9
|
-
* Entity to which tree is applied.
|
|
10
|
-
*/
|
|
11
|
-
target: Function | string;
|
|
12
|
-
/**
|
|
13
|
-
* Tree type.
|
|
14
|
-
*/
|
|
15
|
-
type: TreeType;
|
|
16
|
-
/**
|
|
17
|
-
* Tree options
|
|
18
|
-
*/
|
|
19
|
-
options?: ClosureTreeOptions;
|
|
20
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { DeferrableType } from "../metadata/types/DeferrableType";
|
|
3
|
-
/**
|
|
4
|
-
* Arguments for UniqueMetadata class.
|
|
5
|
-
*/
|
|
6
|
-
export interface UniqueMetadataArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Class to which index is applied.
|
|
9
|
-
*/
|
|
10
|
-
target: Function | string;
|
|
11
|
-
/**
|
|
12
|
-
* Unique constraint name.
|
|
13
|
-
*/
|
|
14
|
-
name?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Columns combination to be unique.
|
|
17
|
-
*/
|
|
18
|
-
columns?: ((object?: any) => any[] | {
|
|
19
|
-
[key: string]: number;
|
|
20
|
-
}) | string[];
|
|
21
|
-
/**
|
|
22
|
-
* Indicate if unique constraints can be deferred.
|
|
23
|
-
*/
|
|
24
|
-
deferrable?: DeferrableType;
|
|
25
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Kinda type of the column. Not a type in the database, but locally used type to determine what kind of column
|
|
4
|
-
* we are working with.
|
|
5
|
-
* For example, "primary" means that it will be a primary column, or "createDate" means that it will create a create
|
|
6
|
-
* date column.
|
|
7
|
-
*/
|
|
8
|
-
export type ColumnMode = "regular" | "virtual" | "virtual-property" | "createDate" | "updateDate" | "deleteDate" | "version" | "treeChildrenCount" | "treeLevel" | "objectId" | "array";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
3
|
-
import { DataSource } from "../data-source/DataSource";
|
|
4
|
-
/**
|
|
5
|
-
* Creates EntityMetadata for junction tables of the closure entities.
|
|
6
|
-
* Closure junction tables are tables generated by closure entities.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ClosureJunctionEntityMetadataBuilder {
|
|
9
|
-
private connection;
|
|
10
|
-
constructor(connection: DataSource);
|
|
11
|
-
/**
|
|
12
|
-
* Builds EntityMetadata for the closure junction of the given closure entity.
|
|
13
|
-
*/
|
|
14
|
-
build(parentClosureEntityMetadata: EntityMetadata): EntityMetadata;
|
|
15
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
3
|
-
import { EmbeddedMetadata } from "../metadata/EmbeddedMetadata";
|
|
4
|
-
import { MetadataArgsStorage } from "../metadata-args/MetadataArgsStorage";
|
|
5
|
-
import { EmbeddedMetadataArgs } from "../metadata-args/EmbeddedMetadataArgs";
|
|
6
|
-
import { TableMetadataArgs } from "../metadata-args/TableMetadataArgs";
|
|
7
|
-
import { JunctionEntityMetadataBuilder } from "./JunctionEntityMetadataBuilder";
|
|
8
|
-
import { ClosureJunctionEntityMetadataBuilder } from "./ClosureJunctionEntityMetadataBuilder";
|
|
9
|
-
import { RelationJoinColumnBuilder } from "./RelationJoinColumnBuilder";
|
|
10
|
-
import { DataSource } from "../data-source/DataSource";
|
|
11
|
-
/**
|
|
12
|
-
* Builds EntityMetadata objects and all its sub-metadatas.
|
|
13
|
-
*/
|
|
14
|
-
export declare class EntityMetadataBuilder {
|
|
15
|
-
private connection;
|
|
16
|
-
private metadataArgsStorage;
|
|
17
|
-
/**
|
|
18
|
-
* Used to build entity metadatas of the junction entities.
|
|
19
|
-
*/
|
|
20
|
-
protected junctionEntityMetadataBuilder: JunctionEntityMetadataBuilder;
|
|
21
|
-
/**
|
|
22
|
-
* Used to build entity metadatas of the closure junction entities.
|
|
23
|
-
*/
|
|
24
|
-
protected closureJunctionEntityMetadataBuilder: ClosureJunctionEntityMetadataBuilder;
|
|
25
|
-
/**
|
|
26
|
-
* Used to build join columns of the relations.
|
|
27
|
-
*/
|
|
28
|
-
protected relationJoinColumnBuilder: RelationJoinColumnBuilder;
|
|
29
|
-
constructor(connection: DataSource, metadataArgsStorage: MetadataArgsStorage);
|
|
30
|
-
/**
|
|
31
|
-
* Builds a complete entity metadatas for the given entity classes.
|
|
32
|
-
*/
|
|
33
|
-
build(entityClasses?: Function[]): EntityMetadata[];
|
|
34
|
-
/**
|
|
35
|
-
* Creates entity metadata from the given table args.
|
|
36
|
-
* Creates column, relation, etc. metadatas for everything this entity metadata owns.
|
|
37
|
-
*/
|
|
38
|
-
protected createEntityMetadata(tableArgs: TableMetadataArgs): EntityMetadata;
|
|
39
|
-
protected computeParentEntityMetadata(allEntityMetadatas: EntityMetadata[], entityMetadata: EntityMetadata): void;
|
|
40
|
-
protected computeEntityMetadataStep1(allEntityMetadatas: EntityMetadata[], entityMetadata: EntityMetadata): void;
|
|
41
|
-
/**
|
|
42
|
-
* Creates from the given embedded metadata args real embedded metadatas with its columns and relations,
|
|
43
|
-
* and does the same for all its sub-embeddeds (goes recursively).
|
|
44
|
-
*/
|
|
45
|
-
protected createEmbeddedsRecursively(entityMetadata: EntityMetadata, embeddedArgs: EmbeddedMetadataArgs[]): EmbeddedMetadata[];
|
|
46
|
-
/**
|
|
47
|
-
* Computes all entity metadata's computed properties, and all its sub-metadatas (relations, columns, embeds, etc).
|
|
48
|
-
*/
|
|
49
|
-
protected computeEntityMetadataStep2(entityMetadata: EntityMetadata): void;
|
|
50
|
-
/**
|
|
51
|
-
* Computes entity metadata's relations inverse side properties.
|
|
52
|
-
*/
|
|
53
|
-
protected computeInverseProperties(entityMetadata: EntityMetadata, entityMetadatas: EntityMetadata[]): void;
|
|
54
|
-
/**
|
|
55
|
-
* Creates indices for the table of single table inheritance.
|
|
56
|
-
*/
|
|
57
|
-
protected createKeysForTableInheritance(entityMetadata: EntityMetadata): void;
|
|
58
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
3
|
-
import { Driver } from "../driver/Driver";
|
|
4
|
-
/**
|
|
5
|
-
* Validates built entity metadatas.
|
|
6
|
-
*/
|
|
7
|
-
export declare class EntityMetadataValidator {
|
|
8
|
-
/**
|
|
9
|
-
* Validates all given entity metadatas.
|
|
10
|
-
*/
|
|
11
|
-
validateMany(entityMetadatas: EntityMetadata[], driver: Driver): void;
|
|
12
|
-
/**
|
|
13
|
-
* Validates given entity metadata.
|
|
14
|
-
*/
|
|
15
|
-
validate(entityMetadata: EntityMetadata, allEntityMetadatas: EntityMetadata[], driver: Driver): void;
|
|
16
|
-
/**
|
|
17
|
-
* Validates dependencies of the entity metadatas.
|
|
18
|
-
*/
|
|
19
|
-
protected validateDependencies(entityMetadatas: EntityMetadata[]): void;
|
|
20
|
-
/**
|
|
21
|
-
* Validates eager relations to prevent circular dependency in them.
|
|
22
|
-
*/
|
|
23
|
-
protected validateEagerRelations(entityMetadatas: EntityMetadata[]): void;
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ColumnMetadata } from "../metadata/ColumnMetadata";
|
|
3
|
-
import { DataSource } from "../data-source/DataSource";
|
|
4
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
5
|
-
import { JoinTableMetadataArgs } from "../metadata-args/JoinTableMetadataArgs";
|
|
6
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
7
|
-
/**
|
|
8
|
-
* Creates EntityMetadata for junction tables.
|
|
9
|
-
* Junction tables are tables generated by many-to-many relations.
|
|
10
|
-
*/
|
|
11
|
-
export declare class JunctionEntityMetadataBuilder {
|
|
12
|
-
private connection;
|
|
13
|
-
constructor(connection: DataSource);
|
|
14
|
-
/**
|
|
15
|
-
* Builds EntityMetadata for the junction of the given many-to-many relation.
|
|
16
|
-
*/
|
|
17
|
-
build(relation: RelationMetadata, joinTable: JoinTableMetadataArgs): EntityMetadata;
|
|
18
|
-
/**
|
|
19
|
-
* Collects referenced columns from the given join column args.
|
|
20
|
-
*/
|
|
21
|
-
protected collectReferencedColumns(relation: RelationMetadata, joinTable: JoinTableMetadataArgs): ColumnMetadata[];
|
|
22
|
-
/**
|
|
23
|
-
* Collects inverse referenced columns from the given join column args.
|
|
24
|
-
*/
|
|
25
|
-
protected collectInverseReferencedColumns(relation: RelationMetadata, joinTable: JoinTableMetadataArgs): ColumnMetadata[];
|
|
26
|
-
protected changeDuplicatedColumnNames(junctionColumns: ColumnMetadata[], inverseJunctionColumns: ColumnMetadata[]): void;
|
|
27
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Metadata args utility functions.
|
|
4
|
-
*/
|
|
5
|
-
export declare class MetadataUtils {
|
|
6
|
-
/**
|
|
7
|
-
* Gets given's entity all inherited classes.
|
|
8
|
-
* Gives in order from parents to children.
|
|
9
|
-
* For example Post extends ContentModel which extends Unit it will give
|
|
10
|
-
* [Unit, ContentModel, Post]
|
|
11
|
-
*/
|
|
12
|
-
static getInheritanceTree(entity: Function): Function[];
|
|
13
|
-
/**
|
|
14
|
-
* Checks if this table is inherited from another table.
|
|
15
|
-
*/
|
|
16
|
-
static isInherited(target1: Function, target2: Function): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Filters given array of targets by a given classes.
|
|
19
|
-
* If classes are not given, then it returns array itself.
|
|
20
|
-
*/
|
|
21
|
-
static filterByTarget<T extends {
|
|
22
|
-
target?: any;
|
|
23
|
-
}>(array: T[], classes?: any[]): T[];
|
|
24
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ColumnMetadata } from "../metadata/ColumnMetadata";
|
|
3
|
-
import { UniqueMetadata } from "../metadata/UniqueMetadata";
|
|
4
|
-
import { ForeignKeyMetadata } from "../metadata/ForeignKeyMetadata";
|
|
5
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
6
|
-
import { JoinColumnMetadataArgs } from "../metadata-args/JoinColumnMetadataArgs";
|
|
7
|
-
import { DataSource } from "../data-source/DataSource";
|
|
8
|
-
/**
|
|
9
|
-
* Builds join column for the many-to-one and one-to-one owner relations.
|
|
10
|
-
*
|
|
11
|
-
* Cases it should cover:
|
|
12
|
-
* 1. when join column is set with custom name and without referenced column name
|
|
13
|
-
* we need automatically set referenced column name - primary ids by default
|
|
14
|
-
* @JoinColumn({ name: "custom_name" })
|
|
15
|
-
*
|
|
16
|
-
* 2. when join column is set with only referenced column name
|
|
17
|
-
* we need automatically set join column name - relation name + referenced column name
|
|
18
|
-
* @JoinColumn({ referencedColumnName: "title" })
|
|
19
|
-
*
|
|
20
|
-
* 3. when join column is set without both referenced column name and join column name
|
|
21
|
-
* we need to automatically set both of them
|
|
22
|
-
* @JoinColumn()
|
|
23
|
-
*
|
|
24
|
-
* 4. when join column is not set at all (as in case of @ManyToOne relation)
|
|
25
|
-
* we need to create join column for it with proper referenced column name and join column name
|
|
26
|
-
*
|
|
27
|
-
* 5. when multiple join columns set none of referencedColumnName and name can be optional
|
|
28
|
-
* both options are required
|
|
29
|
-
* @JoinColumn([
|
|
30
|
-
* { name: "category_title", referencedColumnName: "type" },
|
|
31
|
-
* { name: "category_title", referencedColumnName: "name" },
|
|
32
|
-
* ])
|
|
33
|
-
*
|
|
34
|
-
* Since for many-to-one relations having JoinColumn decorator is not required,
|
|
35
|
-
* we need to go thought each many-to-one relation without join column decorator set
|
|
36
|
-
* and create join column metadata args for them.
|
|
37
|
-
*/
|
|
38
|
-
export declare class RelationJoinColumnBuilder {
|
|
39
|
-
private connection;
|
|
40
|
-
constructor(connection: DataSource);
|
|
41
|
-
/**
|
|
42
|
-
* Builds a foreign key of the many-to-one or one-to-one owner relations.
|
|
43
|
-
*/
|
|
44
|
-
build(joinColumns: JoinColumnMetadataArgs[], relation: RelationMetadata): {
|
|
45
|
-
foreignKey: ForeignKeyMetadata | undefined;
|
|
46
|
-
columns: ColumnMetadata[];
|
|
47
|
-
uniqueConstraint: UniqueMetadata | undefined;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Collects referenced columns from the given join column args.
|
|
51
|
-
*/
|
|
52
|
-
protected collectReferencedColumns(joinColumns: JoinColumnMetadataArgs[], relation: RelationMetadata): ColumnMetadata[];
|
|
53
|
-
/**
|
|
54
|
-
* Collects columns from the given join column args.
|
|
55
|
-
*/
|
|
56
|
-
private collectColumns;
|
|
57
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { MigrationInterface } from "./MigrationInterface";
|
|
3
|
-
/**
|
|
4
|
-
* Represents entity of the migration in the database.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Migration {
|
|
7
|
-
/**
|
|
8
|
-
* Migration id.
|
|
9
|
-
* Indicates order of the executed migrations.
|
|
10
|
-
*/
|
|
11
|
-
id: number | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* Timestamp of the migration.
|
|
14
|
-
*/
|
|
15
|
-
timestamp: number;
|
|
16
|
-
/**
|
|
17
|
-
* Name of the migration (class name).
|
|
18
|
-
*/
|
|
19
|
-
name: string;
|
|
20
|
-
/**
|
|
21
|
-
* Migration instance that needs to be run.
|
|
22
|
-
*/
|
|
23
|
-
instance?: MigrationInterface;
|
|
24
|
-
constructor(id: number | undefined, timestamp: number, name: string, instance?: MigrationInterface);
|
|
25
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { DataSource } from "../data-source/DataSource";
|
|
3
|
-
import { Migration } from "./Migration";
|
|
4
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
5
|
-
/**
|
|
6
|
-
* Executes migrations: runs pending and reverts previously executed migrations.
|
|
7
|
-
*/
|
|
8
|
-
export declare class MigrationExecutor {
|
|
9
|
-
protected connection: DataSource;
|
|
10
|
-
protected queryRunner?: QueryRunner;
|
|
11
|
-
/**
|
|
12
|
-
* Indicates how migrations should be run in transactions.
|
|
13
|
-
* all: all migrations are run in a single transaction
|
|
14
|
-
* none: all migrations are run without a transaction
|
|
15
|
-
* each: each migration is run in a separate transaction
|
|
16
|
-
*/
|
|
17
|
-
transaction: "all" | "none" | "each";
|
|
18
|
-
/**
|
|
19
|
-
* Option to fake-run or fake-revert a migration, adding to the
|
|
20
|
-
* executed migrations table, but not actually running it. This feature is
|
|
21
|
-
* useful for when migrations are added after the fact or for
|
|
22
|
-
* interoperability between applications which are desired to each keep
|
|
23
|
-
* a consistent migration history.
|
|
24
|
-
*/
|
|
25
|
-
fake: boolean;
|
|
26
|
-
private readonly migrationsDatabase?;
|
|
27
|
-
private readonly migrationsSchema?;
|
|
28
|
-
private readonly migrationsTable;
|
|
29
|
-
private readonly migrationsTableName;
|
|
30
|
-
constructor(connection: DataSource, queryRunner?: QueryRunner);
|
|
31
|
-
/**
|
|
32
|
-
* Tries to execute a single migration given.
|
|
33
|
-
*/
|
|
34
|
-
executeMigration(migration: Migration): Promise<Migration>;
|
|
35
|
-
/**
|
|
36
|
-
* Returns an array of all migrations.
|
|
37
|
-
*/
|
|
38
|
-
getAllMigrations(): Promise<Migration[]>;
|
|
39
|
-
/**
|
|
40
|
-
* Returns an array of all executed migrations.
|
|
41
|
-
*/
|
|
42
|
-
getExecutedMigrations(): Promise<Migration[]>;
|
|
43
|
-
/**
|
|
44
|
-
* Returns an array of all pending migrations.
|
|
45
|
-
*/
|
|
46
|
-
getPendingMigrations(): Promise<Migration[]>;
|
|
47
|
-
/**
|
|
48
|
-
* Inserts an executed migration.
|
|
49
|
-
*/
|
|
50
|
-
insertMigration(migration: Migration): Promise<void>;
|
|
51
|
-
/**
|
|
52
|
-
* Deletes an executed migration.
|
|
53
|
-
*/
|
|
54
|
-
deleteMigration(migration: Migration): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Lists all migrations and whether they have been executed or not
|
|
57
|
-
* returns true if there are unapplied migrations
|
|
58
|
-
*/
|
|
59
|
-
showMigrations(): Promise<boolean>;
|
|
60
|
-
/**
|
|
61
|
-
* Executes all pending migrations. Pending migrations are migrations that are not yet executed,
|
|
62
|
-
* thus not saved in the database.
|
|
63
|
-
*/
|
|
64
|
-
executePendingMigrations(): Promise<Migration[]>;
|
|
65
|
-
/**
|
|
66
|
-
* Reverts last migration that were run.
|
|
67
|
-
*/
|
|
68
|
-
undoLastMigration(): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* Creates table "migrations" that will store information about executed migrations.
|
|
71
|
-
*/
|
|
72
|
-
protected createMigrationsTableIfNotExist(queryRunner: QueryRunner): Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Loads all migrations that were executed and saved into the database (sorts by id).
|
|
75
|
-
*/
|
|
76
|
-
protected loadExecutedMigrations(queryRunner: QueryRunner): Promise<Migration[]>;
|
|
77
|
-
/**
|
|
78
|
-
* Gets all migrations that setup for this connection.
|
|
79
|
-
*/
|
|
80
|
-
protected getMigrations(): Migration[];
|
|
81
|
-
protected checkForDuplicateMigrations(migrations: Migration[]): void;
|
|
82
|
-
/**
|
|
83
|
-
* Finds the latest migration (sorts by timestamp) in the given array of migrations.
|
|
84
|
-
*/
|
|
85
|
-
protected getLatestTimestampMigration(migrations: Migration[]): Migration | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* Finds the latest migration in the given array of migrations.
|
|
88
|
-
* PRE: Migration array must be sorted by descending id.
|
|
89
|
-
*/
|
|
90
|
-
protected getLatestExecutedMigration(sortedMigrations: Migration[]): Migration | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* Inserts new executed migration's data into migrations table.
|
|
93
|
-
*/
|
|
94
|
-
protected insertExecutedMigration(queryRunner: QueryRunner, migration: Migration): Promise<void>;
|
|
95
|
-
/**
|
|
96
|
-
* Delete previously executed migration's data from the migrations table.
|
|
97
|
-
*/
|
|
98
|
-
protected deleteExecutedMigration(queryRunner: QueryRunner, migration: Migration): Promise<void>;
|
|
99
|
-
protected withQueryRunner<T extends any>(callback: (queryRunner: QueryRunner) => T | Promise<T>): Promise<T>;
|
|
100
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
3
|
-
/**
|
|
4
|
-
* Migrations should implement this interface and all its methods.
|
|
5
|
-
*/
|
|
6
|
-
export interface MigrationInterface {
|
|
7
|
-
/**
|
|
8
|
-
* Optional migration name, defaults to class name.
|
|
9
|
-
*/
|
|
10
|
-
name?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Run the migrations.
|
|
13
|
-
*/
|
|
14
|
-
up(queryRunner: QueryRunner): Promise<any>;
|
|
15
|
-
/**
|
|
16
|
-
* Reverse the migrations.
|
|
17
|
-
*/
|
|
18
|
-
down(queryRunner: QueryRunner): Promise<any>;
|
|
19
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { NamingStrategyInterface } from "./NamingStrategyInterface";
|
|
3
|
-
import { Table } from "../schema-builder/table/Table";
|
|
4
|
-
/**
|
|
5
|
-
* Naming strategy that is used by default.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DefaultNamingStrategy implements NamingStrategyInterface {
|
|
8
|
-
protected getTableName(tableOrName: Table | string): string;
|
|
9
|
-
/**
|
|
10
|
-
* Normalizes table name.
|
|
11
|
-
*
|
|
12
|
-
* @param targetName Name of the target entity that can be used to generate a table name.
|
|
13
|
-
* @param userSpecifiedName For example if user specified a table name in a decorator, e.g. @Entity("name")
|
|
14
|
-
*/
|
|
15
|
-
tableName(targetName: string, userSpecifiedName: string | undefined): string;
|
|
16
|
-
/**
|
|
17
|
-
* Creates a table name for a junction table of a closure table.
|
|
18
|
-
*
|
|
19
|
-
* @param originalClosureTableName Name of the closure table which owns this junction table.
|
|
20
|
-
*/
|
|
21
|
-
closureJunctionTableName(originalClosureTableName: string): string;
|
|
22
|
-
columnName(propertyName: string, customName: string, embeddedPrefixes: string[]): string;
|
|
23
|
-
relationName(propertyName: string): string;
|
|
24
|
-
primaryKeyName(tableOrName: Table | string, columnNames: string[]): string;
|
|
25
|
-
uniqueConstraintName(tableOrName: Table | string, columnNames: string[]): string;
|
|
26
|
-
relationConstraintName(tableOrName: Table | string, columnNames: string[], where?: string): string;
|
|
27
|
-
defaultConstraintName(tableOrName: Table | string, columnName: string): string;
|
|
28
|
-
foreignKeyName(tableOrName: Table | string, columnNames: string[], _referencedTablePath?: string, _referencedColumnNames?: string[]): string;
|
|
29
|
-
indexName(tableOrName: Table | string, columnNames: string[], where?: string): string;
|
|
30
|
-
checkConstraintName(tableOrName: Table | string, expression: string, isEnum?: boolean): string;
|
|
31
|
-
exclusionConstraintName(tableOrName: Table | string, expression: string): string;
|
|
32
|
-
joinColumnName(relationName: string, referencedColumnName: string): string;
|
|
33
|
-
joinTableName(firstTableName: string, secondTableName: string, firstPropertyName: string, secondPropertyName: string): string;
|
|
34
|
-
joinTableColumnDuplicationPrefix(columnName: string, index: number): string;
|
|
35
|
-
joinTableColumnName(tableName: string, propertyName: string, columnName?: string): string;
|
|
36
|
-
joinTableInverseColumnName(tableName: string, propertyName: string, columnName?: string): string;
|
|
37
|
-
/**
|
|
38
|
-
* Adds globally set prefix to the table name.
|
|
39
|
-
* This method is executed no matter if prefix was set or not.
|
|
40
|
-
* Table name is either user's given table name, either name generated from entity target.
|
|
41
|
-
* Note that table name comes here already normalized by #tableName method.
|
|
42
|
-
*/
|
|
43
|
-
prefixTableName(prefix: string, tableName: string): string;
|
|
44
|
-
eagerJoinRelationAlias(alias: string, propertyPath: string): string;
|
|
45
|
-
nestedSetColumnNames: {
|
|
46
|
-
left: string;
|
|
47
|
-
right: string;
|
|
48
|
-
};
|
|
49
|
-
materializedPathColumnName: string;
|
|
50
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Table } from "../schema-builder/table/Table";
|
|
3
|
-
/**
|
|
4
|
-
* Naming strategy defines how auto-generated names for such things like table name, or table column gonna be
|
|
5
|
-
* generated.
|
|
6
|
-
*/
|
|
7
|
-
export interface NamingStrategyInterface {
|
|
8
|
-
/**
|
|
9
|
-
* Naming strategy name.
|
|
10
|
-
*/
|
|
11
|
-
name?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Normalizes table name.
|
|
14
|
-
*
|
|
15
|
-
* @param targetName Name of the target entity that can be used to generate a table name.
|
|
16
|
-
* @param userSpecifiedName For example if user specified a table name in a decorator, e.g. @Entity("name")
|
|
17
|
-
*/
|
|
18
|
-
tableName(targetName: string, userSpecifiedName: string | undefined): string;
|
|
19
|
-
/**
|
|
20
|
-
* Creates a table name for a junction table of a closure table.
|
|
21
|
-
*
|
|
22
|
-
* @param originalClosureTableName Name of the closure table which owns this junction table.
|
|
23
|
-
*/
|
|
24
|
-
closureJunctionTableName(originalClosureTableName: string): string;
|
|
25
|
-
/**
|
|
26
|
-
* Gets the table's column name from the given property name.
|
|
27
|
-
*/
|
|
28
|
-
columnName(propertyName: string, customName: string | undefined, embeddedPrefixes: string[]): string;
|
|
29
|
-
/**
|
|
30
|
-
* Gets the table's relation name from the given property name.
|
|
31
|
-
*/
|
|
32
|
-
relationName(propertyName: string): string;
|
|
33
|
-
/**
|
|
34
|
-
* Gets the table's primary key name from the given table name and column names.
|
|
35
|
-
*/
|
|
36
|
-
primaryKeyName(tableOrName: Table | string, columnNames: string[]): string;
|
|
37
|
-
/**
|
|
38
|
-
* Gets the table's unique constraint name from the given table name and column names.
|
|
39
|
-
*/
|
|
40
|
-
uniqueConstraintName(tableOrName: Table | string, columnNames: string[]): string;
|
|
41
|
-
/**
|
|
42
|
-
* Gets the relation constraint (UNIQUE or UNIQUE INDEX) name from the given table name, column names
|
|
43
|
-
* and WHERE condition, if UNIQUE INDEX used.
|
|
44
|
-
*/
|
|
45
|
-
relationConstraintName(tableOrName: Table | string, columnNames: string[], where?: string): string;
|
|
46
|
-
/**
|
|
47
|
-
* Gets the table's default constraint name from the given table name and column name.
|
|
48
|
-
*/
|
|
49
|
-
defaultConstraintName(tableOrName: Table | string, columnName: string): string;
|
|
50
|
-
/**
|
|
51
|
-
* Gets the name of the foreign key.
|
|
52
|
-
*/
|
|
53
|
-
foreignKeyName(tableOrName: Table | string, columnNames: string[], referencedTablePath?: string, referencedColumnNames?: string[]): string;
|
|
54
|
-
/**
|
|
55
|
-
* Gets the name of the index - simple and compose index.
|
|
56
|
-
*/
|
|
57
|
-
indexName(tableOrName: Table | string, columns: string[], where?: string): string;
|
|
58
|
-
/**
|
|
59
|
-
* Gets the name of the check constraint.
|
|
60
|
-
*
|
|
61
|
-
* "isEnum" parameter is used to indicate if this check constraint used
|
|
62
|
-
* to handle "simple-enum" type for databases that are not supporting "enum"
|
|
63
|
-
* type out of the box. If "true", constraint is ignored during CHECK constraints
|
|
64
|
-
* synchronization.
|
|
65
|
-
*/
|
|
66
|
-
checkConstraintName(tableOrName: Table | string, expression: string, isEnum?: boolean): string;
|
|
67
|
-
/**
|
|
68
|
-
* Gets the name of the exclusion constraint.
|
|
69
|
-
*/
|
|
70
|
-
exclusionConstraintName(tableOrName: Table | string, expression: string): string;
|
|
71
|
-
/**
|
|
72
|
-
* Gets the name of the join column used in the one-to-one and many-to-one relations.
|
|
73
|
-
*/
|
|
74
|
-
joinColumnName(relationName: string, referencedColumnName: string): string;
|
|
75
|
-
/**
|
|
76
|
-
* Gets the name of the join table used in the many-to-many relations.
|
|
77
|
-
*/
|
|
78
|
-
joinTableName(firstTableName: string, secondTableName: string, firstPropertyName: string, secondPropertyName: string): string;
|
|
79
|
-
/**
|
|
80
|
-
* Columns in join tables can have duplicate names in case of self-referencing.
|
|
81
|
-
* This method provide a resolution for such column names.
|
|
82
|
-
*/
|
|
83
|
-
joinTableColumnDuplicationPrefix(columnName: string, index: number): string;
|
|
84
|
-
/**
|
|
85
|
-
* Gets the name of the column used for columns in the junction tables.
|
|
86
|
-
*
|
|
87
|
-
* The reverse?:boolean parameter denotes if the joinTableColumnName is called for the junctionColumn (false)
|
|
88
|
-
* or the inverseJunctionColumns (true)
|
|
89
|
-
*/
|
|
90
|
-
joinTableColumnName(tableName: string, propertyName: string, columnName?: string): string;
|
|
91
|
-
/**
|
|
92
|
-
* Gets the name of the column used for columns in the junction tables from the invers side of the relationship.
|
|
93
|
-
*/
|
|
94
|
-
joinTableInverseColumnName(tableName: string, propertyName: string, columnName?: string): string;
|
|
95
|
-
/**
|
|
96
|
-
* Adds globally set prefix to the table name.
|
|
97
|
-
* This method is executed no matter if prefix was set or not.
|
|
98
|
-
* Table name is either user's given table name, either name generated from entity target.
|
|
99
|
-
* Note that table name comes here already normalized by #tableName method.
|
|
100
|
-
*/
|
|
101
|
-
prefixTableName(prefix: string, tableName: string): string;
|
|
102
|
-
/**
|
|
103
|
-
* Gets the name of the alias used for relation joins.
|
|
104
|
-
*/
|
|
105
|
-
eagerJoinRelationAlias(alias: string, propertyPath: string): string;
|
|
106
|
-
/**
|
|
107
|
-
* Column names for nested sets.
|
|
108
|
-
*/
|
|
109
|
-
nestedSetColumnNames: {
|
|
110
|
-
left: string;
|
|
111
|
-
right: string;
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* Column name for materialized paths.
|
|
115
|
-
*/
|
|
116
|
-
materializedPathColumnName: string;
|
|
117
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectLiteral } from "../common/ObjectLiteral";
|
|
3
|
-
import { SaveOptions } from "../repository/SaveOptions";
|
|
4
|
-
import { RemoveOptions } from "../repository/RemoveOptions";
|
|
5
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
6
|
-
import { DataSource } from "../data-source/DataSource";
|
|
7
|
-
/**
|
|
8
|
-
* Persists a single entity or multiple entities - saves or removes them.
|
|
9
|
-
*/
|
|
10
|
-
export declare class EntityPersistExecutor {
|
|
11
|
-
protected connection: DataSource;
|
|
12
|
-
protected queryRunner: QueryRunner | undefined;
|
|
13
|
-
protected mode: "save" | "remove" | "soft-remove" | "recover";
|
|
14
|
-
protected target: Function | string | undefined;
|
|
15
|
-
protected entity: ObjectLiteral | ObjectLiteral[];
|
|
16
|
-
protected options?: SaveOptions & RemoveOptions;
|
|
17
|
-
constructor(connection: DataSource, queryRunner: QueryRunner | undefined, mode: "save" | "remove" | "soft-remove" | "recover", target: Function | string | undefined, entity: ObjectLiteral | ObjectLiteral[], options?: SaveOptions & RemoveOptions);
|
|
18
|
-
/**
|
|
19
|
-
* Executes persistence operation ob given entity or entities.
|
|
20
|
-
*/
|
|
21
|
-
execute(): Promise<void>;
|
|
22
|
-
}
|