taon-typeorm 19.0.49 → 21.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (827) hide show
  1. package/browser/fesm2022/taon-typeorm.mjs.map +1 -1
  2. package/browser/package.json +1 -1
  3. package/browser/types/taon-typeorm.d.ts +12402 -0
  4. package/lib/build-info._auto-generated_.d.ts +1 -1
  5. package/lib/build-info._auto-generated_.js +1 -1
  6. package/lib/build-info._auto-generated_.js.map +1 -1
  7. package/lib/typeorm/query-builder/DeleteQueryBuilder.js +5 -1
  8. package/lib/typeorm/query-builder/DeleteQueryBuilder.js.map +1 -1
  9. package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js +5 -1
  10. package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js.map +1 -1
  11. package/lib/typeorm/query-builder/UpdateQueryBuilder.js +5 -1
  12. package/lib/typeorm/query-builder/UpdateQueryBuilder.js.map +1 -1
  13. package/package.json +2 -2
  14. package/websql/fesm2022/taon-typeorm.mjs.map +1 -1
  15. package/websql/package.json +1 -1
  16. package/websql/types/taon-typeorm.d.ts +12402 -0
  17. package/browser/index.d.ts +0 -6
  18. package/browser/lib/index.d.ts +0 -2
  19. package/browser/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
  20. package/browser/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
  21. package/browser/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
  22. package/browser/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
  23. package/browser/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
  24. package/browser/lib/typeorm/common/DeepPartial.d.ts +0 -7
  25. package/browser/lib/typeorm/common/EntityTarget.d.ts +0 -10
  26. package/browser/lib/typeorm/common/MixedList.d.ts +0 -9
  27. package/browser/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
  28. package/browser/lib/typeorm/common/ObjectType.d.ts +0 -7
  29. package/browser/lib/typeorm/common/RelationType.d.ts +0 -15
  30. package/browser/lib/typeorm/connection/Connection.d.ts +0 -11
  31. package/browser/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
  32. package/browser/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
  33. package/browser/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
  34. package/browser/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
  35. package/browser/lib/typeorm/constants.d.ts +0 -2
  36. package/browser/lib/typeorm/container.d.ts +0 -40
  37. package/browser/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
  38. package/browser/lib/typeorm/data-source/DataSource.d.ts +0 -247
  39. package/browser/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
  40. package/browser/lib/typeorm/data-source/index.d.ts +0 -3
  41. package/browser/lib/typeorm/decorator/Check.d.ts +0 -13
  42. package/browser/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
  43. package/browser/lib/typeorm/decorator/Exclusion.d.ts +0 -13
  44. package/browser/lib/typeorm/decorator/Generated.d.ts +0 -11
  45. package/browser/lib/typeorm/decorator/Index.d.ts +0 -50
  46. package/browser/lib/typeorm/decorator/Unique.d.ts +0 -22
  47. package/browser/lib/typeorm/decorator/columns/Column.d.ts +0 -75
  48. package/browser/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
  49. package/browser/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
  50. package/browser/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
  51. package/browser/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
  52. package/browser/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
  53. package/browser/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
  54. package/browser/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
  55. package/browser/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
  56. package/browser/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
  57. package/browser/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
  58. package/browser/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
  59. package/browser/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
  60. package/browser/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
  61. package/browser/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
  62. package/browser/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
  63. package/browser/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
  64. package/browser/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
  65. package/browser/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
  66. package/browser/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
  67. package/browser/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
  68. package/browser/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
  69. package/browser/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
  70. package/browser/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
  71. package/browser/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
  72. package/browser/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
  73. package/browser/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
  74. package/browser/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
  75. package/browser/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
  76. package/browser/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
  77. package/browser/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
  78. package/browser/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
  79. package/browser/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
  80. package/browser/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
  81. package/browser/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
  82. package/browser/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
  83. package/browser/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
  84. package/browser/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
  85. package/browser/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
  86. package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
  87. package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
  88. package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
  89. package/browser/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
  90. package/browser/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
  91. package/browser/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
  92. package/browser/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
  93. package/browser/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
  94. package/browser/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
  95. package/browser/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
  96. package/browser/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
  97. package/browser/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
  98. package/browser/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
  99. package/browser/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
  100. package/browser/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
  101. package/browser/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
  102. package/browser/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
  103. package/browser/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
  104. package/browser/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
  105. package/browser/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
  106. package/browser/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
  107. package/browser/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
  108. package/browser/lib/typeorm/driver/Driver.d.ts +0 -208
  109. package/browser/lib/typeorm/driver/DriverFactory.d.ts +0 -12
  110. package/browser/lib/typeorm/driver/DriverUtils.d.ts +0 -62
  111. package/browser/lib/typeorm/driver/Query.d.ts +0 -10
  112. package/browser/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
  113. package/browser/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
  114. package/browser/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
  115. package/browser/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
  116. package/browser/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
  117. package/browser/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
  118. package/browser/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
  119. package/browser/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
  120. package/browser/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
  121. package/browser/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
  122. package/browser/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
  123. package/browser/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
  124. package/browser/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
  125. package/browser/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
  126. package/browser/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
  127. package/browser/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
  128. package/browser/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
  129. package/browser/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
  130. package/browser/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
  131. package/browser/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
  132. package/browser/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
  133. package/browser/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
  134. package/browser/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
  135. package/browser/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
  136. package/browser/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
  137. package/browser/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
  138. package/browser/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
  139. package/browser/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
  140. package/browser/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
  141. package/browser/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
  142. package/browser/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
  143. package/browser/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
  144. package/browser/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
  145. package/browser/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
  146. package/browser/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
  147. package/browser/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
  148. package/browser/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
  149. package/browser/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
  150. package/browser/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
  151. package/browser/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
  152. package/browser/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
  153. package/browser/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
  154. package/browser/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
  155. package/browser/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
  156. package/browser/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
  157. package/browser/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
  158. package/browser/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
  159. package/browser/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
  160. package/browser/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
  161. package/browser/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
  162. package/browser/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
  163. package/browser/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
  164. package/browser/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
  165. package/browser/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
  166. package/browser/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
  167. package/browser/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
  168. package/browser/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
  169. package/browser/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
  170. package/browser/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
  171. package/browser/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
  172. package/browser/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
  173. package/browser/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
  174. package/browser/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
  175. package/browser/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
  176. package/browser/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
  177. package/browser/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
  178. package/browser/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
  179. package/browser/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
  180. package/browser/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
  181. package/browser/lib/typeorm/error/MissingDriverError.d.ts +0 -8
  182. package/browser/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
  183. package/browser/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
  184. package/browser/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
  185. package/browser/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
  186. package/browser/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
  187. package/browser/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
  188. package/browser/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
  189. package/browser/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
  190. package/browser/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
  191. package/browser/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
  192. package/browser/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
  193. package/browser/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
  194. package/browser/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
  195. package/browser/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
  196. package/browser/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
  197. package/browser/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
  198. package/browser/lib/typeorm/error/QueryFailedError.d.ts +0 -11
  199. package/browser/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
  200. package/browser/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
  201. package/browser/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
  202. package/browser/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
  203. package/browser/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
  204. package/browser/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
  205. package/browser/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
  206. package/browser/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
  207. package/browser/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
  208. package/browser/lib/typeorm/error/TypeORMError.d.ts +0 -5
  209. package/browser/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
  210. package/browser/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
  211. package/browser/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
  212. package/browser/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
  213. package/browser/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
  214. package/browser/lib/typeorm/error/index.d.ts +0 -62
  215. package/browser/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
  216. package/browser/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
  217. package/browser/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
  218. package/browser/lib/typeorm/find-options/FindOperator.d.ts +0 -66
  219. package/browser/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
  220. package/browser/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
  221. package/browser/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
  222. package/browser/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
  223. package/browser/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
  224. package/browser/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
  225. package/browser/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
  226. package/browser/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
  227. package/browser/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
  228. package/browser/lib/typeorm/find-options/operator/Any.d.ts +0 -7
  229. package/browser/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
  230. package/browser/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
  231. package/browser/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
  232. package/browser/lib/typeorm/find-options/operator/Between.d.ts +0 -7
  233. package/browser/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
  234. package/browser/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
  235. package/browser/lib/typeorm/find-options/operator/In.d.ts +0 -7
  236. package/browser/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
  237. package/browser/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
  238. package/browser/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
  239. package/browser/lib/typeorm/find-options/operator/Like.d.ts +0 -7
  240. package/browser/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
  241. package/browser/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
  242. package/browser/lib/typeorm/find-options/operator/Not.d.ts +0 -8
  243. package/browser/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
  244. package/browser/lib/typeorm/globals.d.ts +0 -104
  245. package/browser/lib/typeorm/index.d.ts +0 -168
  246. package/browser/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
  247. package/browser/lib/typeorm/logger/DebugLogger.d.ts +0 -41
  248. package/browser/lib/typeorm/logger/Logger.d.ts +0 -32
  249. package/browser/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
  250. package/browser/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
  251. package/browser/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
  252. package/browser/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
  253. package/browser/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
  254. package/browser/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
  255. package/browser/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
  256. package/browser/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
  257. package/browser/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
  258. package/browser/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
  259. package/browser/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
  260. package/browser/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
  261. package/browser/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
  262. package/browser/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
  263. package/browser/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
  264. package/browser/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
  265. package/browser/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
  266. package/browser/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
  267. package/browser/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
  268. package/browser/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
  269. package/browser/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
  270. package/browser/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
  271. package/browser/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
  272. package/browser/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
  273. package/browser/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
  274. package/browser/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
  275. package/browser/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
  276. package/browser/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
  277. package/browser/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
  278. package/browser/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
  279. package/browser/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
  280. package/browser/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
  281. package/browser/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
  282. package/browser/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
  283. package/browser/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
  284. package/browser/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
  285. package/browser/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
  286. package/browser/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
  287. package/browser/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
  288. package/browser/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
  289. package/browser/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
  290. package/browser/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
  291. package/browser/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
  292. package/browser/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
  293. package/browser/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
  294. package/browser/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
  295. package/browser/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
  296. package/browser/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
  297. package/browser/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
  298. package/browser/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
  299. package/browser/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
  300. package/browser/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
  301. package/browser/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
  302. package/browser/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
  303. package/browser/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
  304. package/browser/lib/typeorm/migration/Migration.d.ts +0 -25
  305. package/browser/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
  306. package/browser/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
  307. package/browser/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
  308. package/browser/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
  309. package/browser/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
  310. package/browser/lib/typeorm/persistence/Subject.d.ts +0 -156
  311. package/browser/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
  312. package/browser/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
  313. package/browser/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
  314. package/browser/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
  315. package/browser/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
  316. package/browser/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
  317. package/browser/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
  318. package/browser/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
  319. package/browser/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
  320. package/browser/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
  321. package/browser/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
  322. package/browser/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
  323. package/browser/lib/typeorm/platform/PlatformTools.d.ts +0 -65
  324. package/browser/lib/typeorm/query-builder/Alias.d.ts +0 -23
  325. package/browser/lib/typeorm/query-builder/Brackets.d.ts +0 -17
  326. package/browser/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
  327. package/browser/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
  328. package/browser/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
  329. package/browser/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
  330. package/browser/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
  331. package/browser/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
  332. package/browser/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
  333. package/browser/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
  334. package/browser/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
  335. package/browser/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
  336. package/browser/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
  337. package/browser/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
  338. package/browser/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
  339. package/browser/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
  340. package/browser/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
  341. package/browser/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
  342. package/browser/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
  343. package/browser/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
  344. package/browser/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
  345. package/browser/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
  346. package/browser/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
  347. package/browser/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
  348. package/browser/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
  349. package/browser/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
  350. package/browser/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
  351. package/browser/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
  352. package/browser/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
  353. package/browser/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
  354. package/browser/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
  355. package/browser/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
  356. package/browser/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
  357. package/browser/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
  358. package/browser/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
  359. package/browser/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
  360. package/browser/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
  361. package/browser/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
  362. package/browser/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
  363. package/browser/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
  364. package/browser/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
  365. package/browser/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
  366. package/browser/lib/typeorm/relation-path.d.ts +0 -7
  367. package/browser/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
  368. package/browser/lib/typeorm/repository/BaseEntity.d.ts +0 -298
  369. package/browser/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
  370. package/browser/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
  371. package/browser/lib/typeorm/repository/Repository.d.ts +0 -292
  372. package/browser/lib/typeorm/repository/SaveOptions.d.ts +0 -36
  373. package/browser/lib/typeorm/repository/TreeRepository.d.ts +0 -56
  374. package/browser/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
  375. package/browser/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
  376. package/browser/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
  377. package/browser/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
  378. package/browser/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
  379. package/browser/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
  380. package/browser/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
  381. package/browser/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
  382. package/browser/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
  383. package/browser/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
  384. package/browser/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
  385. package/browser/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
  386. package/browser/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
  387. package/browser/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
  388. package/browser/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
  389. package/browser/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
  390. package/browser/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
  391. package/browser/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
  392. package/browser/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
  393. package/browser/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
  394. package/browser/lib/typeorm/schema-builder/view/View.d.ts +0 -38
  395. package/browser/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
  396. package/browser/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
  397. package/browser/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
  398. package/browser/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
  399. package/browser/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
  400. package/browser/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
  401. package/browser/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
  402. package/browser/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
  403. package/browser/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
  404. package/browser/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
  405. package/browser/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
  406. package/browser/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
  407. package/browser/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
  408. package/browser/lib/typeorm/util/DateUtils.d.ts +0 -59
  409. package/browser/lib/typeorm/util/DepGraph.d.ts +0 -65
  410. package/browser/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
  411. package/browser/lib/typeorm/util/ImportUtils.d.ts +0 -2
  412. package/browser/lib/typeorm/util/InstanceChecker.d.ts +0 -60
  413. package/browser/lib/typeorm/util/ObjectUtils.d.ts +0 -38
  414. package/browser/lib/typeorm/util/OrmUtils.d.ts +0 -53
  415. package/browser/lib/typeorm/util/PathUtils.d.ts +0 -11
  416. package/browser/lib/typeorm/util/RandomGenerator.d.ts +0 -16
  417. package/browser/lib/typeorm/util/StringUtils.d.ts +0 -64
  418. package/browser/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
  419. package/browser/lib/typeorm/util/VersionUtils.d.ts +0 -5
  420. package/browser/lib/typeorm/util/escapeRegExp.d.ts +0 -2
  421. package/browser/public-api.d.ts +0 -2
  422. package/tmp-environment.json +0 -39
  423. package/websql/index.d.ts +0 -6
  424. package/websql/lib/index.d.ts +0 -2
  425. package/websql/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
  426. package/websql/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
  427. package/websql/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
  428. package/websql/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
  429. package/websql/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
  430. package/websql/lib/typeorm/common/DeepPartial.d.ts +0 -7
  431. package/websql/lib/typeorm/common/EntityTarget.d.ts +0 -10
  432. package/websql/lib/typeorm/common/MixedList.d.ts +0 -9
  433. package/websql/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
  434. package/websql/lib/typeorm/common/ObjectType.d.ts +0 -7
  435. package/websql/lib/typeorm/common/RelationType.d.ts +0 -15
  436. package/websql/lib/typeorm/connection/Connection.d.ts +0 -11
  437. package/websql/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
  438. package/websql/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
  439. package/websql/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
  440. package/websql/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
  441. package/websql/lib/typeorm/constants.d.ts +0 -2
  442. package/websql/lib/typeorm/container.d.ts +0 -40
  443. package/websql/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
  444. package/websql/lib/typeorm/data-source/DataSource.d.ts +0 -247
  445. package/websql/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
  446. package/websql/lib/typeorm/data-source/index.d.ts +0 -3
  447. package/websql/lib/typeorm/decorator/Check.d.ts +0 -13
  448. package/websql/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
  449. package/websql/lib/typeorm/decorator/Exclusion.d.ts +0 -13
  450. package/websql/lib/typeorm/decorator/Generated.d.ts +0 -11
  451. package/websql/lib/typeorm/decorator/Index.d.ts +0 -50
  452. package/websql/lib/typeorm/decorator/Unique.d.ts +0 -22
  453. package/websql/lib/typeorm/decorator/columns/Column.d.ts +0 -75
  454. package/websql/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
  455. package/websql/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
  456. package/websql/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
  457. package/websql/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
  458. package/websql/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
  459. package/websql/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
  460. package/websql/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
  461. package/websql/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
  462. package/websql/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
  463. package/websql/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
  464. package/websql/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
  465. package/websql/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
  466. package/websql/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
  467. package/websql/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
  468. package/websql/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
  469. package/websql/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
  470. package/websql/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
  471. package/websql/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
  472. package/websql/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
  473. package/websql/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
  474. package/websql/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
  475. package/websql/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
  476. package/websql/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
  477. package/websql/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
  478. package/websql/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
  479. package/websql/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
  480. package/websql/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
  481. package/websql/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
  482. package/websql/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
  483. package/websql/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
  484. package/websql/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
  485. package/websql/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
  486. package/websql/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
  487. package/websql/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
  488. package/websql/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
  489. package/websql/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
  490. package/websql/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
  491. package/websql/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
  492. package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
  493. package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
  494. package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
  495. package/websql/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
  496. package/websql/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
  497. package/websql/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
  498. package/websql/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
  499. package/websql/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
  500. package/websql/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
  501. package/websql/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
  502. package/websql/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
  503. package/websql/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
  504. package/websql/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
  505. package/websql/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
  506. package/websql/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
  507. package/websql/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
  508. package/websql/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
  509. package/websql/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
  510. package/websql/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
  511. package/websql/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
  512. package/websql/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
  513. package/websql/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
  514. package/websql/lib/typeorm/driver/Driver.d.ts +0 -208
  515. package/websql/lib/typeorm/driver/DriverFactory.d.ts +0 -12
  516. package/websql/lib/typeorm/driver/DriverUtils.d.ts +0 -62
  517. package/websql/lib/typeorm/driver/Query.d.ts +0 -10
  518. package/websql/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
  519. package/websql/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
  520. package/websql/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
  521. package/websql/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
  522. package/websql/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
  523. package/websql/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
  524. package/websql/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
  525. package/websql/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
  526. package/websql/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
  527. package/websql/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
  528. package/websql/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
  529. package/websql/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
  530. package/websql/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
  531. package/websql/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
  532. package/websql/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
  533. package/websql/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
  534. package/websql/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
  535. package/websql/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
  536. package/websql/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
  537. package/websql/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
  538. package/websql/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
  539. package/websql/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
  540. package/websql/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
  541. package/websql/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
  542. package/websql/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
  543. package/websql/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
  544. package/websql/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
  545. package/websql/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
  546. package/websql/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
  547. package/websql/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
  548. package/websql/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
  549. package/websql/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
  550. package/websql/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
  551. package/websql/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
  552. package/websql/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
  553. package/websql/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
  554. package/websql/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
  555. package/websql/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
  556. package/websql/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
  557. package/websql/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
  558. package/websql/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
  559. package/websql/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
  560. package/websql/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
  561. package/websql/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
  562. package/websql/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
  563. package/websql/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
  564. package/websql/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
  565. package/websql/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
  566. package/websql/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
  567. package/websql/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
  568. package/websql/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
  569. package/websql/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
  570. package/websql/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
  571. package/websql/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
  572. package/websql/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
  573. package/websql/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
  574. package/websql/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
  575. package/websql/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
  576. package/websql/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
  577. package/websql/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
  578. package/websql/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
  579. package/websql/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
  580. package/websql/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
  581. package/websql/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
  582. package/websql/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
  583. package/websql/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
  584. package/websql/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
  585. package/websql/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
  586. package/websql/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
  587. package/websql/lib/typeorm/error/MissingDriverError.d.ts +0 -8
  588. package/websql/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
  589. package/websql/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
  590. package/websql/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
  591. package/websql/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
  592. package/websql/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
  593. package/websql/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
  594. package/websql/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
  595. package/websql/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
  596. package/websql/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
  597. package/websql/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
  598. package/websql/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
  599. package/websql/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
  600. package/websql/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
  601. package/websql/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
  602. package/websql/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
  603. package/websql/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
  604. package/websql/lib/typeorm/error/QueryFailedError.d.ts +0 -11
  605. package/websql/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
  606. package/websql/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
  607. package/websql/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
  608. package/websql/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
  609. package/websql/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
  610. package/websql/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
  611. package/websql/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
  612. package/websql/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
  613. package/websql/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
  614. package/websql/lib/typeorm/error/TypeORMError.d.ts +0 -5
  615. package/websql/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
  616. package/websql/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
  617. package/websql/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
  618. package/websql/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
  619. package/websql/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
  620. package/websql/lib/typeorm/error/index.d.ts +0 -62
  621. package/websql/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
  622. package/websql/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
  623. package/websql/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
  624. package/websql/lib/typeorm/find-options/FindOperator.d.ts +0 -66
  625. package/websql/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
  626. package/websql/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
  627. package/websql/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
  628. package/websql/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
  629. package/websql/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
  630. package/websql/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
  631. package/websql/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
  632. package/websql/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
  633. package/websql/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
  634. package/websql/lib/typeorm/find-options/operator/Any.d.ts +0 -7
  635. package/websql/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
  636. package/websql/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
  637. package/websql/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
  638. package/websql/lib/typeorm/find-options/operator/Between.d.ts +0 -7
  639. package/websql/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
  640. package/websql/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
  641. package/websql/lib/typeorm/find-options/operator/In.d.ts +0 -7
  642. package/websql/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
  643. package/websql/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
  644. package/websql/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
  645. package/websql/lib/typeorm/find-options/operator/Like.d.ts +0 -7
  646. package/websql/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
  647. package/websql/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
  648. package/websql/lib/typeorm/find-options/operator/Not.d.ts +0 -8
  649. package/websql/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
  650. package/websql/lib/typeorm/globals.d.ts +0 -104
  651. package/websql/lib/typeorm/index.d.ts +0 -168
  652. package/websql/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
  653. package/websql/lib/typeorm/logger/DebugLogger.d.ts +0 -41
  654. package/websql/lib/typeorm/logger/Logger.d.ts +0 -32
  655. package/websql/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
  656. package/websql/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
  657. package/websql/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
  658. package/websql/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
  659. package/websql/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
  660. package/websql/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
  661. package/websql/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
  662. package/websql/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
  663. package/websql/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
  664. package/websql/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
  665. package/websql/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
  666. package/websql/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
  667. package/websql/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
  668. package/websql/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
  669. package/websql/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
  670. package/websql/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
  671. package/websql/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
  672. package/websql/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
  673. package/websql/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
  674. package/websql/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
  675. package/websql/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
  676. package/websql/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
  677. package/websql/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
  678. package/websql/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
  679. package/websql/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
  680. package/websql/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
  681. package/websql/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
  682. package/websql/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
  683. package/websql/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
  684. package/websql/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
  685. package/websql/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
  686. package/websql/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
  687. package/websql/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
  688. package/websql/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
  689. package/websql/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
  690. package/websql/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
  691. package/websql/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
  692. package/websql/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
  693. package/websql/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
  694. package/websql/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
  695. package/websql/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
  696. package/websql/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
  697. package/websql/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
  698. package/websql/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
  699. package/websql/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
  700. package/websql/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
  701. package/websql/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
  702. package/websql/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
  703. package/websql/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
  704. package/websql/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
  705. package/websql/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
  706. package/websql/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
  707. package/websql/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
  708. package/websql/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
  709. package/websql/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
  710. package/websql/lib/typeorm/migration/Migration.d.ts +0 -25
  711. package/websql/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
  712. package/websql/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
  713. package/websql/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
  714. package/websql/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
  715. package/websql/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
  716. package/websql/lib/typeorm/persistence/Subject.d.ts +0 -156
  717. package/websql/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
  718. package/websql/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
  719. package/websql/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
  720. package/websql/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
  721. package/websql/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
  722. package/websql/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
  723. package/websql/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
  724. package/websql/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
  725. package/websql/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
  726. package/websql/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
  727. package/websql/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
  728. package/websql/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
  729. package/websql/lib/typeorm/platform/PlatformTools.d.ts +0 -65
  730. package/websql/lib/typeorm/query-builder/Alias.d.ts +0 -23
  731. package/websql/lib/typeorm/query-builder/Brackets.d.ts +0 -17
  732. package/websql/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
  733. package/websql/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
  734. package/websql/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
  735. package/websql/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
  736. package/websql/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
  737. package/websql/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
  738. package/websql/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
  739. package/websql/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
  740. package/websql/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
  741. package/websql/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
  742. package/websql/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
  743. package/websql/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
  744. package/websql/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
  745. package/websql/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
  746. package/websql/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
  747. package/websql/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
  748. package/websql/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
  749. package/websql/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
  750. package/websql/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
  751. package/websql/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
  752. package/websql/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
  753. package/websql/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
  754. package/websql/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
  755. package/websql/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
  756. package/websql/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
  757. package/websql/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
  758. package/websql/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
  759. package/websql/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
  760. package/websql/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
  761. package/websql/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
  762. package/websql/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
  763. package/websql/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
  764. package/websql/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
  765. package/websql/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
  766. package/websql/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
  767. package/websql/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
  768. package/websql/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
  769. package/websql/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
  770. package/websql/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
  771. package/websql/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
  772. package/websql/lib/typeorm/relation-path.d.ts +0 -7
  773. package/websql/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
  774. package/websql/lib/typeorm/repository/BaseEntity.d.ts +0 -298
  775. package/websql/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
  776. package/websql/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
  777. package/websql/lib/typeorm/repository/Repository.d.ts +0 -292
  778. package/websql/lib/typeorm/repository/SaveOptions.d.ts +0 -36
  779. package/websql/lib/typeorm/repository/TreeRepository.d.ts +0 -56
  780. package/websql/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
  781. package/websql/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
  782. package/websql/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
  783. package/websql/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
  784. package/websql/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
  785. package/websql/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
  786. package/websql/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
  787. package/websql/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
  788. package/websql/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
  789. package/websql/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
  790. package/websql/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
  791. package/websql/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
  792. package/websql/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
  793. package/websql/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
  794. package/websql/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
  795. package/websql/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
  796. package/websql/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
  797. package/websql/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
  798. package/websql/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
  799. package/websql/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
  800. package/websql/lib/typeorm/schema-builder/view/View.d.ts +0 -38
  801. package/websql/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
  802. package/websql/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
  803. package/websql/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
  804. package/websql/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
  805. package/websql/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
  806. package/websql/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
  807. package/websql/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
  808. package/websql/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
  809. package/websql/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
  810. package/websql/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
  811. package/websql/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
  812. package/websql/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
  813. package/websql/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
  814. package/websql/lib/typeorm/util/DateUtils.d.ts +0 -59
  815. package/websql/lib/typeorm/util/DepGraph.d.ts +0 -65
  816. package/websql/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
  817. package/websql/lib/typeorm/util/ImportUtils.d.ts +0 -2
  818. package/websql/lib/typeorm/util/InstanceChecker.d.ts +0 -60
  819. package/websql/lib/typeorm/util/ObjectUtils.d.ts +0 -38
  820. package/websql/lib/typeorm/util/OrmUtils.d.ts +0 -53
  821. package/websql/lib/typeorm/util/PathUtils.d.ts +0 -11
  822. package/websql/lib/typeorm/util/RandomGenerator.d.ts +0 -16
  823. package/websql/lib/typeorm/util/StringUtils.d.ts +0 -64
  824. package/websql/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
  825. package/websql/lib/typeorm/util/VersionUtils.d.ts +0 -5
  826. package/websql/lib/typeorm/util/escapeRegExp.d.ts +0 -2
  827. package/websql/public-api.d.ts +0 -2
