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.
Files changed (267) hide show
  1. package/VERIFIED-BUILD-DATA.jsonc +3 -3
  2. package/browser/package.json +1 -1
  3. package/browser-prod/package.json +1 -1
  4. package/full-dts/build-info._auto-generated_.d.ts +1 -1
  5. package/lib/build-info._auto-generated_.d.ts +1 -1
  6. package/lib/build-info._auto-generated_.js +1 -1
  7. package/lib/package.json +1 -1
  8. package/lib/typeorm/cache/DbQueryResultCache____ORIGINAL____.d.ts +52 -0
  9. package/lib/typeorm/cli-ts-node-commonjs____ORIGINAL____.d.ts +2 -0
  10. package/lib/typeorm/cli-ts-node-esm____ORIGINAL____.d.ts +2 -0
  11. package/lib/typeorm/cli____ORIGINAL____.d.ts +2 -0
  12. package/lib/typeorm/commands/CacheClearCommand____ORIGINAL____.d.ts +12 -0
  13. package/lib/typeorm/commands/CommandUtils____ORIGINAL____.d.ts +24 -0
  14. package/lib/typeorm/commands/EntityCreateCommand____ORIGINAL____.d.ts +13 -0
  15. package/lib/typeorm/commands/InitCommand____ORIGINAL____.d.ts +69 -0
  16. package/lib/typeorm/commands/MigrationCreateCommand____ORIGINAL____.d.ts +22 -0
  17. package/lib/typeorm/commands/MigrationGenerateCommand____ORIGINAL____.d.ts +38 -0
  18. package/lib/typeorm/commands/MigrationRevertCommand____ORIGINAL____.d.ts +16 -0
  19. package/lib/typeorm/commands/MigrationRunCommand____ORIGINAL____.d.ts +16 -0
  20. package/lib/typeorm/commands/MigrationShowCommand____ORIGINAL____.d.ts +12 -0
  21. package/lib/typeorm/commands/QueryCommand____ORIGINAL____.d.ts +14 -0
  22. package/lib/typeorm/commands/SchemaDropCommand____ORIGINAL____.d.ts +12 -0
  23. package/lib/typeorm/commands/SchemaLogCommand____ORIGINAL____.d.ts +12 -0
  24. package/lib/typeorm/commands/SchemaSyncCommand____ORIGINAL____.d.ts +12 -0
  25. package/lib/typeorm/commands/SubscriberCreateCommand____ORIGINAL____.d.ts +13 -0
  26. package/lib/typeorm/connection/ConnectionOptionsReader____ORIGINAL____.d.ts +64 -0
  27. package/lib/typeorm/data-source/DataSourceOptions____ORIGINAL____.d.ts +22 -0
  28. package/lib/typeorm/data-source/DataSource____ORIGINAL____.d.ts +249 -0
  29. package/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions____ORIGINAL____.d.ts +35 -0
  30. package/lib/typeorm/decorator/options/JoinTableOptions____ORIGINAL____.d.ts +35 -0
  31. package/lib/typeorm/decorator/relations/JoinTable____ORIGINAL____.d.ts +17 -0
  32. package/lib/typeorm/decorator/tree/TreeChildren____ORIGINAL____.d.ts +7 -0
  33. package/lib/typeorm/decorator/tree/TreeParent____ORIGINAL____.d.ts +8 -0
  34. package/lib/typeorm/driver/DriverFactory____ORIGINAL____.d.ts +11 -0
  35. package/lib/typeorm/driver/Driver____ORIGINAL____.d.ts +211 -0
  36. package/lib/typeorm/driver/aurora-mysql/AuroraMysqlConnectionOptions____ORIGINAL____.d.ts +35 -0
  37. package/lib/typeorm/driver/aurora-mysql/AuroraMysqlDriver____ORIGINAL____.d.ts +250 -0
  38. package/lib/typeorm/driver/aurora-mysql/AuroraMysqlQueryRunner____ORIGINAL____.d.ts +327 -0
  39. package/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver____ORIGINAL____.d.ts +59 -0
  40. package/lib/typeorm/driver/better-sqlite3/BetterSqlite3QueryRunner____ORIGINAL____.d.ts +32 -0
  41. package/lib/typeorm/driver/cordova/CordovaDriver____ORIGINAL____.d.ts +26 -0
  42. package/lib/typeorm/driver/mongodb/MongoConnectionOptions____ORIGINAL____.d.ts +278 -0
  43. package/lib/typeorm/driver/mongodb/MongoDriver____ORIGINAL____.d.ts +224 -0
  44. package/lib/typeorm/driver/mongodb/MongoQueryRunner____ORIGINAL____.d.ts +548 -0
  45. package/lib/typeorm/driver/mongodb/typings____ORIGINAL____.d.ts +5350 -0
  46. package/lib/typeorm/driver/mysql/MysqlConnectionCredentialsOptions____ORIGINAL____.d.ts +39 -0
  47. package/lib/typeorm/driver/mysql/MysqlConnectionOptions____ORIGINAL____.d.ts +126 -0
  48. package/lib/typeorm/driver/mysql/MysqlDriver____ORIGINAL____.d.ts +262 -0
  49. package/lib/typeorm/driver/mysql/MysqlQueryRunner____ORIGINAL____.d.ts +328 -0
  50. package/lib/typeorm/driver/nativescript/NativescriptDriver____ORIGINAL____.d.ts +44 -0
  51. package/lib/typeorm/driver/oracle/OracleConnectionCredentialsOptions____ORIGINAL____.d.ts +41 -0
  52. package/lib/typeorm/driver/oracle/OracleConnectionOptions____ORIGINAL____.d.ts +37 -0
  53. package/lib/typeorm/driver/oracle/OracleDriver____ORIGINAL____.d.ts +241 -0
  54. package/lib/typeorm/driver/oracle/OracleQueryRunner____ORIGINAL____.d.ts +333 -0
  55. package/lib/typeorm/driver/postgres/PostgresConnectionCredentialsOptions____ORIGINAL____.d.ts +34 -0
  56. package/lib/typeorm/driver/postgres/PostgresConnectionOptions____ORIGINAL____.d.ts +83 -0
  57. package/lib/typeorm/driver/postgres/PostgresDriver____ORIGINAL____.d.ts +290 -0
  58. package/lib/typeorm/driver/postgres/PostgresQueryRunner____ORIGINAL____.d.ts +414 -0
  59. package/lib/typeorm/driver/react-native/ReactNativeDriver____ORIGINAL____.d.ts +25 -0
  60. package/lib/typeorm/driver/react-native/ReactNativeQueryRunner____ORIGINAL____.d.ts +29 -0
  61. package/lib/typeorm/driver/sap/SapDriver____ORIGINAL____.d.ts +217 -0
  62. package/lib/typeorm/driver/sqlite/SqliteConnectionOptions____ORIGINAL____.d.ts +48 -0
  63. package/lib/typeorm/driver/sqlite/SqliteDriver____ORIGINAL____.d.ts +59 -0
  64. package/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver____ORIGINAL____.d.ts +237 -0
  65. package/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner____ORIGINAL____.d.ts +301 -0
  66. package/lib/typeorm/driver/sqljs/SqljsDriver____ORIGINAL____.d.ts +63 -0
  67. package/lib/typeorm/driver/sqljs/SqljsQueryRunner____ORIGINAL____.d.ts +35 -0
  68. package/lib/typeorm/driver/sqlserver/MssqlParameter____ORIGINAL____.d.ts +44 -0
  69. package/lib/typeorm/driver/sqlserver/SqlServerConnectionCredentialsOptions____ORIGINAL____.d.ts +49 -0
  70. package/lib/typeorm/driver/sqlserver/SqlServerConnectionOptions____ORIGINAL____.d.ts +237 -0
  71. package/lib/typeorm/driver/sqlserver/SqlServerDriver____ORIGINAL____.d.ts +253 -0
  72. package/lib/typeorm/driver/sqlserver/SqlServerQueryRunner____ORIGINAL____.d.ts +356 -0
  73. package/lib/typeorm/entity-manager/EntityManagerFactory____ORIGINAL____.d.ts +12 -0
  74. package/lib/typeorm/entity-manager/EntityManager____ORIGINAL____.d.ts +361 -0
  75. package/lib/typeorm/entity-manager/MongoEntityManager____ORIGINAL____.d.ts +300 -0
  76. package/lib/typeorm/entity-manager/SqljsEntityManager____ORIGINAL____.d.ts +26 -0
  77. package/lib/typeorm/error/index____ORIGINAL____.d.ts +62 -0
  78. package/lib/typeorm/find-options/FindOptionsOrder____ORIGINAL____.d.ts +18 -0
  79. package/lib/typeorm/find-options/FindOptionsRelations____ORIGINAL____.d.ts +18 -0
  80. package/lib/typeorm/find-options/FindOptionsSelect____ORIGINAL____.d.ts +18 -0
  81. package/lib/typeorm/find-options/FindOptionsWhere____ORIGINAL____.d.ts +13 -0
  82. package/lib/typeorm/find-options/operator/Any____ORIGINAL____.d.ts +6 -0
  83. package/lib/typeorm/find-options/operator/ArrayContainedBy____ORIGINAL____.d.ts +6 -0
  84. package/lib/typeorm/find-options/operator/ArrayContains____ORIGINAL____.d.ts +6 -0
  85. package/lib/typeorm/find-options/operator/ArrayOverlap____ORIGINAL____.d.ts +6 -0
  86. package/lib/typeorm/find-options/operator/In____ORIGINAL____.d.ts +6 -0
  87. package/lib/typeorm/globals____ORIGINAL____.d.ts +118 -0
  88. package/lib/typeorm/index____ORIGINAL____.d.ts +173 -0
  89. package/lib/typeorm/logger/FileLogger____ORIGINAL____.d.ts +46 -0
  90. package/lib/typeorm/logger/LoggerFactory____ORIGINAL____.d.ts +11 -0
  91. package/lib/typeorm/metadata/ColumnMetadata____ORIGINAL____.d.ts +315 -0
  92. package/lib/typeorm/metadata-args/JoinTableMetadataArgs____ORIGINAL____.d.ts +43 -0
  93. package/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder____ORIGINAL____.d.ts +26 -0
  94. package/lib/typeorm/migration/MigrationExecutor____ORIGINAL____.d.ts +99 -0
  95. package/lib/typeorm/migration/MigrationInterface____ORIGINAL____.d.ts +25 -0
  96. package/lib/typeorm/migration/Migration____ORIGINAL____.d.ts +28 -0
  97. package/lib/typeorm/naming-strategy/NamingStrategyInterface____ORIGINAL____.d.ts +117 -0
  98. package/lib/typeorm/persistence/EntityPersistExecutor____ORIGINAL____.d.ts +21 -0
  99. package/lib/typeorm/persistence/SubjectChangedColumnsComputer____ORIGINAL____.d.ts +18 -0
  100. package/lib/typeorm/persistence/SubjectDatabaseEntityLoader____ORIGINAL____.d.ts +35 -0
  101. package/lib/typeorm/persistence/SubjectExecutor____ORIGINAL____.d.ts +118 -0
  102. package/lib/typeorm/persistence/Subject____ORIGINAL____.d.ts +155 -0
  103. package/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor____ORIGINAL____.d.ts +19 -0
  104. package/lib/typeorm/platform/PlatformTools____ORIGINAL____.d.ts +67 -0
  105. package/lib/typeorm/query-builder/DeleteQueryBuilder____ORIGINAL____.d.ts +91 -0
  106. package/lib/typeorm/query-builder/InsertOrUpdateOptions____ORIGINAL____.d.ts +10 -0
  107. package/lib/typeorm/query-builder/InsertQueryBuilder____ORIGINAL____.d.ts +117 -0
  108. package/lib/typeorm/query-builder/QueryBuilder____ORIGINAL____.d.ts +266 -0
  109. package/lib/typeorm/query-builder/QueryExpressionMap____ORIGINAL____.d.ts +306 -0
  110. package/lib/typeorm/query-builder/RelationLoader____ORIGINAL____.d.ts +59 -0
  111. package/lib/typeorm/query-builder/RelationQueryBuilder____ORIGINAL____.d.ts +69 -0
  112. package/lib/typeorm/query-builder/SelectQueryBuilder____ORIGINAL____.d.ts +685 -0
  113. package/lib/typeorm/query-builder/SoftDeleteQueryBuilder____ORIGINAL____.d.ts +138 -0
  114. package/lib/typeorm/query-builder/UpdateQueryBuilder____ORIGINAL____.d.ts +143 -0
  115. package/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer____ORIGINAL____.d.ts +55 -0
  116. package/lib/typeorm/query-runner/BaseQueryRunner____ORIGINAL____.d.ts +203 -0
  117. package/lib/typeorm/query-runner/QueryRunner____ORIGINAL____.d.ts +359 -0
  118. package/lib/typeorm/repository/MongoRepository____ORIGINAL____.d.ts +262 -0
  119. package/lib/typeorm/repository/Repository____ORIGINAL____.d.ts +295 -0
  120. package/lib/typeorm/repository/TreeRepository____ORIGINAL____.d.ts +51 -0
  121. package/lib/typeorm/repository/UpsertOptions____ORIGINAL____.d.ts +13 -0
  122. package/lib/typeorm/schema-builder/RdbmsSchemaBuilder____ORIGINAL____.d.ts +148 -0
  123. package/lib/typeorm/schema-builder/util/TableUtils____ORIGINAL____.d.ts +6 -0
  124. package/lib/typeorm/schema-builder/view/View____ORIGINAL____.d.ts +49 -0
  125. package/lib/typeorm/util/DateUtils____ORIGINAL____.d.ts +58 -0
  126. package/lib/typeorm/util/DirectoryExportedClassesLoader____ORIGINAL____.d.ts +9 -0
  127. package/lib/typeorm/util/ImportUtils____ORIGINAL____.d.ts +1 -0
  128. package/lib/typeorm/util/InstanceChecker____ORIGINAL____.d.ts +63 -0
  129. package/lib/typeorm/util/ObjectUtils____ORIGINAL____.d.ts +37 -0
  130. package/lib/typeorm/util/OrmUtils____ORIGINAL____.d.ts +52 -0
  131. package/lib/typeorm/util/PathUtils____ORIGINAL____.d.ts +10 -0
  132. package/lib/typeorm/util/StringUtils____ORIGINAL____.d.ts +63 -0
  133. package/lib/typeorm/util/TreeRepositoryUtils____ORIGINAL____.d.ts +23 -0
  134. package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
  135. package/lib-esm/lib/build-info._auto-generated_.js +1 -1
  136. package/lib-esm/lib/typeorm/cache/DbQueryResultCache____ORIGINAL____.d.ts +52 -0
  137. package/lib-esm/lib/typeorm/cli-ts-node-commonjs____ORIGINAL____.d.ts +2 -0
  138. package/lib-esm/lib/typeorm/cli-ts-node-esm____ORIGINAL____.d.ts +2 -0
  139. package/lib-esm/lib/typeorm/cli____ORIGINAL____.d.ts +2 -0
  140. package/lib-esm/lib/typeorm/commands/CacheClearCommand____ORIGINAL____.d.ts +12 -0
  141. package/lib-esm/lib/typeorm/commands/CommandUtils____ORIGINAL____.d.ts +24 -0
  142. package/lib-esm/lib/typeorm/commands/EntityCreateCommand____ORIGINAL____.d.ts +13 -0
  143. package/lib-esm/lib/typeorm/commands/InitCommand____ORIGINAL____.d.ts +69 -0
  144. package/lib-esm/lib/typeorm/commands/MigrationCreateCommand____ORIGINAL____.d.ts +22 -0
  145. package/lib-esm/lib/typeorm/commands/MigrationGenerateCommand____ORIGINAL____.d.ts +38 -0
  146. package/lib-esm/lib/typeorm/commands/MigrationRevertCommand____ORIGINAL____.d.ts +16 -0
  147. package/lib-esm/lib/typeorm/commands/MigrationRunCommand____ORIGINAL____.d.ts +16 -0
  148. package/lib-esm/lib/typeorm/commands/MigrationShowCommand____ORIGINAL____.d.ts +12 -0
  149. package/lib-esm/lib/typeorm/commands/QueryCommand____ORIGINAL____.d.ts +14 -0
  150. package/lib-esm/lib/typeorm/commands/SchemaDropCommand____ORIGINAL____.d.ts +12 -0
  151. package/lib-esm/lib/typeorm/commands/SchemaLogCommand____ORIGINAL____.d.ts +12 -0
  152. package/lib-esm/lib/typeorm/commands/SchemaSyncCommand____ORIGINAL____.d.ts +12 -0
  153. package/lib-esm/lib/typeorm/commands/SubscriberCreateCommand____ORIGINAL____.d.ts +13 -0
  154. package/lib-esm/lib/typeorm/connection/ConnectionOptionsReader____ORIGINAL____.d.ts +64 -0
  155. package/lib-esm/lib/typeorm/data-source/DataSourceOptions____ORIGINAL____.d.ts +22 -0
  156. package/lib-esm/lib/typeorm/data-source/DataSource____ORIGINAL____.d.ts +249 -0
  157. package/lib-esm/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions____ORIGINAL____.d.ts +35 -0
  158. package/lib-esm/lib/typeorm/decorator/options/JoinTableOptions____ORIGINAL____.d.ts +35 -0
  159. package/lib-esm/lib/typeorm/decorator/relations/JoinTable____ORIGINAL____.d.ts +17 -0
  160. package/lib-esm/lib/typeorm/decorator/tree/TreeChildren____ORIGINAL____.d.ts +7 -0
  161. package/lib-esm/lib/typeorm/decorator/tree/TreeParent____ORIGINAL____.d.ts +8 -0
  162. package/lib-esm/lib/typeorm/driver/DriverFactory____ORIGINAL____.d.ts +11 -0
  163. package/lib-esm/lib/typeorm/driver/Driver____ORIGINAL____.d.ts +211 -0
  164. package/lib-esm/lib/typeorm/driver/aurora-mysql/AuroraMysqlConnectionOptions____ORIGINAL____.d.ts +35 -0
  165. package/lib-esm/lib/typeorm/driver/aurora-mysql/AuroraMysqlDriver____ORIGINAL____.d.ts +250 -0
  166. package/lib-esm/lib/typeorm/driver/aurora-mysql/AuroraMysqlQueryRunner____ORIGINAL____.d.ts +327 -0
  167. package/lib-esm/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver____ORIGINAL____.d.ts +59 -0
  168. package/lib-esm/lib/typeorm/driver/better-sqlite3/BetterSqlite3QueryRunner____ORIGINAL____.d.ts +32 -0
  169. package/lib-esm/lib/typeorm/driver/cordova/CordovaDriver____ORIGINAL____.d.ts +26 -0
  170. package/lib-esm/lib/typeorm/driver/mongodb/MongoConnectionOptions____ORIGINAL____.d.ts +278 -0
  171. package/lib-esm/lib/typeorm/driver/mongodb/MongoDriver____ORIGINAL____.d.ts +224 -0
  172. package/lib-esm/lib/typeorm/driver/mongodb/MongoQueryRunner____ORIGINAL____.d.ts +548 -0
  173. package/lib-esm/lib/typeorm/driver/mongodb/typings____ORIGINAL____.d.ts +5350 -0
  174. package/lib-esm/lib/typeorm/driver/mysql/MysqlConnectionCredentialsOptions____ORIGINAL____.d.ts +39 -0
  175. package/lib-esm/lib/typeorm/driver/mysql/MysqlConnectionOptions____ORIGINAL____.d.ts +126 -0
  176. package/lib-esm/lib/typeorm/driver/mysql/MysqlDriver____ORIGINAL____.d.ts +262 -0
  177. package/lib-esm/lib/typeorm/driver/mysql/MysqlQueryRunner____ORIGINAL____.d.ts +328 -0
  178. package/lib-esm/lib/typeorm/driver/nativescript/NativescriptDriver____ORIGINAL____.d.ts +44 -0
  179. package/lib-esm/lib/typeorm/driver/oracle/OracleConnectionCredentialsOptions____ORIGINAL____.d.ts +41 -0
  180. package/lib-esm/lib/typeorm/driver/oracle/OracleConnectionOptions____ORIGINAL____.d.ts +37 -0
  181. package/lib-esm/lib/typeorm/driver/oracle/OracleDriver____ORIGINAL____.d.ts +241 -0
  182. package/lib-esm/lib/typeorm/driver/oracle/OracleQueryRunner____ORIGINAL____.d.ts +333 -0
  183. package/lib-esm/lib/typeorm/driver/postgres/PostgresConnectionCredentialsOptions____ORIGINAL____.d.ts +34 -0
  184. package/lib-esm/lib/typeorm/driver/postgres/PostgresConnectionOptions____ORIGINAL____.d.ts +83 -0
  185. package/lib-esm/lib/typeorm/driver/postgres/PostgresDriver____ORIGINAL____.d.ts +290 -0
  186. package/lib-esm/lib/typeorm/driver/postgres/PostgresQueryRunner____ORIGINAL____.d.ts +414 -0
  187. package/lib-esm/lib/typeorm/driver/react-native/ReactNativeDriver____ORIGINAL____.d.ts +25 -0
  188. package/lib-esm/lib/typeorm/driver/react-native/ReactNativeQueryRunner____ORIGINAL____.d.ts +29 -0
  189. package/lib-esm/lib/typeorm/driver/sap/SapDriver____ORIGINAL____.d.ts +217 -0
  190. package/lib-esm/lib/typeorm/driver/sqlite/SqliteConnectionOptions____ORIGINAL____.d.ts +48 -0
  191. package/lib-esm/lib/typeorm/driver/sqlite/SqliteDriver____ORIGINAL____.d.ts +59 -0
  192. package/lib-esm/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver____ORIGINAL____.d.ts +237 -0
  193. package/lib-esm/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner____ORIGINAL____.d.ts +301 -0
  194. package/lib-esm/lib/typeorm/driver/sqljs/SqljsDriver____ORIGINAL____.d.ts +63 -0
  195. package/lib-esm/lib/typeorm/driver/sqljs/SqljsQueryRunner____ORIGINAL____.d.ts +35 -0
  196. package/lib-esm/lib/typeorm/driver/sqlserver/MssqlParameter____ORIGINAL____.d.ts +44 -0
  197. package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerConnectionCredentialsOptions____ORIGINAL____.d.ts +49 -0
  198. package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerConnectionOptions____ORIGINAL____.d.ts +237 -0
  199. package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerDriver____ORIGINAL____.d.ts +253 -0
  200. package/lib-esm/lib/typeorm/driver/sqlserver/SqlServerQueryRunner____ORIGINAL____.d.ts +356 -0
  201. package/lib-esm/lib/typeorm/entity-manager/EntityManagerFactory____ORIGINAL____.d.ts +12 -0
  202. package/lib-esm/lib/typeorm/entity-manager/EntityManager____ORIGINAL____.d.ts +361 -0
  203. package/lib-esm/lib/typeorm/entity-manager/MongoEntityManager____ORIGINAL____.d.ts +300 -0
  204. package/lib-esm/lib/typeorm/entity-manager/SqljsEntityManager____ORIGINAL____.d.ts +26 -0
  205. package/lib-esm/lib/typeorm/error/index____ORIGINAL____.d.ts +62 -0
  206. package/lib-esm/lib/typeorm/find-options/FindOptionsOrder____ORIGINAL____.d.ts +18 -0
  207. package/lib-esm/lib/typeorm/find-options/FindOptionsRelations____ORIGINAL____.d.ts +18 -0
  208. package/lib-esm/lib/typeorm/find-options/FindOptionsSelect____ORIGINAL____.d.ts +18 -0
  209. package/lib-esm/lib/typeorm/find-options/FindOptionsWhere____ORIGINAL____.d.ts +13 -0
  210. package/lib-esm/lib/typeorm/find-options/operator/Any____ORIGINAL____.d.ts +6 -0
  211. package/lib-esm/lib/typeorm/find-options/operator/ArrayContainedBy____ORIGINAL____.d.ts +6 -0
  212. package/lib-esm/lib/typeorm/find-options/operator/ArrayContains____ORIGINAL____.d.ts +6 -0
  213. package/lib-esm/lib/typeorm/find-options/operator/ArrayOverlap____ORIGINAL____.d.ts +6 -0
  214. package/lib-esm/lib/typeorm/find-options/operator/In____ORIGINAL____.d.ts +6 -0
  215. package/lib-esm/lib/typeorm/globals____ORIGINAL____.d.ts +118 -0
  216. package/lib-esm/lib/typeorm/index____ORIGINAL____.d.ts +173 -0
  217. package/lib-esm/lib/typeorm/logger/FileLogger____ORIGINAL____.d.ts +46 -0
  218. package/lib-esm/lib/typeorm/logger/LoggerFactory____ORIGINAL____.d.ts +11 -0
  219. package/lib-esm/lib/typeorm/metadata/ColumnMetadata____ORIGINAL____.d.ts +315 -0
  220. package/lib-esm/lib/typeorm/metadata-args/JoinTableMetadataArgs____ORIGINAL____.d.ts +43 -0
  221. package/lib-esm/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder____ORIGINAL____.d.ts +26 -0
  222. package/lib-esm/lib/typeorm/migration/MigrationExecutor____ORIGINAL____.d.ts +99 -0
  223. package/lib-esm/lib/typeorm/migration/MigrationInterface____ORIGINAL____.d.ts +25 -0
  224. package/lib-esm/lib/typeorm/migration/Migration____ORIGINAL____.d.ts +28 -0
  225. package/lib-esm/lib/typeorm/naming-strategy/NamingStrategyInterface____ORIGINAL____.d.ts +117 -0
  226. package/lib-esm/lib/typeorm/persistence/EntityPersistExecutor____ORIGINAL____.d.ts +21 -0
  227. package/lib-esm/lib/typeorm/persistence/SubjectChangedColumnsComputer____ORIGINAL____.d.ts +18 -0
  228. package/lib-esm/lib/typeorm/persistence/SubjectDatabaseEntityLoader____ORIGINAL____.d.ts +35 -0
  229. package/lib-esm/lib/typeorm/persistence/SubjectExecutor____ORIGINAL____.d.ts +118 -0
  230. package/lib-esm/lib/typeorm/persistence/Subject____ORIGINAL____.d.ts +155 -0
  231. package/lib-esm/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor____ORIGINAL____.d.ts +19 -0
  232. package/lib-esm/lib/typeorm/platform/PlatformTools____ORIGINAL____.d.ts +67 -0
  233. package/lib-esm/lib/typeorm/query-builder/DeleteQueryBuilder____ORIGINAL____.d.ts +91 -0
  234. package/lib-esm/lib/typeorm/query-builder/InsertOrUpdateOptions____ORIGINAL____.d.ts +10 -0
  235. package/lib-esm/lib/typeorm/query-builder/InsertQueryBuilder____ORIGINAL____.d.ts +117 -0
  236. package/lib-esm/lib/typeorm/query-builder/QueryBuilder____ORIGINAL____.d.ts +266 -0
  237. package/lib-esm/lib/typeorm/query-builder/QueryExpressionMap____ORIGINAL____.d.ts +306 -0
  238. package/lib-esm/lib/typeorm/query-builder/RelationLoader____ORIGINAL____.d.ts +59 -0
  239. package/lib-esm/lib/typeorm/query-builder/RelationQueryBuilder____ORIGINAL____.d.ts +69 -0
  240. package/lib-esm/lib/typeorm/query-builder/SelectQueryBuilder____ORIGINAL____.d.ts +685 -0
  241. package/lib-esm/lib/typeorm/query-builder/SoftDeleteQueryBuilder____ORIGINAL____.d.ts +138 -0
  242. package/lib-esm/lib/typeorm/query-builder/UpdateQueryBuilder____ORIGINAL____.d.ts +143 -0
  243. package/lib-esm/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer____ORIGINAL____.d.ts +55 -0
  244. package/lib-esm/lib/typeorm/query-runner/BaseQueryRunner____ORIGINAL____.d.ts +203 -0
  245. package/lib-esm/lib/typeorm/query-runner/QueryRunner____ORIGINAL____.d.ts +359 -0
  246. package/lib-esm/lib/typeorm/repository/MongoRepository____ORIGINAL____.d.ts +262 -0
  247. package/lib-esm/lib/typeorm/repository/Repository____ORIGINAL____.d.ts +295 -0
  248. package/lib-esm/lib/typeorm/repository/TreeRepository____ORIGINAL____.d.ts +51 -0
  249. package/lib-esm/lib/typeorm/repository/UpsertOptions____ORIGINAL____.d.ts +13 -0
  250. package/lib-esm/lib/typeorm/schema-builder/RdbmsSchemaBuilder____ORIGINAL____.d.ts +148 -0
  251. package/lib-esm/lib/typeorm/schema-builder/util/TableUtils____ORIGINAL____.d.ts +6 -0
  252. package/lib-esm/lib/typeorm/schema-builder/view/View____ORIGINAL____.d.ts +49 -0
  253. package/lib-esm/lib/typeorm/util/DateUtils____ORIGINAL____.d.ts +58 -0
  254. package/lib-esm/lib/typeorm/util/DirectoryExportedClassesLoader____ORIGINAL____.d.ts +9 -0
  255. package/lib-esm/lib/typeorm/util/ImportUtils____ORIGINAL____.d.ts +1 -0
  256. package/lib-esm/lib/typeorm/util/InstanceChecker____ORIGINAL____.d.ts +63 -0
  257. package/lib-esm/lib/typeorm/util/ObjectUtils____ORIGINAL____.d.ts +37 -0
  258. package/lib-esm/lib/typeorm/util/OrmUtils____ORIGINAL____.d.ts +52 -0
  259. package/lib-esm/lib/typeorm/util/PathUtils____ORIGINAL____.d.ts +10 -0
  260. package/lib-esm/lib/typeorm/util/StringUtils____ORIGINAL____.d.ts +63 -0
  261. package/lib-esm/lib/typeorm/util/TreeRepositoryUtils____ORIGINAL____.d.ts +23 -0
  262. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  263. package/lib-prod/build-info._auto-generated_.js +1 -1
  264. package/lib-prod/package.json +1 -1
  265. package/package.json +1 -1
  266. package/websql/package.json +1 -1
  267. 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,6 @@
