taon-typeorm 21.0.2 → 21.0.6
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 → taon-typeorm-browser.mjs} +1 -1
- package/browser/fesm2022/taon-typeorm-browser.mjs.map +1 -0
- package/browser/package.json +1 -1
- package/browser/types/taon-typeorm-browser.d.ts +12402 -0
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/typeorm/query-builder/DeleteQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/DeleteQueryBuilder.js.map +1 -1
- package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js.map +1 -1
- package/lib/typeorm/query-builder/UpdateQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/UpdateQueryBuilder.js.map +1 -1
- package/package.json +1 -1
- package/tmp-environment.json +4 -8
- package/websql/fesm2022/{taon-typeorm.mjs → taon-typeorm-websql.mjs} +1 -1
- package/websql/fesm2022/taon-typeorm-websql.mjs.map +1 -0
- package/websql/package.json +1 -1
- package/websql/types/taon-typeorm-websql.d.ts +12402 -0
- package/browser/fesm2022/taon-typeorm.mjs.map +0 -1
- 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/websql/fesm2022/taon-typeorm.mjs.map +0 -1
- 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,156 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectLiteral } from "../common/ObjectLiteral";
|
|
3
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
4
|
-
import { SubjectChangeMap } from "./SubjectChangeMap";
|
|
5
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
6
|
-
import { ColumnMetadata } from "../metadata/ColumnMetadata";
|
|
7
|
-
/**
|
|
8
|
-
* Subject is a subject of persistence.
|
|
9
|
-
* It holds information about each entity that needs to be persisted:
|
|
10
|
-
* - what entity should be persisted
|
|
11
|
-
* - what is database representation of the persisted entity
|
|
12
|
-
* - what entity metadata of the persisted entity
|
|
13
|
-
* - what is allowed to with persisted entity (insert/update/remove)
|
|
14
|
-
*
|
|
15
|
-
* Having this collection of subjects we can perform database queries.
|
|
16
|
-
*/
|
|
17
|
-
export declare class Subject {
|
|
18
|
-
readonly "@instanceof": symbol;
|
|
19
|
-
/**
|
|
20
|
-
* Entity metadata of the subject entity.
|
|
21
|
-
*/
|
|
22
|
-
metadata: EntityMetadata;
|
|
23
|
-
/**
|
|
24
|
-
* Subject identifier.
|
|
25
|
-
* This identifier is not limited to table entity primary columns.
|
|
26
|
-
* This can be entity id or ids as well as some unique entity properties, like name or title.
|
|
27
|
-
* Insert / Update / Remove operation will be executed by a given identifier.
|
|
28
|
-
*/
|
|
29
|
-
identifier: ObjectLiteral | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Copy of entity but with relational ids fulfilled.
|
|
32
|
-
*/
|
|
33
|
-
entityWithFulfilledIds: ObjectLiteral | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* If subject was created by cascades this property will contain subject
|
|
36
|
-
* from where this subject was created.
|
|
37
|
-
*/
|
|
38
|
-
parentSubject?: Subject;
|
|
39
|
-
/**
|
|
40
|
-
* Gets entity sent to the persistence (e.g. changed entity).
|
|
41
|
-
* If entity is not set then this subject is created only for the entity loaded from the database,
|
|
42
|
-
* or this subject is used for the junction operation (junction operations are relying only on identifier).
|
|
43
|
-
*/
|
|
44
|
-
entity?: ObjectLiteral;
|
|
45
|
-
/**
|
|
46
|
-
* Database entity.
|
|
47
|
-
* THIS IS NOT RAW ENTITY DATA, its a real entity.
|
|
48
|
-
*/
|
|
49
|
-
databaseEntity?: ObjectLiteral;
|
|
50
|
-
/**
|
|
51
|
-
* Indicates if database entity was loaded.
|
|
52
|
-
* No matter if it was found or not, it indicates the fact of loading.
|
|
53
|
-
*/
|
|
54
|
-
databaseEntityLoaded: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Changes needs to be applied in the database for the given subject.
|
|
57
|
-
*/
|
|
58
|
-
changeMaps: SubjectChangeMap[];
|
|
59
|
-
/**
|
|
60
|
-
* Generated values returned by a database (for example generated id or default values).
|
|
61
|
-
* Used in insert and update operations.
|
|
62
|
-
* Has entity-like structure (not just column database name and values).
|
|
63
|
-
*/
|
|
64
|
-
generatedMap?: ObjectLiteral;
|
|
65
|
-
/**
|
|
66
|
-
* Inserted values with updated values of special and default columns.
|
|
67
|
-
* Has entity-like structure (not just column database name and values).
|
|
68
|
-
*/
|
|
69
|
-
insertedValueSet?: ObjectLiteral;
|
|
70
|
-
/**
|
|
71
|
-
* Indicates if this subject can be inserted into the database.
|
|
72
|
-
* This means that this subject either is newly persisted, either can be inserted by cascades.
|
|
73
|
-
*/
|
|
74
|
-
canBeInserted: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Indicates if this subject can be updated in the database.
|
|
77
|
-
* This means that this subject either was persisted, either can be updated by cascades.
|
|
78
|
-
*/
|
|
79
|
-
canBeUpdated: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Indicates if this subject MUST be removed from the database.
|
|
82
|
-
* This means that this subject either was removed, either was removed by cascades.
|
|
83
|
-
*/
|
|
84
|
-
mustBeRemoved: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Indicates if this subject can be soft-removed from the database.
|
|
87
|
-
* This means that this subject either was soft-removed, either was soft-removed by cascades.
|
|
88
|
-
*/
|
|
89
|
-
canBeSoftRemoved: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Indicates if this subject can be recovered from the database.
|
|
92
|
-
* This means that this subject either was recovered, either was recovered by cascades.
|
|
93
|
-
*/
|
|
94
|
-
canBeRecovered: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Relations updated by the change maps.
|
|
97
|
-
*/
|
|
98
|
-
updatedRelationMaps: {
|
|
99
|
-
relation: RelationMetadata;
|
|
100
|
-
value: ObjectLiteral;
|
|
101
|
-
}[];
|
|
102
|
-
/**
|
|
103
|
-
* List of updated columns
|
|
104
|
-
*/
|
|
105
|
-
diffColumns: ColumnMetadata[];
|
|
106
|
-
/**
|
|
107
|
-
* List of updated relations
|
|
108
|
-
*/
|
|
109
|
-
diffRelations: RelationMetadata[];
|
|
110
|
-
constructor(options: {
|
|
111
|
-
metadata: EntityMetadata;
|
|
112
|
-
parentSubject?: Subject;
|
|
113
|
-
entity?: ObjectLiteral;
|
|
114
|
-
canBeInserted?: boolean;
|
|
115
|
-
canBeUpdated?: boolean;
|
|
116
|
-
mustBeRemoved?: boolean;
|
|
117
|
-
canBeSoftRemoved?: boolean;
|
|
118
|
-
canBeRecovered?: boolean;
|
|
119
|
-
identifier?: ObjectLiteral;
|
|
120
|
-
changeMaps?: SubjectChangeMap[];
|
|
121
|
-
});
|
|
122
|
-
/**
|
|
123
|
-
* Checks if this subject must be inserted into the database.
|
|
124
|
-
* Subject can be inserted into the database if it is allowed to be inserted (explicitly persisted or by cascades)
|
|
125
|
-
* and if it does not have database entity set.
|
|
126
|
-
*/
|
|
127
|
-
get mustBeInserted(): boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Checks if this subject must be updated into the database.
|
|
130
|
-
* Subject can be updated in the database if it is allowed to be updated (explicitly persisted or by cascades)
|
|
131
|
-
* and if it does have differentiated columns or relations.
|
|
132
|
-
*/
|
|
133
|
-
get mustBeUpdated(): boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Checks if this subject must be soft-removed into the database.
|
|
136
|
-
* Subject can be updated in the database if it is allowed to be soft-removed (explicitly persisted or by cascades)
|
|
137
|
-
* and if it does have differentiated columns or relations.
|
|
138
|
-
*/
|
|
139
|
-
get mustBeSoftRemoved(): boolean | ObjectLiteral;
|
|
140
|
-
/**
|
|
141
|
-
* Checks if this subject must be recovered into the database.
|
|
142
|
-
* Subject can be updated in the database if it is allowed to be recovered (explicitly persisted or by cascades)
|
|
143
|
-
* and if it does have differentiated columns or relations.
|
|
144
|
-
*/
|
|
145
|
-
get mustBeRecovered(): boolean | ObjectLiteral;
|
|
146
|
-
/**
|
|
147
|
-
* Creates a value set needs to be inserted / updated in the database.
|
|
148
|
-
* Value set is based on the entity and change maps of the subject.
|
|
149
|
-
* Important note: this method pops data from this subject's change maps.
|
|
150
|
-
*/
|
|
151
|
-
createValueSetAndPopChangeMap(): ObjectLiteral;
|
|
152
|
-
/**
|
|
153
|
-
* Recomputes entityWithFulfilledIds and identifier when entity changes.
|
|
154
|
-
*/
|
|
155
|
-
recompute(): void;
|
|
156
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ColumnMetadata } from "../metadata/ColumnMetadata";
|
|
3
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
4
|
-
import { Subject } from "./Subject";
|
|
5
|
-
/**
|
|
6
|
-
* Change for insertion or updation of the column of the subject.
|
|
7
|
-
*/
|
|
8
|
-
export interface SubjectChangeMap {
|
|
9
|
-
/**
|
|
10
|
-
* Column that needs to be changed.
|
|
11
|
-
* Either column, either relation must be set in the change.
|
|
12
|
-
*/
|
|
13
|
-
column?: ColumnMetadata;
|
|
14
|
-
/**
|
|
15
|
-
* Relation that needs to be changed.
|
|
16
|
-
* Either column, either relation must be set in the change.
|
|
17
|
-
*/
|
|
18
|
-
relation?: RelationMetadata;
|
|
19
|
-
/**
|
|
20
|
-
* Value needs to be inserted into given column.
|
|
21
|
-
* This value can also be another subject, when this column has a referenced column.
|
|
22
|
-
*/
|
|
23
|
-
value: Subject | any;
|
|
24
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "./Subject";
|
|
3
|
-
/**
|
|
4
|
-
* Finds what columns are changed in the subject entities.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SubjectChangedColumnsComputer {
|
|
7
|
-
/**
|
|
8
|
-
* Finds what columns are changed in the subject entities.
|
|
9
|
-
*/
|
|
10
|
-
compute(subjects: Subject[]): void;
|
|
11
|
-
/**
|
|
12
|
-
* Differentiate columns from the updated entity and entity stored in the database.
|
|
13
|
-
*/
|
|
14
|
-
protected computeDiffColumns(subject: Subject): void;
|
|
15
|
-
/**
|
|
16
|
-
* Difference columns of the owning one-to-one and many-to-one columns.
|
|
17
|
-
*/
|
|
18
|
-
protected computeDiffRelationalColumns(allSubjects: Subject[], subject: Subject): void;
|
|
19
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "./Subject";
|
|
3
|
-
import { ObjectLiteral } from "../common/ObjectLiteral";
|
|
4
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
5
|
-
/**
|
|
6
|
-
* Loads database entities for all operate subjects which do not have database entity set.
|
|
7
|
-
* All entities that we load database entities for are marked as updated or inserted.
|
|
8
|
-
* To understand which of them really needs to be inserted or updated we need to load
|
|
9
|
-
* their original representations from the database.
|
|
10
|
-
*/
|
|
11
|
-
export declare class SubjectDatabaseEntityLoader {
|
|
12
|
-
protected queryRunner: QueryRunner;
|
|
13
|
-
protected subjects: Subject[];
|
|
14
|
-
constructor(queryRunner: QueryRunner, subjects: Subject[]);
|
|
15
|
-
/**
|
|
16
|
-
* Loads database entities for all subjects.
|
|
17
|
-
*
|
|
18
|
-
* loadAllRelations flag is used to load all relation ids of the object, no matter if they present in subject entity or not.
|
|
19
|
-
* This option is used for deletion.
|
|
20
|
-
*/
|
|
21
|
-
load(operationType: "save" | "remove" | "soft-remove" | "recover"): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Finds subjects where entity like given subject's entity.
|
|
24
|
-
* Comparison made by entity id.
|
|
25
|
-
* Multiple subjects may be returned if duplicates are present in the subject array.
|
|
26
|
-
* This will likely result in the same row being updated multiple times during a transaction.
|
|
27
|
-
*/
|
|
28
|
-
protected findByPersistEntityLike(entityTarget: Function | string, entity: ObjectLiteral): Subject[];
|
|
29
|
-
/**
|
|
30
|
-
* Groups given Subject objects into groups separated by entity targets.
|
|
31
|
-
*/
|
|
32
|
-
protected groupByEntityTargets(): {
|
|
33
|
-
target: Function | string;
|
|
34
|
-
subjects: Subject[];
|
|
35
|
-
}[];
|
|
36
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
3
|
-
import { Subject } from "./Subject";
|
|
4
|
-
import { SaveOptions } from "../repository/SaveOptions";
|
|
5
|
-
import { RemoveOptions } from "../repository/RemoveOptions";
|
|
6
|
-
import { BroadcasterResult } from "../subscriber/BroadcasterResult";
|
|
7
|
-
/**
|
|
8
|
-
* Executes all database operations (inserts, updated, deletes) that must be executed
|
|
9
|
-
* with given persistence subjects.
|
|
10
|
-
*/
|
|
11
|
-
export declare class SubjectExecutor {
|
|
12
|
-
/**
|
|
13
|
-
* Indicates if executor has any operations to execute (e.g. has insert / update / delete operations to be executed).
|
|
14
|
-
*/
|
|
15
|
-
hasExecutableOperations: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* QueryRunner used to execute all queries with a given subjects.
|
|
18
|
-
*/
|
|
19
|
-
protected queryRunner: QueryRunner;
|
|
20
|
-
/**
|
|
21
|
-
* Persistence options.
|
|
22
|
-
*/
|
|
23
|
-
protected options?: SaveOptions & RemoveOptions;
|
|
24
|
-
/**
|
|
25
|
-
* All subjects that needs to be operated.
|
|
26
|
-
*/
|
|
27
|
-
protected allSubjects: Subject[];
|
|
28
|
-
/**
|
|
29
|
-
* Subjects that must be inserted.
|
|
30
|
-
*/
|
|
31
|
-
protected insertSubjects: Subject[];
|
|
32
|
-
/**
|
|
33
|
-
* Subjects that must be updated.
|
|
34
|
-
*/
|
|
35
|
-
protected updateSubjects: Subject[];
|
|
36
|
-
/**
|
|
37
|
-
* Subjects that must be removed.
|
|
38
|
-
*/
|
|
39
|
-
protected removeSubjects: Subject[];
|
|
40
|
-
/**
|
|
41
|
-
* Subjects that must be soft-removed.
|
|
42
|
-
*/
|
|
43
|
-
protected softRemoveSubjects: Subject[];
|
|
44
|
-
/**
|
|
45
|
-
* Subjects that must be recovered.
|
|
46
|
-
*/
|
|
47
|
-
protected recoverSubjects: Subject[];
|
|
48
|
-
constructor(queryRunner: QueryRunner, subjects: Subject[], options?: SaveOptions & RemoveOptions);
|
|
49
|
-
/**
|
|
50
|
-
* Executes all operations over given array of subjects.
|
|
51
|
-
* Executes queries using given query runner.
|
|
52
|
-
*/
|
|
53
|
-
execute(): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* Validates all given subjects.
|
|
56
|
-
*/
|
|
57
|
-
protected validate(): void;
|
|
58
|
-
/**
|
|
59
|
-
* Performs entity re-computations - finds changed columns, re-builds insert/update/remove subjects.
|
|
60
|
-
*/
|
|
61
|
-
protected recompute(): void;
|
|
62
|
-
/**
|
|
63
|
-
* Broadcasts "BEFORE_INSERT", "BEFORE_UPDATE", "BEFORE_REMOVE", "BEFORE_SOFT_REMOVE", "BEFORE_RECOVER" events for all given subjects.
|
|
64
|
-
*/
|
|
65
|
-
protected broadcastBeforeEventsForAll(): BroadcasterResult;
|
|
66
|
-
/**
|
|
67
|
-
* Broadcasts "AFTER_INSERT", "AFTER_UPDATE", "AFTER_REMOVE", "AFTER_SOFT_REMOVE", "AFTER_RECOVER" events for all given subjects.
|
|
68
|
-
* Returns void if there wasn't any listener or subscriber executed.
|
|
69
|
-
* Note: this method has a performance-optimized code organization.
|
|
70
|
-
*/
|
|
71
|
-
protected broadcastAfterEventsForAll(): BroadcasterResult;
|
|
72
|
-
/**
|
|
73
|
-
* Executes insert operations.
|
|
74
|
-
*/
|
|
75
|
-
protected executeInsertOperations(): Promise<void>;
|
|
76
|
-
/**
|
|
77
|
-
* Updates all given subjects in the database.
|
|
78
|
-
*/
|
|
79
|
-
protected executeUpdateOperations(): Promise<void>;
|
|
80
|
-
/**
|
|
81
|
-
* Removes all given subjects from the database.
|
|
82
|
-
*
|
|
83
|
-
* todo: we need to apply topological sort here as well
|
|
84
|
-
*/
|
|
85
|
-
protected executeRemoveOperations(): Promise<void>;
|
|
86
|
-
private cloneMongoSubjectEntity;
|
|
87
|
-
/**
|
|
88
|
-
* Soft-removes all given subjects in the database.
|
|
89
|
-
*/
|
|
90
|
-
protected executeSoftRemoveOperations(): Promise<void>;
|
|
91
|
-
/**
|
|
92
|
-
* Recovers all given subjects in the database.
|
|
93
|
-
*/
|
|
94
|
-
protected executeRecoverOperations(): Promise<void>;
|
|
95
|
-
/**
|
|
96
|
-
* Updates all special columns of the saving entities (create date, update date, version, etc.).
|
|
97
|
-
* Also updates nullable columns and columns with default values.
|
|
98
|
-
*/
|
|
99
|
-
protected updateSpecialColumnsInPersistedEntities(): void;
|
|
100
|
-
/**
|
|
101
|
-
* Updates all special columns of the saving entities (create date, update date, version, etc.).
|
|
102
|
-
* Also updates nullable columns and columns with default values.
|
|
103
|
-
*/
|
|
104
|
-
protected updateSpecialColumnsInInsertedAndUpdatedEntities(subjects: Subject[]): void;
|
|
105
|
-
/**
|
|
106
|
-
* Groups subjects by metadata names (by tables) to make bulk insertions and deletions possible.
|
|
107
|
-
* However there are some limitations with bulk insertions of data into tables with generated (increment) columns
|
|
108
|
-
* in some drivers. Some drivers like mysql and sqlite does not support returning multiple generated columns
|
|
109
|
-
* after insertion and can only return a single generated column value, that's why its not possible to do bulk insertion,
|
|
110
|
-
* because it breaks insertion result's generatedMap and leads to problems when this subject is used in other subjects saves.
|
|
111
|
-
* That's why we only support bulking in junction tables for those drivers.
|
|
112
|
-
*
|
|
113
|
-
* Other drivers like postgres and sql server support RETURNING / OUTPUT statement which allows to return generated
|
|
114
|
-
* id for each inserted row, that's why bulk insertion is not limited to junction tables in there.
|
|
115
|
-
*/
|
|
116
|
-
protected groupBulkSubjects(subjects: Subject[], type: "insert" | "delete"): [{
|
|
117
|
-
[key: string]: Subject[];
|
|
118
|
-
}, string[]];
|
|
119
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "./Subject";
|
|
3
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
4
|
-
/**
|
|
5
|
-
* Orders insert or remove subjects in proper order (using topological sorting)
|
|
6
|
-
* to make sure insert or remove operations are executed in a proper order.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SubjectTopoligicalSorter {
|
|
9
|
-
/**
|
|
10
|
-
* Insert subjects needs to be sorted.
|
|
11
|
-
*/
|
|
12
|
-
subjects: Subject[];
|
|
13
|
-
/**
|
|
14
|
-
* Unique list of entity metadatas of this subject.
|
|
15
|
-
*/
|
|
16
|
-
metadatas: EntityMetadata[];
|
|
17
|
-
constructor(subjects: Subject[]);
|
|
18
|
-
/**
|
|
19
|
-
* Sorts (orders) subjects in their topological order.
|
|
20
|
-
*/
|
|
21
|
-
sort(direction: "insert" | "delete"): Subject[];
|
|
22
|
-
/**
|
|
23
|
-
* Removes already sorted subjects from this.subjects list of subjects.
|
|
24
|
-
*/
|
|
25
|
-
protected removeAlreadySorted(subjects: Subject[]): void;
|
|
26
|
-
/**
|
|
27
|
-
* Extracts all unique metadatas from the given subjects.
|
|
28
|
-
*/
|
|
29
|
-
protected getUniqueMetadatas(subjects: Subject[]): EntityMetadata[];
|
|
30
|
-
/**
|
|
31
|
-
* Gets dependency tree for all entity metadatas with non-nullable relations.
|
|
32
|
-
* We need to execute insertions first for entities which non-nullable relations.
|
|
33
|
-
*/
|
|
34
|
-
protected getNonNullableDependencies(): string[][];
|
|
35
|
-
/**
|
|
36
|
-
* Gets dependency tree for all entity metadatas with non-nullable relations.
|
|
37
|
-
* We need to execute insertions first for entities which non-nullable relations.
|
|
38
|
-
*/
|
|
39
|
-
protected getDependencies(): string[][];
|
|
40
|
-
/**
|
|
41
|
-
* Sorts given graph using topological sorting algorithm.
|
|
42
|
-
*
|
|
43
|
-
* Algorithm is kindly taken from https://github.com/marcelklehr/toposort repository.
|
|
44
|
-
*/
|
|
45
|
-
protected toposort(edges: any[][]): any[];
|
|
46
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../Subject";
|
|
3
|
-
import { ObjectLiteral } from "../../common/ObjectLiteral";
|
|
4
|
-
/**
|
|
5
|
-
* Finds all cascade operations of the given subject and cascade operations of the found cascaded subjects,
|
|
6
|
-
* e.g. builds a cascade tree and creates a subjects for them.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CascadesSubjectBuilder {
|
|
9
|
-
protected allSubjects: Subject[];
|
|
10
|
-
constructor(allSubjects: Subject[]);
|
|
11
|
-
/**
|
|
12
|
-
* Builds a cascade subjects tree and pushes them in into the given array of subjects.
|
|
13
|
-
*/
|
|
14
|
-
build(subject: Subject, operationType: "save" | "remove" | "soft-remove" | "recover"): void;
|
|
15
|
-
/**
|
|
16
|
-
* Finds subject where entity like given subject's entity.
|
|
17
|
-
* Comparison made by entity id.
|
|
18
|
-
*/
|
|
19
|
-
protected findByPersistEntityLike(entityTarget: Function | string, entity: ObjectLiteral): Subject | undefined;
|
|
20
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../Subject";
|
|
3
|
-
import { ObjectLiteral } from "../../common/ObjectLiteral";
|
|
4
|
-
import { RelationMetadata } from "../../metadata/RelationMetadata";
|
|
5
|
-
/**
|
|
6
|
-
* Builds operations needs to be executed for many-to-many relations of the given subjects.
|
|
7
|
-
*
|
|
8
|
-
* by example: post contains owner many-to-many relation with categories in the property called "categories", e.g.
|
|
9
|
-
* @ManyToMany(type => Category, category => category.posts) categories: Category[]
|
|
10
|
-
* If user adds categories into the post and saves post we need to bind them.
|
|
11
|
-
* This operation requires updation of junction table.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ManyToManySubjectBuilder {
|
|
14
|
-
protected subjects: Subject[];
|
|
15
|
-
constructor(subjects: Subject[]);
|
|
16
|
-
/**
|
|
17
|
-
* Builds operations for any changes in the many-to-many relations of the subjects.
|
|
18
|
-
*/
|
|
19
|
-
build(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Builds operations for removal of all many-to-many records of all many-to-many relations of the given subject.
|
|
22
|
-
*/
|
|
23
|
-
buildForAllRemoval(subject: Subject): void;
|
|
24
|
-
/**
|
|
25
|
-
* Builds operations for a given subject and relation.
|
|
26
|
-
*
|
|
27
|
-
* by example: subject is "post" entity we are saving here and relation is "categories" inside it here.
|
|
28
|
-
*/
|
|
29
|
-
protected buildForSubjectRelation(subject: Subject, relation: RelationMetadata): void;
|
|
30
|
-
/**
|
|
31
|
-
* Creates identifiers for junction table.
|
|
32
|
-
* Example: { postId: 1, categoryId: 2 }
|
|
33
|
-
*/
|
|
34
|
-
protected buildJunctionIdentifier(subject: Subject, relation: RelationMetadata, relationId: ObjectLiteral): ObjectLiteral;
|
|
35
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../Subject";
|
|
3
|
-
import { RelationMetadata } from "../../metadata/RelationMetadata";
|
|
4
|
-
/**
|
|
5
|
-
* Builds operations needs to be executed for one-to-many relations of the given subjects.
|
|
6
|
-
*
|
|
7
|
-
* by example: post contains one-to-many relation with category in the property called "categories", e.g.
|
|
8
|
-
* @OneToMany(type => Category, category => category.post) categories: Category[]
|
|
9
|
-
* If user adds categories into the post and saves post we need to bind them.
|
|
10
|
-
* This operation requires updation of category table since its owner of the relation and contains a join column.
|
|
11
|
-
*
|
|
12
|
-
* note: this class shares lot of things with OneToOneInverseSideOperationBuilder, so when you change this class
|
|
13
|
-
* make sure to reflect changes there as well.
|
|
14
|
-
*/
|
|
15
|
-
export declare class OneToManySubjectBuilder {
|
|
16
|
-
protected subjects: Subject[];
|
|
17
|
-
constructor(subjects: Subject[]);
|
|
18
|
-
/**
|
|
19
|
-
* Builds all required operations.
|
|
20
|
-
*/
|
|
21
|
-
build(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Builds operations for a given subject and relation.
|
|
24
|
-
*
|
|
25
|
-
* by example: subject is "post" entity we are saving here and relation is "categories" inside it here.
|
|
26
|
-
*/
|
|
27
|
-
protected buildForSubjectRelation(subject: Subject, relation: RelationMetadata): void;
|
|
28
|
-
}
|
package/browser/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../Subject";
|
|
3
|
-
import { RelationMetadata } from "../../metadata/RelationMetadata";
|
|
4
|
-
/**
|
|
5
|
-
* Builds operations needs to be executed for one-to-one non-owner relations of the given subjects.
|
|
6
|
-
*
|
|
7
|
-
* by example: post contains one-to-one non-owner relation with category in the property called "category", e.g.
|
|
8
|
-
* @OneToOne(type => Category, category => category.post) category: Category
|
|
9
|
-
* If user sets a category into the post and saves post we need to bind them.
|
|
10
|
-
* This operation requires updation of category table since its owner of the relation and contains a join column.
|
|
11
|
-
*
|
|
12
|
-
* note: this class shares lot of things with OneToManyUpdateBuilder, so when you change this class
|
|
13
|
-
* make sure to reflect changes there as well.
|
|
14
|
-
*/
|
|
15
|
-
export declare class OneToOneInverseSideSubjectBuilder {
|
|
16
|
-
protected subjects: Subject[];
|
|
17
|
-
constructor(subjects: Subject[]);
|
|
18
|
-
/**
|
|
19
|
-
* Builds all required operations.
|
|
20
|
-
*/
|
|
21
|
-
build(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Builds operations for a given subject and relation.
|
|
24
|
-
*
|
|
25
|
-
* by example: subject is "post" entity we are saving here and relation is "category" inside it here.
|
|
26
|
-
*/
|
|
27
|
-
protected buildForSubjectRelation(subject: Subject, relation: RelationMetadata): void;
|
|
28
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../Subject";
|
|
3
|
-
import { QueryRunner } from "../../query-runner/QueryRunner";
|
|
4
|
-
/**
|
|
5
|
-
* Executes subject operations for closure entities.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ClosureSubjectExecutor {
|
|
8
|
-
protected queryRunner: QueryRunner;
|
|
9
|
-
constructor(queryRunner: QueryRunner);
|
|
10
|
-
/**
|
|
11
|
-
* Executes operations when subject is being inserted.
|
|
12
|
-
*/
|
|
13
|
-
insert(subject: Subject): Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Executes operations when subject is being updated.
|
|
16
|
-
*/
|
|
17
|
-
update(subject: Subject): Promise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* Executes operations when subject is being removed.
|
|
20
|
-
*/
|
|
21
|
-
remove(subjects: Subject | Subject[]): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Gets escaped table name with schema name if SqlServer or Postgres driver used with custom
|
|
24
|
-
* schema name, otherwise returns escaped table name.
|
|
25
|
-
*/
|
|
26
|
-
protected getTableName(tablePath: string): string;
|
|
27
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../Subject";
|
|
3
|
-
import { QueryRunner } from "../../query-runner/QueryRunner";
|
|
4
|
-
/**
|
|
5
|
-
* Executes subject operations for materialized-path tree entities.
|
|
6
|
-
*/
|
|
7
|
-
export declare class MaterializedPathSubjectExecutor {
|
|
8
|
-
protected queryRunner: QueryRunner;
|
|
9
|
-
constructor(queryRunner: QueryRunner);
|
|
10
|
-
/**
|
|
11
|
-
* Executes operations when subject is being inserted.
|
|
12
|
-
*/
|
|
13
|
-
insert(subject: Subject): Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Executes operations when subject is being updated.
|
|
16
|
-
*/
|
|
17
|
-
update(subject: Subject): Promise<void>;
|
|
18
|
-
private getEntityPath;
|
|
19
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "../Subject";
|
|
3
|
-
import { QueryRunner } from "../../query-runner/QueryRunner";
|
|
4
|
-
import { ObjectLiteral } from "../../common/ObjectLiteral";
|
|
5
|
-
import { EntityMetadata } from "../../metadata/EntityMetadata";
|
|
6
|
-
declare class NestedSetIds {
|
|
7
|
-
left: number;
|
|
8
|
-
right: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Executes subject operations for nested set tree entities.
|
|
12
|
-
*/
|
|
13
|
-
export declare class NestedSetSubjectExecutor {
|
|
14
|
-
protected queryRunner: QueryRunner;
|
|
15
|
-
constructor(queryRunner: QueryRunner);
|
|
16
|
-
/**
|
|
17
|
-
* Executes operations when subject is being inserted.
|
|
18
|
-
*/
|
|
19
|
-
insert(subject: Subject): Promise<void>;
|
|
20
|
-
/**
|
|
21
|
-
* Executes operations when subject is being updated.
|
|
22
|
-
*/
|
|
23
|
-
update(subject: Subject): Promise<void>;
|
|
24
|
-
/**
|
|
25
|
-
* Executes operations when subject is being removed.
|
|
26
|
-
*/
|
|
27
|
-
remove(subjects: Subject | Subject[]): Promise<void>;
|
|
28
|
-
/**
|
|
29
|
-
* Get the nested set ids for a given entity
|
|
30
|
-
*/
|
|
31
|
-
protected getNestedSetIds(metadata: EntityMetadata, ids: ObjectLiteral | ObjectLiteral[]): Promise<NestedSetIds[]>;
|
|
32
|
-
private isUniqueRootEntity;
|
|
33
|
-
/**
|
|
34
|
-
* Gets escaped table name with schema name if SqlServer or Postgres driver used with custom
|
|
35
|
-
* schema name, otherwise returns escaped table name.
|
|
36
|
-
*/
|
|
37
|
-
protected getTableName(tablePath: string): string;
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Platform-specific tools.
|
|
4
|
-
*/
|
|
5
|
-
export declare class PlatformTools {
|
|
6
|
-
/**
|
|
7
|
-
* Type of the currently running platform.
|
|
8
|
-
*/
|
|
9
|
-
static get type(): 'node' | 'browser';
|
|
10
|
-
/**
|
|
11
|
-
* Gets global variable where global stuff can be stored.
|
|
12
|
-
*/
|
|
13
|
-
static getGlobalVariable(): any;
|
|
14
|
-
/**
|
|
15
|
-
* Loads ("require"-s) given file or package.
|
|
16
|
-
* This operation only supports on node platform
|
|
17
|
-
*/
|
|
18
|
-
static load(name: string): any;
|
|
19
|
-
/**
|
|
20
|
-
* Normalizes given path. Does "path.normalize".
|
|
21
|
-
*/
|
|
22
|
-
static pathNormalize(pathStr: string): string;
|
|
23
|
-
/**
|
|
24
|
-
* Gets file extension. Does "path.extname".
|
|
25
|
-
*/
|
|
26
|
-
static pathExtname(pathStr: string): string;
|
|
27
|
-
/**
|
|
28
|
-
* Resolved given path. Does "path.resolve".
|
|
29
|
-
*/
|
|
30
|
-
static pathResolve(pathStr: string): string;
|
|
31
|
-
/**
|
|
32
|
-
* Synchronously checks if file exist. Does "fs.existsSync".
|
|
33
|
-
*/
|
|
34
|
-
static fileExist(pathStr: string): boolean;
|
|
35
|
-
static readFileSync(filename: string): any;
|
|
36
|
-
static appendFileSync(filename: string, data: any): void;
|
|
37
|
-
static writeFile(path: string, data: any): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
* Loads a dotenv file into the environment variables.
|
|
40
|
-
*
|
|
41
|
-
* @param path The file to load as a dotenv configuration
|
|
42
|
-
*/
|
|
43
|
-
static dotenv(pathStr: string): void;
|
|
44
|
-
/**
|
|
45
|
-
* Gets environment variable.
|
|
46
|
-
*/
|
|
47
|
-
static getEnvVariable(name: string): any;
|
|
48
|
-
/**
|
|
49
|
-
* Highlights sql string to be print in the console.
|
|
50
|
-
*/
|
|
51
|
-
static highlightSql(sql: string): any;
|
|
52
|
-
/**
|
|
53
|
-
* Highlights json string to be print in the console.
|
|
54
|
-
*/
|
|
55
|
-
static highlightJson(json: string): any;
|
|
56
|
-
/**
|
|
57
|
-
* Logging functions needed by AdvancedConsoleLogger
|
|
58
|
-
*/
|
|
59
|
-
static logInfo(prefix: string, info: any): void;
|
|
60
|
-
static logError(prefix: string, error: any): void;
|
|
61
|
-
static logWarn(prefix: string, warning: any): void;
|
|
62
|
-
static log(message: string): void;
|
|
63
|
-
static warn(message: string): void;
|
|
64
|
-
static logCmdErr(prefix: string, err?: any): void;
|
|
65
|
-
}
|