@@ -1,298 +0,0 @@
1
- // @ts-nocheck
2
- import { Repository } from "./Repository";
3
- import { FindOptionsWhere } from "../find-options/FindOptionsWhere";
4
- import { DeepPartial } from "../common/DeepPartial";
5
- import { SaveOptions } from "./SaveOptions";
6
- import { FindOneOptions } from "../find-options/FindOneOptions";
7
- import { RemoveOptions } from "./RemoveOptions";
8
- import { FindManyOptions } from "../find-options/FindManyOptions";
9
- import { DataSource } from "../data-source";
10
- import { SelectQueryBuilder } from "../query-builder/SelectQueryBuilder";
11
- import { InsertResult } from "../query-builder/result/InsertResult";
12
- import { UpdateResult } from "../query-builder/result/UpdateResult";
13
- import { DeleteResult } from "../query-builder/result/DeleteResult";
14
- import { ObjectID } from "../driver/mongodb/typings";
15
- import { QueryDeepPartialEntity } from "../query-builder/QueryPartialEntity";
16
- import { UpsertOptions } from "./UpsertOptions";
17
- import { EntityTarget } from "../common/EntityTarget";
18
- /**
19
- * Base abstract entity for all entities, used in ActiveRecord patterns.
20
- */
21
- export declare class BaseEntity {
22
- /**
23
- * DataSource used in all static methods of the BaseEntity.
24
- */
25
- private static dataSource;
26
- /**
27
- * Checks if entity has an id.
28
- * If entity composite compose ids, it will check them all.
29
- */
30
- hasId(): boolean;
31
- /**
32
- * Saves current entity in the database.
33
- * If entity does not exist in the database then inserts, otherwise updates.
34
- */
35
- save(options?: SaveOptions): Promise<this>;
36
- /**
37
- * Removes current entity from the database.
38
- */
39
- remove(options?: RemoveOptions): Promise<this>;
40
- /**
41
- * Records the delete date of current entity.
42
- */
43
- softRemove(options?: SaveOptions): Promise<this>;
44
- /**
45
- * Recovers a given entity in the database.
46
- */
47
- recover(options?: SaveOptions): Promise<this>;
48
- /**
49
- * Reloads entity data from the database.
50
- */
51
- reload(): Promise<void>;
52
- /**
53
- * Sets DataSource to be used by entity.
54
- */
55
- static useDataSource(dataSource: DataSource | null): void;
56
- /**
57
- * Gets current entity's Repository.
58
- */
59
- static getRepository<T extends BaseEntity>(this: {
60
- new (): T;
61
- } & typeof BaseEntity): Repository<T>;
62
- /**
63
- * Returns object that is managed by this repository.
64
- * If this repository manages entity from schema,
65
- * then it returns a name of that schema instead.
66
- */
67
- static get target(): EntityTarget<any>;
68
- /**
69
- * Checks entity has an id.
70
- * If entity composite compose ids, it will check them all.
71
- */
72
- static hasId(entity: BaseEntity): boolean;
73
- /**
74
- * Gets entity mixed id.
75
- */
76
- static getId<T extends BaseEntity>(this: {
77
- new (): T;
78
- } & typeof BaseEntity, entity: T): any;
79
- /**
80
- * Creates a new query builder that can be used to build a SQL query.
81
- */
82
- static createQueryBuilder<T extends BaseEntity>(this: {
83
- new (): T;
84
- } & typeof BaseEntity, alias?: string): SelectQueryBuilder<T>;
85
- /**
86
- * Creates a new entity instance.
87
- */
88
- static create<T extends BaseEntity>(this: {
89
- new (): T;
90
- } & typeof BaseEntity): T;
91
- /**
92
- * Creates a new entities and copies all entity properties from given objects into their new entities.
93
- * Note that it copies only properties that present in entity schema.
94
- */
95
- static create<T extends BaseEntity>(this: {
96
- new (): T;
97
- } & typeof BaseEntity, entityLikeArray: DeepPartial<T>[]): T[];
98
- /**
99
- * Creates a new entity instance and copies all entity properties from this object into a new entity.
100
- * Note that it copies only properties that present in entity schema.
101
- */
102
- static create<T extends BaseEntity>(this: {
103
- new (): T;
104
- } & typeof BaseEntity, entityLike: DeepPartial<T>): T;
105
- /**
106
- * Merges multiple entities (or entity-like objects) into a given entity.
107
- */
108
- static merge<T extends BaseEntity>(this: {
109
- new (): T;
110
- } & typeof BaseEntity, mergeIntoEntity: T, ...entityLikes: DeepPartial<T>[]): T;
111
- /**
112
- * Creates a new entity from the given plain javascript object. If entity already exist in the database, then
113
- * it loads it (and everything related to it), replaces all values with the new ones from the given object
114
- * and returns this new entity. This new entity is actually a loaded from the db entity with all properties
115
- * replaced from the new object.
116
- *
117
- * Note that given entity-like object must have an entity id / primary key to find entity by.
118
- * Returns undefined if entity with given id was not found.
119
- */
120
- static preload<T extends BaseEntity>(this: {
121
- new (): T;
122
- } & typeof BaseEntity, entityLike: DeepPartial<T>): Promise<T | undefined>;
123
- /**
124
- * Saves all given entities in the database.
125
- * If entities do not exist in the database then inserts, otherwise updates.
126
- */
127
- static save<T extends BaseEntity>(this: {
128
- new (): T;
129
- } & typeof BaseEntity, entities: DeepPartial<T>[], options?: SaveOptions): Promise<T[]>;
130
- /**
131
- * Saves a given entity in the database.
132
- * If entity does not exist in the database then inserts, otherwise updates.
133
- */
134
- static save<T extends BaseEntity>(this: {
135
- new (): T;
136
- } & typeof BaseEntity, entity: DeepPartial<T>, options?: SaveOptions): Promise<T>;
137
- /**
138
- * Removes a given entities from the database.
139
- */
140
- static remove<T extends BaseEntity>(this: {
141
- new (): T;
142
- } & typeof BaseEntity, entities: T[], options?: RemoveOptions): Promise<T[]>;
143
- /**
144
- * Removes a given entity from the database.
145
- */
146
- static remove<T extends BaseEntity>(this: {
147
- new (): T;
148
- } & typeof BaseEntity, entity: T, options?: RemoveOptions): Promise<T>;
149
- /**
150
- * Records the delete date of all given entities.
151
- */
152
- static softRemove<T extends BaseEntity>(this: {
153
- new (): T;
154
- } & typeof BaseEntity, entities: T[], options?: SaveOptions): Promise<T[]>;
155
- /**
156
- * Records the delete date of a given entity.
157
- */
158
- static softRemove<T extends BaseEntity>(this: {
159
- new (): T;
160
- } & typeof BaseEntity, entity: T, options?: SaveOptions): Promise<T>;
161
- /**
162
- * Inserts a given entity into the database.
163
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
164
- * Executes fast and efficient INSERT query.
165
- * Does not check if entity exist in the database, so query will fail if duplicate entity is being inserted.
166
- */
167
- static insert<T extends BaseEntity>(this: {
168
- new (): T;
169
- } & typeof BaseEntity, entity: QueryDeepPartialEntity<T> | QueryDeepPartialEntity<T>[]): Promise<InsertResult>;
170
- /**
171
- * Updates entity partially. Entity can be found by a given conditions.
172
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
173
- * Executes fast and efficient UPDATE query.
174
- * Does not check if entity exist in the database.
175
- */
176
- static update<T extends BaseEntity>(this: {
177
- new (): T;
178
- } & typeof BaseEntity, criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | FindOptionsWhere<T>, partialEntity: QueryDeepPartialEntity<T>): Promise<UpdateResult>;
179
- /**
180
- * Inserts a given entity into the database, unless a unique constraint conflicts then updates the entity
181
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
182
- * Executes fast and efficient INSERT ... ON CONFLICT DO UPDATE/ON DUPLICATE KEY UPDATE query.
183
- */
184
- static upsert<T extends BaseEntity>(this: {
185
- new (): T;
186
- } & typeof BaseEntity, entityOrEntities: QueryDeepPartialEntity<T> | QueryDeepPartialEntity<T>[], conflictPathsOrOptions: string[] | UpsertOptions<T>): Promise<InsertResult>;
187
- /**
188
- * Deletes entities by a given criteria.
189
- * Unlike remove method executes a primitive operation without cascades, relations and other operations included.
190
- * Executes fast and efficient DELETE query.
191
- * Does not check if entity exist in the database.
192
- */
193
- static delete<T extends BaseEntity>(this: {
194
- new (): T;
195
- } & typeof BaseEntity, criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | FindOptionsWhere<T>): Promise<DeleteResult>;
196
- /**
197
- * Counts entities that match given options.
198
- */
199
- static count<T extends BaseEntity>(this: {
200
- new (): T;
201
- } & typeof BaseEntity, options?: FindManyOptions<T>): Promise<number>;
202
- /**
203
- * Counts entities that match given WHERE conditions.
204
- */
205
- static countBy<T extends BaseEntity>(this: {
206
- new (): T;
207
- } & typeof BaseEntity, where: FindOptionsWhere<T>): Promise<number>;
208
- /**
209
- * Finds entities that match given options.
210
- */
211
- static find<T extends BaseEntity>(this: {
212
- new (): T;
213
- } & typeof BaseEntity, options?: FindManyOptions<T>): Promise<T[]>;
214
- /**
215
- * Finds entities that match given WHERE conditions.
216
- */
217
- static findBy<T extends BaseEntity>(this: {
218
- new (): T;
219
- } & typeof BaseEntity, where: FindOptionsWhere<T>): Promise<T[]>;
220
- /**
221
- * Finds entities that match given find options.
222
- * Also counts all entities that match given conditions,
223
- * but ignores pagination settings (from and take options).
224
- */
225
- static findAndCount<T extends BaseEntity>(this: {
226
- new (): T;
227
- } & typeof BaseEntity, options?: FindManyOptions<T>): Promise<[T[], number]>;
228
- /**
229
- * Finds entities that match given WHERE conditions.
230
- * Also counts all entities that match given conditions,
231
- * but ignores pagination settings (from and take options).
232
- */
233
- static findAndCountBy<T extends BaseEntity>(this: {
234
- new (): T;
235
- } & typeof BaseEntity, where: FindOptionsWhere<T>): Promise<[T[], number]>;
236
- /**
237
- * Finds entities by ids.
238
- * Optionally find options can be applied.
239
- *
240
- * @deprecated use `findBy` method instead in conjunction with `In` operator, for example:
241
- *
242
- * .findBy({
243
- * id: In([1, 2, 3])
244
- * })
245
- */
246
- static findByIds<T extends BaseEntity>(this: {
247
- new (): T;
248
- } & typeof BaseEntity, ids: any[]): Promise<T[]>;
249
- /**
250
- * Finds first entity that matches given conditions.
251
- */
252
- static findOne<T extends BaseEntity>(this: {
253
- new (): T;
254
- } & typeof BaseEntity, options: FindOneOptions<T>): Promise<T | null>;
255
- /**
256
- * Finds first entity that matches given conditions.
257
- */
258
- static findOneBy<T extends BaseEntity>(this: {
259
- new (): T;
260
- } & typeof BaseEntity, where: FindOptionsWhere<T>): Promise<T | null>;
261
- /**
262
- * Finds first entity that matches given options.
263
- *
264
- * @deprecated use `findOneBy` method instead in conjunction with `In` operator, for example:
265
- *
266
- * .findOneBy({
267
- * id: 1 // where "id" is your primary column name
268
- * })
269
- */
270
- static findOneById<T extends BaseEntity>(this: {
271
- new (): T;
272
- } & typeof BaseEntity, id: string | number | Date | ObjectID): Promise<T | null>;
273
- /**
274
- * Finds first entity that matches given conditions.
275
- */
276
- static findOneOrFail<T extends BaseEntity>(this: {
277
- new (): T;
278
- } & typeof BaseEntity, options: FindOneOptions<T>): Promise<T>;
279
- /**
280
- * Finds first entity that matches given conditions.
281
- */
282
- static findOneByOrFail<T extends BaseEntity>(this: {
283
- new (): T;
284
- } & typeof BaseEntity, where: FindOptionsWhere<T>): Promise<T>;
285
- /**
286
- * Executes a raw SQL query and returns a raw database results.
287
- * Raw query execution is supported only by relational databases (MongoDB is not supported).
288
- */
289
- static query<T extends BaseEntity>(this: {
290
- new (): T;
291
- } & typeof BaseEntity, query: string, parameters?: any[]): Promise<any>;
292
- /**
293
- * Clears all the data from the given table/collection (truncates/drops it).
294
- */
295
- static clear<T extends BaseEntity>(this: {
296
- new (): T;
297
- } & typeof BaseEntity): Promise<void>;
298
- }
@@ -1,10 +0,0 @@
1
- // @ts-nocheck
2
- /**
3
- * Special options passed to TreeRepository#findTrees
4
- */
5
- export interface FindTreesOptions {
6
- /**
7
- * When loading a tree from a TreeRepository, limits the depth of the descendents loaded
8
- */
9
- depth?: number;
10
- }
@@ -1,28 +0,0 @@
1
- // @ts-nocheck
2
- /**
3
- * Special options passed to Repository#remove and Repository#delete methods.
4
- */
5
- export interface RemoveOptions {
6
- /**
7
- * Additional data to be passed with remove method.
8
- * This data can be used in subscribers then.
9
- */
10
- data?: any;
11
- /**
12
- * Indicates if listeners and subscribers are called for this operation.
13
- * By default they are enabled, you can disable them by setting { listeners: false } in save/remove options.
14
- */
15
- listeners?: boolean;
16
- /**
17
- * By default transactions are enabled and all queries in persistence operation are wrapped into the transaction.
18
- * You can disable this behaviour by setting { transaction: false } in the persistence options.
19
- */
20
- transaction?: boolean;
21
- /**
22
- * Breaks save execution into given number of chunks.
23
- * For example, if you want to save 100,000 objects but you have issues with saving them,
24
- * you can break them into 10 groups of 10,000 objects (by setting { chunk: 10000 }) and save each group separately.
25
- * This option is needed to perform very big insertions when you have issues with underlying driver parameter number limitation.
26
- */
27
- chunk?: number;
28
- }
@@ -1,292 +0,0 @@
1
- // @ts-nocheck
2
- import { FindManyOptions } from "../find-options/FindManyOptions";
3
- import { ObjectLiteral } from "../common/ObjectLiteral";
4
- import { FindOneOptions } from "../find-options/FindOneOptions";
5
- import { DeepPartial } from "../common/DeepPartial";
6
- import { SaveOptions } from "./SaveOptions";
7
- import { RemoveOptions } from "./RemoveOptions";
8
- import { EntityManager } from "../entity-manager/EntityManager";
9
- import { QueryRunner } from "../query-runner/QueryRunner";
10
- import { SelectQueryBuilder } from "../query-builder/SelectQueryBuilder";
11
- import { DeleteResult } from "../query-builder/result/DeleteResult";
12
- import { UpdateResult } from "../query-builder/result/UpdateResult";
13
- import { InsertResult } from "../query-builder/result/InsertResult";
14
- import { QueryDeepPartialEntity } from "../query-builder/QueryPartialEntity";
15
- import { ObjectID } from "../driver/mongodb/typings";
16
- import { FindOptionsWhere } from "../find-options/FindOptionsWhere";
17
- import { UpsertOptions } from "./UpsertOptions";
18
- import { EntityTarget } from "../common/EntityTarget";
19
- /**
20
- * Repository is supposed to work with your entity objects. Find entities, insert, update, delete, etc.
21
- */
22
- export declare class Repository<Entity extends ObjectLiteral> {
23
- /**
24
- * Entity target that is managed by this repository.
25
- * If this repository manages entity from schema,
26
- * then it returns a name of that schema instead.
27
- */
28
- readonly target: EntityTarget<Entity>;
29
- /**
30
- * Entity Manager used by this repository.
31
- */
32
- readonly manager: EntityManager;
33
- /**
34
- * Query runner provider used for this repository.
35
- */
36
- readonly queryRunner?: QueryRunner;
37
- /**
38
- * Entity metadata of the entity current repository manages.
39
- */
40
- get metadata(): import("taon-typeorm/browser").EntityMetadata;
41
- constructor(target: EntityTarget<Entity>, manager: EntityManager, queryRunner?: QueryRunner);
42
- /**
43
- * Creates a new query builder that can be used to build a SQL query.
44
- */
45
- createQueryBuilder(alias?: string, queryRunner?: QueryRunner): SelectQueryBuilder<Entity>;
46
- /**
47
- * Checks if entity has an id.
48
- * If entity composite compose ids, it will check them all.
49
- */
50
- hasId(entity: Entity): boolean;
51
- /**
52
- * Gets entity mixed id.
53
- */
54
- getId(entity: Entity): any;
55
- /**
56
- * Creates a new entity instance.
57
- */
58
- create(): Entity;
59
- /**
60
- * Creates new entities and copies all entity properties from given objects into their new entities.
61
- * Note that it copies only properties that are present in entity schema.
62
- */
63
- create(entityLikeArray: DeepPartial<Entity>[]): Entity[];
64
- /**
65
- * Creates a new entity instance and copies all entity properties from this object into a new entity.
66
- * Note that it copies only properties that are present in entity schema.
67
- */
68
- create(entityLike: DeepPartial<Entity>): Entity;
69
- /**
70
- * Merges multiple entities (or entity-like objects) into a given entity.
71
- */
72
- merge(mergeIntoEntity: Entity, ...entityLikes: DeepPartial<Entity>[]): Entity;
73
- /**
74
- * Creates a new entity from the given plain javascript object. If entity already exist in the database, then
75
- * it loads it (and everything related to it), replaces all values with the new ones from the given object
76
- * and returns this new entity. This new entity is actually a loaded from the db entity with all properties
77
- * replaced from the new object.
78
- *
79
- * Note that given entity-like object must have an entity id / primary key to find entity by.
80
- * Returns undefined if entity with given id was not found.
81
- */
82
- preload(entityLike: DeepPartial<Entity>): Promise<Entity | undefined>;
83
- /**
84
- * Saves all given entities in the database.
85
- * If entities do not exist in the database then inserts, otherwise updates.
86
- */
87
- save<T extends DeepPartial<Entity>>(entities: T[], options: SaveOptions & {
88
- reload: false;
89
- }): Promise<T[]>;
90
- /**
91
- * Saves all given entities in the database.
92
- * If entities do not exist in the database then inserts, otherwise updates.
93
- */
94
- save<T extends DeepPartial<Entity>>(entities: T[], options?: SaveOptions): Promise<(T & Entity)[]>;
95
- /**
96
- * Saves a given entity in the database.
97
- * If entity does not exist in the database then inserts, otherwise updates.
98
- */
99
- save<T extends DeepPartial<Entity>>(entity: T, options: SaveOptions & {
100
- reload: false;
101
- }): Promise<T>;
102
- /**
103
- * Saves a given entity in the database.
104
- * If entity does not exist in the database then inserts, otherwise updates.
105
- */
106
- save<T extends DeepPartial<Entity>>(entity: T, options?: SaveOptions): Promise<T & Entity>;
107
- /**
108
- * Removes a given entities from the database.
109
- */
110
- remove(entities: Entity[], options?: RemoveOptions): Promise<Entity[]>;
111
- /**
112
- * Removes a given entity from the database.
113
- */
114
- remove(entity: Entity, options?: RemoveOptions): Promise<Entity>;
115
- /**
116
- * Records the delete date of all given entities.
117
- */
118
- softRemove<T extends DeepPartial<Entity>>(entities: T[], options: SaveOptions & {
119
- reload: false;
120
- }): Promise<T[]>;
121
- /**
122
- * Records the delete date of all given entities.
123
- */
124
- softRemove<T extends DeepPartial<Entity>>(entities: T[], options?: SaveOptions): Promise<(T & Entity)[]>;
125
- /**
126
- * Records the delete date of a given entity.
127
- */
128
- softRemove<T extends DeepPartial<Entity>>(entity: T, options: SaveOptions & {
129
- reload: false;
130
- }): Promise<T>;
131
- /**
132
- * Records the delete date of a given entity.
133
- */
134
- softRemove<T extends DeepPartial<Entity>>(entity: T, options?: SaveOptions): Promise<T & Entity>;
135
- /**
136
- * Recovers all given entities in the database.
137
- */
138
- recover<T extends DeepPartial<Entity>>(entities: T[], options: SaveOptions & {
139
- reload: false;
140
- }): Promise<T[]>;
141
- /**
142
- * Recovers all given entities in the database.
143
- */
144
- recover<T extends DeepPartial<Entity>>(entities: T[], options?: SaveOptions): Promise<(T & Entity)[]>;
145
- /**
146
- * Recovers a given entity in the database.
147
- */
148
- recover<T extends DeepPartial<Entity>>(entity: T, options: SaveOptions & {
149
- reload: false;
150
- }): Promise<T>;
151
- /**
152
- * Recovers a given entity in the database.
153
- */
154
- recover<T extends DeepPartial<Entity>>(entity: T, options?: SaveOptions): Promise<T & Entity>;
155
- /**
156
- * Inserts a given entity into the database.
157
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
158
- * Executes fast and efficient INSERT query.
159
- * Does not check if entity exist in the database, so query will fail if duplicate entity is being inserted.
160
- */
161
- insert(entity: QueryDeepPartialEntity<Entity> | QueryDeepPartialEntity<Entity>[]): Promise<InsertResult>;
162
- /**
163
- * Updates entity partially. Entity can be found by a given conditions.
164
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
165
- * Executes fast and efficient UPDATE query.
166
- * Does not check if entity exist in the database.
167
- */
168
- update(criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | FindOptionsWhere<Entity>, partialEntity: QueryDeepPartialEntity<Entity>): Promise<UpdateResult>;
169
- /**
170
- * Inserts a given entity into the database, unless a unique constraint conflicts then updates the entity
171
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
172
- * Executes fast and efficient INSERT ... ON CONFLICT DO UPDATE/ON DUPLICATE KEY UPDATE query.
173
- */
174
- upsert(entityOrEntities: QueryDeepPartialEntity<Entity> | QueryDeepPartialEntity<Entity>[], conflictPathsOrOptions: string[] | UpsertOptions<Entity>): Promise<InsertResult>;
175
- /**
176
- * Deletes entities by a given criteria.
177
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
178
- * Executes fast and efficient DELETE query.
179
- * Does not check if entity exist in the database.
180
- */
181
- delete(criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | FindOptionsWhere<Entity>): Promise<DeleteResult>;
182
- /**
183
- * Records the delete date of entities by a given criteria.
184
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
185
- * Executes fast and efficient SOFT-DELETE query.
186
- * Does not check if entity exist in the database.
187
- */
188
- softDelete(criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | FindOptionsWhere<Entity>): Promise<UpdateResult>;
189
- /**
190
- * Restores entities by a given criteria.
191
- * Unlike save method executes a primitive operation without cascades, relations and other operations included.
192
- * Executes fast and efficient SOFT-DELETE query.
193
- * Does not check if entity exist in the database.
194
- */
195
- restore(criteria: string | string[] | number | number[] | Date | Date[] | ObjectID | ObjectID[] | FindOptionsWhere<Entity>): Promise<UpdateResult>;
196
- /**
197
- * Counts entities that match given options.
198
- * Useful for pagination.
199
- */
200
- count(options?: FindManyOptions<Entity>): Promise<number>;
201
- /**
202
- * Counts entities that match given conditions.
203
- * Useful for pagination.
204
- */
205
- countBy(where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<number>;
206
- /**
207
- * Finds entities that match given find options.
208
- */
209
- find(options?: FindManyOptions<Entity>): Promise<Entity[]>;
210
- /**
211
- * Finds entities that match given find options.
212
- */
213
- findBy(where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<Entity[]>;
214
- /**
215
- * Finds entities that match given find options.
216
- * Also counts all entities that match given conditions,
217
- * but ignores pagination settings (from and take options).
218
- */
219
- findAndCount(options?: FindManyOptions<Entity>): Promise<[Entity[], number]>;
220
- /**
221
- * Finds entities that match given WHERE conditions.
222
- * Also counts all entities that match given conditions,
223
- * but ignores pagination settings (from and take options).
224
- */
225
- findAndCountBy(where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<[Entity[], number]>;
226
- /**
227
- * Finds entities with ids.
228
- * Optionally find options or conditions can be applied.
229
- *
230
- * @deprecated use `findBy` method instead in conjunction with `In` operator, for example:
231
- *
232
- * .findBy({
233
- * id: In([1, 2, 3])
234
- * })
235
- */
236
- findByIds(ids: any[]): Promise<Entity[]>;
237
- /**
238
- * Finds first entity by a given find options.
239
- * If entity was not found in the database - returns null.
240
- */
241
- findOne(options: FindOneOptions<Entity>): Promise<Entity | null>;
242
- /**
243
- * Finds first entity that matches given where condition.
244
- * If entity was not found in the database - returns null.
245
- */
246
- findOneBy(where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<Entity | null>;
247
- /**
248
- * Finds first entity that matches given id.
249
- * If entity was not found in the database - returns null.
250
- *
251
- * @deprecated use `findOneBy` method instead in conjunction with `In` operator, for example:
252
- *
253
- * .findOneBy({
254
- * id: 1 // where "id" is your primary column name
255
- * })
256
- */
257
- findOneById(id: number | string | Date | ObjectID): Promise<Entity | null>;
258
- /**
259
- * Finds first entity by a given find options.
260
- * If entity was not found in the database - rejects with error.
261
- */
262
- findOneOrFail(options: FindOneOptions<Entity>): Promise<Entity>;
263
- /**
264
- * Finds first entity that matches given where condition.
265
- * If entity was not found in the database - rejects with error.
266
- */
267
- findOneByOrFail(where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<Entity>;
268
- /**
269
- * Executes a raw SQL query and returns a raw database results.
270
- * Raw query execution is supported only by relational databases (MongoDB is not supported).
271
- */
272
- query(query: string, parameters?: any[]): Promise<any>;
273
- /**
274
- * Clears all the data from the given table/collection (truncates/drops it).
275
- *
276
- * Note: this method uses TRUNCATE and may not work as you expect in transactions on some platforms.
277
- * @see https://stackoverflow.com/a/5972738/925151
278
- */
279
- clear(): Promise<void>;
280
- /**
281
- * Increments some column by provided value of the entities matched given conditions.
282
- */
283
- increment(conditions: FindOptionsWhere<Entity>, propertyPath: string, value: number | string): Promise<UpdateResult>;
284
- /**
285
- * Decrements some column by provided value of the entities matched given conditions.
286
- */
287
- decrement(conditions: FindOptionsWhere<Entity>, propertyPath: string, value: number | string): Promise<UpdateResult>;
288
- /**
289
- * Extends repository with provided functions.
290
- */
291
- extend<CustomRepository>(custom: CustomRepository & ThisType<Repository<Entity> & CustomRepository>): Repository<Entity> & CustomRepository;
292
- }
@@ -1,36 +0,0 @@
1
- // @ts-nocheck
2
- /**
3
- * Special options passed to Repository#save, Repository#insert and Repository#update methods.
4
- */
5
- export interface SaveOptions {
6
- /**
7
- * Additional data to be passed with persist method.
8
- * This data can be used in subscribers then.
9
- */
10
- data?: any;
11
- /**
12
- * Indicates if listeners and subscribers are called for this operation.
13
- * By default they are enabled, you can disable them by setting { listeners: false } in save/remove options.
14
- */
15
- listeners?: boolean;
16
- /**
17
- * By default transactions are enabled and all queries in persistence operation are wrapped into the transaction.
18
- * You can disable this behaviour by setting { transaction: false } in the persistence options.
19
- */
20
- transaction?: boolean;
21
- /**
22
- * Breaks save execution into chunks of a given size.
23
- * For example, if you want to save 100,000 objects but you have issues with saving them,
24
- * you can break them into 10 groups of 10,000 objects (by setting { chunk: 10000 }) and save each group separately.
25
- * This option is needed to perform very big insertions when you have issues with underlying driver parameter number limitation.
26
- */
27
- chunk?: number;
28
- /**
29
- * Flag to determine whether the entity that is being persisted
30
- * should be reloaded during the persistence operation.
31
- *
32
- * It will work only on databases which does not support RETURNING / OUTPUT statement.
33
- * Enabled by default.
34
- */
35
- reload?: boolean;
36
- }