lakutata 2.0.65 → 2.0.67

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 (213) hide show
  1. package/com/cacher.cjs +1 -1
  2. package/com/cacher.d.ts +4 -4
  3. package/com/cacher.mjs +1 -1
  4. package/com/database.cjs +0 -2
  5. package/com/database.d.ts +4 -4
  6. package/com/database.mjs +0 -2
  7. package/com/docker.d.ts +5 -5
  8. package/com/entrypoint.cjs +3 -1
  9. package/com/entrypoint.d.ts +2 -2
  10. package/com/entrypoint.mjs +3 -1
  11. package/com/logger.d.ts +1 -1
  12. package/com/monitor.d.ts +2 -2
  13. package/decorator/asst.d.ts +1 -1
  14. package/decorator/ctrl.cjs +3 -1
  15. package/decorator/ctrl.d.ts +4 -4
  16. package/decorator/ctrl.mjs +3 -1
  17. package/decorator/di.d.ts +3 -3
  18. package/decorator/dto.d.ts +3 -3
  19. package/decorator/orm.cjs +86 -88
  20. package/decorator/orm.d.ts +51 -75
  21. package/decorator/orm.mjs +44 -46
  22. package/helper.cjs +24 -18
  23. package/helper.d.ts +129 -3
  24. package/helper.mjs +6 -2
  25. package/lakutata.cjs +3 -1
  26. package/lakutata.d.ts +10 -10
  27. package/lakutata.mjs +3 -1
  28. package/orm.cjs +1075 -112
  29. package/orm.d.ts +6 -6
  30. package/orm.mjs +1015 -17
  31. package/package.json +1 -1
  32. package/provider/database.cjs +0 -2
  33. package/provider/database.d.ts +4 -4
  34. package/provider/database.mjs +0 -2
  35. package/provider/passwordHash.d.ts +1 -1
  36. package/src/components/Database.cjs +0 -2
  37. package/src/components/Database.mjs +0 -2
  38. package/src/components/cacher/Cacher.cjs +1 -1
  39. package/src/components/cacher/Cacher.mjs +1 -1
  40. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +1 -1
  41. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +1 -1
  42. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +2 -2
  43. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +2 -2
  44. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +2 -2
  45. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +2 -2
  46. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +2 -2
  47. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +2 -2
  48. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +2 -2
  49. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +2 -2
  50. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
  51. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
  52. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +2 -2
  53. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +2 -2
  54. package/src/components/entrypoint/Entrypoint.cjs +3 -1
  55. package/src/components/entrypoint/Entrypoint.mjs +3 -1
  56. package/src/decorators/ctrl/CLIAction.cjs +7 -5
  57. package/src/decorators/ctrl/CLIAction.mjs +3 -1
  58. package/src/decorators/ctrl/HTTPAction.cjs +8 -6
  59. package/src/decorators/ctrl/HTTPAction.mjs +3 -1
  60. package/src/decorators/ctrl/ServiceAction.cjs +3 -1
  61. package/src/decorators/ctrl/ServiceAction.mjs +7 -5
  62. package/src/decorators/ctrl/http/DELETE.cjs +3 -1
  63. package/src/decorators/ctrl/http/DELETE.mjs +3 -1
  64. package/src/decorators/ctrl/http/GET.cjs +3 -1
  65. package/src/decorators/ctrl/http/GET.mjs +3 -1
  66. package/src/decorators/ctrl/http/HEAD.cjs +3 -1
  67. package/src/decorators/ctrl/http/HEAD.mjs +3 -1
  68. package/src/decorators/ctrl/http/OPTIONS.cjs +3 -1
  69. package/src/decorators/ctrl/http/OPTIONS.mjs +3 -1
  70. package/src/decorators/ctrl/http/PATCH.cjs +3 -1
  71. package/src/decorators/ctrl/http/PATCH.mjs +3 -1
  72. package/src/decorators/ctrl/http/POST.cjs +3 -1
  73. package/src/decorators/ctrl/http/POST.mjs +3 -1
  74. package/src/decorators/ctrl/http/PUT.cjs +3 -1
  75. package/src/decorators/ctrl/http/PUT.mjs +3 -1
  76. package/src/decorators/orm/AfterInsert.cjs +27 -7
  77. package/src/decorators/orm/AfterInsert.mjs +28 -6
  78. package/src/decorators/orm/AfterLoad.cjs +27 -7
  79. package/src/decorators/orm/AfterLoad.mjs +28 -6
  80. package/src/decorators/orm/AfterRecover.cjs +27 -7
  81. package/src/decorators/orm/AfterRecover.mjs +28 -6
  82. package/src/decorators/orm/AfterRemove.cjs +27 -7
  83. package/src/decorators/orm/AfterRemove.mjs +28 -6
  84. package/src/decorators/orm/AfterSoftRemove.cjs +27 -7
  85. package/src/decorators/orm/AfterSoftRemove.mjs +28 -6
  86. package/src/decorators/orm/AfterUpdate.cjs +27 -7
  87. package/src/decorators/orm/AfterUpdate.mjs +28 -6
  88. package/src/decorators/orm/BeforeInsert.cjs +27 -7
  89. package/src/decorators/orm/BeforeInsert.mjs +28 -6
  90. package/src/decorators/orm/BeforeRecover.cjs +27 -7
  91. package/src/decorators/orm/BeforeRecover.mjs +28 -6
  92. package/src/decorators/orm/BeforeRemove.cjs +27 -7
  93. package/src/decorators/orm/BeforeRemove.mjs +28 -6
  94. package/src/decorators/orm/BeforeSoftRemove.cjs +27 -7
  95. package/src/decorators/orm/BeforeSoftRemove.mjs +28 -6
  96. package/src/decorators/orm/BeforeUpdate.cjs +27 -7
  97. package/src/decorators/orm/BeforeUpdate.mjs +28 -6
  98. package/src/decorators/orm/Check.cjs +30 -7
  99. package/src/decorators/orm/Check.mjs +31 -6
  100. package/src/decorators/orm/ChildEntity.cjs +30 -7
  101. package/src/decorators/orm/ChildEntity.mjs +31 -6
  102. package/src/decorators/orm/Column.cjs +62 -7
  103. package/src/decorators/orm/Column.mjs +63 -6
  104. package/src/decorators/orm/CreateDateColumn.cjs +26 -7
  105. package/src/decorators/orm/CreateDateColumn.mjs +27 -6
  106. package/src/decorators/orm/DeleteDateColumn.cjs +26 -7
  107. package/src/decorators/orm/DeleteDateColumn.mjs +27 -6
  108. package/src/decorators/orm/Entity.cjs +36 -7
  109. package/src/decorators/orm/Entity.mjs +37 -6
  110. package/src/decorators/orm/EventSubscriber.cjs +23 -7
  111. package/src/decorators/orm/EventSubscriber.mjs +24 -6
  112. package/src/decorators/orm/Exclusion.cjs +30 -7
  113. package/src/decorators/orm/Exclusion.mjs +31 -6
  114. package/src/decorators/orm/Generated.cjs +25 -7
  115. package/src/decorators/orm/Generated.mjs +26 -6
  116. package/src/decorators/orm/Index.cjs +42 -7
  117. package/src/decorators/orm/Index.mjs +43 -6
  118. package/src/decorators/orm/JoinColumn.cjs +30 -7
  119. package/src/decorators/orm/JoinColumn.mjs +31 -6
  120. package/src/decorators/orm/JoinTable.cjs +31 -7
  121. package/src/decorators/orm/JoinTable.mjs +32 -6
  122. package/src/decorators/orm/ManyToMany.cjs +43 -7
  123. package/src/decorators/orm/ManyToMany.mjs +44 -6
  124. package/src/decorators/orm/ManyToOne.cjs +43 -7
  125. package/src/decorators/orm/ManyToOne.mjs +44 -6
  126. package/src/decorators/orm/ObjectIdColumn.cjs +29 -7
  127. package/src/decorators/orm/ObjectIdColumn.mjs +30 -6
  128. package/src/decorators/orm/OneToMany.cjs +35 -7
  129. package/src/decorators/orm/OneToMany.mjs +36 -6
  130. package/src/decorators/orm/OneToOne.cjs +43 -7
  131. package/src/decorators/orm/OneToOne.mjs +44 -6
  132. package/src/decorators/orm/PrimaryColumn.cjs +50 -7
  133. package/src/decorators/orm/PrimaryColumn.mjs +51 -6
  134. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +55 -7
  135. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +56 -6
  136. package/src/decorators/orm/RelationId.cjs +27 -7
  137. package/src/decorators/orm/RelationId.mjs +28 -6
  138. package/src/decorators/orm/TableInheritance.cjs +27 -7
  139. package/src/decorators/orm/TableInheritance.mjs +28 -6
  140. package/src/decorators/orm/Tree.cjs +25 -7
  141. package/src/decorators/orm/Tree.mjs +26 -6
  142. package/src/decorators/orm/TreeChildren.cjs +32 -7
  143. package/src/decorators/orm/TreeChildren.mjs +33 -6
  144. package/src/decorators/orm/TreeLevelColumn.cjs +26 -7
  145. package/src/decorators/orm/TreeLevelColumn.mjs +27 -6
  146. package/src/decorators/orm/TreeParent.cjs +32 -7
  147. package/src/decorators/orm/TreeParent.mjs +33 -6
  148. package/src/decorators/orm/Unique.cjs +45 -7
  149. package/src/decorators/orm/Unique.mjs +46 -6
  150. package/src/decorators/orm/UpdateDateColumn.cjs +26 -7
  151. package/src/decorators/orm/UpdateDateColumn.mjs +27 -6
  152. package/src/decorators/orm/VersionColumn.cjs +26 -7
  153. package/src/decorators/orm/VersionColumn.mjs +27 -6
  154. package/src/decorators/orm/ViewColumn.cjs +26 -7
  155. package/src/decorators/orm/ViewColumn.mjs +27 -6
  156. package/src/decorators/orm/ViewEntity.cjs +35 -7
  157. package/src/decorators/orm/ViewEntity.mjs +36 -6
  158. package/src/decorators/orm/VirtualColumn.cjs +43 -7
  159. package/src/decorators/orm/VirtualColumn.mjs +44 -6
  160. package/src/lib/base/internal/ControllerEntrypoint.cjs +70 -610
  161. package/src/lib/base/internal/ControllerEntrypoint.mjs +87 -627
  162. package/src/lib/base/internal/StringifyPattern.cjs +1 -1
  163. package/src/lib/base/internal/StringifyPattern.mjs +1 -1
  164. package/src/lib/core/Application.cjs +3 -1
  165. package/src/lib/core/Application.mjs +3 -1
  166. package/src/lib/helpers/MD5.cjs +1 -1
  167. package/src/lib/helpers/MD5.mjs +1 -1
  168. package/src/lib/helpers/SHA1.cjs +1 -1
  169. package/src/lib/helpers/SHA1.mjs +1 -1
  170. package/src/lib/helpers/SHA256.cjs +1 -1
  171. package/src/lib/helpers/SHA256.mjs +1 -1
  172. package/src/lib/helpers/SortArray.cjs +1 -1
  173. package/src/lib/helpers/SortArray.mjs +1 -1
  174. package/src/lib/helpers/UUID.cjs +45 -0
  175. package/src/lib/helpers/UUID.mjs +39 -0
  176. package/src/providers/Database.cjs +0 -2
  177. package/src/providers/Database.mjs +0 -2
  178. package/vendor/Package.122.cjs +13223 -16706
  179. package/vendor/Package.122.mjs +13498 -16881
  180. package/vendor/Package.19.cjs +184 -195
  181. package/vendor/Package.19.mjs +176 -187
  182. package/vendor/Package.610.cjs +297 -113
  183. package/vendor/Package.610.mjs +285 -97
  184. package/vendor/Package.611.cjs +85 -103
  185. package/vendor/Package.611.mjs +80 -98
  186. package/vendor/Package.612.cjs +100 -121
  187. package/vendor/Package.612.mjs +97 -120
  188. package/vendor/Package.613.cjs +196 -0
  189. package/vendor/Package.613.mjs +180 -0
  190. package/vendor/Package.64.cjs +511 -134
  191. package/vendor/Package.64.mjs +491 -134
  192. package/vendor/Package.65.cjs +140 -4118
  193. package/vendor/Package.65.mjs +140 -4126
  194. package/vendor/Package.66.cjs +4142 -692
  195. package/vendor/Package.66.mjs +4151 -689
  196. package/vendor/Package.67.cjs +571 -535
  197. package/vendor/Package.67.mjs +586 -528
  198. package/vendor/Package.68.cjs +633 -96
  199. package/vendor/Package.68.mjs +619 -94
  200. package/vendor/Package.69.cjs +96 -294
  201. package/vendor/Package.69.mjs +95 -295
  202. package/vendor/TypeDef.internal.1.d.ts +1 -1
  203. package/vendor/TypeDef.internal.10.d.ts +1 -1
  204. package/vendor/TypeDef.internal.11.d.ts +2 -2
  205. package/vendor/TypeDef.internal.12.d.ts +2 -2
  206. package/vendor/TypeDef.internal.13.d.ts +6 -6
  207. package/vendor/TypeDef.internal.3.d.ts +3 -3
  208. package/vendor/TypeDef.internal.4.d.ts +181 -347
  209. package/vendor/TypeDef.internal.5.d.ts +2 -2
  210. package/vendor/TypeDef.internal.6.d.ts +2 -2
  211. package/vendor/TypeDef.internal.7.d.ts +1 -1
  212. package/vendor/TypeDef.internal.8.d.ts +1 -1
  213. package/vendor/TypeDef.internal.9.d.ts +1 -1