1
+ import { FindOperator } from "../FindOperator";
2
+ /**
3
+ * Find Options Operator.
4
+ * Example: { someField: Any([...]) }
5
+ */
6
+ export declare function Any<T>(value: readonly T[] | FindOperator<T>): FindOperator<T>;
@@ -0,0 +1,6 @@
1
+ import { FindOperator } from "../FindOperator";
2
+ /**
3
+ * FindOptions Operator.
4
+ * Example: { someField: ArrayContainedBy([...]) }
5
+ */
6
+ export declare function ArrayContainedBy<T>(value: readonly T[] | FindOperator<T>): FindOperator<any>;
@@ -0,0 +1,6 @@
1
+ import { FindOperator } from "../FindOperator";
2
+ /**
3
+ * FindOptions Operator.
4
+ * Example: { someField: ArrayContains([...]) }
5
+ */
6
+ export declare function ArrayContains<T>(value: readonly T[] | FindOperator<T>): FindOperator<any>;
@@ -0,0 +1,6 @@
1
+ import { FindOperator } from "../FindOperator";
2
+ /**
3
+ * FindOptions Operator.
4
+ * Example: { someField: ArrayOverlap([...]) }
5
+ */
6
+ export declare function ArrayOverlap<T>(value: readonly T[] | FindOperator<T>): FindOperator<any>;
@@ -0,0 +1,6 @@
1
+ import { FindOperator } from "../FindOperator";
2
+ /**
3
+ * Find Options Operator.
4
+ * Example: { someField: In([...]) }
5
+ */
6
+ export declare function In<T>(value: readonly T[] | FindOperator<T>): FindOperator<any>;
@@ -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
+ }