taon-typeorm 21.0.55 → 21.0.56
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/VERIFIED-BUILD-DATA.jsonc +3 -3
- package/browser/package.json +1 -1
- package/browser-prod/package.json +1 -1
- package/full-dts/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/package.json +1 -1
- package/lib/typeorm/cache/DbQueryResultCache____ORIGINAL____.d.ts +52 -0
- package/lib/typeorm/cli-ts-node-commonjs____ORIGINAL____.d.ts +2 -0
- package/lib/typeorm/cli-ts-node-esm____ORIGINAL____.d.ts +2 -0
- package/lib/typeorm/cli____ORIGINAL____.d.ts +2 -0
- package/lib/typeorm/commands/CacheClearCommand____ORIGINAL____.d.ts +12 -0
- package/lib/typeorm/commands/CommandUtils____ORIGINAL____.d.ts +24 -0
- package/lib/typeorm/commands/EntityCreateCommand____ORIGINAL____.d.ts +13 -0
- package/lib/typeorm/commands/InitCommand____ORIGINAL____.d.ts +69 -0
- package/lib/typeorm/commands/MigrationCreateCommand____ORIGINAL____.d.ts +22 -0
- package/lib/typeorm/commands/MigrationGenerateCommand____ORIGINAL____.d.ts +38 -0
- package/lib/typeorm/commands/MigrationRevertCommand____ORIGINAL____.d.ts +16 -0
- package/lib/typeorm/commands/MigrationRunCommand____ORIGINAL____.d.ts +16 -0
- package/lib/typeorm/commands/MigrationShowCommand____ORIGINAL____.d.ts +12 -0
- package/lib/typeorm/commands/QueryCommand____ORIGINAL____.d.ts +14 -0
- package/lib/typeorm/commands/SchemaDropCommand____ORIGINAL____.d.ts +12 -0
- package/lib/typeorm/commands/SchemaLogCommand____ORIGINAL____.d.ts +12 -0
- package/lib/typeorm/commands/SchemaSyncCommand____ORIGINAL____.d.ts +12 -0
- package/lib/typeorm/commands/SubscriberCreateCommand____ORIGINAL____.d.ts +13 -0
- package/lib/typeorm/connection/ConnectionOptionsReader____ORIGINAL____.d.ts +64 -0
- package/lib/typeorm/data-source/DataSourceOptions____ORIGINAL____.d.ts +22 -0
- package/lib/typeorm/data-source/DataSource____ORIGINAL____.d.ts +249 -0
- package/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions____ORIGINAL____.d.ts +35 -0
- package/lib/typeorm/decorator/options/JoinTableOptions____ORIGINAL____.d.ts +35 -0
- package/lib/typeorm/decorator/relations/JoinTable____ORIGINAL____.d.ts +17 -0
- package/lib/typeorm/decorator/tree/TreeChildren____ORIGINAL____.d.ts +7 -0
- package/lib/typeorm/decorator/tree/TreeParent____ORIGINAL____.d.ts +8 -0
- package/lib/typeorm/driver/DriverFactory____ORIGINAL____.d.ts +11 -0
- package/lib/typeorm/driver/Driver____ORIGINAL____.d.ts +211 -0
- package/lib/typeorm/driver/aurora-mysql/AuroraMysqlConnectionOptions____ORIGINAL____.d.ts +35 -0
- package/lib/typeorm/driver/aurora-mysql/AuroraMysqlDriver____ORIGINAL____.d.ts +250 -0
- package/lib/typeorm/driver/aurora-mysql/AuroraMysqlQueryRunner____ORIGINAL____.d.ts +327 -0
- package/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver____ORIGINAL____.d.ts +59 -0
- package/lib/typeorm/driver/better-sqlite3/BetterSqlite3QueryRunner____ORIGINAL____.d.ts +32 -0
- package/lib/typeorm/driver/cordova/CordovaDriver____ORIGINAL____.d.ts +26 -0
- package/lib/typeorm/driver/mongodb/MongoConnectionOptions____ORIGINAL____.d.ts +278 -0
- package/lib/typeorm/driver/mongodb/MongoDriver____ORIGINAL____.d.ts +224 -0
- package/lib/typeorm/driver/mongodb/MongoQueryRunner____ORIGINAL____.d.ts +548 -0
- package/lib/typeorm/driver/mongodb/typings____ORIGINAL____.d.ts +5350 -0
- package/lib/typeorm/driver/mysql/MysqlConnectionCredentialsOptions____ORIGINAL____.d.ts +39 -0
- package/lib/typeorm/driver/mysql/MysqlConnectionOptions____ORIGINAL____.d.ts +126 -0
- package/lib/typeorm/driver/mysql/MysqlDriver____ORIGINAL____.d.ts +262 -0
- package/lib/typeorm/driver/mysql/MysqlQueryRunner____ORIGINAL____.d.ts +328 -0
- package/lib/typeorm/driver/nativescript/NativescriptDriver____ORIGINAL____.d.ts +44 -0
- package/lib/typeorm/driver/oracle/OracleConnectionCredentialsOptions____ORIGINAL____.d.ts +41 -0
- package/lib/typeorm/driver/oracle/OracleConnectionOptions____ORIGINAL____.d.ts +37 -0
- package/lib/typeorm/driver/oracle/OracleDriver____ORIGINAL____.d.ts +241 -0
- package/lib/typeorm/driver/oracle/OracleQueryRunner____ORIGINAL____.d.ts +333 -0
- package/lib/typeorm/driver/postgres/PostgresConnectionCredentialsOptions____ORIGINAL____.d.ts +34 -0
- package/lib/typeorm/driver/postgres/PostgresConnectionOptions____ORIGINAL____.d.ts +83 -0
- package/lib/typeorm/driver/postgres/PostgresDriver____ORIGINAL____.d.ts +290 -0
- package/lib/typeorm/driver/postgres/PostgresQueryRunner____ORIGINAL____.d.ts +414 -0
- package/lib/typeorm/driver/react-native/ReactNativeDriver____ORIGINAL____.d.ts +25 -0
- package/lib/typeorm/driver/react-native/ReactNativeQueryRunner____ORIGINAL____.d.ts +29 -0
- package/lib/typeorm/driver/sap/SapDriver____ORIGINAL____.d.ts +217 -0
- package/lib/typeorm/driver/sqlite/SqliteConnectionOptions____ORIGINAL____.d.ts +48 -0
- package/lib/typeorm/driver/sqlite/SqliteDriver____ORIGINAL____.d.ts +59 -0
- package/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver____ORIGINAL____.d.ts +237 -0
- package/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner____ORIGINAL____.d.ts +301 -0
- package/lib/typeorm/driver/sqljs/SqljsDriver____ORIGINAL____.d.ts +63 -0
- package/lib/typeorm/driver/sqljs/SqljsQueryRunner____ORIGINAL____.d.ts +35 -0
- package/lib/typeorm/driver/sqlserver/MssqlParameter____ORIGINAL____.d.ts +44 -0
- package/lib/typeorm/driver/sqlserver/SqlServerConnectionCredentialsOptions____ORIGINAL____.d.ts +49 -0
- package/lib/typeorm/driver/sqlserver/SqlServerConnectionOptions____ORIGINAL____.d.ts +237 -0
- package/lib/typeorm/driver/sqlserver/SqlServerDriver____ORIGINAL____.d.ts +253 -0
- package/lib/typeorm/driver/sqlserver/SqlServerQueryRunner____ORIGINAL____.d.ts +356 -0
- package/lib/typeorm/entity-manager/EntityManagerFactory____ORIGINAL____.d.ts +12 -0
- package/lib/typeorm/entity-manager/EntityManager____ORIGINAL____.d.ts +361 -0
- package/lib/typeorm/entity-manager/MongoEntityManager____ORIGINAL____.d.ts +300 -0
- package/lib/typeorm/entity-manager/SqljsEntityManager____ORIGINAL____.d.ts +26 -0
- package/lib/typeorm/error/index____ORIGINAL____.d.ts +62 -0
- package/lib/typeorm/find-options/FindOptionsOrder____ORIGINAL____.d.ts +18 -0
- package/lib/typeorm/find-options/FindOptionsRelations____ORIGINAL____.d.ts +18 -0
- package/lib/typeorm/find-options/FindOptionsSelect____ORIGINAL____.d.ts +18 -0
- package/lib/typeorm/find-options/FindOptionsWhere____ORIGINAL____.d.ts +13 -0
- package/lib/typeorm/find-options/operator/Any____ORIGINAL____.d.ts +6 -0
- package/lib/typeorm/find-options/operator/ArrayContainedBy____ORIGINAL____.d.ts +6 -0
- package/lib/typeorm/find-options/operator/ArrayContains____ORIGINAL____.d.ts +6 -0
- package/lib/typeorm/find-options/operator/ArrayOverlap____ORIGINAL____.d.ts +6 -0
- package/lib/typeorm/find-options/operator/In____ORIGINAL____.d.ts +6 -0
- package/lib/typeorm/globals____ORIGINAL____.d.ts +118 -0
- package/lib/typeorm/index____ORIGINAL____.d.ts +173 -0
- package/lib/typeorm/logger/FileLogger____ORIGINAL____.d.ts +46 -0
- package/lib/typeorm/logger/LoggerFactory____ORIGINAL____.d.ts +11 -0
- package/lib/typeorm/metadata/ColumnMetadata____ORIGINAL____.d.ts +315 -0
- package/lib/typeorm/metadata-args/JoinTableMetadataArgs____ORIGINAL____.d.ts +43 -0
- package/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder____ORIGINAL____.d.ts +26 -0
- package/lib/typeorm/migration/MigrationExecutor____ORIGINAL____.d.ts +99 -0
- package/lib/typeorm/migration/MigrationInterface____ORIGINAL____.d.ts +25 -0
- package/lib/typeorm/migration/Migration____ORIGINAL____.d.ts +28 -0
- package/lib/typeorm/naming-strategy/NamingStrategyInterface____ORIGINAL____.d.ts +117 -0
- package/lib/typeorm/persistence/EntityPersistExecutor____ORIGINAL____.d.ts +21 -0
- package/lib/typeorm/persistence/SubjectChangedColumnsComputer____ORIGINAL____.d.ts +18 -0
- package/lib/typeorm/persistence/SubjectDatabaseEntityLoader____ORIGINAL____.d.ts +35 -0
- package/lib/typeorm/persistence/SubjectExecutor____ORIGINAL____.d.ts +118 -0
- package/lib/typeorm/persistence/Subject____ORIGINAL____.d.ts +155 -0
- package/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor____ORIGINAL____.d.ts +19 -0
- package/lib/typeorm/platform/PlatformTools____ORIGINAL____.d.ts +67 -0
- package/lib/typeorm/query-builder/DeleteQueryBuilder____ORIGINAL____.d.ts +91 -0
- package/lib/typeorm/query-builder/InsertOrUpdateOptions____ORIGINAL____.d.ts +10 -0
- package/lib/typeorm/query-builder/InsertQueryBuilder____ORIGINAL____.d.ts +117 -0
- package/lib/typeorm/query-builder/QueryBuilder____ORIGINAL____.d.ts +266 -0
- package/lib/typeorm/query-builder/QueryExpressionMap____ORIGINAL____.d.ts +306 -0
- package/lib/typeorm/query-builder/RelationLoader____ORIGINAL____.d.ts +59 -0
- package/lib/typeorm/query-builder/RelationQueryBuilder____ORIGINAL____.d.ts +69 -0
- package/lib/typeorm/query-builder/SelectQueryBuilder____ORIGINAL____.d.ts +685 -0
- package/lib/typeorm/query-builder/SoftDeleteQueryBuilder____ORIGINAL____.d.ts +138 -0
- package/lib/typeorm/query-builder/UpdateQueryBuilder____ORIGINAL____.d.ts +143 -0
- package/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer____ORIGINAL____.d.ts +55 -0
- package/lib/typeorm/query-runner/BaseQueryRunner____ORIGINAL____.d.ts +203 -0
- package/lib/typeorm/query-runner/QueryRunner____ORIGINAL____.d.ts +359 -0
- package/lib/typeorm/repository/MongoRepository____ORIGINAL____.d.ts +262 -0
- package/lib/typeorm/repository/Repository____ORIGINAL____.d.ts +295 -0
- package/lib/typeorm/repository/TreeRepository____ORIGINAL____.d.ts +51 -0
- package/lib/typeorm/repository/UpsertOptions____ORIGINAL____.d.ts +13 -0
- package/lib/typeorm/schema-builder/RdbmsSchemaBuilder____ORIGINAL____.d.ts +148 -0
- package/lib/typeorm/schema-builder/util/TableUtils____ORIGINAL____.d.ts +6 -0
- package/lib/typeorm/schema-builder/view/View____ORIGINAL____.d.ts +49 -0
- package/lib/typeorm/util/DateUtils____ORIGINAL____.d.ts +58 -0
- package/lib/typeorm/util/DirectoryExportedClassesLoader____ORIGINAL____.d.ts +9 -0
- package/lib/typeorm/util/ImportUtils____ORIGINAL____.d.ts +1 -0
- package/lib/typeorm/util/InstanceChecker____ORIGINAL____.d.ts +63 -0
- package/lib/typeorm/util/ObjectUtils____ORIGINAL____.d.ts +37 -0
- package/lib/typeorm/util/OrmUtils____ORIGINAL____.d.ts +52 -0
- package/lib/typeorm/util/PathUtils____ORIGINAL____.d.ts +10 -0
- package/lib/typeorm/util/StringUtils____ORIGINAL____.d.ts +63 -0
- package/lib/typeorm/util/TreeRepositoryUtils____ORIGINAL____.d.ts +23 -0
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/typeorm/cache/DbQueryResultCache____ORIGINAL____.d.ts +52 -0
- package/lib-esm/lib/typeorm/cli-ts-node-commonjs____ORIGINAL____.d.ts +2 -0
- package/lib-esm/lib/typeorm/cli-ts-node-esm____ORIGINAL____.d.ts +2 -0
- package/lib-esm/lib/typeorm/cli____ORIGINAL____.d.ts +2 -0
- package/lib-esm/lib/typeorm/commands/CacheClearCommand____ORIGINAL____.d.ts +12 -0
- package/lib-esm/lib/typeorm/commands/CommandUtils____ORIGINAL____.d.ts +24 -0
- package/lib-esm/lib/typeorm/commands/EntityCreateCommand____ORIGINAL____.d.ts +13 -0
- package/lib-esm/lib/typeorm/commands/InitCommand____ORIGINAL____.d.ts +69 -0
- package/lib-esm/lib/typeorm/commands/MigrationCreateCommand____ORIGINAL____.d.ts +22 -0
- package/lib-esm/lib/typeorm/commands/MigrationGenerateCommand____ORIGINAL____.d.ts +38 -0
- package/lib-esm/lib/typeorm/commands/MigrationRevertCommand____ORIGINAL____.d.ts +16 -0
- package/lib-esm/lib/typeorm/commands/MigrationRunCommand____ORIGINAL____.d.ts +16 -0
- package/lib-esm/lib/typeorm/commands/MigrationShowCommand____ORIGINAL____.d.ts +12 -0
- package/lib-esm/lib/typeorm/commands/QueryCommand____ORIGINAL____.d.ts +14 -0
- package/lib-esm/lib/typeorm/commands/SchemaDropCommand____ORIGINAL____.d.ts +12 -0
- package/lib-esm/lib/typeorm/commands/SchemaLogCommand____ORIGINAL____.d.ts +12 -0
- package/lib-esm/lib/typeorm/commands/SchemaSyncCommand____ORIGINAL____.d.ts +12 -0
- package/lib-esm/lib/typeorm/commands/SubscriberCreateCommand____ORIGINAL____.d.ts +13 -0
- package/lib-esm/lib/typeorm/connection/ConnectionOptionsReader____ORIGINAL____.d.ts +64 -0
- package/lib-esm/lib/typeorm/data-source/DataSourceOptions____ORIGINAL____.d.ts +22 -0
- package/lib-esm/lib/typeorm/data-source/DataSource____ORIGINAL____.d.ts +249 -0
- package/lib-esm/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions____ORIGINAL____.d.ts +35 -0
- package/lib-esm/lib/typeorm/decorator/options/JoinTableOptions____ORIGINAL____.d.ts +35 -0
- package/lib-esm/lib/typeorm/decorator/relations/JoinTable____ORIGINAL____.d.ts +17 -0
- package/lib-esm/lib/typeorm/decorator/tree/TreeChildren____ORIGINAL____.d.ts +7 -0
- package/lib-esm/lib/typeorm/decorator/tree/TreeParent____ORIGINAL____.d.ts +8 -0
- package/lib-esm/lib/typeorm/driver/DriverFactory____ORIGINAL____.d.ts +11 -0
- package/lib-esm/lib/typeorm/driver/Driver____ORIGINAL____.d.ts +211 -0
- package/lib-esm/lib/typeorm/driver/aurora-mysql/AuroraMysqlConnectionOptions____ORIGINAL____.d.ts +35 -0
- package/lib-esm/lib/typeorm/driver/aurora-mysql/AuroraMysqlDriver____ORIGINAL____.d.ts +250 -0
- package/lib-esm/lib/typeorm/driver/aurora-mysql/AuroraMysqlQueryRunner____ORIGINAL____.d.ts +327 -0
- package/lib-esm/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver____ORIGINAL____.d.ts +59 -0
- package/lib-esm/lib/typeorm/driver/better-sqlite3/BetterSqlite3QueryRunner____ORIGINAL____.d.ts +32 -0
- package/lib-esm/lib/typeorm/driver/cordova/CordovaDriver____ORIGINAL____.d.ts +26 -0
- package/lib-esm/lib/typeorm/driver/mongodb/MongoConnectionOptions____ORIGINAL____.d.ts +278 -0
- package/lib-esm/lib/typeorm/driver/mongodb/MongoDriver____ORIGINAL____.d.ts +224 -0
- package/lib-esm/lib/typeorm/driver/mongodb/MongoQueryRunner____ORIGINAL____.d.ts +548 -0
- package/lib-esm/lib/typeorm/driver/mongodb/typings____ORIGINAL____.d.ts +5350 -0
- package/lib-esm/lib/typeorm/driver/mysql/MysqlConnectionCredentialsOptions____ORIGINAL____.d.ts +39 -0
- package/lib-esm/lib/typeorm/driver/mysql/MysqlConnectionOptions____ORIGINAL____.d.ts +126 -0
- package/lib-esm/lib/typeorm/driver/mysql/MysqlDriver____ORIGINAL____.d.ts +262 -0
- package/lib-esm/lib/typeorm/driver/mysql/MysqlQueryRunner____ORIGINAL____.d.ts +328 -0
- package/lib-esm/lib/typeorm/driver/nativescript/NativescriptDriver____ORIGINAL____.d.ts +44 -0
- package/lib-esm/lib/typeorm/driver/oracle/OracleConnectionCredentialsOptions____ORIGINAL____.d.ts +41 -0
- package/lib-esm/lib/typeorm/driver/oracle/OracleConnectionOptions____ORIGINAL____.d.ts +37 -0
- package/lib-esm/lib/typeorm/driver/oracle/OracleDriver____ORIGINAL____.d.ts +241 -0
- package/lib-esm/lib/typeorm/driver/oracle/OracleQueryRunner____ORIGINAL____.d.ts +333 -0
- package/lib-esm/lib/typeorm/driver/postgres/PostgresConnectionCredentialsOptions____ORIGINAL____.d.ts +34 -0
- package/lib-esm/lib/typeorm/driver/postgres/PostgresConnectionOptions____ORIGINAL____.d.ts +83 -0
- package/lib-esm/lib/typeorm/driver/postgres/PostgresDriver____ORIGINAL____.d.ts +290 -0
- package/lib-esm/lib/typeorm/driver/postgres/PostgresQueryRunner____ORIGINAL____.d.ts +414 -0
- package/lib-esm/lib/typeorm/driver/react-native/ReactNativeDriver____ORIGINAL____.d.ts +25 -0
- package/lib-esm/lib/typeorm/driver/react-native/ReactNativeQueryRunner____ORIGINAL____.d.ts +29 -0
- package/lib-esm/lib/typeorm/driver/sap/SapDriver____ORIGINAL____.d.ts +217 -0
- package/lib-esm/lib/typeorm/driver/sqlite/SqliteConnectionOptions____ORIGINAL____.d.ts +48 -0
- package/lib-esm/lib/typeorm/driver/sqlite/SqliteDriver____ORIGINAL____.d.ts +59 -0
- package/lib-esm/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver____ORIGINAL____.d.ts +237 -0
- package/lib-esm/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner____ORIGINAL____.d.ts +301 -0
- package/lib-esm/lib/typeorm/driver/sqljs/SqljsDriver____ORIGINAL____.d.ts +63 -0
- package/lib-esm/lib/typeorm/driver/sqljs/SqljsQueryRunner____ORIGINAL____.d.ts +35 -0
- package/lib-esm/lib/typeorm/driver/sqlserver/MssqlParameter____ORIGINAL____.d.ts +44 -0
- package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerConnectionCredentialsOptions____ORIGINAL____.d.ts +49 -0
- package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerConnectionOptions____ORIGINAL____.d.ts +237 -0
- package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerDriver____ORIGINAL____.d.ts +253 -0
- package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerQueryRunner____ORIGINAL____.d.ts +356 -0
- package/lib-esm/lib/typeorm/entity-manager/EntityManagerFactory____ORIGINAL____.d.ts +12 -0
- package/lib-esm/lib/typeorm/entity-manager/EntityManager____ORIGINAL____.d.ts +361 -0
- package/lib-esm/lib/typeorm/entity-manager/MongoEntityManager____ORIGINAL____.d.ts +300 -0
- package/lib-esm/lib/typeorm/entity-manager/SqljsEntityManager____ORIGINAL____.d.ts +26 -0
- package/lib-esm/lib/typeorm/error/index____ORIGINAL____.d.ts +62 -0
- package/lib-esm/lib/typeorm/find-options/FindOptionsOrder____ORIGINAL____.d.ts +18 -0
- package/lib-esm/lib/typeorm/find-options/FindOptionsRelations____ORIGINAL____.d.ts +18 -0
- package/lib-esm/lib/typeorm/find-options/FindOptionsSelect____ORIGINAL____.d.ts +18 -0
- package/lib-esm/lib/typeorm/find-options/FindOptionsWhere____ORIGINAL____.d.ts +13 -0
- package/lib-esm/lib/typeorm/find-options/operator/Any____ORIGINAL____.d.ts +6 -0
- package/lib-esm/lib/typeorm/find-options/operator/ArrayContainedBy____ORIGINAL____.d.ts +6 -0
- package/lib-esm/lib/typeorm/find-options/operator/ArrayContains____ORIGINAL____.d.ts +6 -0
- package/lib-esm/lib/typeorm/find-options/operator/ArrayOverlap____ORIGINAL____.d.ts +6 -0
- package/lib-esm/lib/typeorm/find-options/operator/In____ORIGINAL____.d.ts +6 -0
- package/lib-esm/lib/typeorm/globals____ORIGINAL____.d.ts +118 -0
- package/lib-esm/lib/typeorm/index____ORIGINAL____.d.ts +173 -0
- package/lib-esm/lib/typeorm/logger/FileLogger____ORIGINAL____.d.ts +46 -0
- package/lib-esm/lib/typeorm/logger/LoggerFactory____ORIGINAL____.d.ts +11 -0
- package/lib-esm/lib/typeorm/metadata/ColumnMetadata____ORIGINAL____.d.ts +315 -0
- package/lib-esm/lib/typeorm/metadata-args/JoinTableMetadataArgs____ORIGINAL____.d.ts +43 -0
- package/lib-esm/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder____ORIGINAL____.d.ts +26 -0
- package/lib-esm/lib/typeorm/migration/MigrationExecutor____ORIGINAL____.d.ts +99 -0
- package/lib-esm/lib/typeorm/migration/MigrationInterface____ORIGINAL____.d.ts +25 -0
- package/lib-esm/lib/typeorm/migration/Migration____ORIGINAL____.d.ts +28 -0
- package/lib-esm/lib/typeorm/naming-strategy/NamingStrategyInterface____ORIGINAL____.d.ts +117 -0
- package/lib-esm/lib/typeorm/persistence/EntityPersistExecutor____ORIGINAL____.d.ts +21 -0
- package/lib-esm/lib/typeorm/persistence/SubjectChangedColumnsComputer____ORIGINAL____.d.ts +18 -0
- package/lib-esm/lib/typeorm/persistence/SubjectDatabaseEntityLoader____ORIGINAL____.d.ts +35 -0
- package/lib-esm/lib/typeorm/persistence/SubjectExecutor____ORIGINAL____.d.ts +118 -0
- package/lib-esm/lib/typeorm/persistence/Subject____ORIGINAL____.d.ts +155 -0
- package/lib-esm/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor____ORIGINAL____.d.ts +19 -0
- package/lib-esm/lib/typeorm/platform/PlatformTools____ORIGINAL____.d.ts +67 -0
- package/lib-esm/lib/typeorm/query-builder/DeleteQueryBuilder____ORIGINAL____.d.ts +91 -0
- package/lib-esm/lib/typeorm/query-builder/InsertOrUpdateOptions____ORIGINAL____.d.ts +10 -0
- package/lib-esm/lib/typeorm/query-builder/InsertQueryBuilder____ORIGINAL____.d.ts +117 -0
- package/lib-esm/lib/typeorm/query-builder/QueryBuilder____ORIGINAL____.d.ts +266 -0
- package/lib-esm/lib/typeorm/query-builder/QueryExpressionMap____ORIGINAL____.d.ts +306 -0
- package/lib-esm/lib/typeorm/query-builder/RelationLoader____ORIGINAL____.d.ts +59 -0
- package/lib-esm/lib/typeorm/query-builder/RelationQueryBuilder____ORIGINAL____.d.ts +69 -0
- package/lib-esm/lib/typeorm/query-builder/SelectQueryBuilder____ORIGINAL____.d.ts +685 -0
- package/lib-esm/lib/typeorm/query-builder/SoftDeleteQueryBuilder____ORIGINAL____.d.ts +138 -0
- package/lib-esm/lib/typeorm/query-builder/UpdateQueryBuilder____ORIGINAL____.d.ts +143 -0
- package/lib-esm/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer____ORIGINAL____.d.ts +55 -0
- package/lib-esm/lib/typeorm/query-runner/BaseQueryRunner____ORIGINAL____.d.ts +203 -0
- package/lib-esm/lib/typeorm/query-runner/QueryRunner____ORIGINAL____.d.ts +359 -0
- package/lib-esm/lib/typeorm/repository/MongoRepository____ORIGINAL____.d.ts +262 -0
- package/lib-esm/lib/typeorm/repository/Repository____ORIGINAL____.d.ts +295 -0
- package/lib-esm/lib/typeorm/repository/TreeRepository____ORIGINAL____.d.ts +51 -0
- package/lib-esm/lib/typeorm/repository/UpsertOptions____ORIGINAL____.d.ts +13 -0
- package/lib-esm/lib/typeorm/schema-builder/RdbmsSchemaBuilder____ORIGINAL____.d.ts +148 -0
- package/lib-esm/lib/typeorm/schema-builder/util/TableUtils____ORIGINAL____.d.ts +6 -0
- package/lib-esm/lib/typeorm/schema-builder/view/View____ORIGINAL____.d.ts +49 -0
- package/lib-esm/lib/typeorm/util/DateUtils____ORIGINAL____.d.ts +58 -0
- package/lib-esm/lib/typeorm/util/DirectoryExportedClassesLoader____ORIGINAL____.d.ts +9 -0
- package/lib-esm/lib/typeorm/util/ImportUtils____ORIGINAL____.d.ts +1 -0
- package/lib-esm/lib/typeorm/util/InstanceChecker____ORIGINAL____.d.ts +63 -0
- package/lib-esm/lib/typeorm/util/ObjectUtils____ORIGINAL____.d.ts +37 -0
- package/lib-esm/lib/typeorm/util/OrmUtils____ORIGINAL____.d.ts +52 -0
- package/lib-esm/lib/typeorm/util/PathUtils____ORIGINAL____.d.ts +10 -0
- package/lib-esm/lib/typeorm/util/StringUtils____ORIGINAL____.d.ts +63 -0
- package/lib-esm/lib/typeorm/util/TreeRepositoryUtils____ORIGINAL____.d.ts +23 -0
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/package.json +1 -1
- package/package.json +1 -1
- package/websql/package.json +1 -1
- package/websql-prod/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DataSource } from "../data-source/DataSource";
|
|
2
|
+
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
3
|
+
import { EntityManager } from "./EntityManager";
|
|
4
|
+
/**
|
|
5
|
+
* A special EntityManager that includes import/export and load/save function
|
|
6
|
+
* that are unique to Sql.js.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SqljsEntityManager extends EntityManager {
|
|
9
|
+
readonly "@instanceof": symbol;
|
|
10
|
+
private driver;
|
|
11
|
+
constructor(connection: DataSource, queryRunner?: QueryRunner);
|
|
12
|
+
/**
|
|
13
|
+
* Loads either the definition from a file (Node.js) or localstorage (browser)
|
|
14
|
+
* or uses the given definition to open a new database.
|
|
15
|
+
*/
|
|
16
|
+
loadDatabase(fileNameOrLocalStorageOrData: string | Uint8Array): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Saves the current database to a file (Node.js) or localstorage (browser)
|
|
19
|
+
* if fileNameOrLocalStorage is not set options.location is used.
|
|
20
|
+
*/
|
|
21
|
+
saveDatabase(fileNameOrLocalStorage?: string): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the current database definition.
|
|
24
|
+
*/
|
|
25
|
+
exportDatabase(): Uint8Array;
|
|
26
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export * from "./CannotReflectMethodParameterTypeError";
|
|
2
|
+
export * from "./AlreadyHasActiveConnectionError";
|
|
3
|
+
export * from "./SubjectWithoutIdentifierError";
|
|
4
|
+
export * from "./CannotConnectAlreadyConnectedError";
|
|
5
|
+
export * from "./LockNotSupportedOnGivenDriverError";
|
|
6
|
+
export * from "./ConnectionIsNotSetError";
|
|
7
|
+
export * from "./CannotCreateEntityIdMapError";
|
|
8
|
+
export * from "./MetadataAlreadyExistsError";
|
|
9
|
+
export * from "./CannotDetermineEntityError";
|
|
10
|
+
export * from "./UpdateValuesMissingError";
|
|
11
|
+
export * from "./TreeRepositoryNotSupportedError";
|
|
12
|
+
export * from "./CustomRepositoryNotFoundError";
|
|
13
|
+
export * from "./TransactionNotStartedError";
|
|
14
|
+
export * from "./TransactionAlreadyStartedError";
|
|
15
|
+
export * from "./EntityNotFoundError";
|
|
16
|
+
export * from "./EntityMetadataNotFoundError";
|
|
17
|
+
export * from "./MustBeEntityError";
|
|
18
|
+
export * from "./OptimisticLockVersionMismatchError";
|
|
19
|
+
export * from "./LimitOnUpdateNotSupportedError";
|
|
20
|
+
export * from "./PrimaryColumnCannotBeNullableError";
|
|
21
|
+
export * from "./CustomRepositoryCannotInheritRepositoryError";
|
|
22
|
+
export * from "./QueryRunnerProviderAlreadyReleasedError";
|
|
23
|
+
export * from "./CannotAttachTreeChildrenEntityError";
|
|
24
|
+
export * from "./CustomRepositoryDoesNotHaveEntityError";
|
|
25
|
+
export * from "./MissingDeleteDateColumnError";
|
|
26
|
+
export * from "./NoConnectionForRepositoryError";
|
|
27
|
+
export * from "./CircularRelationsError";
|
|
28
|
+
export * from "./ReturningStatementNotSupportedError";
|
|
29
|
+
export * from "./UsingJoinTableIsNotAllowedError";
|
|
30
|
+
export * from "./MissingJoinColumnError";
|
|
31
|
+
export * from "./MissingPrimaryColumnError";
|
|
32
|
+
export * from "./EntityPropertyNotFoundError";
|
|
33
|
+
export * from "./MissingDriverError";
|
|
34
|
+
export * from "./DriverPackageNotInstalledError";
|
|
35
|
+
export * from "./CannotGetEntityManagerNotConnectedError";
|
|
36
|
+
export * from "./ConnectionNotFoundError";
|
|
37
|
+
export * from "./NoVersionOrUpdateDateColumnError";
|
|
38
|
+
export * from "./InsertValuesMissingError";
|
|
39
|
+
export * from "./OptimisticLockCanNotBeUsedError";
|
|
40
|
+
export * from "./MetadataWithSuchNameAlreadyExistsError";
|
|
41
|
+
export * from "./DriverOptionNotSetError";
|
|
42
|
+
export * from "./FindRelationsNotFoundError";
|
|
43
|
+
export * from "./NamingStrategyNotFoundError";
|
|
44
|
+
export * from "./PessimisticLockTransactionRequiredError";
|
|
45
|
+
export * from "./RepositoryNotTreeError";
|
|
46
|
+
export * from "./DataTypeNotSupportedError";
|
|
47
|
+
export * from "./InitializedRelationError";
|
|
48
|
+
export * from "./MissingJoinTableError";
|
|
49
|
+
export * from "./QueryFailedError";
|
|
50
|
+
export * from "./NoNeedToReleaseEntityManagerError";
|
|
51
|
+
export * from "./UsingJoinColumnOnlyOnOneSideAllowedError";
|
|
52
|
+
export * from "./UsingJoinTableOnlyOnOneSideAllowedError";
|
|
53
|
+
export * from "./SubjectRemovedAndUpdatedError";
|
|
54
|
+
export * from "./PersistedEntityNotFoundError";
|
|
55
|
+
export * from "./UsingJoinColumnIsNotAllowedError";
|
|
56
|
+
export * from "./ColumnTypeUndefinedError";
|
|
57
|
+
export * from "./QueryRunnerAlreadyReleasedError";
|
|
58
|
+
export * from "./OffsetWithoutLimitNotSupportedError";
|
|
59
|
+
export * from "./CannotExecuteNotConnectedError";
|
|
60
|
+
export * from "./NoConnectionOptionError";
|
|
61
|
+
export * from "./TypeORMError";
|
|
62
|
+
export * from "./ForbiddenTransactionModeOverrideError";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ObjectID } from "../driver/mongodb/typings";
|
|
2
|
+
/**
|
|
3
|
+
* A single property handler for FindOptionsOrder.
|
|
4
|
+
*/
|
|
5
|
+
export type FindOptionsOrderProperty<Property> = Property extends Promise<infer I> ? FindOptionsOrderProperty<NonNullable<I>> : Property extends Array<infer I> ? FindOptionsOrderProperty<NonNullable<I>> : Property extends Function ? never : Property extends string ? FindOptionsOrderValue : Property extends number ? FindOptionsOrderValue : Property extends boolean ? FindOptionsOrderValue : Property extends Buffer ? FindOptionsOrderValue : Property extends Date ? FindOptionsOrderValue : Property extends ObjectID ? FindOptionsOrderValue : Property extends object ? FindOptionsOrder<Property> : FindOptionsOrderValue;
|
|
6
|
+
/**
|
|
7
|
+
* Order by find options.
|
|
8
|
+
*/
|
|
9
|
+
export type FindOptionsOrder<Entity> = {
|
|
10
|
+
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsOrderProperty<NonNullable<Entity[P]>>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Value of order by in find options.
|
|
14
|
+
*/
|
|
15
|
+
export type FindOptionsOrderValue = "ASC" | "DESC" | "asc" | "desc" | 1 | -1 | {
|
|
16
|
+
direction?: "asc" | "desc" | "ASC" | "DESC";
|
|
17
|
+
nulls?: "first" | "last" | "FIRST" | "LAST";
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ObjectID } from "../driver/mongodb/typings";
|
|
2
|
+
/**
|
|
3
|
+
* A single property handler for FindOptionsRelations.
|
|
4
|
+
*/
|
|
5
|
+
export type FindOptionsRelationsProperty<Property> = Property extends Promise<infer I> ? FindOptionsRelationsProperty<NonNullable<I>> | boolean : Property extends Array<infer I> ? FindOptionsRelationsProperty<NonNullable<I>> | boolean : Property extends string ? never : Property extends number ? never : Property extends boolean ? never : Property extends Function ? never : Property extends Buffer ? never : Property extends Date ? never : Property extends ObjectID ? never : Property extends object ? FindOptionsRelations<Property> | boolean : boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Relations find options.
|
|
8
|
+
*/
|
|
9
|
+
export type FindOptionsRelations<Entity> = {
|
|
10
|
+
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsRelationsProperty<NonNullable<Entity[P]>>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Relation names to be selected by "relation" defined as string.
|
|
14
|
+
* Old relation mechanism in TypeORM.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated will be removed in the next version, use FindOptionsRelation type notation instead
|
|
17
|
+
*/
|
|
18
|
+
export type FindOptionsRelationByString = string[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ObjectID } from "../driver/mongodb/typings";
|
|
2
|
+
/**
|
|
3
|
+
* A single property handler for FindOptionsSelect.
|
|
4
|
+
*/
|
|
5
|
+
export type FindOptionsSelectProperty<Property> = Property extends Promise<infer I> ? FindOptionsSelectProperty<I> | boolean : Property extends Array<infer I> ? FindOptionsSelectProperty<I> | boolean : Property extends string ? boolean : Property extends number ? boolean : Property extends boolean ? boolean : Property extends Function ? never : Property extends Buffer ? boolean : Property extends Date ? boolean : Property extends ObjectID ? boolean : Property extends object ? FindOptionsSelect<Property> : boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Select find options.
|
|
8
|
+
*/
|
|
9
|
+
export type FindOptionsSelect<Entity> = {
|
|
10
|
+
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsSelectProperty<NonNullable<Entity[P]>>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Property paths (column names) to be selected by "find" defined as string.
|
|
14
|
+
* Old selection mechanism in TypeORM.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated will be removed in the next version, use FindOptionsSelect type notation instead
|
|
17
|
+
*/
|
|
18
|
+
export type FindOptionsSelectByString<Entity> = (keyof Entity)[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FindOperator } from "./FindOperator";
|
|
2
|
+
import { ObjectID } from "../driver/mongodb/typings";
|
|
3
|
+
import { EqualOperator } from "./EqualOperator";
|
|
4
|
+
/**
|
|
5
|
+
* A single property handler for FindOptionsWhere.
|
|
6
|
+
*/
|
|
7
|
+
export type FindOptionsWhereProperty<Property> = Property extends Promise<infer I> ? FindOptionsWhereProperty<NonNullable<I>> : Property extends Array<infer I> ? FindOptionsWhereProperty<NonNullable<I>> : Property extends Function ? never : Property extends Buffer ? Property | FindOperator<Property> : Property extends Date ? Property | FindOperator<Property> : Property extends ObjectID ? Property | FindOperator<Property> : Property extends string ? Property | FindOperator<Property> : Property extends number ? Property | FindOperator<Property> : Property extends boolean ? Property | FindOperator<Property> : Property extends object ? FindOptionsWhere<Property> | FindOptionsWhere<Property>[] | EqualOperator<Property> | FindOperator<any> | boolean : Property | FindOperator<Property>;
|
|
8
|
+
/**
|
|
9
|
+
* Used for find operations.
|
|
10
|
+
*/
|
|
11
|
+
export type FindOptionsWhere<Entity> = {
|
|
12
|
+
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsWhereProperty<NonNullable<Entity[P]>>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { MetadataArgsStorage } from "./metadata-args/MetadataArgsStorage";
|
|
2
|
+
import { DataSourceOptions } from "./data-source/DataSourceOptions";
|
|
3
|
+
import { ConnectionManager } from "./connection/ConnectionManager";
|
|
4
|
+
import { DataSource } from "./data-source/DataSource";
|
|
5
|
+
import { EntityManager } from "./entity-manager/EntityManager";
|
|
6
|
+
import { MongoEntityManager } from "./entity-manager/MongoEntityManager";
|
|
7
|
+
import { SqljsEntityManager } from "./entity-manager/SqljsEntityManager";
|
|
8
|
+
import { EntityTarget } from "./common/EntityTarget";
|
|
9
|
+
import { Repository } from "./repository/Repository";
|
|
10
|
+
import { TreeRepository } from "./repository/TreeRepository";
|
|
11
|
+
import { ObjectType } from "./common/ObjectType";
|
|
12
|
+
import { MongoRepository } from "./repository/MongoRepository";
|
|
13
|
+
import { SelectQueryBuilder } from "./query-builder/SelectQueryBuilder";
|
|
14
|
+
import { ObjectLiteral } from "./common/ObjectLiteral";
|
|
15
|
+
/**
|
|
16
|
+
* Gets metadata args storage.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getMetadataArgsStorage(): MetadataArgsStorage;
|
|
19
|
+
/**
|
|
20
|
+
* Reads connection options stored in ormconfig configuration file.
|
|
21
|
+
*
|
|
22
|
+
* @deprecated
|
|
23
|
+
*/
|
|
24
|
+
export declare function getConnectionOptions(connectionName?: string): Promise<DataSourceOptions>;
|
|
25
|
+
/**
|
|
26
|
+
* Gets a ConnectionManager which creates connections.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated
|
|
29
|
+
*/
|
|
30
|
+
export declare function getConnectionManager(): ConnectionManager;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new connection and registers it in the manager.
|
|
33
|
+
* Only one connection from ormconfig will be created (name "default" or connection without name).
|
|
34
|
+
*
|
|
35
|
+
* @deprecated
|
|
36
|
+
*/
|
|
37
|
+
export declare function createConnection(): Promise<DataSource>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates a new connection from the ormconfig file with a given name.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated
|
|
42
|
+
*/
|
|
43
|
+
export declare function createConnection(name: string): Promise<DataSource>;
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new connection and registers it in the manager.
|
|
46
|
+
*
|
|
47
|
+
* @deprecated
|
|
48
|
+
*/
|
|
49
|
+
export declare function createConnection(options: DataSourceOptions): Promise<DataSource>;
|
|
50
|
+
/**
|
|
51
|
+
* Creates new connections and registers them in the manager.
|
|
52
|
+
*
|
|
53
|
+
* If connection options were not specified, then it will try to create connection automatically,
|
|
54
|
+
* based on content of ormconfig (json/js/yml/xml/env) file or environment variables.
|
|
55
|
+
* All connections from the ormconfig will be created.
|
|
56
|
+
*
|
|
57
|
+
* @deprecated
|
|
58
|
+
*/
|
|
59
|
+
export declare function createConnections(options?: DataSourceOptions[]): Promise<DataSource[]>;
|
|
60
|
+
/**
|
|
61
|
+
* Gets connection from the connection manager.
|
|
62
|
+
* If connection name wasn't specified, then "default" connection will be retrieved.
|
|
63
|
+
*
|
|
64
|
+
* @deprecated
|
|
65
|
+
*/
|
|
66
|
+
export declare function getConnection(connectionName?: string): DataSource;
|
|
67
|
+
/**
|
|
68
|
+
* Gets entity manager from the connection.
|
|
69
|
+
* If connection name wasn't specified, then "default" connection will be retrieved.
|
|
70
|
+
*
|
|
71
|
+
* @deprecated
|
|
72
|
+
*/
|
|
73
|
+
export declare function getManager(connectionName?: string): EntityManager;
|
|
74
|
+
/**
|
|
75
|
+
* Gets MongoDB entity manager from the connection.
|
|
76
|
+
* If connection name wasn't specified, then "default" connection will be retrieved.
|
|
77
|
+
*
|
|
78
|
+
* @deprecated
|
|
79
|
+
*/
|
|
80
|
+
export declare function getMongoManager(connectionName?: string): MongoEntityManager;
|
|
81
|
+
/**
|
|
82
|
+
* Gets Sqljs entity manager from connection name.
|
|
83
|
+
* "default" connection is used, when no name is specified.
|
|
84
|
+
* Only works when Sqljs driver is used.
|
|
85
|
+
*
|
|
86
|
+
* @deprecated
|
|
87
|
+
*/
|
|
88
|
+
export declare function getSqljsManager(connectionName?: string): SqljsEntityManager;
|
|
89
|
+
/**
|
|
90
|
+
* Gets repository for the given entity class.
|
|
91
|
+
*
|
|
92
|
+
* @deprecated
|
|
93
|
+
*/
|
|
94
|
+
export declare function getRepository<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, connectionName?: string): Repository<Entity>;
|
|
95
|
+
/**
|
|
96
|
+
* Gets tree repository for the given entity class.
|
|
97
|
+
*
|
|
98
|
+
* @deprecated
|
|
99
|
+
*/
|
|
100
|
+
export declare function getTreeRepository<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, connectionName?: string): TreeRepository<Entity>;
|
|
101
|
+
/**
|
|
102
|
+
* Gets tree repository for the given entity class.
|
|
103
|
+
*
|
|
104
|
+
* @deprecated
|
|
105
|
+
*/
|
|
106
|
+
export declare function getCustomRepository<T>(customRepository: ObjectType<T>, connectionName?: string): T;
|
|
107
|
+
/**
|
|
108
|
+
* Gets mongodb repository for the given entity class or name.
|
|
109
|
+
*
|
|
110
|
+
* @deprecated
|
|
111
|
+
*/
|
|
112
|
+
export declare function getMongoRepository<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, connectionName?: string): MongoRepository<Entity>;
|
|
113
|
+
/**
|
|
114
|
+
* Creates a new query builder.
|
|
115
|
+
*
|
|
116
|
+
* @deprecated
|
|
117
|
+
*/
|
|
118
|
+
export declare function createQueryBuilder<Entity extends ObjectLiteral>(entityClass?: EntityTarget<Entity>, alias?: string, connectionName?: string): SelectQueryBuilder<Entity>;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*/
|
|
3
|
+
import "reflect-metadata";
|
|
4
|
+
export * from "./globals";
|
|
5
|
+
export * from "./container";
|
|
6
|
+
export * from "./common/EntityTarget";
|
|
7
|
+
export * from "./common/ObjectType";
|
|
8
|
+
export * from "./common/ObjectLiteral";
|
|
9
|
+
export * from "./common/MixedList";
|
|
10
|
+
export * from "./common/DeepPartial";
|
|
11
|
+
export * from "./common/RelationType";
|
|
12
|
+
export * from "./error";
|
|
13
|
+
export * from "./decorator/columns/Column";
|
|
14
|
+
export * from "./decorator/columns/CreateDateColumn";
|
|
15
|
+
export * from "./decorator/columns/DeleteDateColumn";
|
|
16
|
+
export * from "./decorator/columns/PrimaryGeneratedColumn";
|
|
17
|
+
export * from "./decorator/columns/PrimaryColumn";
|
|
18
|
+
export * from "./decorator/columns/UpdateDateColumn";
|
|
19
|
+
export * from "./decorator/columns/VersionColumn";
|
|
20
|
+
export * from "./decorator/columns/VirtualColumn";
|
|
21
|
+
export * from "./decorator/columns/ViewColumn";
|
|
22
|
+
export * from "./decorator/columns/ObjectIdColumn";
|
|
23
|
+
export * from "./decorator/listeners/AfterInsert";
|
|
24
|
+
export * from "./decorator/listeners/AfterLoad";
|
|
25
|
+
export * from "./decorator/listeners/AfterRemove";
|
|
26
|
+
export * from "./decorator/listeners/AfterSoftRemove";
|
|
27
|
+
export * from "./decorator/listeners/AfterRecover";
|
|
28
|
+
export * from "./decorator/listeners/AfterUpdate";
|
|
29
|
+
export * from "./decorator/listeners/BeforeInsert";
|
|
30
|
+
export * from "./decorator/listeners/BeforeRemove";
|
|
31
|
+
export * from "./decorator/listeners/BeforeSoftRemove";
|
|
32
|
+
export * from "./decorator/listeners/BeforeRecover";
|
|
33
|
+
export * from "./decorator/listeners/BeforeUpdate";
|
|
34
|
+
export * from "./decorator/listeners/EventSubscriber";
|
|
35
|
+
export * from "./decorator/options/ColumnOptions";
|
|
36
|
+
export * from "./decorator/options/IndexOptions";
|
|
37
|
+
export * from "./decorator/options/JoinColumnOptions";
|
|
38
|
+
export * from "./decorator/options/JoinTableOptions";
|
|
39
|
+
export * from "./decorator/options/RelationOptions";
|
|
40
|
+
export * from "./decorator/options/EntityOptions";
|
|
41
|
+
export * from "./decorator/options/ValueTransformer";
|
|
42
|
+
export * from "./decorator/relations/JoinColumn";
|
|
43
|
+
export * from "./decorator/relations/JoinTable";
|
|
44
|
+
export * from "./decorator/relations/ManyToMany";
|
|
45
|
+
export * from "./decorator/relations/ManyToOne";
|
|
46
|
+
export * from "./decorator/relations/OneToMany";
|
|
47
|
+
export * from "./decorator/relations/OneToOne";
|
|
48
|
+
export * from "./decorator/relations/RelationCount";
|
|
49
|
+
export * from "./decorator/relations/RelationId";
|
|
50
|
+
export * from "./decorator/entity/Entity";
|
|
51
|
+
export * from "./decorator/entity/ChildEntity";
|
|
52
|
+
export * from "./decorator/entity/TableInheritance";
|
|
53
|
+
export * from "./decorator/entity-view/ViewEntity";
|
|
54
|
+
export * from "./decorator/tree/TreeLevelColumn";
|
|
55
|
+
export * from "./decorator/tree/TreeParent";
|
|
56
|
+
export * from "./decorator/tree/TreeChildren";
|
|
57
|
+
export * from "./decorator/tree/Tree";
|
|
58
|
+
export * from "./decorator/Index";
|
|
59
|
+
export * from "./decorator/Unique";
|
|
60
|
+
export * from "./decorator/Check";
|
|
61
|
+
export * from "./decorator/Exclusion";
|
|
62
|
+
export * from "./decorator/Generated";
|
|
63
|
+
export * from "./decorator/EntityRepository";
|
|
64
|
+
export * from "./find-options/operator/And";
|
|
65
|
+
export * from "./find-options/operator/Any";
|
|
66
|
+
export * from "./find-options/operator/ArrayContainedBy";
|
|
67
|
+
export * from "./find-options/operator/ArrayContains";
|
|
68
|
+
export * from "./find-options/operator/ArrayOverlap";
|
|
69
|
+
export * from "./find-options/operator/Between";
|
|
70
|
+
export * from "./find-options/operator/Equal";
|
|
71
|
+
export * from "./find-options/operator/In";
|
|
72
|
+
export * from "./find-options/operator/IsNull";
|
|
73
|
+
export * from "./find-options/operator/LessThan";
|
|
74
|
+
export * from "./find-options/operator/LessThanOrEqual";
|
|
75
|
+
export * from "./find-options/operator/ILike";
|
|
76
|
+
export * from "./find-options/operator/Like";
|
|
77
|
+
export * from "./find-options/operator/MoreThan";
|
|
78
|
+
export * from "./find-options/operator/MoreThanOrEqual";
|
|
79
|
+
export * from "./find-options/operator/Not";
|
|
80
|
+
export * from "./find-options/operator/Raw";
|
|
81
|
+
export * from "./find-options/EqualOperator";
|
|
82
|
+
export * from "./find-options/FindManyOptions";
|
|
83
|
+
export * from "./find-options/FindOneOptions";
|
|
84
|
+
export * from "./find-options/FindOperator";
|
|
85
|
+
export * from "./find-options/FindOperatorType";
|
|
86
|
+
export * from "./find-options/FindOptionsOrder";
|
|
87
|
+
export * from "./find-options/FindOptionsRelations";
|
|
88
|
+
export * from "./find-options/FindOptionsSelect";
|
|
89
|
+
export * from "./find-options/FindOptionsUtils";
|
|
90
|
+
export * from "./find-options/FindOptionsWhere";
|
|
91
|
+
export * from "./find-options/FindTreeOptions";
|
|
92
|
+
export * from "./find-options/JoinOptions";
|
|
93
|
+
export * from "./find-options/OrderByCondition";
|
|
94
|
+
export * from "./logger/Logger";
|
|
95
|
+
export * from "./logger/LoggerOptions";
|
|
96
|
+
export * from "./logger/AdvancedConsoleLogger";
|
|
97
|
+
export * from "./logger/SimpleConsoleLogger";
|
|
98
|
+
export * from "./logger/FileLogger";
|
|
99
|
+
export * from "./metadata/EntityMetadata";
|
|
100
|
+
export * from "./entity-manager/EntityManager";
|
|
101
|
+
export * from "./repository/AbstractRepository";
|
|
102
|
+
export * from "./repository/Repository";
|
|
103
|
+
export * from "./repository/BaseEntity";
|
|
104
|
+
export * from "./repository/TreeRepository";
|
|
105
|
+
export * from "./repository/MongoRepository";
|
|
106
|
+
export * from "./repository/RemoveOptions";
|
|
107
|
+
export * from "./repository/SaveOptions";
|
|
108
|
+
export * from "./schema-builder/table/TableCheck";
|
|
109
|
+
export * from "./schema-builder/table/TableColumn";
|
|
110
|
+
export * from "./schema-builder/table/TableExclusion";
|
|
111
|
+
export * from "./schema-builder/table/TableForeignKey";
|
|
112
|
+
export * from "./schema-builder/table/TableIndex";
|
|
113
|
+
export * from "./schema-builder/table/TableUnique";
|
|
114
|
+
export * from "./schema-builder/table/Table";
|
|
115
|
+
export * from "./schema-builder/options/TableCheckOptions";
|
|
116
|
+
export * from "./schema-builder/options/TableColumnOptions";
|
|
117
|
+
export * from "./schema-builder/options/TableExclusionOptions";
|
|
118
|
+
export * from "./schema-builder/options/TableForeignKeyOptions";
|
|
119
|
+
export * from "./schema-builder/options/TableIndexOptions";
|
|
120
|
+
export * from "./schema-builder/options/TableOptions";
|
|
121
|
+
export * from "./schema-builder/options/TableUniqueOptions";
|
|
122
|
+
export * from "./schema-builder/options/ViewOptions";
|
|
123
|
+
export * from "./driver/mongodb/typings";
|
|
124
|
+
export * from "./driver/types/DatabaseType";
|
|
125
|
+
export * from "./driver/types/ReplicationMode";
|
|
126
|
+
export * from "./driver/sqlserver/MssqlParameter";
|
|
127
|
+
export { ConnectionOptionsReader } from "./connection/ConnectionOptionsReader";
|
|
128
|
+
export { ConnectionOptions } from "./connection/ConnectionOptions";
|
|
129
|
+
export { DataSource } from "./data-source/DataSource";
|
|
130
|
+
export { Connection } from "./connection/Connection";
|
|
131
|
+
export { ConnectionManager } from "./connection/ConnectionManager";
|
|
132
|
+
export { DataSourceOptions } from "./data-source/DataSourceOptions";
|
|
133
|
+
export { Driver } from "./driver/Driver";
|
|
134
|
+
export { QueryBuilder } from "./query-builder/QueryBuilder";
|
|
135
|
+
export { SelectQueryBuilder } from "./query-builder/SelectQueryBuilder";
|
|
136
|
+
export { DeleteQueryBuilder } from "./query-builder/DeleteQueryBuilder";
|
|
137
|
+
export { InsertQueryBuilder } from "./query-builder/InsertQueryBuilder";
|
|
138
|
+
export { UpdateQueryBuilder } from "./query-builder/UpdateQueryBuilder";
|
|
139
|
+
export { RelationQueryBuilder } from "./query-builder/RelationQueryBuilder";
|
|
140
|
+
export { Brackets } from "./query-builder/Brackets";
|
|
141
|
+
export { NotBrackets } from "./query-builder/NotBrackets";
|
|
142
|
+
export { WhereExpressionBuilder } from "./query-builder/WhereExpressionBuilder";
|
|
143
|
+
export { WhereExpression } from "./query-builder/WhereExpressionBuilder";
|
|
144
|
+
export { InsertResult } from "./query-builder/result/InsertResult";
|
|
145
|
+
export { UpdateResult } from "./query-builder/result/UpdateResult";
|
|
146
|
+
export { DeleteResult } from "./query-builder/result/DeleteResult";
|
|
147
|
+
export { QueryResult } from "./query-runner/QueryResult";
|
|
148
|
+
export { QueryRunner } from "./query-runner/QueryRunner";
|
|
149
|
+
export { MongoEntityManager } from "./entity-manager/MongoEntityManager";
|
|
150
|
+
export { Migration } from "./migration/Migration";
|
|
151
|
+
export { MigrationExecutor } from "./migration/MigrationExecutor";
|
|
152
|
+
export { MigrationInterface } from "./migration/MigrationInterface";
|
|
153
|
+
export { DefaultNamingStrategy } from "./naming-strategy/DefaultNamingStrategy";
|
|
154
|
+
export { NamingStrategyInterface } from "./naming-strategy/NamingStrategyInterface";
|
|
155
|
+
export { InsertEvent } from "./subscriber/event/InsertEvent";
|
|
156
|
+
export { LoadEvent } from "./subscriber/event/LoadEvent";
|
|
157
|
+
export { UpdateEvent } from "./subscriber/event/UpdateEvent";
|
|
158
|
+
export { RemoveEvent } from "./subscriber/event/RemoveEvent";
|
|
159
|
+
export { SoftRemoveEvent } from "./subscriber/event/SoftRemoveEvent";
|
|
160
|
+
export { RecoverEvent } from "./subscriber/event/RecoverEvent";
|
|
161
|
+
export { TransactionCommitEvent } from "./subscriber/event/TransactionCommitEvent";
|
|
162
|
+
export { TransactionRollbackEvent } from "./subscriber/event/TransactionRollbackEvent";
|
|
163
|
+
export { TransactionStartEvent } from "./subscriber/event/TransactionStartEvent";
|
|
164
|
+
export { EntitySubscriberInterface } from "./subscriber/EntitySubscriberInterface";
|
|
165
|
+
export { EntitySchema } from "./entity-schema/EntitySchema";
|
|
166
|
+
export { EntitySchemaColumnOptions } from "./entity-schema/EntitySchemaColumnOptions";
|
|
167
|
+
export { EntitySchemaIndexOptions } from "./entity-schema/EntitySchemaIndexOptions";
|
|
168
|
+
export { EntitySchemaRelationOptions } from "./entity-schema/EntitySchemaRelationOptions";
|
|
169
|
+
export { EntitySchemaEmbeddedColumnOptions } from "./entity-schema/EntitySchemaEmbeddedColumnOptions";
|
|
170
|
+
export { ColumnType } from "./driver/types/ColumnTypes";
|
|
171
|
+
export { EntitySchemaOptions } from "./entity-schema/EntitySchemaOptions";
|
|
172
|
+
export { InstanceChecker } from "./util/InstanceChecker";
|
|
173
|
+
export { TreeRepositoryUtils } from "./util/TreeRepositoryUtils";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FileLoggerOptions, LoggerOptions } from "./LoggerOptions";
|
|
2
|
+
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
3
|
+
import { Logger } from "./Logger";
|
|
4
|
+
/**
|
|
5
|
+
* Performs logging of the events in TypeORM.
|
|
6
|
+
* This version of logger logs everything into ormlogs.log file.
|
|
7
|
+
*/
|
|
8
|
+
export declare class FileLogger implements Logger {
|
|
9
|
+
private options?;
|
|
10
|
+
private fileLoggerOptions?;
|
|
11
|
+
constructor(options?: LoggerOptions, fileLoggerOptions?: FileLoggerOptions);
|
|
12
|
+
/**
|
|
13
|
+
* Logs query and parameters used in it.
|
|
14
|
+
*/
|
|
15
|
+
logQuery(query: string, parameters?: any[], queryRunner?: QueryRunner): void;
|
|
16
|
+
/**
|
|
17
|
+
* Logs query that is failed.
|
|
18
|
+
*/
|
|
19
|
+
logQueryError(error: string, query: string, parameters?: any[], queryRunner?: QueryRunner): void;
|
|
20
|
+
/**
|
|
21
|
+
* Logs query that is slow.
|
|
22
|
+
*/
|
|
23
|
+
logQuerySlow(time: number, query: string, parameters?: any[], queryRunner?: QueryRunner): void;
|
|
24
|
+
/**
|
|
25
|
+
* Logs events from the schema build process.
|
|
26
|
+
*/
|
|
27
|
+
logSchemaBuild(message: string, queryRunner?: QueryRunner): void;
|
|
28
|
+
/**
|
|
29
|
+
* Logs events from the migrations run process.
|
|
30
|
+
*/
|
|
31
|
+
logMigration(message: string, queryRunner?: QueryRunner): void;
|
|
32
|
+
/**
|
|
33
|
+
* Perform logging using given logger, or by default to the console.
|
|
34
|
+
* Log has its own level and message.
|
|
35
|
+
*/
|
|
36
|
+
log(level: "log" | "info" | "warn", message: any, queryRunner?: QueryRunner): void;
|
|
37
|
+
/**
|
|
38
|
+
* Writes given strings into the log file.
|
|
39
|
+
*/
|
|
40
|
+
protected write(strings: string | string[]): void;
|
|
41
|
+
/**
|
|
42
|
+
* Converts parameters to a string.
|
|
43
|
+
* Sometimes parameters can have circular objects and therefor we are handle this case too.
|
|
44
|
+
*/
|
|
45
|
+
protected stringifyParams(parameters: any[]): string | any[];
|
|
46
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger } from "./Logger";
|
|
2
|
+
import { LoggerOptions } from "./LoggerOptions";
|
|
3
|
+
/**
|
|
4
|
+
* Helps to create logger instances.
|
|
5
|
+
*/
|
|
6
|
+
export declare class LoggerFactory {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new logger depend on a given connection's driver.
|
|
9
|
+
*/
|
|
10
|
+
create(logger?: "advanced-console" | "simple-console" | "file" | "debug" | Logger, options?: LoggerOptions): Logger;
|
|
11
|
+
}
|