@@ -1,8 +1,8 @@
1
1
  import './TypeDef.internal.2.js';
2
2
  import { ReadStream } from 'fs';
3
- import { SrvRecord } from 'dns';
4
- import { TcpNetConnectOpts, Socket } from 'net';
5
3
  import { ConnectionOptions as ConnectionOptions$1, TLSSocketOptions, TLSSocket, TlsOptions } from 'tls';
4
+ import { TcpNetConnectOpts, Socket } from 'net';
5
+ import { SrvRecord } from 'dns';
6
6
  import { EventEmitter } from 'events';
7
7
  import { Readable } from 'stream';
8
8
 
@@ -456,8 +456,8 @@ type WithPrecisionColumnType = "float" | "double" | "dec" | "decimal" | "smallde
456
456
  /**
457
457
  * Column types where column length is used.
458
458
  */
459
- type WithLengthColumnType = "character varying" | "varying character" | "char varying" | "nvarchar" | "national varchar" | "character" | "native character" | "varchar" | "char" | "nchar" | "national char" | "varchar2" | "nvarchar2" | "alphanum" | "shorttext" | "raw" | "binary" | "varbinary" | "string" | "vector" | "halfvec" | "half_vector" | "real_vector";
460
- type UnsignedColumnType = "tinyint" | "smallint" | "mediumint" | "int" | "integer" | "bigint";
459
+ type WithLengthColumnType = "character varying" | "varying character" | "char varying" | "nvarchar" | "national varchar" | "character" | "native character" | "varchar" | "char" | "nchar" | "national char" | "varchar2" | "nvarchar2" | "alphanum" | "shorttext" | "raw" | "binary" | "varbinary" | "string";
460
+ type WithWidthColumnType = "tinyint" | "smallint" | "mediumint" | "int" | "bigint";
461
461
  /**
462
462
  * All other regular column types.
463
463
  */
@@ -465,7 +465,7 @@ type SimpleColumnType = "simple-array" | "simple-json" | "simple-enum" | "int2"
465
465
  /**
466
466
  * Any column type column can be.
467
467
  */
468
- type ColumnType = WithPrecisionColumnType | WithLengthColumnType | UnsignedColumnType | SpatialColumnType | SimpleColumnType | BooleanConstructor | DateConstructor | NumberConstructor | StringConstructor;
468
+ type ColumnType = WithPrecisionColumnType | WithLengthColumnType | WithWidthColumnType | SpatialColumnType | SimpleColumnType | BooleanConstructor | DateConstructor | NumberConstructor | StringConstructor;
469
469
 
470
470
  /**
471
471
  * Interface for objects that deal with (un)marshalling data.
@@ -558,9 +558,6 @@ interface ColumnOptions extends ColumnCommonOptions {
558
558
  /**
559
559
  * Column type's display width. Used only on some column types in MySQL.
560
560
  * For example, INT(4) specifies an INT with a display width of four digits.
561
- * @deprecated No longer supported in newer MySQL versions, will be removed
562
- * from TypeORM in an upcoming version. Use a character column and the
563
- * `LPAD` function as suggested by MySQL
564
561
  */
565
562
  width?: number;
566
563
  /**
@@ -628,9 +625,6 @@ interface ColumnOptions extends ColumnCommonOptions {
628
625
  /**
629
626
  * Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
630
627
  * If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to this column
631
- * @deprecated No longer supported in newer MySQL versions, will be removed
632
- * from TypeORM in an upcoming version. Use a character column and the
633
- * `LPAD` function as suggested by MySQL
634
628
  */
635
629
  zerofill?: boolean;
636
630
  /**
@@ -698,12 +692,6 @@ interface ColumnOptions extends ColumnCommonOptions {
698
692
  * SRID (Spatial Reference ID (EPSG code))
699
693
  */
700
694
  srid?: number;
701
- /**
702
- * Query to be used to populate the column data. This query is used when generating the relational db script.
703
- * The query function is called with the current entities alias either defined by the Entity Decorator or automatically
704
- * @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
705
- */
706
- query?: (alias: string) => string;
707
695
  }
708
696
 
709
697
  /**
@@ -1915,13 +1903,13 @@ declare class ColumnMetadata {
1915
1903
  /**
1916
1904
  * Indicates if column is a virtual property. Virtual properties are not mapped to the entity.
1917
1905
  * This property is used in tandem the virtual column decorator.
1918
- * @See https://typeorm.io/docs/Help/decorator-reference/#virtualcolumn for more details.
1906
+ * @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
1919
1907
  */
1920
1908
  isVirtualProperty: boolean;
1921
1909
  /**
1922
1910
  * Query to be used to populate the column data. This query is used when generating the relational db script.
1923
1911
  * The query function is called with the current entities alias either defined by the Entity Decorator or automatically
1924
- * @See https://typeorm.io/docs/Help/decorator-reference/#virtualcolumn for more details.
1912
+ * @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
1925
1913
  */
1926
1914
  query?: (alias: string) => string;
1927
1915
  /**
@@ -2012,7 +2000,7 @@ declare class ColumnMetadata {
2012
2000
  /**
2013
2001
  * Creates entity id map from the given entity ids array.
2014
2002
  */
2015
- createValueMap(value: any, useDatabaseName?: boolean): ObjectLiteral;
2003
+ createValueMap(value: any, useDatabaseName?: boolean): any;
2016
2004
  /**
2017
2005
  * Extracts column value and returns its column name with this value in a literal object.
2018
2006
  * If column is in embedded (or recursive embedded) it returns complex literal object.
@@ -2444,10 +2432,6 @@ interface EntitySchemaColumnOptions extends SpatialColumnOptions {
2444
2432
  * Indicates if this column is a treeLevel column.
2445
2433
  */
2446
2434
  treeLevel?: boolean;
2447
- /**
2448
- * Indicates if this column is a virtualProperty column.
2449
- */
2450
- virtualProperty?: boolean;
2451
2435
  /**
2452
2436
  * Column type. Must be one of the value from the ColumnTypes class.
2453
2437
  */
@@ -2589,12 +2573,6 @@ interface EntitySchemaColumnOptions extends SpatialColumnOptions {
2589
2573
  * Foreign key options of this column.
2590
2574
  */
2591
2575
  foreignKey?: EntitySchemaColumnForeignKeyOptions;
2592
- /**
2593
- * Query to be used to populate the column data. This query is used when generating the relational db script.
2594
- * The query function is called with the current entities alias either defined by the Entity Decorator or automatically
2595
- * @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
2596
- */
2597
- query?: (alias: string) => string;
2598
2576
  }
2599
2577
 
2600
2578
  /**
@@ -3238,24 +3216,6 @@ interface BaseDataSourceOptions {
3238
3216
  * Allows automatic isolation of where clauses
3239
3217
  */
3240
3218
  readonly isolateWhereStatements?: boolean;
3241
- /**
3242
- * Controls how null and undefined values are handled in find operations.
3243
- */
3244
- readonly invalidWhereValuesBehavior?: {
3245
- /**
3246
- * How to handle null values in where conditions.
3247
- * - 'ignore': Skip null properties (default)
3248
- * - 'sql-null': Transform null to SQL NULL
3249
- * - 'throw': Throw an error when null is encountered
3250
- */
3251
- readonly null?: "ignore" | "sql-null" | "throw";
3252
- /**
3253
- * How to handle undefined values in where conditions.
3254
- * - 'ignore': Skip undefined properties (default)
3255
- * - 'throw': Throw an error when undefined is encountered
3256
- */
3257
- readonly undefined?: "ignore" | "throw";
3258
- };
3259
3219
  }
3260
3220
 
3261
3221
  type ReplicationMode = "master" | "slave";
@@ -3360,7 +3320,7 @@ declare class TableForeignKey {
3360
3320
  static create(metadata: ForeignKeyMetadata, driver: Driver): TableForeignKey;
3361
3321
  }
3362
3322
 
