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,18 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { JoinTableMultipleColumnsOptions } from "../options/JoinTableMultipleColumnsOptions";
|
|
3
|
-
import { JoinTableOptions } from "../options/JoinTableOptions";
|
|
4
|
-
/**
|
|
5
|
-
* JoinTable decorator is used in many-to-many relationship to specify owner side of relationship.
|
|
6
|
-
* Its also used to set a custom junction table's name, column names and referenced columns.
|
|
7
|
-
*/
|
|
8
|
-
export declare function JoinTable(): PropertyDecorator;
|
|
9
|
-
/**
|
|
10
|
-
* JoinTable decorator is used in many-to-many relationship to specify owner side of relationship.
|
|
11
|
-
* Its also used to set a custom junction table's name, column names and referenced columns.
|
|
12
|
-
*/
|
|
13
|
-
export declare function JoinTable(options: JoinTableOptions): PropertyDecorator;
|
|
14
|
-
/**
|
|
15
|
-
* JoinTable decorator is used in many-to-many relationship to specify owner side of relationship.
|
|
16
|
-
* Its also used to set a custom junction table's name, column names and referenced columns.
|
|
17
|
-
*/
|
|
18
|
-
export declare function JoinTable(options: JoinTableMultipleColumnsOptions): PropertyDecorator;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectType } from "../../common/ObjectType";
|
|
3
|
-
import { RelationOptions } from "../options/RelationOptions";
|
|
4
|
-
/**
|
|
5
|
-
* Many-to-many is a type of relationship when Entity1 can have multiple instances of Entity2, and Entity2 can have
|
|
6
|
-
* multiple instances of Entity1. To achieve it, this type of relation creates a junction table, where it storage
|
|
7
|
-
* entity1 and entity2 ids. This is owner side of the relationship.
|
|
8
|
-
*/
|
|
9
|
-
export declare function ManyToMany<T>(typeFunctionOrTarget: string | ((type?: any) => ObjectType<T>), options?: RelationOptions): PropertyDecorator;
|
|
10
|
-
/**
|
|
11
|
-
* Many-to-many is a type of relationship when Entity1 can have multiple instances of Entity2, and Entity2 can have
|
|
12
|
-
* multiple instances of Entity1. To achieve it, this type of relation creates a junction table, where it storage
|
|
13
|
-
* entity1 and entity2 ids. This is owner side of the relationship.
|
|
14
|
-
*/
|
|
15
|
-
export declare function ManyToMany<T>(typeFunctionOrTarget: string | ((type?: any) => ObjectType<T>), inverseSide?: string | ((object: T) => any), options?: RelationOptions): PropertyDecorator;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectType } from "../../common/ObjectType";
|
|
3
|
-
import { RelationOptions } from "../options/RelationOptions";
|
|
4
|
-
/**
|
|
5
|
-
* A many-to-one relation allows creating the type of relation where Entity1 can have a single instance of Entity2, but
|
|
6
|
-
* Entity2 can have multiple instances of Entity1. Entity1 is the owner of the relationship, and stores the id of
|
|
7
|
-
* Entity2 on its side of the relation.
|
|
8
|
-
*/
|
|
9
|
-
export declare function ManyToOne<T>(typeFunctionOrTarget: string | ((type?: any) => ObjectType<T>), options?: RelationOptions): PropertyDecorator;
|
|
10
|
-
/**
|
|
11
|
-
* A many-to-one relation allows creating the type of relation where Entity1 can have a single instance of Entity2, but
|
|
12
|
-
* Entity2 can have multiple instances of Entity1. Entity1 is the owner of the relationship, and stores the id of
|
|
13
|
-
* Entity2 on its side of the relation.
|
|
14
|
-
*/
|
|
15
|
-
export declare function ManyToOne<T>(typeFunctionOrTarget: string | ((type?: any) => ObjectType<T>), inverseSide?: string | ((object: T) => any), options?: RelationOptions): PropertyDecorator;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectType } from "../../common/ObjectType";
|
|
3
|
-
import { RelationOptions } from "../options/RelationOptions";
|
|
4
|
-
/**
|
|
5
|
-
* A one-to-many relation allows creating the type of relation where Entity1 can have multiple instances of Entity2,
|
|
6
|
-
* but Entity2 has only one Entity1. Entity2 is the owner of the relationship, and stores the id of Entity1 on its
|
|
7
|
-
* side of the relation.
|
|
8
|
-
*/
|
|
9
|
-
export declare function OneToMany<T>(typeFunctionOrTarget: string | ((type?: any) => ObjectType<T>), inverseSide: string | ((object: T) => any), options?: RelationOptions): PropertyDecorator;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectType } from "../../common/ObjectType";
|
|
3
|
-
import { RelationOptions } from "../options/RelationOptions";
|
|
4
|
-
/**
|
|
5
|
-
* One-to-one relation allows to create direct relation between two entities. Entity1 have only one Entity2.
|
|
6
|
-
* Entity1 is an owner of the relationship, and storages Entity1 id on its own side.
|
|
7
|
-
*/
|
|
8
|
-
export declare function OneToOne<T>(typeFunctionOrTarget: string | ((type?: any) => ObjectType<T>), options?: RelationOptions): PropertyDecorator;
|
|
9
|
-
/**
|
|
10
|
-
* One-to-one relation allows to create direct relation between two entities. Entity1 have only one Entity2.
|
|
11
|
-
* Entity1 is an owner of the relationship, and storages Entity1 id on its own side.
|
|
12
|
-
*/
|
|
13
|
-
export declare function OneToOne<T>(typeFunctionOrTarget: string | ((type?: any) => ObjectType<T>), inverseSide?: string | ((object: T) => any), options?: RelationOptions): PropertyDecorator;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { SelectQueryBuilder } from "../../query-builder/SelectQueryBuilder";
|
|
3
|
-
/**
|
|
4
|
-
* Holds a number of children in the closure table of the column.
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Do not use this decorator, it may be removed in the future versions
|
|
7
|
-
*/
|
|
8
|
-
export declare function RelationCount<T>(relation: string | ((object: T) => any), alias?: string, queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>): PropertyDecorator;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { SelectQueryBuilder } from "../../query-builder/SelectQueryBuilder";
|
|
3
|
-
/**
|
|
4
|
-
* Special decorator used to extract relation id into separate entity property.
|
|
5
|
-
*
|
|
6
|
-
* @experimental
|
|
7
|
-
*/
|
|
8
|
-
export declare function RelationId<T>(relation: string | ((object: T) => any), alias?: string, queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>): PropertyDecorator;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { TreeType } from "../../metadata/types/TreeTypes";
|
|
3
|
-
import { ClosureTreeOptions } from "../../metadata/types/ClosureTreeOptions";
|
|
4
|
-
/**
|
|
5
|
-
* Marks entity to work like a tree.
|
|
6
|
-
* Tree pattern that will be used for the tree entity should be specified.
|
|
7
|
-
* @TreeParent decorator must be used in tree entities.
|
|
8
|
-
* TreeRepository can be used to manipulate with tree entities.
|
|
9
|
-
*/
|
|
10
|
-
export declare function Tree(type: TreeType, options?: ClosureTreeOptions): ClassDecorator;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Marks a entity property as a children of the tree.
|
|
4
|
-
* "Tree children" will contain all children (bind) of this entity.
|
|
5
|
-
*/
|
|
6
|
-
export declare function TreeChildren(options?: {
|
|
7
|
-
cascade?: boolean | ("insert" | "update" | "remove" | "soft-remove" | "recover")[];
|
|
8
|
-
}): PropertyDecorator;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { OnDeleteType } from "../../metadata/types/OnDeleteType";
|
|
3
|
-
/**
|
|
4
|
-
* Marks a entity property as a parent of the tree.
|
|
5
|
-
* "Tree parent" indicates who owns (is a parent) of this entity in tree structure.
|
|
6
|
-
*/
|
|
7
|
-
export declare function TreeParent(options?: {
|
|
8
|
-
onDelete?: OnDeleteType;
|
|
9
|
-
}): PropertyDecorator;
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
3
|
-
import { ColumnMetadata } from "../metadata/ColumnMetadata";
|
|
4
|
-
import { ObjectLiteral } from "../common/ObjectLiteral";
|
|
5
|
-
import { ColumnType } from "./types/ColumnTypes";
|
|
6
|
-
import { CteCapabilities } from "./types/CteCapabilities";
|
|
7
|
-
import { MappedColumnTypes } from "./types/MappedColumnTypes";
|
|
8
|
-
import { SchemaBuilder } from "../schema-builder/SchemaBuilder";
|
|
9
|
-
import { DataTypeDefaults } from "./types/DataTypeDefaults";
|
|
10
|
-
import { BaseDataSourceOptions } from "../data-source/BaseDataSourceOptions";
|
|
11
|
-
import { TableColumn } from "../schema-builder/table/TableColumn";
|
|
12
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
13
|
-
import { ReplicationMode } from "./types/ReplicationMode";
|
|
14
|
-
import { Table } from "../schema-builder/table/Table";
|
|
15
|
-
import { View } from "../schema-builder/view/View";
|
|
16
|
-
import { TableForeignKey } from "../schema-builder/table/TableForeignKey";
|
|
17
|
-
import { UpsertType } from "./types/UpsertType";
|
|
18
|
-
export type ReturningType = "insert" | "update" | "delete";
|
|
19
|
-
/**
|
|
20
|
-
* Driver organizes TypeORM communication with specific database management system.
|
|
21
|
-
*/
|
|
22
|
-
export interface Driver {
|
|
23
|
-
/**
|
|
24
|
-
* Connection options.
|
|
25
|
-
*/
|
|
26
|
-
options: BaseDataSourceOptions;
|
|
27
|
-
/**
|
|
28
|
-
* Database version/release. Often requires a SQL query to the DB, so it is not always set
|
|
29
|
-
*/
|
|
30
|
-
version?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Database name used to perform all write queries.
|
|
33
|
-
*
|
|
34
|
-
* todo: probably move into query runner.
|
|
35
|
-
*/
|
|
36
|
-
database?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Schema name used to perform all write queries.
|
|
39
|
-
*/
|
|
40
|
-
schema?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Indicates if replication is enabled.
|
|
43
|
-
*/
|
|
44
|
-
isReplicated: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Indicates if tree tables are supported by this driver.
|
|
47
|
-
*/
|
|
48
|
-
treeSupport: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Represent transaction support by this driver
|
|
51
|
-
*/
|
|
52
|
-
transactionSupport: "simple" | "nested" | "none";
|
|
53
|
-
/**
|
|
54
|
-
* Gets list of supported column data types by a driver.
|
|
55
|
-
*/
|
|
56
|
-
supportedDataTypes: ColumnType[];
|
|
57
|
-
/**
|
|
58
|
-
* Returns type of upsert supported by driver if any
|
|
59
|
-
*/
|
|
60
|
-
supportedUpsertType?: UpsertType;
|
|
61
|
-
/**
|
|
62
|
-
* Default values of length, precision and scale depends on column data type.
|
|
63
|
-
* Used in the cases when length/precision/scale is not specified by user.
|
|
64
|
-
*/
|
|
65
|
-
dataTypeDefaults: DataTypeDefaults;
|
|
66
|
-
/**
|
|
67
|
-
* Gets list of spatial column data types.
|
|
68
|
-
*/
|
|
69
|
-
spatialTypes: ColumnType[];
|
|
70
|
-
/**
|
|
71
|
-
* Gets list of column data types that support length by a driver.
|
|
72
|
-
*/
|
|
73
|
-
withLengthColumnTypes: ColumnType[];
|
|
74
|
-
/**
|
|
75
|
-
* Gets list of column data types that support precision by a driver.
|
|
76
|
-
*/
|
|
77
|
-
withPrecisionColumnTypes: ColumnType[];
|
|
78
|
-
/**
|
|
79
|
-
* Gets list of column data types that support scale by a driver.
|
|
80
|
-
*/
|
|
81
|
-
withScaleColumnTypes: ColumnType[];
|
|
82
|
-
/**
|
|
83
|
-
* Orm has special columns and we need to know what database column types should be for those types.
|
|
84
|
-
* Column types are driver dependant.
|
|
85
|
-
*/
|
|
86
|
-
mappedDataTypes: MappedColumnTypes;
|
|
87
|
-
/**
|
|
88
|
-
* Max length allowed by the DBMS for aliases (execution of queries).
|
|
89
|
-
*/
|
|
90
|
-
maxAliasLength?: number;
|
|
91
|
-
cteCapabilities: CteCapabilities;
|
|
92
|
-
/**
|
|
93
|
-
* Performs connection to the database.
|
|
94
|
-
* Depend on driver type it may create a connection pool.
|
|
95
|
-
*/
|
|
96
|
-
connect(): Promise<void>;
|
|
97
|
-
/**
|
|
98
|
-
* Makes any action after connection (e.g. create extensions in Postgres driver).
|
|
99
|
-
*/
|
|
100
|
-
afterConnect(): Promise<void>;
|
|
101
|
-
/**
|
|
102
|
-
* Closes connection with database and releases all resources.
|
|
103
|
-
*/
|
|
104
|
-
disconnect(): Promise<void>;
|
|
105
|
-
/**
|
|
106
|
-
* Synchronizes database schema (creates tables, indices, etc).
|
|
107
|
-
*/
|
|
108
|
-
createSchemaBuilder(): SchemaBuilder;
|
|
109
|
-
/**
|
|
110
|
-
* Creates a query runner used for common queries.
|
|
111
|
-
*/
|
|
112
|
-
createQueryRunner(mode: ReplicationMode): QueryRunner;
|
|
113
|
-
/**
|
|
114
|
-
* Replaces parameters in the given sql with special escaping character
|
|
115
|
-
* and an array of parameter names to be passed to a query.
|
|
116
|
-
*/
|
|
117
|
-
escapeQueryWithParameters(sql: string, parameters: ObjectLiteral, nativeParameters: ObjectLiteral): [string, any[]];
|
|
118
|
-
/**
|
|
119
|
-
* Escapes a table name, column name or an alias.
|
|
120
|
-
*
|
|
121
|
-
* todo: probably escape should be able to handle dots in the names and automatically escape them
|
|
122
|
-
*/
|
|
123
|
-
escape(name: string): string;
|
|
124
|
-
/**
|
|
125
|
-
* Build full table name with database name, schema name and table name.
|
|
126
|
-
* E.g. myDB.mySchema.myTable
|
|
127
|
-
*/
|
|
128
|
-
buildTableName(tableName: string, schema?: string, database?: string): string;
|
|
129
|
-
/**
|
|
130
|
-
* Parse a target table name or other types and return a normalized table definition.
|
|
131
|
-
*/
|
|
132
|
-
parseTableName(target: EntityMetadata | Table | View | TableForeignKey | string): {
|
|
133
|
-
tableName: string;
|
|
134
|
-
schema?: string;
|
|
135
|
-
database?: string;
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Prepares given value to a value to be persisted, based on its column type and metadata.
|
|
139
|
-
*/
|
|
140
|
-
preparePersistentValue(value: any, column: ColumnMetadata): any;
|
|
141
|
-
/**
|
|
142
|
-
* Prepares given value to a value to be persisted, based on its column type.
|
|
143
|
-
*/
|
|
144
|
-
prepareHydratedValue(value: any, column: ColumnMetadata): any;
|
|
145
|
-
/**
|
|
146
|
-
* Transforms type of the given column to a database column type.
|
|
147
|
-
*/
|
|
148
|
-
normalizeType(column: {
|
|
149
|
-
type?: ColumnType | string;
|
|
150
|
-
length?: number | string;
|
|
151
|
-
precision?: number | null;
|
|
152
|
-
scale?: number;
|
|
153
|
-
isArray?: boolean;
|
|
154
|
-
}): string;
|
|
155
|
-
/**
|
|
156
|
-
* Normalizes "default" value of the column.
|
|
157
|
-
*/
|
|
158
|
-
normalizeDefault(columnMetadata: ColumnMetadata): string | undefined;
|
|
159
|
-
/**
|
|
160
|
-
* Normalizes "isUnique" value of the column.
|
|
161
|
-
*/
|
|
162
|
-
normalizeIsUnique(column: ColumnMetadata): boolean;
|
|
163
|
-
/**
|
|
164
|
-
* Calculates column length taking into account the default length values.
|
|
165
|
-
*/
|
|
166
|
-
getColumnLength(column: ColumnMetadata): string;
|
|
167
|
-
/**
|
|
168
|
-
* Normalizes "default" value of the column.
|
|
169
|
-
*/
|
|
170
|
-
createFullType(column: TableColumn): string;
|
|
171
|
-
/**
|
|
172
|
-
* Obtains a new database connection to a master server.
|
|
173
|
-
* Used for replication.
|
|
174
|
-
* If replication is not setup then returns default connection's database connection.
|
|
175
|
-
*/
|
|
176
|
-
obtainMasterConnection(): Promise<any>;
|
|
177
|
-
/**
|
|
178
|
-
* Obtains a new database connection to a slave server.
|
|
179
|
-
* Used for replication.
|
|
180
|
-
* If replication is not setup then returns master (default) connection's database connection.
|
|
181
|
-
*/
|
|
182
|
-
obtainSlaveConnection(): Promise<any>;
|
|
183
|
-
/**
|
|
184
|
-
* Creates generated map of values generated or returned by database after INSERT query.
|
|
185
|
-
*/
|
|
186
|
-
createGeneratedMap(metadata: EntityMetadata, insertResult: any, entityIndex?: number, entityNum?: number): ObjectLiteral | undefined;
|
|
187
|
-
/**
|
|
188
|
-
* Differentiate columns of this table and columns from the given column metadatas columns
|
|
189
|
-
* and returns only changed.
|
|
190
|
-
*/
|
|
191
|
-
findChangedColumns(tableColumns: TableColumn[], columnMetadatas: ColumnMetadata[]): ColumnMetadata[];
|
|
192
|
-
/**
|
|
193
|
-
* Returns true if driver supports RETURNING / OUTPUT statement.
|
|
194
|
-
*/
|
|
195
|
-
isReturningSqlSupported(returningType: ReturningType): boolean;
|
|
196
|
-
/**
|
|
197
|
-
* Returns true if driver supports uuid values generation on its own.
|
|
198
|
-
*/
|
|
199
|
-
isUUIDGenerationSupported(): boolean;
|
|
200
|
-
/**
|
|
201
|
-
* Returns true if driver supports fulltext indices.
|
|
202
|
-
*/
|
|
203
|
-
isFullTextColumnTypeSupported(): boolean;
|
|
204
|
-
/**
|
|
205
|
-
* Creates an escaped parameter.
|
|
206
|
-
*/
|
|
207
|
-
createParameter(parameterName: string, index: number): string;
|
|
208
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Driver } from "./Driver";
|
|
3
|
-
import { DataSource } from "../data-source/DataSource";
|
|
4
|
-
/**
|
|
5
|
-
* Helps to create drivers.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DriverFactory {
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new driver depend on a given connection's driver type.
|
|
10
|
-
*/
|
|
11
|
-
create(connection: DataSource): Driver;
|
|
12
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Driver } from "./Driver";
|
|
3
|
-
/**
|
|
4
|
-
* Common driver utility functions.
|
|
5
|
-
*/
|
|
6
|
-
export declare class DriverUtils {
|
|
7
|
-
/**
|
|
8
|
-
* Returns true if given driver is SQLite-based driver.
|
|
9
|
-
*/
|
|
10
|
-
static isSQLiteFamily(driver: Driver): boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Returns true if given driver is MySQL-based driver.
|
|
13
|
-
*/
|
|
14
|
-
static isMySQLFamily(driver: Driver): boolean;
|
|
15
|
-
static isReleaseVersionOrGreater(driver: Driver, version: string): boolean;
|
|
16
|
-
static isPostgresFamily(driver: Driver): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Normalizes and builds a new driver options.
|
|
19
|
-
* Extracts settings from connection url and sets to a new options object.
|
|
20
|
-
*/
|
|
21
|
-
static buildDriverOptions(options: any, buildOptions?: {
|
|
22
|
-
useSid: boolean;
|
|
23
|
-
}): any;
|
|
24
|
-
/**
|
|
25
|
-
* buildDriverOptions for MongodDB only to support replica set
|
|
26
|
-
*/
|
|
27
|
-
static buildMongoDBDriverOptions(options: any, buildOptions?: {
|
|
28
|
-
useSid: boolean;
|
|
29
|
-
}): any;
|
|
30
|
-
/**
|
|
31
|
-
* Joins and shortens alias if needed.
|
|
32
|
-
*
|
|
33
|
-
* If the alias length is greater than the limit allowed by the current
|
|
34
|
-
* driver, replaces it with a shortend string, if the shortend string
|
|
35
|
-
* is still too long, it will then hash the alias.
|
|
36
|
-
*
|
|
37
|
-
* @param driver Current `Driver`.
|
|
38
|
-
* @param buildOptions Optional settings.
|
|
39
|
-
* @param alias Alias parts.
|
|
40
|
-
*
|
|
41
|
-
* @return An alias that is no longer than the divers max alias length.
|
|
42
|
-
*/
|
|
43
|
-
static buildAlias({ maxAliasLength }: Driver, buildOptions: {
|
|
44
|
-
shorten?: boolean;
|
|
45
|
-
joiner?: string;
|
|
46
|
-
} | string, ...alias: string[]): string;
|
|
47
|
-
/**
|
|
48
|
-
* @deprecated use `buildAlias` instead.
|
|
49
|
-
*/
|
|
50
|
-
static buildColumnAlias({ maxAliasLength }: Driver, buildOptions: {
|
|
51
|
-
shorten?: boolean;
|
|
52
|
-
joiner?: string;
|
|
53
|
-
} | string, ...alias: string[]): string;
|
|
54
|
-
/**
|
|
55
|
-
* Extracts connection data from the connection url.
|
|
56
|
-
*/
|
|
57
|
-
private static parseConnectionUrl;
|
|
58
|
-
/**
|
|
59
|
-
* Extracts connection data from the connection url for MongoDB to support replica set.
|
|
60
|
-
*/
|
|
61
|
-
private static parseMongoDBConnectionUrl;
|
|
62
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions";
|
|
3
|
-
/**
|
|
4
|
-
* Sqlite-specific connection options.
|
|
5
|
-
*/
|
|
6
|
-
export interface CordovaConnectionOptions extends BaseDataSourceOptions {
|
|
7
|
-
/**
|
|
8
|
-
* Database type.
|
|
9
|
-
*/
|
|
10
|
-
readonly type: "cordova";
|
|
11
|
-
/**
|
|
12
|
-
* Database name.
|
|
13
|
-
*/
|
|
14
|
-
readonly database: string;
|
|
15
|
-
/**
|
|
16
|
-
* The driver object
|
|
17
|
-
* This defaults to `window.sqlitePlugin`
|
|
18
|
-
*/
|
|
19
|
-
readonly driver?: any;
|
|
20
|
-
/**
|
|
21
|
-
* Storage Location
|
|
22
|
-
*/
|
|
23
|
-
readonly location: string;
|
|
24
|
-
readonly poolSize?: never;
|
|
25
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { AbstractSqliteDriver } from "../sqlite-abstract/AbstractSqliteDriver";
|
|
3
|
-
import { CordovaConnectionOptions } from "./CordovaConnectionOptions";
|
|
4
|
-
import { QueryRunner } from "../../query-runner/QueryRunner";
|
|
5
|
-
import { DataSource } from "../../data-source/DataSource";
|
|
6
|
-
import { ReplicationMode } from "../types/ReplicationMode";
|
|
7
|
-
export declare class CordovaDriver extends AbstractSqliteDriver {
|
|
8
|
-
options: CordovaConnectionOptions;
|
|
9
|
-
constructor(connection: DataSource);
|
|
10
|
-
/**
|
|
11
|
-
* Closes connection with database.
|
|
12
|
-
*/
|
|
13
|
-
disconnect(): Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Creates a query runner used to execute database queries.
|
|
16
|
-
*/
|
|
17
|
-
createQueryRunner(mode: ReplicationMode): QueryRunner;
|
|
18
|
-
/**
|
|
19
|
-
* Creates connection with the database.
|
|
20
|
-
*/
|
|
21
|
-
protected createDatabaseConnection(): Promise<any>;
|
|
22
|
-
/**
|
|
23
|
-
* If driver dependency is not given explicitly, then try to load it via "require".
|
|
24
|
-
*/
|
|
25
|
-
protected loadDependencies(): void;
|
|
26
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectLiteral } from "../../common/ObjectLiteral";
|
|
3
|
-
import { AbstractSqliteQueryRunner } from "../sqlite-abstract/AbstractSqliteQueryRunner";
|
|
4
|
-
import { CordovaDriver } from "./CordovaDriver";
|
|
5
|
-
/**
|
|
6
|
-
* Runs queries on a single sqlite database connection.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CordovaQueryRunner extends AbstractSqliteQueryRunner {
|
|
9
|
-
/**
|
|
10
|
-
* Database driver used by connection.
|
|
11
|
-
*/
|
|
12
|
-
driver: CordovaDriver;
|
|
13
|
-
constructor(driver: CordovaDriver);
|
|
14
|
-
/**
|
|
15
|
-
* Called before migrations are run.
|
|
16
|
-
*/
|
|
17
|
-
beforeMigration(): Promise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* Called after migrations are run.
|
|
20
|
-
*/
|
|
21
|
-
afterMigration(): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Executes a given SQL query.
|
|
24
|
-
*/
|
|
25
|
-
query(query: string, parameters?: any[], useStructuredResult?: boolean): Promise<any>;
|
|
26
|
-
/**
|
|
27
|
-
* Insert a new row with given values into the given table.
|
|
28
|
-
* Returns value of the generated column if given and generate column exist in the table.
|
|
29
|
-
// todo: implement new syntax
|
|
30
|
-
async insert(tableName: string, keyValues: ObjectLiteral): Promise<InsertResult> {
|
|
31
|
-
const keys = Object.keys(keyValues);
|
|
32
|
-
const columns = keys.map(key => `"${key}"`).join(", ");
|
|
33
|
-
const values = keys.map(key => "?").join(",");
|
|
34
|
-
const generatedColumns = this.connection.hasMetadata(tableName) ? this.connection.getMetadata(tableName).generatedColumns : [];
|
|
35
|
-
const sql = columns.length > 0 ? (`INSERT INTO "${tableName}"(${columns}) VALUES (${values})`) : `INSERT INTO "${tableName}" DEFAULT VALUES`;
|
|
36
|
-
const parameters = keys.map(key => keyValues[key]);
|
|
37
|
-
|
|
38
|
-
return new Promise<InsertResult>(async (ok, fail) => {
|
|
39
|
-
this.driver.connection.logger.logQuery(sql, parameters, this);
|
|
40
|
-
const __this = this;
|
|
41
|
-
const databaseConnection = await this.connect();
|
|
42
|
-
databaseConnection.executeSql(sql, parameters, (resultSet: any) => {
|
|
43
|
-
const generatedMap = generatedColumns.reduce((map, generatedColumn) => {
|
|
44
|
-
const value = generatedColumn.isPrimary && generatedColumn.generationStrategy === "increment" && resultSet.insertId ? resultSet.insertId : keyValues[generatedColumn.databaseName];
|
|
45
|
-
if (!value) return map;
|
|
46
|
-
return OrmUtils.mergeDeep(map, generatedColumn.createValueMap(value));
|
|
47
|
-
}, {} as ObjectLiteral);
|
|
48
|
-
|
|
49
|
-
ok({
|
|
50
|
-
result: undefined,
|
|
51
|
-
generatedMap: Object.keys(generatedMap).length > 0 ? generatedMap : undefined
|
|
52
|
-
});
|
|
53
|
-
}, (err: any) => {
|
|
54
|
-
__this.driver.connection.logger.logQueryError(err, sql, parameters, this);
|
|
55
|
-
fail(err);
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
}*/
|
|
59
|
-
/**
|
|
60
|
-
* Would start a transaction but this driver does not support transactions.
|
|
61
|
-
*/
|
|
62
|
-
startTransaction(): Promise<void>;
|
|
63
|
-
/**
|
|
64
|
-
* Would start a transaction but this driver does not support transactions.
|
|
65
|
-
*/
|
|
66
|
-
commitTransaction(): Promise<void>;
|
|
67
|
-
/**
|
|
68
|
-
* Would start a transaction but this driver does not support transactions.
|
|
69
|
-
*/
|
|
70
|
-
rollbackTransaction(): Promise<void>;
|
|
71
|
-
/**
|
|
72
|
-
* Removes all tables from the currently connected database.
|
|
73
|
-
* Be careful with using this method and avoid using it in production or migrations
|
|
74
|
-
* (because it can clear all your database).
|
|
75
|
-
*/
|
|
76
|
-
clearDatabase(): Promise<void>;
|
|
77
|
-
/**
|
|
78
|
-
* Parametrizes given object of values. Used to create column=value queries.
|
|
79
|
-
*/
|
|
80
|
-
protected parametrize(objectLiteral: ObjectLiteral, startIndex?: number): string[];
|
|
81
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Create a new ObjectID instance.
|
|
4
|
-
*
|
|
5
|
-
* @see http://mongodb.github.io/node-mongodb-native/2.1/api/ObjectID.html
|
|
6
|
-
*/
|
|
7
|
-
export declare class ObjectID {
|
|
8
|
-
constructor(s?: string | number);
|
|
9
|
-
/**
|
|
10
|
-
* The generation time of this ObjectId instance.
|
|
11
|
-
*/
|
|
12
|
-
generationTime: number;
|
|
13
|
-
/**
|
|
14
|
-
* Creates an ObjectID from a hex string representation of an ObjectID.
|
|
15
|
-
*/
|
|
16
|
-
static createFromHexString(hexString: string): ObjectID;
|
|
17
|
-
/**
|
|
18
|
-
* Creates an ObjectID from a second based number, with the rest of the ObjectID zeroed out. Used for comparisons or sorting the ObjectID.
|
|
19
|
-
*/
|
|
20
|
-
static createFromTime(time: number): ObjectID;
|
|
21
|
-
/**
|
|
22
|
-
* Checks if a value is a valid bson ObjectId.
|
|
23
|
-
*/
|
|
24
|
-
static isValid(id: any): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Compares the equality of this ObjectID with otherID.
|
|
27
|
-
*/
|
|
28
|
-
equals(otherID: ObjectID): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Generate a 12 byte id buffer used in ObjectID's.
|
|
31
|
-
*/
|
|
32
|
-
generate(time?: number): string;
|
|
33
|
-
/**
|
|
34
|
-
* Returns the generation date (accurate up to the second) that this ID was generated.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
getTimestamp(): Date;
|
|
38
|
-
/**
|
|
39
|
-
* Return the ObjectID id as a 24 byte hex string representation.
|
|
40
|
-
*/
|
|
41
|
-
toHexString(): string;
|
|
42
|
-
/**
|
|
43
|
-
* Get the timestamp and validate correctness.
|
|
44
|
-
*/
|
|
45
|
-
toString(): string;
|
|
46
|
-
}
|