3363
- type UpsertType = "on-conflict-do-update" | "on-duplicate-key-update" | "primary-key" | "merge-into";
3323
+ type UpsertType = "on-conflict-do-update" | "on-duplicate-key-update" | "primary-key";
3364
3324
 
3365
3325
  type ReturningType = "insert" | "update" | "delete";
3366
3326
  /**
@@ -3810,6 +3770,11 @@ declare interface BinaryExtendedLegacy {
3810
3770
  }
3811
3771
  /** @public */
3812
3772
  declare type BinarySequence = Uint8Array | number[];
3773
+ declare namespace BSON {
3774
+ export { setInternalBufferSize, serialize, serializeWithBufferAndIndex, deserialize, calculateObjectSize, deserializeStream, LongWithoutOverridesClass, Code, BSONSymbol, DBRef, Binary, ObjectId, UUID, Long, Timestamp, Double, Int32, MinKey, MaxKey, BSONRegExp, Decimal128, BSONValue, BSONError, BSONVersionError, BSONRuntimeError, BSONType, EJSON };
3775
+ export type { UUIDExtended, BinaryExtended, BinaryExtendedLegacy, BinarySequence, CodeExtended, DBRefLike, Decimal128Extended, DoubleExtended, EJSONOptions, Int32Extended, LongExtended, MaxKeyExtended, MinKeyExtended, ObjectIdExtended, ObjectIdLike, BSONRegExpExtended, BSONRegExpExtendedLegacy, BSONSymbolExtended, LongWithoutOverrides, TimestampExtended, TimestampOverrides, SerializeOptions, DeserializeOptions, Document, CalculateObjectSizeOptions };
3776
+ }
3777
+
3813
3778
  /**
3814
3779
  * @public
3815
3780
  * @category Error
@@ -4796,81 +4761,6 @@ declare type UUIDExtended = {
4796
4761
  $uuid: string;
4797
4762
  };
4798
4763
 
4799
- type bson_typings_d_BSONError = BSONError;
4800
- declare const bson_typings_d_BSONError: typeof BSONError;
4801
- type bson_typings_d_BSONRegExp = BSONRegExp;
4802
- declare const bson_typings_d_BSONRegExp: typeof BSONRegExp;
4803
- type bson_typings_d_BSONRegExpExtended = BSONRegExpExtended;
4804
- type bson_typings_d_BSONRegExpExtendedLegacy = BSONRegExpExtendedLegacy;
4805
- type bson_typings_d_BSONRuntimeError = BSONRuntimeError;
4806
- declare const bson_typings_d_BSONRuntimeError: typeof BSONRuntimeError;
4807
- type bson_typings_d_BSONSymbol = BSONSymbol;
4808
- declare const bson_typings_d_BSONSymbol: typeof BSONSymbol;
4809
- type bson_typings_d_BSONSymbolExtended = BSONSymbolExtended;
4810
- type bson_typings_d_BSONType = BSONType;
4811
- type bson_typings_d_BSONValue = BSONValue;
4812
- declare const bson_typings_d_BSONValue: typeof BSONValue;
4813
- type bson_typings_d_BSONVersionError = BSONVersionError;
4814
- declare const bson_typings_d_BSONVersionError: typeof BSONVersionError;
4815
- type bson_typings_d_Binary = Binary;
4816
- declare const bson_typings_d_Binary: typeof Binary;
4817
- type bson_typings_d_BinaryExtended = BinaryExtended;
4818
- type bson_typings_d_BinaryExtendedLegacy = BinaryExtendedLegacy;
4819
- type bson_typings_d_BinarySequence = BinarySequence;
4820
- type bson_typings_d_CalculateObjectSizeOptions = CalculateObjectSizeOptions;
4821
- type bson_typings_d_Code = Code;
4822
- declare const bson_typings_d_Code: typeof Code;
4823
- type bson_typings_d_CodeExtended = CodeExtended;
4824
- type bson_typings_d_DBRef = DBRef;
4825
- declare const bson_typings_d_DBRef: typeof DBRef;
4826
- type bson_typings_d_DBRefLike = DBRefLike;
4827
- type bson_typings_d_Decimal128 = Decimal128;
4828
- declare const bson_typings_d_Decimal128: typeof Decimal128;
4829
- type bson_typings_d_Decimal128Extended = Decimal128Extended;
4830
- type bson_typings_d_DeserializeOptions = DeserializeOptions;
4831
- type bson_typings_d_Document = Document;
4832
- type bson_typings_d_Double = Double;
4833
- declare const bson_typings_d_Double: typeof Double;
4834
- type bson_typings_d_DoubleExtended = DoubleExtended;
4835
- declare const bson_typings_d_EJSON: typeof EJSON;
4836
- type bson_typings_d_EJSONOptions = EJSONOptions;
4837
- type bson_typings_d_Int32 = Int32;
4838
- declare const bson_typings_d_Int32: typeof Int32;
4839
- type bson_typings_d_Int32Extended = Int32Extended;
4840
- type bson_typings_d_Long = Long;
4841
- declare const bson_typings_d_Long: typeof Long;
4842
- type bson_typings_d_LongExtended = LongExtended;
4843
- type bson_typings_d_LongWithoutOverrides = LongWithoutOverrides;
4844
- declare const bson_typings_d_LongWithoutOverridesClass: typeof LongWithoutOverridesClass;
4845
- type bson_typings_d_MaxKey = MaxKey;
4846
- declare const bson_typings_d_MaxKey: typeof MaxKey;
4847
- type bson_typings_d_MaxKeyExtended = MaxKeyExtended;
4848
- type bson_typings_d_MinKey = MinKey;
4849
- declare const bson_typings_d_MinKey: typeof MinKey;
4850
- type bson_typings_d_MinKeyExtended = MinKeyExtended;
4851
- type bson_typings_d_ObjectId = ObjectId;
4852
- declare const bson_typings_d_ObjectId: typeof ObjectId;
4853
- type bson_typings_d_ObjectIdExtended = ObjectIdExtended;
4854
- type bson_typings_d_ObjectIdLike = ObjectIdLike;
4855
- type bson_typings_d_SerializeOptions = SerializeOptions;
4856
- type bson_typings_d_Timestamp = Timestamp;
4857
- declare const bson_typings_d_Timestamp: typeof Timestamp;
4858
- type bson_typings_d_TimestampExtended = TimestampExtended;
4859
- type bson_typings_d_TimestampOverrides = TimestampOverrides;
4860
- type bson_typings_d_UUID = UUID;
4861
- declare const bson_typings_d_UUID: typeof UUID;
4862
- type bson_typings_d_UUIDExtended = UUIDExtended;
4863
- declare const bson_typings_d_calculateObjectSize: typeof calculateObjectSize;
4864
- declare const bson_typings_d_deserialize: typeof deserialize;
4865
- declare const bson_typings_d_deserializeStream: typeof deserializeStream;
4866
- declare const bson_typings_d_serialize: typeof serialize;
4867
- declare const bson_typings_d_serializeWithBufferAndIndex: typeof serializeWithBufferAndIndex;
4868
- declare const bson_typings_d_setInternalBufferSize: typeof setInternalBufferSize;
4869
- declare namespace bson_typings_d {
4870
- export { bson_typings_d_BSONError as BSONError, bson_typings_d_BSONRegExp as BSONRegExp, bson_typings_d_BSONRuntimeError as BSONRuntimeError, bson_typings_d_BSONSymbol as BSONSymbol, bson_typings_d_BSONValue as BSONValue, bson_typings_d_BSONVersionError as BSONVersionError, bson_typings_d_Binary as Binary, bson_typings_d_Code as Code, bson_typings_d_DBRef as DBRef, bson_typings_d_Decimal128 as Decimal128, bson_typings_d_Double as Double, bson_typings_d_EJSON as EJSON, bson_typings_d_Int32 as Int32, bson_typings_d_Long as Long, bson_typings_d_LongWithoutOverridesClass as LongWithoutOverridesClass, bson_typings_d_MaxKey as MaxKey, bson_typings_d_MinKey as MinKey, bson_typings_d_ObjectId as ObjectId, bson_typings_d_Timestamp as Timestamp, bson_typings_d_UUID as UUID, bson_typings_d_calculateObjectSize as calculateObjectSize, bson_typings_d_deserialize as deserialize, bson_typings_d_deserializeStream as deserializeStream, bson_typings_d_serialize as serialize, bson_typings_d_serializeWithBufferAndIndex as serializeWithBufferAndIndex, bson_typings_d_setInternalBufferSize as setInternalBufferSize };
4871
- export type { bson_typings_d_BSONRegExpExtended as BSONRegExpExtended, bson_typings_d_BSONRegExpExtendedLegacy as BSONRegExpExtendedLegacy, bson_typings_d_BSONSymbolExtended as BSONSymbolExtended, bson_typings_d_BSONType as BSONType, bson_typings_d_BinaryExtended as BinaryExtended, bson_typings_d_BinaryExtendedLegacy as BinaryExtendedLegacy, bson_typings_d_BinarySequence as BinarySequence, bson_typings_d_CalculateObjectSizeOptions as CalculateObjectSizeOptions, bson_typings_d_CodeExtended as CodeExtended, bson_typings_d_DBRefLike as DBRefLike, bson_typings_d_Decimal128Extended as Decimal128Extended, bson_typings_d_DeserializeOptions as DeserializeOptions, bson_typings_d_Document as Document, bson_typings_d_DoubleExtended as DoubleExtended, bson_typings_d_EJSONOptions as EJSONOptions, bson_typings_d_Int32Extended as Int32Extended, bson_typings_d_LongExtended as LongExtended, bson_typings_d_LongWithoutOverrides as LongWithoutOverrides, bson_typings_d_MaxKeyExtended as MaxKeyExtended, bson_typings_d_MinKeyExtended as MinKeyExtended, bson_typings_d_ObjectIdExtended as ObjectIdExtended, bson_typings_d_ObjectIdLike as ObjectIdLike, bson_typings_d_SerializeOptions as SerializeOptions, bson_typings_d_TimestampExtended as TimestampExtended, bson_typings_d_TimestampOverrides as TimestampOverrides, bson_typings_d_UUIDExtended as UUIDExtended };
4872
- }
4873
-
4874
4764
  /** @public */
4875
4765
  declare abstract class AbstractCursor<TSchema = any, CursorEvents extends AbstractCursorEvents = AbstractCursorEvents> extends TypedEventEmitter<CursorEvents> {
4876
4766
  /** @event */
@@ -5318,8 +5208,8 @@ declare interface AuthMechanismProperties extends Document {
5318
5208
  PROVIDER_NAME?: "aws";
5319
5209
  }
5320
5210
  /** @public */
5321
- declare class AutoEncrypter {
5322
- constructor(client: MongoClient, options: AutoEncryptionOptions);
5211
+ declare interface AutoEncrypter {
5212
+ new (client: MongoClient, options: AutoEncryptionOptions): AutoEncrypter;
5323
5213
  init(cb: Callback): void;
5324
5214
  teardown(force: boolean, callback: Callback): void;
5325
5215
  encrypt(ns: string, cmd: Document, options: any, callback: Callback<Document>): void;
@@ -10576,7 +10466,7 @@ interface SaveOptions {
10576
10466
  * Flag to determine whether the entity that is being persisted
10577
10467
  * should be reloaded during the persistence operation.
10578
10468
  *
10579
- * It will work only on databases which do not support RETURNING / OUTPUT statement.
10469
+ * It will work only on databases which does not support RETURNING / OUTPUT statement.
10580
10470
  * Enabled by default.
10581
10471
  */
10582
10472
  reload?: boolean;
@@ -12537,142 +12427,6 @@ declare class PlainObjectToNewEntityTransformer {
12537
12427
 
12538
12428
  type IsolationLevel = "READ UNCOMMITTED" | "READ COMMITTED" | "REPEATABLE READ" | "SERIALIZABLE";
12539
12429
 
12540
- /**
12541
- * Query Builders can implement this interface to support where expression
12542
- */
12543
- interface WhereExpressionBuilder {
12544
- /**
12545
- * Sets WHERE condition in the query builder.
12546
- * If you had previously WHERE expression defined,
12547
- * calling this function will override previously set WHERE conditions.
12548
- * Additionally you can add parameters used in where expression.
12549
- */
12550
- where(where: string, parameters?: ObjectLiteral): this;
12551
- /**
12552
- * Sets WHERE condition in the query builder.
12553
- * If you had previously WHERE expression defined,
12554
- * calling this function will override previously set WHERE conditions.
12555
- * Additionally you can add parameters used in where expression.
12556
- */
12557
- where(where: Brackets, parameters?: ObjectLiteral): this;
12558
- /**
12559
- * Sets WHERE condition in the query builder.
12560
- * If you had previously WHERE expression defined,
12561
- * calling this function will override previously set WHERE conditions.
12562
- * Additionally you can add parameters used in where expression.
12563
- */
12564
- where(where: ObjectLiteral, parameters?: ObjectLiteral): this;
12565
- /**
12566
- * Sets WHERE condition in the query builder.
12567
- * If you had previously WHERE expression defined,
12568
- * calling this function will override previously set WHERE conditions.
12569
- * Additionally you can add parameters used in where expression.
12570
- */
12571
- where(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
12572
- /**
12573
- * Sets WHERE condition in the query builder.
12574
- * If you had previously WHERE expression defined,
12575
- * calling this function will override previously set WHERE conditions.
12576
- * Additionally you can add parameters used in where expression.
12577
- */
12578
- where(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
12579
- /**
12580
- * Adds new AND WHERE condition in the query builder.
12581
- * Additionally you can add parameters used in where expression.
12582
- */
12583
- andWhere(where: string, parameters?: ObjectLiteral): this;
12584
- /**
12585
- * Adds new AND WHERE condition in the query builder.
12586
- * Additionally you can add parameters used in where expression.
12587
- */
12588
- andWhere(where: Brackets, parameters?: ObjectLiteral): this;
12589
- /**
12590
- * Adds new AND WHERE condition in the query builder.
12591
- * Additionally you can add parameters used in where expression.
12592
- */
12593
- andWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
12594
- /**
12595
- * Adds new AND WHERE condition in the query builder.
12596
- * Additionally you can add parameters used in where expression.
12597
- */
12598
- andWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
12599
- /**
12600
- * Adds new AND WHERE condition in the query builder.
12601
- * Additionally you can add parameters used in where expression.
12602
- */
12603
- andWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
12604
- /**
12605
- * Adds new OR WHERE condition in the query builder.
12606
- * Additionally you can add parameters used in where expression.
12607
- */
12608
- orWhere(where: string, parameters?: ObjectLiteral): this;
12609
- /**
12610
- * Adds new OR WHERE condition in the query builder.
12611
- * Additionally you can add parameters used in where expression.
12612
- */
12613
- orWhere(where: Brackets, parameters?: ObjectLiteral): this;
12614
- /**
12615
- * Adds new OR WHERE condition in the query builder.
12616
- * Additionally you can add parameters used in where expression.
12617
- */
12618
- orWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
12619
- /**
12620
- * Adds new OR WHERE condition in the query builder.
12621
- * Additionally you can add parameters used in where expression.
12622
- */
12623
- orWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
12624
- /**
12625
- * Adds new OR WHERE condition in the query builder.
12626
- * Additionally you can add parameters used in where expression.
12627
- */
12628
- orWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
12629
- /**
12630
- * Sets WHERE condition in the query builder with a condition for the given ids.
12631
- * If you had previously WHERE expression defined,
12632
- * calling this function will override previously set WHERE conditions.
12633
- *
12634
- * Ids are mixed.
12635
- * It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
12636
- * If you have multiple primary keys you need to pass object with property names and values specified,
12637
- * for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
12638
- */
12639
- whereInIds(ids: any | any[]): this;
12640
- /**
12641
- * Adds new AND WHERE with conditions for the given ids.
12642
- *
12643
- * Ids are mixed.
12644
- * It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
12645
- * If you have multiple primary keys you need to pass object with property names and values specified,
12646
- * for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
12647
- */
12648
- andWhereInIds(ids: any | any[]): this;
12649
- /**
12650
- * Adds new OR WHERE with conditions for the given ids.
12651
- *
12652
- * Ids are mixed.
12653
- * It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
12654
- * If you have multiple primary keys you need to pass object with property names and values specified,
12655
- * for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
12656
- */
12657
- orWhereInIds(ids: any | any[]): this;
12658
- }
12659
-
12660
- /**
12661
- * Syntax sugar.
12662
- * Allows to use brackets in WHERE expressions for better syntax.
12663
- */
12664
- declare class Brackets {
12665
- readonly "@instanceof": symbol;
12666
- /**
12667
- * WHERE expression that will be taken into brackets.
12668
- */
12669
- whereFactory: (qb: WhereExpressionBuilder) => any;
12670
- /**
12671
- * Given WHERE query builder that will build a WHERE expression that will be taken into brackets.
12672
- */
12673
- constructor(whereFactory: (qb: WhereExpressionBuilder) => any);
12674
- }
12675
-
12676
12430
  type InsertOrUpdateOptions = {
12677
12431
  /**
12678
12432
  * If true, postgres will skip the update if no values would be changed (reduces writes)
@@ -12683,10 +12437,6 @@ type InsertOrUpdateOptions = {
12683
12437
  */
12684
12438
  indexPredicate?: string;
12685
12439
  upsertType?: UpsertType;
12686
- overwriteCondition?: {
12687
- where: string | Brackets | ObjectLiteral | ObjectLiteral[];
12688
- parameters?: ObjectLiteral;
12689
- };
12690
12440
  };
12691
12441
 
12692
12442
  /**
@@ -12757,7 +12507,7 @@ declare class EntityManager {
12757
12507
  /**
12758
12508
  * Executes raw SQL query and returns raw database results.
12759
12509
  *
12760
- * @see [Official docs](https://typeorm.io/docs/Working%20with%20Entity%20Manager/entity-manager-api/) for examples.
12510
+ * @see [Official docs](https://typeorm.io/entity-manager-api) for examples.
12761
12511
  */
12762
12512
  query<T = any>(query: string, parameters?: any[]): Promise<T>;
12763
12513
  /**
@@ -12947,7 +12697,7 @@ declare class EntityManager {
12947
12697
  /**
12948
12698
  * Restores entities by a given condition(s).
12949
12699
  * Unlike save method executes a primitive operation without cascades, relations and other operations included.
12950
- * Executes fast and efficient UPDATE query.
12700
+ * Executes fast and efficient DELETE query.
12951
12701
  * Does not check if entity exist in the database.
12952
12702
  * Condition(s) cannot be empty.
12953
12703
  */
@@ -13284,14 +13034,14 @@ declare class Repository<Entity extends ObjectLiteral> {
13284
13034
  /**
13285
13035
  * Records the delete date of entities by a given criteria.
13286
13036
  * Unlike save method executes a primitive operation without cascades, relations and other operations included.
13287
- * Executes fast and efficient UPDATE query.
13037
+ * Executes fast and efficient SOFT-DELETE query.
13288
13038
  * Does not check if entity exist in the database.
13289
13039
  */
13290
13040
  softDelete(criteria: string | string[] | number | number[] | Date | Date[] | ObjectId | ObjectId[] | FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<UpdateResult>;
13291
13041
  /**
13292
13042
  * Restores entities by a given criteria.
13293
13043
  * Unlike save method executes a primitive operation without cascades, relations and other operations included.
13294
- * Executes fast and efficient UPDATE query.
13044
+ * Executes fast and efficient SOFT-DELETE query.
13295
13045
  * Does not check if entity exist in the database.
13296
13046
  */
13297
13047
  restore(criteria: string | string[] | number | number[] | Date | Date[] | ObjectId | ObjectId[] | FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<UpdateResult>;
@@ -14624,13 +14374,13 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
14624
14374
  readonly socketTimeoutMS?: number;
14625
14375
  /**
14626
14376
  * @deprecated A boolean to enable or disables TLS/SSL for the connection.
14627
- * (The ssl option is equivalent to the {@link tls} option.)
14377
+ * (The ssl option is equivalent to the tls option.)
14628
14378
  */
14629
14379
  readonly ssl?: boolean;
14630
14380
  /**
14631
14381
  * @deprecated SSL Root Certificate file path.
14632
14382
  *
14633
- * Will be removed in the next major version. Please use {@link tlsCAFile} instead.
14383
+ * Will be removed in the next major version. Please use tlsCAFile instead.
14634
14384
  */
14635
14385
  readonly sslCA?: string;
14636
14386
  /**
@@ -14642,25 +14392,25 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
14642
14392
  /**
14643
14393
  * @deprecated SSL Certificate file path.
14644
14394
  *
14645
- * Will be removed in the next major version. Please use {@link tlsCertificateKeyFile} instead.
14395
+ * Will be removed in the next major version. Please use tlsCertificateKeyFile instead.
14646
14396
  */
14647
14397
  readonly sslCert?: string;
14648
14398
  /**
14649
14399
  * @deprecated SSL Key file file path.
14650
14400
  *
14651
- * Will be removed in the next major version. Please use {@link tlsCertificateKeyFile} instead.
14401
+ * Will be removed in the next major version. Please use tlsCertificateKeyFile instead.
14652
14402
  */
14653
14403
  readonly sslKey?: string;
14654
14404
  /**
14655
14405
  * @deprecated SSL Certificate pass phrase.
14656
14406
  *
14657
- * Will be removed in the next major version. Please use {@link tlsCertificateKeyFilePassword} instead.
14407
+ * Will be removed in the next major version. Please use tlsCertificateKeyFilePassword instead.
14658
14408
  */
14659
14409
  readonly sslPass?: string;
14660
14410
  /**
14661
14411
  * @deprecated Validate mongod server certificate against Certificate Authority
14662
14412
  *
14663
- * Will be removed in the next major version. Please use {@link tlsAllowInvalidCertificates} instead.
14413
+ * Will be removed in the next major version. Please use tlsAllowInvalidCertificates instead.
14664
14414
  */
14665
14415
  readonly sslValidate?: boolean;
14666
14416
  /**
@@ -14680,13 +14430,13 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
14680
14430
  */
14681
14431
  readonly tlsCertificateKeyFile?: string;
14682
14432
  /**
14683
- * Specifies the password to de-crypt the {@link tlsCertificateKeyFile}.
14433
+ * Specifies the password to de-crypt the tlsCertificateKeyFile.
14684
14434
  */
14685
14435
  readonly tlsCertificateKeyFilePassword?: string;
14686
14436
  /**
14687
14437
  * @deprecated The write concern w value
14688
14438
  *
14689
- * Please use the {@link writeConcern} option instead
14439
+ * Please use the `writeConcern` option instead
14690
14440
  */
14691
14441
  readonly w?: string | number;
14692
14442
  /**
@@ -14697,7 +14447,7 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
14697
14447
  /**
14698
14448
  * @deprecated The write concern timeout
14699
14449
  *
14700
- * Please use the {@link writeConcern} option instead
14450
+ * Please use the `writeConcern` option instead
14701
14451
  */
14702
14452
  readonly wtimeoutMS?: number;
14703
14453
  }
@@ -14990,66 +14740,40 @@ interface SapConnectionOptions extends BaseDataSourceOptions, SapConnectionCrede
14990
14740
  readonly schema?: string;
14991
14741
  /**
14992
14742
  * The driver objects
14993
- * This defaults to require("@sap/hana-client")
14743
+ * This defaults to require("hdb-pool")
14994
14744
  */
14995
14745
  readonly driver?: any;
14996
14746
  /**
14997
- * @deprecated Use {@link driver} instead.
14747
+ * The driver objects
14748
+ * This defaults to require("@sap/hana-client")
14998
14749
  */
14999
14750
  readonly hanaClientDriver?: any;
15000
14751
  /**
15001
14752
  * Pool options.
15002
14753
  */
15003
14754
  readonly pool?: {
15004
- /**
15005
- * Maximum number of open connections created by the pool, each of which
15006
- * may be in the pool waiting to be reused or may no longer be in the
15007
- * pool and actively being used (default: 10).
15008
- */
15009
- readonly maxConnectedOrPooled?: number;
15010
- /**
15011
- * Defines the maximum time, in seconds, that connections are allowed to
15012
- * remain in the pool before being marked for eviction (default: 30).
15013
- */
15014
- readonly maxPooledIdleTime?: number;
15015
- /**
15016
- * Determines whether or not the pooled connection should be tested for
15017
- * viability before being reused (default: false).
15018
- */
15019
- readonly pingCheck?: boolean;
15020
- /**
15021
- * Maximum number of connections allowed to be in the pool, waiting to
15022
- * be reused (default: 0, no limit).
15023
- */
15024
- readonly poolCapacity?: number;
15025
14755
  /**
15026
14756
  * Max number of connections.
15027
- * @deprecated Use {@link maxConnectedOrPooled} instead.
15028
14757
  */
15029
14758
  readonly max?: number;
15030
14759
  /**
15031
14760
  * Minimum number of connections.
15032
- * @deprecated Obsolete, no alternative exists.
15033
14761
  */
15034
14762
  readonly min?: number;
15035
14763
  /**
15036
- * Maximum number of waiting requests allowed.
15037
- * @deprecated Obsolete, no alternative exists.
14764
+ * Maximum number of waiting requests allowed. (default=0, no limit).
15038
14765
  */
15039
14766
  readonly maxWaitingRequests?: number;
15040
14767
  /**
15041
- * Max milliseconds a request will wait for a resource before timing out.
15042
- * @deprecated Obsolete, no alternative exists.
14768
+ * Max milliseconds a request will wait for a resource before timing out. (default=5000)
15043
14769
  */
15044
14770
  readonly requestTimeout?: number;
15045
14771
  /**
15046
- * How often to run resource timeout checks.
15047
- * @deprecated Obsolete, no alternative exists.
14772
+ * How often to run resource timeout checks. (default=0, disabled)
15048
14773
  */
15049
14774
  readonly checkInterval?: number;
15050
14775
  /**
15051
- * Idle timeout (in milliseconds).
15052
- * @deprecated Use {@link maxPooledIdleTime} (in seconds) instead .
14776
+ * Idle timeout
15053
14777
  */
15054
14778
  readonly idleTimeout?: number;
15055
14779
  /**
@@ -15058,6 +14782,7 @@ interface SapConnectionOptions extends BaseDataSourceOptions, SapConnectionCrede
15058
14782
  */
15059
14783
  readonly poolErrorHandler?: (err: any) => any;
15060
14784
  };
14785
+ readonly poolSize?: never;
15061
14786
  }
15062
14787
 
15063
14788
  /**
@@ -15215,19 +14940,6 @@ interface SpannerConnectionCredentialsOptions {
15215
14940
  * Database host port.
15216
14941
  */
15217
14942
  readonly databaseId?: string;
15218
- /**
15219
- * Object containing client_email and private_key properties, or the external account client options. Cannot be used with apiKey.
15220
- */
15221
- readonly credentials?: {
15222
- /**
15223
- * Client email connection credentials (Optional)
15224
- */
15225
- readonly client_email: string;
15226
- /**
15227
- * Private key connection credentials (Optional)
15228
- */
15229
- readonly private_key: string;
15230
- };
15231
14943
  }
15232
14944
 
15233
14945
  /**
@@ -15303,6 +15015,11 @@ interface SpannerConnectionOptions extends BaseConnectionOptions, SpannerConnect
15303
15015
  * (Default: false)
15304
15016
  */
15305
15017
  readonly multipleStatements?: boolean;
15018
+ /**
15019
+ * Use spatial functions like GeomFromText and AsText which are removed in MySQL 8.
15020
+ * (Default: true)
15021
+ */
15022
+ readonly legacySpatialSupport?: boolean;
15306
15023
  /**
15307
15024
  * List of connection flags to use other than the default ones. It is also possible to blacklist default ones.
15308
15025
  * For more information, check https://github.com/mysqljs/mysql#connection-flags.
@@ -16080,7 +15797,6 @@ declare class QueryExpressionMap {
16080
15797
  skipUpdateIfNoValuesChanged?: boolean;
16081
15798
  indexPredicate?: string;
16082
15799
  upsertType?: UpsertType;
16083
- overwriteCondition?: WhereClause[];
16084
15800
  };
16085
15801
  /**
16086
15802
  * JOIN queries.
@@ -16305,6 +16021,142 @@ declare class QueryExpressionMap {
16305
16021
  clone(): QueryExpressionMap;
16306
16022
  }
16307
16023
 
16024
+ /**
16025
+ * Syntax sugar.
16026
+ * Allows to use brackets in WHERE expressions for better syntax.
16027
+ */
16028
+ declare class Brackets {
16029
+ readonly "@instanceof": symbol;
16030
+ /**
16031
+ * WHERE expression that will be taken into brackets.
16032
+ */
16033
+ whereFactory: (qb: WhereExpressionBuilder) => any;
16034
+ /**
16035
+ * Given WHERE query builder that will build a WHERE expression that will be taken into brackets.
16036
+ */
16037
+ constructor(whereFactory: (qb: WhereExpressionBuilder) => any);
16038
+ }
16039
+
16040
+ /**
16041
+ * Query Builders can implement this interface to support where expression
16042
+ */
16043
+ interface WhereExpressionBuilder {
16044
+ /**
16045
+ * Sets WHERE condition in the query builder.
16046
+ * If you had previously WHERE expression defined,
16047
+ * calling this function will override previously set WHERE conditions.
16048
+ * Additionally you can add parameters used in where expression.
16049
+ */
16050
+ where(where: string, parameters?: ObjectLiteral): this;
16051
+ /**
16052
+ * Sets WHERE condition in the query builder.
16053
+ * If you had previously WHERE expression defined,
16054
+ * calling this function will override previously set WHERE conditions.
16055
+ * Additionally you can add parameters used in where expression.
16056
+ */
16057
+ where(where: Brackets, parameters?: ObjectLiteral): this;
16058
+ /**
16059
+ * Sets WHERE condition in the query builder.
16060
+ * If you had previously WHERE expression defined,
16061
+ * calling this function will override previously set WHERE conditions.
16062
+ * Additionally you can add parameters used in where expression.
16063
+ */
16064
+ where(where: ObjectLiteral, parameters?: ObjectLiteral): this;
16065
+ /**
16066
+ * Sets WHERE condition in the query builder.
16067
+ * If you had previously WHERE expression defined,
16068
+ * calling this function will override previously set WHERE conditions.
16069
+ * Additionally you can add parameters used in where expression.
16070
+ */
16071
+ where(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
16072
+ /**
16073
+ * Sets WHERE condition in the query builder.
16074
+ * If you had previously WHERE expression defined,
16075
+ * calling this function will override previously set WHERE conditions.
16076
+ * Additionally you can add parameters used in where expression.
16077
+ */
16078
+ where(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
16079
+ /**
16080
+ * Adds new AND WHERE condition in the query builder.
16081
+ * Additionally you can add parameters used in where expression.
16082
+ */
16083
+ andWhere(where: string, parameters?: ObjectLiteral): this;
16084
+ /**
16085
+ * Adds new AND WHERE condition in the query builder.
16086
+ * Additionally you can add parameters used in where expression.
16087
+ */
16088
+ andWhere(where: Brackets, parameters?: ObjectLiteral): this;
16089
+ /**
16090
+ * Adds new AND WHERE condition in the query builder.
16091
+ * Additionally you can add parameters used in where expression.
16092
+ */
16093
+ andWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
16094
+ /**
16095
+ * Adds new AND WHERE condition in the query builder.
16096
+ * Additionally you can add parameters used in where expression.
16097
+ */
16098
+ andWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
16099
+ /**
16100
+ * Adds new AND WHERE condition in the query builder.
16101
+ * Additionally you can add parameters used in where expression.
16102
+ */
16103
+ andWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
16104
+ /**
16105
+ * Adds new OR WHERE condition in the query builder.
16106
+ * Additionally you can add parameters used in where expression.
16107
+ */
16108
+ orWhere(where: string, parameters?: ObjectLiteral): this;
16109
+ /**
16110
+ * Adds new OR WHERE condition in the query builder.
16111
+ * Additionally you can add parameters used in where expression.
16112
+ */
16113
+ orWhere(where: Brackets, parameters?: ObjectLiteral): this;
16114
+ /**
16115
+ * Adds new OR WHERE condition in the query builder.
16116
+ * Additionally you can add parameters used in where expression.
16117
+ */
16118
+ orWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
16119
+ /**
16120
+ * Adds new OR WHERE condition in the query builder.
16121
+ * Additionally you can add parameters used in where expression.
16122
+ */
16123
+ orWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
16124
+ /**
16125
+ * Adds new OR WHERE condition in the query builder.
16126
+ * Additionally you can add parameters used in where expression.
16127
+ */
16128
+ orWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
16129
+ /**
16130
+ * Sets WHERE condition in the query builder with a condition for the given ids.
16131
+ * If you had previously WHERE expression defined,
16132
+ * calling this function will override previously set WHERE conditions.
16133
+ *
16134
+ * Ids are mixed.
16135
+ * It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
16136
+ * If you have multiple primary keys you need to pass object with property names and values specified,
16137
+ * for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
16138
+ */
16139
+ whereInIds(ids: any | any[]): this;
16140
+ /**
16141
+ * Adds new AND WHERE with conditions for the given ids.
16142
+ *
16143
+ * Ids are mixed.
16144
+ * It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
16145
+ * If you have multiple primary keys you need to pass object with property names and values specified,
16146
+ * for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
16147
+ */
16148
+ andWhereInIds(ids: any | any[]): this;
16149
+ /**
16150
+ * Adds new OR WHERE with conditions for the given ids.
16151
+ *
16152
+ * Ids are mixed.
16153
+ * It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
16154
+ * If you have multiple primary keys you need to pass object with property names and values specified,
16155
+ * for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
16156
+ */
16157
+ orWhereInIds(ids: any | any[]): this;
16158
+ }
16159
+
16308
16160
  /**
16309
16161
  * Allows to build complex sql queries in a fashion way and execute those queries.
16310
16162
  */
@@ -16763,23 +16615,6 @@ declare class InsertQueryBuilder<Entity extends ObjectLiteral> extends QueryBuil
16763
16615
  * @param column
16764
16616
  */
16765
16617
  protected isOverridingAutoIncrementBehavior(column: ColumnMetadata): boolean;
16766
- /**
16767
- * Creates MERGE express used to perform insert query.
16768
- */
16769
- protected createMergeExpression(): string;
16770
- /**
16771
- * Creates list of values needs to be inserted in the VALUES expression.
16772
- */
16773
- protected createMergeIntoSourceExpression(mergeSourceAlias: string): string;
16774
- /**
16775
- * Creates list of values needs to be inserted in the VALUES expression.
16776
- */
16777
- protected createMergeIntoInsertValuesExpression(mergeSourceAlias: string): string;
16778
- /**
16779
- * Create upsert search condition expression.
16780
- */
16781
- protected createUpsertConditionExpression(): string;
16782
- protected createColumnValueExpression(valueSets: ObjectLiteral[], valueSetIndex: number, column: ColumnMetadata): string;
16783
16618
  }
16784
16619
 
16785
16620
  /**
@@ -17691,7 +17526,6 @@ declare class SelectQueryBuilder<Entity extends ObjectLiteral> extends QueryBuil
17691
17526
  * This method is useful to build pagination.
17692
17527
  */
17693
17528
  getManyAndCount(): Promise<[Entity[], number]>;
17694
- private lazyCount;
17695
17529
  /**
17696
17530
  * Executes built SQL query and returns raw data stream.
17697
17531
  */
@@ -19381,5 +19215,5 @@ interface QueryResultCache {
19381
19215
  remove(identifiers: string[], queryRunner?: QueryRunner): Promise<void>;
19382
19216
  }
19383
19217
 
19384
- export { EntityManager as E, Migration as M, Repository as R, SelectQueryBuilder as S, TreeRepository as T, DataSource as a, MongoEntityManager as a2, SqljsEntityManager as a3, ColumnMetadata as a4, RelationMetadata as a5, FindOperator as a7, EqualOperator as a8, UpdateQueryBuilder as aA, SoftDeleteQueryBuilder as aB, RelationQueryBuilder as aC, Brackets as aD, NotBrackets as aE, Query as aF, TableCheck as aG, TableColumn as aH, TableExclusion as aI, TableForeignKey as aJ, TableIndex as aK, TableUnique as aL, View as aM, InsertResult as an, ObjectId as ao, UpdateResult as aq, DeleteResult as as, Table as au, SqlInMemory as aw, InsertQueryBuilder as ay, DeleteQueryBuilder as az, MinKey as b$, Binary as bO, BSONRegExp as bP, BSONSymbol as bQ, BSONType as bR, Code as bS, DBRef as bT, Decimal128 as bU, deserialize as bV, Double as bX, Int32 as bY, Long as bZ, MaxKey as b_, QueryBuilder as bc, QueryResult as bd, EntitySchemaEmbeddedColumnOptions as be, EntitySchemaOptions as bf, serialize as c0, Timestamp as c1, AbstractCursor as c2, Admin as c8, ClientSession as cZ, AggregationCursor as ca, AuthMechanism as ci, AutoEncrypter as ck, AutoEncryptionLoggerLevel as cl, Batch as co, BatchType as cp, BulkOperationBase as ct, BulkWriteResult as cw, CancellationToken as cy, ChangeStream as cz, EntityMetadata as d, Collection as d4, CommandFailedEvent as d9, CURSOR_FLAGS as dD, Db as dG, ExplainVerbosity as d_, CommandStartedEvent as db, CommandSucceededEvent as dc, Compressor as de, ConnectionCheckedInEvent as dh, ConnectionCheckedOutEvent as di, ConnectionCheckOutFailedEvent as dj, ConnectionCheckOutStartedEvent as dk, ConnectionClosedEvent as dl, ConnectionCreatedEvent as dm, ConnectionPoolClearedEvent as dq, ConnectionPoolClosedEvent as dr, ConnectionPoolCreatedEvent as ds, ConnectionPoolMonitoringEvent as du, ConnectionPoolReadyEvent as dw, ConnectionReadyEvent as dx, MongoDBNamespace as e$, FindCursor as e3, FindOperators as e7, LEGAL_TCP_SOCKET_OPTIONS as eD, LEGAL_TLS_SOCKET_OPTIONS as eE, ListCollectionsCursor as eF, ListIndexesCursor as eJ, MONGO_CLIENT_EVENTS as eN, MongoAPIError as eO, MongoAWSError as eP, MongoBatchReExecutionError as eQ, MongoBulkWriteError as eR, MongoChangeStreamError as eS, MongoClient as eT, MongoCompatibilityError as eW, MongoCredentials as eX, MongoCursorExhaustedError as eZ, MongoCursorInUseError as e_, GridFSBucket as eb, GridFSBucketReadStream as ee, GridFSBucketWriteStream as eh, GSSAPICanonicalizationValue as el, HostAddress as eo, MongoRepository as f, MongoDecompressionError as f0, MongoDriverError as f1, MongoError as f2, MongoErrorLabel as f3, MongoExpiredSessionError as f4, MongoGridFSChunkError as f5, MongoGridFSStreamError as f6, MongoInvalidArgumentError as f7, MongoKerberosError as f8, MongoMissingCredentialsError as f9, OrderedBulkOperation as fI, ProfilingLevel as fK, ReadConcern as fR, ReadConcernLevel as fS, ReadPreference as fU, ReadPreferenceMode as fY, MongoMissingDependencyError as fa, MongoNetworkError as fb, MongoNetworkTimeoutError as fd, MongoNotConnectedError as fe, MongoParseError as fg, MongoRuntimeError as fh, MongoServerClosedError as fi, MongoServerError as fj, MongoServerSelectionError as fk, MongoSystemError as fl, MongoTailableCursorError as fm, MongoTopologyClosedError as fn, MongoTransactionError as fo, MongoUnexpectedServerResponseError as fp, MongoWriteConcernError as fq, ReturnDocument as g5, TopologyClosedEvent as gF, TopologyDescription as gG, TopologyDescriptionChangedEvent as gH, TopologyOpeningEvent as gK, TopologyType as gL, Transaction as gN, TypedEventEmitter as gP, UnorderedBulkOperation as gQ, ServerApiVersion as gc, ServerCapabilities as gd, ServerClosedEvent as ge, ServerDescription as gf, ServerDescriptionChangedEvent as gg, ServerHeartbeatFailedEvent as gi, ServerHeartbeatStartedEvent as gj, ServerHeartbeatSucceededEvent as gk, ServerOpeningEvent as gl, ServerSession as gm, ServerType as go, StreamDescription as gu, WriteConcern as h2, WriteConcernError as h3, WriteError as h7, bson_typings_d as h8, EntitySchema as j };
19385
- export type { RelationCountMetadataArgs as $, PropertyTypeFactory as A, OnUpdateType as B, ColumnOptions as C, DataSourceOptions as D, TableMetadataArgs as F, TreeMetadataArgs as G, IndexMetadataArgs as H, IsolationLevel as I, JoinColumnOptions as J, UniqueMetadataArgs as K, CheckMetadataArgs as L, NamingStrategyInterface as N, ObjectLiteral as O, PrimaryGeneratedColumnType as P, QueryResultCache as Q, UnsignedColumnType as U, ValueTransformer as V, WithLengthColumnType as W, ExclusionMetadataArgs as X, ColumnMetadataArgs as Y, RelationMetadataArgs as Z, EntityListenerMetadataArgs as _, CordovaConnectionOptions as a$, RelationIdMetadataArgs as a0, EmbeddedMetadataArgs as a1, DatabaseType as a6, FindOneOptions as a9, QueryResultCacheOptions as aN, MysqlConnectionOptions as aO, MysqlConnectionCredentialsOptions as aP, PostgresConnectionOptions as aQ, PostgresConnectionCredentialsOptions as aR, CockroachConnectionOptions as aS, CockroachConnectionCredentialsOptions as aT, SqliteConnectionOptions as aU, SqlServerConnectionOptions as aV, SqlServerConnectionCredentialsOptions as aW, SapConnectionOptions as aX, SapConnectionCredentialsOptions as aY, OracleConnectionOptions as aZ, OracleConnectionCredentialsOptions as a_, FindManyOptions as aa, FindTreeOptions as ab, Logger as ac, LoggerOptions as ad, LogLevel as ae, LogMessageType as af, LogMessage as ag, PrepareLogMessagesOptions as ah, FileLoggerOptions as ai, SaveOptions as aj, RemoveOptions as ak, DeepPartial as al, QueryDeepPartialEntity as am, FindOptionsWhere as ap, UpsertOptions as ar, PickKeysByType as at, SchemaBuilder as av, TableColumnOptions as ax, Driver as b, NativescriptConnectionOptions as b0, ReactNativeConnectionOptions as b1, SqljsConnectionOptions as b2, MongoConnectionOptions as b3, AuroraMysqlConnectionOptions as b4, AuroraMysqlConnectionCredentialsOptions as b5, AuroraPostgresConnectionOptions as b6, ExpoConnectionOptions as b7, BetterSqlite3ConnectionOptions as b8, CapacitorConnectionOptions as b9, FindOptionsRelationByString as bA, FindOptionsSelectProperty as bB, FindOptionsSelect as bC, FindOptionsSelectByString as bD, FindOptionsWhereProperty as bE, JoinOptions as bF, LogMessageFormat as bG, TableCheckOptions as bH, TableExclusionOptions as bI, TableForeignKeyOptions as bJ, TableIndexOptions as bK, TableOptions as bL, TableUniqueOptions as bM, ViewOptions as bN, Document as bW, SpannerConnectionOptions as ba, SpannerConnectionCredentialsOptions as bb, WhereExpressionBuilder as bg, MigrationInterface as bh, InsertEvent as bi, LoadEvent as bj, UpdateEvent as bk, RemoveEvent as bl, SoftRemoveEvent as bm, RecoverEvent as bn, TransactionCommitEvent as bo, TransactionRollbackEvent as bp, TransactionStartEvent as bq, EntitySchemaColumnOptions as br, EntitySchemaIndexOptions as bs, EntitySchemaRelationOptions as bt, FindOperatorType as bu, FindOptionsOrderProperty as bv, FindOptionsOrder as bw, FindOptionsOrderValue as bx, FindOptionsRelationsProperty as by, FindOptionsRelations as bz, EntitySubscriberInterface as c, ClientSessionOptions as c$, AbstractCursorEvents as c3, AbstractCursorOptions as c4, AcceptedFields as c5, AddToSetOperators as c6, AddUserOptions as c7, AggregateOptions as c9, ChangeStreamCollModDocument as cA, ChangeStreamCreateDocument as cB, ChangeStreamCreateIndexDocument as cC, ChangeStreamDeleteDocument as cD, ChangeStreamDocument as cE, ChangeStreamDocumentCollectionUUID as cF, ChangeStreamDocumentCommon as cG, ChangeStreamDocumentKey as cH, ChangeStreamDocumentOperationDescription as cI, ChangeStreamDropDatabaseDocument as cJ, ChangeStreamDropDocument as cK, ChangeStreamDropIndexDocument as cL, ChangeStreamEvents as cM, ChangeStreamInsertDocument as cN, ChangeStreamInvalidateDocument as cO, ChangeStreamNameSpace as cP, ChangeStreamOptions as cQ, ChangeStreamRefineCollectionShardKeyDocument as cR, ChangeStreamRenameDocument as cS, ChangeStreamReplaceDocument as cT, ChangeStreamReshardCollectionDocument as cU, ChangeStreamShardCollectionDocument as cV, ChangeStreamUpdateDocument as cW, ClientMetadata as cX, ClientMetadataOptions as cY, ClientSessionEvents as c_, AggregationCursorOptions as cb, AlternativeType as cc, AnyBulkWriteOperation as cd, AnyError as ce, ArrayElement as cf, ArrayOperator as cg, Auth as ch, AuthMechanismProperties as cj, AutoEncryptionOptions as cm, AutoEncryptionTlsOptions as cn, BitwiseFilter as cq, BSONSerializeOptions as cr, BSONTypeAlias as cs, BulkWriteOperationError as cu, BulkWriteOptions as cv, Callback as cx, ExplainVerbosityLike as d$, CloseOptions as d0, ClusteredCollectionOptions as d1, ClusterTime as d2, CollationOptions as d3, CollectionInfo as d5, CollectionOptions as d6, CollStats as d7, CollStatsOptions as d8, CountOptions as dA, CreateCollectionOptions as dB, CreateIndexesOptions as dC, CursorFlag as dE, CursorStreamOptions as dF, DbOptions as dH, DbStatsOptions as dI, DeleteManyModel as dJ, DeleteOneModel as dK, DeleteOptions as dL, DeleteStatement as dM, DistinctOptions as dN, DriverInfo as dO, DropCollectionOptions as dP, DropDatabaseOptions as dQ, DropIndexesOptions as dR, EndSessionOptions as dS, EnhancedOmit as dT, ErrorDescription as dU, EstimatedDocumentCountOptions as dV, EvalOptions as dW, EventEmitterWithState as dX, EventsDescription as dY, ExplainOptions as dZ, CommandOperationOptions as da, CommonEvents as dd, CompressorName as df, Condition as dg, ConnectionEvents as dn, ConnectionOptions as dp, ConnectionPoolEvents as dt, ConnectionPoolOptions as dv, ConnectOptions as dy, CountDocumentsOptions as dz, EntityTarget as e, Filter as e0, FilterOperations as e1, FilterOperators as e2, FindOneAndDeleteOptions as e4, FindOneAndReplaceOptions as e5, FindOneAndUpdateOptions as e6, FindOptions as e8, Flatten as e9, Join as eA, KeysOfAType as eB, KeysOfOtherType as eC, ListCollectionsOptions as eG, ListDatabasesOptions as eH, ListDatabasesResult as eI, ListIndexesOptions as eK, MatchKeysAndValues as eL, ModifyResult as eM, MongoClientEvents as eU, MongoClientOptions as eV, MongoCredentialsOptions as eY, GenericListener as ea, GridFSBucketEvents as ec, GridFSBucketOptions as ed, GridFSBucketReadStreamOptions as ef, GridFSBucketReadStreamOptionsWithRevision as eg, GridFSBucketWriteStreamOptions as ei, GridFSChunk as ej, GridFSFile as ek, HedgeOptions as em, Hint as en, IndexDescription as ep, IndexDirection as eq, IndexInformationOptions as er, IndexSpecification as es, InferIdType as et, InsertManyResult as eu, InsertOneModel as ev, InsertOneOptions as ew, InsertOneResult as ex, IntegerType as ey, IsAny as ez, RemoveUserOptions as f$, OIDCRequestFunction as fA, OIDCRequestTokenResult as fB, OneOrMore as fC, OnlyFieldsOfType as fD, OperationOptions as fE, OperationTime as fF, OptionalId as fG, OptionalUnlessRequiredId as fH, PkFactory as fJ, ProfilingLevelOptions as fL, PropertyType as fM, ProxyOptions as fN, PullAllOperator as fO, PullOperator as fP, PushOperator as fQ, ReadConcernLike as fT, ReadPreferenceFromOptions as fV, ReadPreferenceLike as fW, ReadPreferenceLikeOptions as fX, ReadPreferenceOptions as fZ, RegExpOrString as f_, MongoNetworkErrorOptions as fc, MongoOptions as ff, MonitorEvents as fr, MonitorOptions as fs, NestedPaths as ft, NestedPathsOfType as fu, NonObjectIdLikeDocument as fv, NotAcceptedFields as fw, NumericType as fx, OIDCMechanismServerStep1 as fy, OIDCRefreshFunction as fz, QueryRunner as g, WithoutId as g$, RenameOptions as g0, ReplaceOneModel as g1, ReplaceOptions as g2, ResumeOptions as g3, ResumeToken as g4, RoleSpecification as g6, RootFilterOperators as g7, RunCommandOptions as g8, SchemaMember as g9, SupportedSocketOptions as gA, SupportedTLSConnectionOptions as gB, SupportedTLSSocketOptions as gC, TagSet as gD, TimeSeriesCollectionOptions as gE, TopologyDescriptionOptions as gI, TopologyEvents as gJ, TopologyVersion as gM, TransactionOptions as gO, UpdateDescription as gR, UpdateFilter as gS, UpdateManyModel as gT, UpdateOneModel as gU, UpdateOptions as gV, UpdateStatement as gW, ValidateCollectionOptions as gX, W as gY, WiredTigerData as gZ, WithId as g_, SelectServerOptions as ga, ServerApi as gb, ServerEvents as gh, ServerSessionId as gn, SetFields as gp, SetProfilingLevelOptions as gq, Sort as gr, SortDirection as gs, Stream as gt, StreamDescriptionOptions as gv, StrictFilter as gw, StrictMatchKeysAndValues as gx, StrictUpdateFilter as gy, SupportedNodeConnectionOptions as gz, ReplicationMode as h, WithSessionCallback as h0, WithTransactionCallback as h1, WriteConcernErrorData as h4, WriteConcernOptions as h5, WriteConcernSettings as h6, Position as h9, Point as ha, LineString as hb, Polygon as hc, MultiPoint as hd, MultiLineString as he, MultiPolygon as hf, GeometryCollection as hg, Geometry as hh, Geography as hi, Feature as hj, FeatureCollection as hk, GeoJSON as hl, MixedList as i, OrderByCondition as k, SimpleColumnType as l, ColumnCommonOptions as m, SpatialColumnType as n, SpatialColumnOptions as o, WithPrecisionColumnType as p, ColumnType as q, JoinTableOptions as r, JoinTableMultipleColumnsOptions as s, ObjectType as t, RelationOptions as u, OnDeleteType as v, TreeType as w, ClosureTreeOptions as x, DeferrableType as y, RelationTypeInFunction as z };
19218
+ export { AbstractCursor, Admin, AggregationCursor, AuthMechanism, AutoEncryptionLoggerLevel, BSON, BSONRegExp, BSONSymbol, BSONType, Batch, BatchType, Binary, Brackets, BulkOperationBase, BulkWriteResult, CURSOR_FLAGS, CancellationToken, ChangeStream, ClientSession, Code, Collection, ColumnMetadata, CommandFailedEvent, CommandStartedEvent, CommandSucceededEvent, Compressor, ConnectionCheckOutFailedEvent, ConnectionCheckOutStartedEvent, ConnectionCheckedInEvent, ConnectionCheckedOutEvent, ConnectionClosedEvent, ConnectionCreatedEvent, ConnectionPoolClearedEvent, ConnectionPoolClosedEvent, ConnectionPoolCreatedEvent, ConnectionPoolMonitoringEvent, ConnectionPoolReadyEvent, ConnectionReadyEvent, DBRef, DataSource, Db, Decimal128, DeleteQueryBuilder, DeleteResult, Double, EntityManager, EntityMetadata, EntitySchema, EntitySchemaEmbeddedColumnOptions, EntitySchemaOptions, EqualOperator, ExplainVerbosity, FindCursor, FindOperator, FindOperators, GSSAPICanonicalizationValue, GridFSBucket, GridFSBucketReadStream, GridFSBucketWriteStream, HostAddress, InsertQueryBuilder, InsertResult, Int32, LEGAL_TCP_SOCKET_OPTIONS, LEGAL_TLS_SOCKET_OPTIONS, ListCollectionsCursor, ListIndexesCursor, Long, MONGO_CLIENT_EVENTS, MaxKey, Migration, MinKey, MongoAPIError, MongoAWSError, MongoBatchReExecutionError, MongoBulkWriteError, MongoChangeStreamError, MongoClient, MongoCompatibilityError, MongoCredentials, MongoCursorExhaustedError, MongoCursorInUseError, MongoDBNamespace, MongoDecompressionError, MongoDriverError, MongoEntityManager, MongoError, MongoErrorLabel, MongoExpiredSessionError, MongoGridFSChunkError, MongoGridFSStreamError, MongoInvalidArgumentError, MongoKerberosError, MongoMissingCredentialsError, MongoMissingDependencyError, MongoNetworkError, MongoNetworkTimeoutError, MongoNotConnectedError, MongoParseError, MongoRepository, MongoRuntimeError, MongoServerClosedError, MongoServerError, MongoServerSelectionError, MongoSystemError, MongoTailableCursorError, MongoTopologyClosedError, MongoTransactionError, MongoUnexpectedServerResponseError, MongoWriteConcernError, NotBrackets, ObjectId, OrderedBulkOperation, ProfilingLevel, Query, QueryBuilder, QueryResult, ReadConcern, ReadConcernLevel, ReadPreference, ReadPreferenceMode, RelationMetadata, RelationQueryBuilder, Repository, ReturnDocument, SelectQueryBuilder, ServerApiVersion, ServerCapabilities, ServerClosedEvent, ServerDescription, ServerDescriptionChangedEvent, ServerHeartbeatFailedEvent, ServerHeartbeatStartedEvent, ServerHeartbeatSucceededEvent, ServerOpeningEvent, ServerSession, ServerType, SoftDeleteQueryBuilder, SqlInMemory, SqljsEntityManager, StreamDescription, Table, TableCheck, TableColumn, TableExclusion, TableForeignKey, TableIndex, TableUnique, Timestamp, TopologyClosedEvent, TopologyDescription, TopologyDescriptionChangedEvent, TopologyOpeningEvent, TopologyType, Transaction, TreeRepository, TypedEventEmitter, UnorderedBulkOperation, UpdateQueryBuilder, UpdateResult, View, WriteConcern, WriteConcernError, WriteError, deserialize, serialize };
19219
+ export type { AbstractCursorEvents, AbstractCursorOptions, AcceptedFields, AddToSetOperators, AddUserOptions, AggregateOptions, AggregationCursorOptions, AlternativeType, AnyBulkWriteOperation, AnyError, ArrayElement, ArrayOperator, AuroraMysqlConnectionCredentialsOptions, AuroraMysqlConnectionOptions, AuroraPostgresConnectionOptions, Auth, AuthMechanismProperties, AutoEncrypter, AutoEncryptionOptions, AutoEncryptionTlsOptions, BSONSerializeOptions, BSONTypeAlias, BetterSqlite3ConnectionOptions, BitwiseFilter, BulkWriteOperationError, BulkWriteOptions, Callback, CapacitorConnectionOptions, ChangeStreamCollModDocument, ChangeStreamCreateDocument, ChangeStreamCreateIndexDocument, ChangeStreamDeleteDocument, ChangeStreamDocument, ChangeStreamDocumentCollectionUUID, ChangeStreamDocumentCommon, ChangeStreamDocumentKey, ChangeStreamDocumentOperationDescription, ChangeStreamDropDatabaseDocument, ChangeStreamDropDocument, ChangeStreamDropIndexDocument, ChangeStreamEvents, ChangeStreamInsertDocument, ChangeStreamInvalidateDocument, ChangeStreamNameSpace, ChangeStreamOptions, ChangeStreamRefineCollectionShardKeyDocument, ChangeStreamRenameDocument, ChangeStreamReplaceDocument, ChangeStreamReshardCollectionDocument, ChangeStreamShardCollectionDocument, ChangeStreamUpdateDocument, CheckMetadataArgs, ClientMetadata, ClientMetadataOptions, ClientSessionEvents, ClientSessionOptions, CloseOptions, ClosureTreeOptions, ClusterTime, ClusteredCollectionOptions, CockroachConnectionCredentialsOptions, CockroachConnectionOptions, CollStats, CollStatsOptions, CollationOptions, CollectionInfo, CollectionOptions, ColumnCommonOptions, ColumnMetadataArgs, ColumnOptions, ColumnType, CommandOperationOptions, CommonEvents, CompressorName, Condition, ConnectOptions, ConnectionEvents, ConnectionOptions, ConnectionPoolEvents, ConnectionPoolOptions, CordovaConnectionOptions, CountDocumentsOptions, CountOptions, CreateCollectionOptions, CreateIndexesOptions, CursorFlag, CursorStreamOptions, DataSourceOptions, DatabaseType, DbOptions, DbStatsOptions, DeepPartial, DeferrableType, DeleteManyModel, DeleteOneModel, DeleteOptions, DeleteStatement, DistinctOptions, Document, Driver, DriverInfo, DropCollectionOptions, DropDatabaseOptions, DropIndexesOptions, EmbeddedMetadataArgs, EndSessionOptions, EnhancedOmit, EntityListenerMetadataArgs, EntitySchemaColumnOptions, EntitySchemaIndexOptions, EntitySchemaRelationOptions, EntitySubscriberInterface, EntityTarget, ErrorDescription, EstimatedDocumentCountOptions, EvalOptions, EventEmitterWithState, EventsDescription, ExclusionMetadataArgs, ExplainOptions, ExplainVerbosityLike, ExpoConnectionOptions, Feature, FeatureCollection, FileLoggerOptions, Filter, FilterOperations, FilterOperators, FindManyOptions, FindOneAndDeleteOptions, FindOneAndReplaceOptions, FindOneAndUpdateOptions, FindOneOptions, FindOperatorType, FindOptions, FindOptionsOrder, FindOptionsOrderProperty, FindOptionsOrderValue, FindOptionsRelationByString, FindOptionsRelations, FindOptionsRelationsProperty, FindOptionsSelect, FindOptionsSelectByString, FindOptionsSelectProperty, FindOptionsWhere, FindOptionsWhereProperty, FindTreeOptions, Flatten, GenericListener, GeoJSON, Geography, Geometry, GeometryCollection, GridFSBucketEvents, GridFSBucketOptions, GridFSBucketReadStreamOptions, GridFSBucketReadStreamOptionsWithRevision, GridFSBucketWriteStreamOptions, GridFSChunk, GridFSFile, HedgeOptions, Hint, IndexDescription, IndexDirection, IndexInformationOptions, IndexMetadataArgs, IndexSpecification, InferIdType, InsertEvent, InsertManyResult, InsertOneModel, InsertOneOptions, InsertOneResult, IntegerType, IsAny, IsolationLevel, Join, JoinColumnOptions, JoinOptions, JoinTableMultipleColumnsOptions, JoinTableOptions, KeysOfAType, KeysOfOtherType, LineString, ListCollectionsOptions, ListDatabasesOptions, ListDatabasesResult, ListIndexesOptions, LoadEvent, LogLevel, LogMessage, LogMessageFormat, LogMessageType, Logger, LoggerOptions, MatchKeysAndValues, MigrationInterface, MixedList, ModifyResult, MongoClientEvents, MongoClientOptions, MongoConnectionOptions, MongoCredentialsOptions, MongoNetworkErrorOptions, MongoOptions, MonitorEvents, MonitorOptions, MultiLineString, MultiPoint, MultiPolygon, MysqlConnectionCredentialsOptions, MysqlConnectionOptions, NamingStrategyInterface, NativescriptConnectionOptions, NestedPaths, NestedPathsOfType, NonObjectIdLikeDocument, NotAcceptedFields, NumericType, OIDCMechanismServerStep1, OIDCRefreshFunction, OIDCRequestFunction, OIDCRequestTokenResult, ObjectLiteral, ObjectType, OnDeleteType, OnUpdateType, OneOrMore, OnlyFieldsOfType, OperationOptions, OperationTime, OptionalId, OptionalUnlessRequiredId, OracleConnectionCredentialsOptions, OracleConnectionOptions, OrderByCondition, PickKeysByType, PkFactory, Point, Polygon, Position, PostgresConnectionCredentialsOptions, PostgresConnectionOptions, PrepareLogMessagesOptions, PrimaryGeneratedColumnType, ProfilingLevelOptions, PropertyType, PropertyTypeFactory, ProxyOptions, PullAllOperator, PullOperator, PushOperator, QueryDeepPartialEntity, QueryResultCache, QueryResultCacheOptions, QueryRunner, ReactNativeConnectionOptions, ReadConcernLike, ReadPreferenceFromOptions, ReadPreferenceLike, ReadPreferenceLikeOptions, ReadPreferenceOptions, RecoverEvent, RegExpOrString, RelationCountMetadataArgs, RelationIdMetadataArgs, RelationMetadataArgs, RelationOptions, RelationTypeInFunction, RemoveEvent, RemoveOptions, RemoveUserOptions, RenameOptions, ReplaceOneModel, ReplaceOptions, ReplicationMode, ResumeOptions, ResumeToken, RoleSpecification, RootFilterOperators, RunCommandOptions, SapConnectionCredentialsOptions, SapConnectionOptions, SaveOptions, SchemaBuilder, SchemaMember, SelectServerOptions, ServerApi, ServerEvents, ServerSessionId, SetFields, SetProfilingLevelOptions, SimpleColumnType, SoftRemoveEvent, Sort, SortDirection, SpannerConnectionCredentialsOptions, SpannerConnectionOptions, SpatialColumnOptions, SpatialColumnType, SqlServerConnectionCredentialsOptions, SqlServerConnectionOptions, SqliteConnectionOptions, SqljsConnectionOptions, Stream, StreamDescriptionOptions, StrictFilter, StrictMatchKeysAndValues, StrictUpdateFilter, SupportedNodeConnectionOptions, SupportedSocketOptions, SupportedTLSConnectionOptions, SupportedTLSSocketOptions, TableCheckOptions, TableColumnOptions, TableExclusionOptions, TableForeignKeyOptions, TableIndexOptions, TableMetadataArgs, TableOptions, TableUniqueOptions, TagSet, TimeSeriesCollectionOptions, TopologyDescriptionOptions, TopologyEvents, TopologyVersion, TransactionCommitEvent, TransactionOptions, TransactionRollbackEvent, TransactionStartEvent, TreeMetadataArgs, TreeType, UniqueMetadataArgs, UpdateDescription, UpdateEvent, UpdateFilter, UpdateManyModel, UpdateOneModel, UpdateOptions, UpdateStatement, UpsertOptions, ValidateCollectionOptions, ValueTransformer, ViewOptions, W, WhereExpressionBuilder, WiredTigerData, WithId, WithLengthColumnType, WithPrecisionColumnType, WithSessionCallback, WithTransactionCallback, WithWidthColumnType, WithoutId, WriteConcernErrorData, WriteConcernOptions, WriteConcernSettings };