@depup/mongodb 7.1.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +201 -0
- package/README.md +33 -0
- package/etc/prepare.js +12 -0
- package/lib/admin.js +136 -0
- package/lib/admin.js.map +1 -0
- package/lib/bson.js +85 -0
- package/lib/bson.js.map +1 -0
- package/lib/bulk/common.js +835 -0
- package/lib/bulk/common.js.map +1 -0
- package/lib/bulk/ordered.js +67 -0
- package/lib/bulk/ordered.js.map +1 -0
- package/lib/bulk/unordered.js +92 -0
- package/lib/bulk/unordered.js.map +1 -0
- package/lib/change_stream.js +513 -0
- package/lib/change_stream.js.map +1 -0
- package/lib/client-side-encryption/auto_encrypter.js +272 -0
- package/lib/client-side-encryption/auto_encrypter.js.map +1 -0
- package/lib/client-side-encryption/client_encryption.js +609 -0
- package/lib/client-side-encryption/client_encryption.js.map +1 -0
- package/lib/client-side-encryption/errors.js +138 -0
- package/lib/client-side-encryption/errors.js.map +1 -0
- package/lib/client-side-encryption/mongocryptd_manager.js +85 -0
- package/lib/client-side-encryption/mongocryptd_manager.js.map +1 -0
- package/lib/client-side-encryption/providers/aws.js +23 -0
- package/lib/client-side-encryption/providers/aws.js.map +1 -0
- package/lib/client-side-encryption/providers/azure.js +132 -0
- package/lib/client-side-encryption/providers/azure.js.map +1 -0
- package/lib/client-side-encryption/providers/gcp.js +16 -0
- package/lib/client-side-encryption/providers/gcp.js.map +1 -0
- package/lib/client-side-encryption/providers/index.js +43 -0
- package/lib/client-side-encryption/providers/index.js.map +1 -0
- package/lib/client-side-encryption/state_machine.js +427 -0
- package/lib/client-side-encryption/state_machine.js.map +1 -0
- package/lib/cmap/auth/auth_provider.js +51 -0
- package/lib/cmap/auth/auth_provider.js.map +1 -0
- package/lib/cmap/auth/aws4.js +161 -0
- package/lib/cmap/auth/aws4.js.map +1 -0
- package/lib/cmap/auth/aws_temporary_credentials.js +103 -0
- package/lib/cmap/auth/aws_temporary_credentials.js.map +1 -0
- package/lib/cmap/auth/gssapi.js +155 -0
- package/lib/cmap/auth/gssapi.js.map +1 -0
- package/lib/cmap/auth/mongo_credentials.js +169 -0
- package/lib/cmap/auth/mongo_credentials.js.map +1 -0
- package/lib/cmap/auth/mongodb_aws.js +128 -0
- package/lib/cmap/auth/mongodb_aws.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js +84 -0
- package/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js +62 -0
- package/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/callback_workflow.js +141 -0
- package/lib/cmap/auth/mongodb_oidc/callback_workflow.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/command_builders.js +44 -0
- package/lib/cmap/auth/mongodb_oidc/command_builders.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js +39 -0
- package/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js +122 -0
- package/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.js +32 -0
- package/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/token_cache.js +52 -0
- package/lib/cmap/auth/mongodb_oidc/token_cache.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js +23 -0
- package/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js.map +1 -0
- package/lib/cmap/auth/mongodb_oidc.js +73 -0
- package/lib/cmap/auth/mongodb_oidc.js.map +1 -0
- package/lib/cmap/auth/plain.js +26 -0
- package/lib/cmap/auth/plain.js.map +1 -0
- package/lib/cmap/auth/providers.js +22 -0
- package/lib/cmap/auth/providers.js.map +1 -0
- package/lib/cmap/auth/scram.js +254 -0
- package/lib/cmap/auth/scram.js.map +1 -0
- package/lib/cmap/auth/x509.js +36 -0
- package/lib/cmap/auth/x509.js.map +1 -0
- package/lib/cmap/command_monitoring_events.js +223 -0
- package/lib/cmap/command_monitoring_events.js.map +1 -0
- package/lib/cmap/commands.js +535 -0
- package/lib/cmap/commands.js.map +1 -0
- package/lib/cmap/connect.js +381 -0
- package/lib/cmap/connect.js.map +1 -0
- package/lib/cmap/connection.js +571 -0
- package/lib/cmap/connection.js.map +1 -0
- package/lib/cmap/connection_pool.js +558 -0
- package/lib/cmap/connection_pool.js.map +1 -0
- package/lib/cmap/connection_pool_events.js +190 -0
- package/lib/cmap/connection_pool_events.js.map +1 -0
- package/lib/cmap/errors.js +108 -0
- package/lib/cmap/errors.js.map +1 -0
- package/lib/cmap/handshake/client_metadata.js +242 -0
- package/lib/cmap/handshake/client_metadata.js.map +1 -0
- package/lib/cmap/metrics.js +62 -0
- package/lib/cmap/metrics.js.map +1 -0
- package/lib/cmap/stream_description.js +70 -0
- package/lib/cmap/stream_description.js.map +1 -0
- package/lib/cmap/wire_protocol/compression.js +178 -0
- package/lib/cmap/wire_protocol/compression.js.map +1 -0
- package/lib/cmap/wire_protocol/constants.js +21 -0
- package/lib/cmap/wire_protocol/constants.js.map +1 -0
- package/lib/cmap/wire_protocol/on_data.js +111 -0
- package/lib/cmap/wire_protocol/on_data.js.map +1 -0
- package/lib/cmap/wire_protocol/on_demand/document.js +222 -0
- package/lib/cmap/wire_protocol/on_demand/document.js.map +1 -0
- package/lib/cmap/wire_protocol/responses.js +315 -0
- package/lib/cmap/wire_protocol/responses.js.map +1 -0
- package/lib/cmap/wire_protocol/shared.js +35 -0
- package/lib/cmap/wire_protocol/shared.js.map +1 -0
- package/lib/collection.js +751 -0
- package/lib/collection.js.map +1 -0
- package/lib/connection_string.js +1090 -0
- package/lib/connection_string.js.map +1 -0
- package/lib/constants.js +170 -0
- package/lib/constants.js.map +1 -0
- package/lib/cursor/abstract_cursor.js +924 -0
- package/lib/cursor/abstract_cursor.js.map +1 -0
- package/lib/cursor/aggregation_cursor.js +164 -0
- package/lib/cursor/aggregation_cursor.js.map +1 -0
- package/lib/cursor/change_stream_cursor.js +104 -0
- package/lib/cursor/change_stream_cursor.js.map +1 -0
- package/lib/cursor/client_bulk_write_cursor.js +52 -0
- package/lib/cursor/client_bulk_write_cursor.js.map +1 -0
- package/lib/cursor/explainable_cursor.js +36 -0
- package/lib/cursor/explainable_cursor.js.map +1 -0
- package/lib/cursor/find_cursor.js +399 -0
- package/lib/cursor/find_cursor.js.map +1 -0
- package/lib/cursor/list_collections_cursor.js +34 -0
- package/lib/cursor/list_collections_cursor.js.map +1 -0
- package/lib/cursor/list_indexes_cursor.js +32 -0
- package/lib/cursor/list_indexes_cursor.js.map +1 -0
- package/lib/cursor/list_search_indexes_cursor.js +14 -0
- package/lib/cursor/list_search_indexes_cursor.js.map +1 -0
- package/lib/cursor/run_command_cursor.js +94 -0
- package/lib/cursor/run_command_cursor.js.map +1 -0
- package/lib/db.js +419 -0
- package/lib/db.js.map +1 -0
- package/lib/deps.js +112 -0
- package/lib/deps.js.map +1 -0
- package/lib/encrypter.js +106 -0
- package/lib/encrypter.js.map +1 -0
- package/lib/error.js +1380 -0
- package/lib/error.js.map +1 -0
- package/lib/explain.js +59 -0
- package/lib/explain.js.map +1 -0
- package/lib/gridfs/download.js +305 -0
- package/lib/gridfs/download.js.map +1 -0
- package/lib/gridfs/index.js +164 -0
- package/lib/gridfs/index.js.map +1 -0
- package/lib/gridfs/upload.js +358 -0
- package/lib/gridfs/upload.js.map +1 -0
- package/lib/index.js +193 -0
- package/lib/index.js.map +1 -0
- package/lib/mongo_client.js +557 -0
- package/lib/mongo_client.js.map +1 -0
- package/lib/mongo_client_auth_providers.js +80 -0
- package/lib/mongo_client_auth_providers.js.map +1 -0
- package/lib/mongo_logger.js +655 -0
- package/lib/mongo_logger.js.map +1 -0
- package/lib/mongo_types.js +56 -0
- package/lib/mongo_types.js.map +1 -0
- package/lib/operations/aggregate.js +90 -0
- package/lib/operations/aggregate.js.map +1 -0
- package/lib/operations/client_bulk_write/client_bulk_write.js +51 -0
- package/lib/operations/client_bulk_write/client_bulk_write.js.map +1 -0
- package/lib/operations/client_bulk_write/command_builder.js +340 -0
- package/lib/operations/client_bulk_write/command_builder.js.map +1 -0
- package/lib/operations/client_bulk_write/common.js +3 -0
- package/lib/operations/client_bulk_write/common.js.map +1 -0
- package/lib/operations/client_bulk_write/executor.js +120 -0
- package/lib/operations/client_bulk_write/executor.js.map +1 -0
- package/lib/operations/client_bulk_write/results_merger.js +204 -0
- package/lib/operations/client_bulk_write/results_merger.js.map +1 -0
- package/lib/operations/command.js +83 -0
- package/lib/operations/command.js.map +1 -0
- package/lib/operations/count.js +45 -0
- package/lib/operations/count.js.map +1 -0
- package/lib/operations/create_collection.js +109 -0
- package/lib/operations/create_collection.js.map +1 -0
- package/lib/operations/delete.js +125 -0
- package/lib/operations/delete.js.map +1 -0
- package/lib/operations/distinct.js +61 -0
- package/lib/operations/distinct.js.map +1 -0
- package/lib/operations/drop.js +93 -0
- package/lib/operations/drop.js.map +1 -0
- package/lib/operations/end_sessions.js +34 -0
- package/lib/operations/end_sessions.js.map +1 -0
- package/lib/operations/estimated_document_count.js +41 -0
- package/lib/operations/estimated_document_count.js.map +1 -0
- package/lib/operations/execute_operation.js +239 -0
- package/lib/operations/execute_operation.js.map +1 -0
- package/lib/operations/find.js +148 -0
- package/lib/operations/find.js.map +1 -0
- package/lib/operations/find_and_modify.js +158 -0
- package/lib/operations/find_and_modify.js.map +1 -0
- package/lib/operations/get_more.js +62 -0
- package/lib/operations/get_more.js.map +1 -0
- package/lib/operations/indexes.js +186 -0
- package/lib/operations/indexes.js.map +1 -0
- package/lib/operations/insert.js +70 -0
- package/lib/operations/insert.js.map +1 -0
- package/lib/operations/kill_cursors.js +43 -0
- package/lib/operations/kill_cursors.js.map +1 -0
- package/lib/operations/list_collections.js +53 -0
- package/lib/operations/list_collections.js.map +1 -0
- package/lib/operations/list_databases.js +40 -0
- package/lib/operations/list_databases.js.map +1 -0
- package/lib/operations/operation.js +102 -0
- package/lib/operations/operation.js.map +1 -0
- package/lib/operations/profiling_level.js +43 -0
- package/lib/operations/profiling_level.js.map +1 -0
- package/lib/operations/remove_user.js +27 -0
- package/lib/operations/remove_user.js.map +1 -0
- package/lib/operations/rename.js +38 -0
- package/lib/operations/rename.js.map +1 -0
- package/lib/operations/run_command.js +47 -0
- package/lib/operations/run_command.js.map +1 -0
- package/lib/operations/search_indexes/create.js +33 -0
- package/lib/operations/search_indexes/create.js.map +1 -0
- package/lib/operations/search_indexes/drop.js +43 -0
- package/lib/operations/search_indexes/drop.js.map +1 -0
- package/lib/operations/search_indexes/update.js +35 -0
- package/lib/operations/search_indexes/update.js.map +1 -0
- package/lib/operations/set_profiling_level.js +53 -0
- package/lib/operations/set_profiling_level.js.map +1 -0
- package/lib/operations/stats.js +27 -0
- package/lib/operations/stats.js.map +1 -0
- package/lib/operations/update.js +188 -0
- package/lib/operations/update.js.map +1 -0
- package/lib/operations/validate_collection.js +37 -0
- package/lib/operations/validate_collection.js.map +1 -0
- package/lib/read_concern.js +73 -0
- package/lib/read_concern.js.map +1 -0
- package/lib/read_preference.js +191 -0
- package/lib/read_preference.js.map +1 -0
- package/lib/sdam/common.js +49 -0
- package/lib/sdam/common.js.map +1 -0
- package/lib/sdam/events.js +146 -0
- package/lib/sdam/events.js.map +1 -0
- package/lib/sdam/monitor.js +544 -0
- package/lib/sdam/monitor.js.map +1 -0
- package/lib/sdam/server.js +404 -0
- package/lib/sdam/server.js.map +1 -0
- package/lib/sdam/server_description.js +204 -0
- package/lib/sdam/server_description.js.map +1 -0
- package/lib/sdam/server_selection.js +294 -0
- package/lib/sdam/server_selection.js.map +1 -0
- package/lib/sdam/server_selection_events.js +85 -0
- package/lib/sdam/server_selection_events.js.map +1 -0
- package/lib/sdam/srv_polling.js +108 -0
- package/lib/sdam/srv_polling.js.map +1 -0
- package/lib/sdam/topology.js +652 -0
- package/lib/sdam/topology.js.map +1 -0
- package/lib/sdam/topology_description.js +383 -0
- package/lib/sdam/topology_description.js.map +1 -0
- package/lib/sessions.js +892 -0
- package/lib/sessions.js.map +1 -0
- package/lib/sort.js +103 -0
- package/lib/sort.js.map +1 -0
- package/lib/timeout.js +296 -0
- package/lib/timeout.js.map +1 -0
- package/lib/transactions.js +135 -0
- package/lib/transactions.js.map +1 -0
- package/lib/utils.js +1163 -0
- package/lib/utils.js.map +1 -0
- package/lib/write_concern.js +100 -0
- package/lib/write_concern.js.map +1 -0
- package/mongodb.d.ts +9018 -0
- package/package.json +197 -0
- package/src/admin.ts +173 -0
- package/src/bson.ts +149 -0
- package/src/bulk/common.ts +1251 -0
- package/src/bulk/ordered.ts +83 -0
- package/src/bulk/unordered.ts +115 -0
- package/src/change_stream.ts +1160 -0
- package/src/client-side-encryption/auto_encrypter.ts +469 -0
- package/src/client-side-encryption/client_encryption.ts +1150 -0
- package/src/client-side-encryption/errors.ts +144 -0
- package/src/client-side-encryption/mongocryptd_manager.ts +100 -0
- package/src/client-side-encryption/providers/aws.ts +33 -0
- package/src/client-side-encryption/providers/azure.ts +181 -0
- package/src/client-side-encryption/providers/gcp.ts +16 -0
- package/src/client-side-encryption/providers/index.ts +207 -0
- package/src/client-side-encryption/state_machine.ts +651 -0
- package/src/cmap/auth/auth_provider.ts +77 -0
- package/src/cmap/auth/aws4.ts +207 -0
- package/src/cmap/auth/aws_temporary_credentials.ts +129 -0
- package/src/cmap/auth/gssapi.ts +203 -0
- package/src/cmap/auth/mongo_credentials.ts +292 -0
- package/src/cmap/auth/mongodb_aws.ts +179 -0
- package/src/cmap/auth/mongodb_oidc/automated_callback_workflow.ts +88 -0
- package/src/cmap/auth/mongodb_oidc/azure_machine_workflow.ts +73 -0
- package/src/cmap/auth/mongodb_oidc/callback_workflow.ts +188 -0
- package/src/cmap/auth/mongodb_oidc/command_builders.ts +53 -0
- package/src/cmap/auth/mongodb_oidc/gcp_machine_workflow.ts +46 -0
- package/src/cmap/auth/mongodb_oidc/human_callback_workflow.ts +141 -0
- package/src/cmap/auth/mongodb_oidc/k8s_machine_workflow.ts +31 -0
- package/src/cmap/auth/mongodb_oidc/token_cache.ts +62 -0
- package/src/cmap/auth/mongodb_oidc/token_machine_workflow.ts +22 -0
- package/src/cmap/auth/mongodb_oidc.ts +185 -0
- package/src/cmap/auth/plain.ts +25 -0
- package/src/cmap/auth/providers.ts +22 -0
- package/src/cmap/auth/scram.ts +344 -0
- package/src/cmap/auth/x509.ts +43 -0
- package/src/cmap/command_monitoring_events.ts +316 -0
- package/src/cmap/commands.ts +788 -0
- package/src/cmap/connect.ts +518 -0
- package/src/cmap/connection.ts +931 -0
- package/src/cmap/connection_pool.ts +831 -0
- package/src/cmap/connection_pool_events.ts +300 -0
- package/src/cmap/errors.ts +119 -0
- package/src/cmap/handshake/client_metadata.ts +353 -0
- package/src/cmap/metrics.ts +58 -0
- package/src/cmap/stream_description.ts +96 -0
- package/src/cmap/wire_protocol/compression.ts +211 -0
- package/src/cmap/wire_protocol/constants.ts +17 -0
- package/src/cmap/wire_protocol/on_data.ts +139 -0
- package/src/cmap/wire_protocol/on_demand/document.ts +358 -0
- package/src/cmap/wire_protocol/responses.ts +393 -0
- package/src/cmap/wire_protocol/shared.ts +48 -0
- package/src/collection.ts +1314 -0
- package/src/connection_string.ts +1297 -0
- package/src/constants.ts +176 -0
- package/src/cursor/abstract_cursor.ts +1247 -0
- package/src/cursor/aggregation_cursor.ts +245 -0
- package/src/cursor/change_stream_cursor.ts +171 -0
- package/src/cursor/client_bulk_write_cursor.ts +83 -0
- package/src/cursor/explainable_cursor.ts +51 -0
- package/src/cursor/find_cursor.ts +497 -0
- package/src/cursor/list_collections_cursor.ts +50 -0
- package/src/cursor/list_indexes_cursor.ts +37 -0
- package/src/cursor/list_search_indexes_cursor.ts +20 -0
- package/src/cursor/run_command_cursor.ts +178 -0
- package/src/db.ts +621 -0
- package/src/deps.ts +227 -0
- package/src/encrypter.ts +127 -0
- package/src/error.ts +1567 -0
- package/src/explain.ts +124 -0
- package/src/gridfs/download.ts +483 -0
- package/src/gridfs/index.ts +264 -0
- package/src/gridfs/upload.ts +537 -0
- package/src/index.ts +633 -0
- package/src/mongo_client.ts +1155 -0
- package/src/mongo_client_auth_providers.ts +87 -0
- package/src/mongo_logger.ts +1081 -0
- package/src/mongo_types.ts +678 -0
- package/src/operations/aggregate.ts +153 -0
- package/src/operations/client_bulk_write/client_bulk_write.ts +72 -0
- package/src/operations/client_bulk_write/command_builder.ts +487 -0
- package/src/operations/client_bulk_write/common.ts +276 -0
- package/src/operations/client_bulk_write/executor.ts +149 -0
- package/src/operations/client_bulk_write/results_merger.ts +260 -0
- package/src/operations/command.ts +171 -0
- package/src/operations/count.ts +74 -0
- package/src/operations/create_collection.ts +218 -0
- package/src/operations/delete.ts +183 -0
- package/src/operations/distinct.ts +92 -0
- package/src/operations/drop.ts +130 -0
- package/src/operations/end_sessions.ts +44 -0
- package/src/operations/estimated_document_count.ts +61 -0
- package/src/operations/execute_operation.ts +319 -0
- package/src/operations/find.ts +254 -0
- package/src/operations/find_and_modify.ts +319 -0
- package/src/operations/get_more.ts +108 -0
- package/src/operations/indexes.ts +418 -0
- package/src/operations/insert.ts +108 -0
- package/src/operations/kill_cursors.ts +64 -0
- package/src/operations/list_collections.ts +108 -0
- package/src/operations/list_databases.ts +68 -0
- package/src/operations/operation.ts +181 -0
- package/src/operations/profiling_level.ts +46 -0
- package/src/operations/remove_user.ts +36 -0
- package/src/operations/rename.ts +60 -0
- package/src/operations/run_command.ts +79 -0
- package/src/operations/search_indexes/create.ts +56 -0
- package/src/operations/search_indexes/drop.ts +58 -0
- package/src/operations/search_indexes/update.ts +45 -0
- package/src/operations/set_profiling_level.ts +74 -0
- package/src/operations/stats.ts +37 -0
- package/src/operations/update.ts +318 -0
- package/src/operations/validate_collection.ts +50 -0
- package/src/read_concern.ts +88 -0
- package/src/read_preference.ts +256 -0
- package/src/sdam/common.ts +74 -0
- package/src/sdam/events.ts +219 -0
- package/src/sdam/monitor.ts +771 -0
- package/src/sdam/server.ts +595 -0
- package/src/sdam/server_description.ts +297 -0
- package/src/sdam/server_selection.ts +415 -0
- package/src/sdam/server_selection_events.ts +142 -0
- package/src/sdam/srv_polling.ts +146 -0
- package/src/sdam/topology.ts +1100 -0
- package/src/sdam/topology_description.ts +548 -0
- package/src/sessions.ts +1244 -0
- package/src/sort.ts +141 -0
- package/src/timeout.ts +405 -0
- package/src/transactions.ts +181 -0
- package/src/utils.ts +1434 -0
- package/src/write_concern.ts +183 -0
- package/tsconfig.json +46 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
import { Admin } from './admin';
|
|
2
|
+
import { OrderedBulkOperation } from './bulk/ordered';
|
|
3
|
+
import { UnorderedBulkOperation } from './bulk/unordered';
|
|
4
|
+
import { ChangeStream } from './change_stream';
|
|
5
|
+
import { Collection } from './collection';
|
|
6
|
+
import { AbstractCursor } from './cursor/abstract_cursor';
|
|
7
|
+
import { AggregationCursor } from './cursor/aggregation_cursor';
|
|
8
|
+
import { FindCursor } from './cursor/find_cursor';
|
|
9
|
+
import { ListCollectionsCursor } from './cursor/list_collections_cursor';
|
|
10
|
+
import { ListIndexesCursor } from './cursor/list_indexes_cursor';
|
|
11
|
+
import type { RunCommandCursor } from './cursor/run_command_cursor';
|
|
12
|
+
import { Db } from './db';
|
|
13
|
+
import { GridFSBucket } from './gridfs';
|
|
14
|
+
import { GridFSBucketReadStream } from './gridfs/download';
|
|
15
|
+
import { GridFSBucketWriteStream } from './gridfs/upload';
|
|
16
|
+
import { MongoClient } from './mongo_client';
|
|
17
|
+
import { CancellationToken } from './mongo_types';
|
|
18
|
+
import { ClientSession } from './sessions';
|
|
19
|
+
|
|
20
|
+
/** @public */
|
|
21
|
+
export { BSON } from './bson';
|
|
22
|
+
export {
|
|
23
|
+
Binary,
|
|
24
|
+
BSONRegExp,
|
|
25
|
+
BSONSymbol,
|
|
26
|
+
BSONType,
|
|
27
|
+
Code,
|
|
28
|
+
DBRef,
|
|
29
|
+
Decimal128,
|
|
30
|
+
Double,
|
|
31
|
+
Int32,
|
|
32
|
+
Long,
|
|
33
|
+
MaxKey,
|
|
34
|
+
MinKey,
|
|
35
|
+
ObjectId,
|
|
36
|
+
Timestamp,
|
|
37
|
+
UUID
|
|
38
|
+
} from './bson';
|
|
39
|
+
export {
|
|
40
|
+
type AnyBulkWriteOperation,
|
|
41
|
+
type BulkWriteOptions,
|
|
42
|
+
MongoBulkWriteError
|
|
43
|
+
} from './bulk/common';
|
|
44
|
+
export { ClientEncryption } from './client-side-encryption/client_encryption';
|
|
45
|
+
export { ChangeStreamCursor } from './cursor/change_stream_cursor';
|
|
46
|
+
export { ExplainableCursor } from './cursor/explainable_cursor';
|
|
47
|
+
export {
|
|
48
|
+
MongoAPIError,
|
|
49
|
+
MongoAWSError,
|
|
50
|
+
MongoAzureError,
|
|
51
|
+
MongoBatchReExecutionError,
|
|
52
|
+
MongoChangeStreamError,
|
|
53
|
+
MongoClientBulkWriteCursorError,
|
|
54
|
+
MongoClientBulkWriteError,
|
|
55
|
+
MongoClientBulkWriteExecutionError,
|
|
56
|
+
MongoClientClosedError,
|
|
57
|
+
MongoCompatibilityError,
|
|
58
|
+
MongoCursorExhaustedError,
|
|
59
|
+
MongoCursorInUseError,
|
|
60
|
+
MongoDecompressionError,
|
|
61
|
+
MongoDriverError,
|
|
62
|
+
MongoError,
|
|
63
|
+
MongoExpiredSessionError,
|
|
64
|
+
MongoGCPError,
|
|
65
|
+
MongoGridFSChunkError,
|
|
66
|
+
MongoGridFSStreamError,
|
|
67
|
+
MongoInvalidArgumentError,
|
|
68
|
+
MongoKerberosError,
|
|
69
|
+
MongoMissingCredentialsError,
|
|
70
|
+
MongoMissingDependencyError,
|
|
71
|
+
MongoNetworkError,
|
|
72
|
+
MongoNetworkTimeoutError,
|
|
73
|
+
MongoNotConnectedError,
|
|
74
|
+
MongoOIDCError,
|
|
75
|
+
MongoOperationTimeoutError,
|
|
76
|
+
MongoParseError,
|
|
77
|
+
MongoRuntimeError,
|
|
78
|
+
MongoServerClosedError,
|
|
79
|
+
MongoServerError,
|
|
80
|
+
MongoServerSelectionError,
|
|
81
|
+
MongoStalePrimaryError,
|
|
82
|
+
MongoSystemError,
|
|
83
|
+
MongoTailableCursorError,
|
|
84
|
+
MongoTopologyClosedError,
|
|
85
|
+
MongoTransactionError,
|
|
86
|
+
MongoUnexpectedServerResponseError,
|
|
87
|
+
MongoWriteConcernError,
|
|
88
|
+
WriteConcernErrorResult
|
|
89
|
+
} from './error';
|
|
90
|
+
export {
|
|
91
|
+
AbstractCursor,
|
|
92
|
+
// Actual driver classes exported
|
|
93
|
+
Admin,
|
|
94
|
+
AggregationCursor,
|
|
95
|
+
CancellationToken,
|
|
96
|
+
ChangeStream,
|
|
97
|
+
ClientSession,
|
|
98
|
+
Collection,
|
|
99
|
+
Db,
|
|
100
|
+
FindCursor,
|
|
101
|
+
GridFSBucket,
|
|
102
|
+
GridFSBucketReadStream,
|
|
103
|
+
GridFSBucketWriteStream,
|
|
104
|
+
ListCollectionsCursor,
|
|
105
|
+
ListIndexesCursor,
|
|
106
|
+
MongoClient,
|
|
107
|
+
OrderedBulkOperation,
|
|
108
|
+
RunCommandCursor,
|
|
109
|
+
UnorderedBulkOperation
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
// enums
|
|
113
|
+
export { BatchType } from './bulk/common';
|
|
114
|
+
export { AutoEncryptionLoggerLevel } from './client-side-encryption/auto_encrypter';
|
|
115
|
+
export { GSSAPICanonicalizationValue } from './cmap/auth/gssapi';
|
|
116
|
+
export { AuthMechanism } from './cmap/auth/providers';
|
|
117
|
+
export { Compressor } from './cmap/wire_protocol/compression';
|
|
118
|
+
export { CURSOR_FLAGS, CursorTimeoutMode } from './cursor/abstract_cursor';
|
|
119
|
+
export { MongoErrorLabel } from './error';
|
|
120
|
+
export { ExplainVerbosity } from './explain';
|
|
121
|
+
export { ServerApiVersion } from './mongo_client';
|
|
122
|
+
export { MongoLoggableComponent, SeverityLevel } from './mongo_logger';
|
|
123
|
+
export { ReturnDocument } from './operations/find_and_modify';
|
|
124
|
+
export { ProfilingLevel } from './operations/set_profiling_level';
|
|
125
|
+
export { ReadConcernLevel } from './read_concern';
|
|
126
|
+
export { ReadPreferenceMode } from './read_preference';
|
|
127
|
+
export { ServerType, TopologyType } from './sdam/common';
|
|
128
|
+
|
|
129
|
+
// Helper classes
|
|
130
|
+
export type { AWSCredentialProvider } from './cmap/auth/aws_temporary_credentials';
|
|
131
|
+
export type { AWSCredentials } from './deps';
|
|
132
|
+
export { ReadConcern } from './read_concern';
|
|
133
|
+
export { ReadPreference } from './read_preference';
|
|
134
|
+
export { WriteConcern } from './write_concern';
|
|
135
|
+
// events
|
|
136
|
+
export {
|
|
137
|
+
CommandFailedEvent,
|
|
138
|
+
CommandStartedEvent,
|
|
139
|
+
CommandSucceededEvent
|
|
140
|
+
} from './cmap/command_monitoring_events';
|
|
141
|
+
export {
|
|
142
|
+
ConnectionCheckedInEvent,
|
|
143
|
+
ConnectionCheckedOutEvent,
|
|
144
|
+
ConnectionCheckOutFailedEvent,
|
|
145
|
+
ConnectionCheckOutStartedEvent,
|
|
146
|
+
ConnectionClosedEvent,
|
|
147
|
+
ConnectionCreatedEvent,
|
|
148
|
+
ConnectionPoolClearedEvent,
|
|
149
|
+
ConnectionPoolClosedEvent,
|
|
150
|
+
ConnectionPoolCreatedEvent,
|
|
151
|
+
ConnectionPoolMonitoringEvent,
|
|
152
|
+
ConnectionPoolReadyEvent,
|
|
153
|
+
ConnectionReadyEvent
|
|
154
|
+
} from './cmap/connection_pool_events';
|
|
155
|
+
export {
|
|
156
|
+
ServerClosedEvent,
|
|
157
|
+
ServerDescriptionChangedEvent,
|
|
158
|
+
ServerHeartbeatFailedEvent,
|
|
159
|
+
ServerHeartbeatStartedEvent,
|
|
160
|
+
ServerHeartbeatSucceededEvent,
|
|
161
|
+
ServerOpeningEvent,
|
|
162
|
+
TopologyClosedEvent,
|
|
163
|
+
TopologyDescriptionChangedEvent,
|
|
164
|
+
TopologyOpeningEvent
|
|
165
|
+
} from './sdam/events';
|
|
166
|
+
export {
|
|
167
|
+
ServerSelectionEvent,
|
|
168
|
+
ServerSelectionFailedEvent,
|
|
169
|
+
ServerSelectionStartedEvent,
|
|
170
|
+
ServerSelectionSucceededEvent,
|
|
171
|
+
WaitingForSuitableServerEvent
|
|
172
|
+
} from './sdam/server_selection_events';
|
|
173
|
+
export { SrvPollingEvent } from './sdam/srv_polling';
|
|
174
|
+
|
|
175
|
+
// type only exports below, these are removed from emitted JS
|
|
176
|
+
export type { AdminPrivate } from './admin';
|
|
177
|
+
export type { BSONElement, BSONSerializeOptions, Document } from './bson';
|
|
178
|
+
export type { deserialize, serialize } from './bson';
|
|
179
|
+
export type {
|
|
180
|
+
BulkResult,
|
|
181
|
+
BulkWriteOperationError,
|
|
182
|
+
BulkWriteResult,
|
|
183
|
+
DeleteManyModel,
|
|
184
|
+
DeleteOneModel,
|
|
185
|
+
InsertOneModel,
|
|
186
|
+
ReplaceOneModel,
|
|
187
|
+
UpdateManyModel,
|
|
188
|
+
UpdateOneModel,
|
|
189
|
+
WriteConcernError,
|
|
190
|
+
WriteError
|
|
191
|
+
} from './bulk/common';
|
|
192
|
+
export type {
|
|
193
|
+
Batch,
|
|
194
|
+
BulkOperationBase,
|
|
195
|
+
BulkOperationPrivate,
|
|
196
|
+
FindOperators,
|
|
197
|
+
WriteConcernErrorData
|
|
198
|
+
} from './bulk/common';
|
|
199
|
+
export type {
|
|
200
|
+
ChangeStreamCollModDocument,
|
|
201
|
+
ChangeStreamCreateDocument,
|
|
202
|
+
ChangeStreamCreateIndexDocument,
|
|
203
|
+
ChangeStreamDeleteDocument,
|
|
204
|
+
ChangeStreamDocument,
|
|
205
|
+
ChangeStreamDocumentCollectionUUID,
|
|
206
|
+
ChangeStreamDocumentCommon,
|
|
207
|
+
ChangeStreamDocumentKey,
|
|
208
|
+
ChangeStreamDocumentOperationDescription,
|
|
209
|
+
ChangeStreamDocumentWallTime,
|
|
210
|
+
ChangeStreamDropDatabaseDocument,
|
|
211
|
+
ChangeStreamDropDocument,
|
|
212
|
+
ChangeStreamDropIndexDocument,
|
|
213
|
+
ChangeStreamEvents,
|
|
214
|
+
ChangeStreamInsertDocument,
|
|
215
|
+
ChangeStreamInvalidateDocument,
|
|
216
|
+
ChangeStreamNameSpace,
|
|
217
|
+
ChangeStreamOptions,
|
|
218
|
+
ChangeStreamRefineCollectionShardKeyDocument,
|
|
219
|
+
ChangeStreamRenameDocument,
|
|
220
|
+
ChangeStreamReplaceDocument,
|
|
221
|
+
ChangeStreamReshardCollectionDocument,
|
|
222
|
+
ChangeStreamShardCollectionDocument,
|
|
223
|
+
ChangeStreamSplitEvent,
|
|
224
|
+
ChangeStreamUpdateDocument,
|
|
225
|
+
OperationTime,
|
|
226
|
+
ResumeToken,
|
|
227
|
+
UpdateDescription
|
|
228
|
+
} from './change_stream';
|
|
229
|
+
export type { AutoEncrypter } from './client-side-encryption/auto_encrypter';
|
|
230
|
+
export type { AutoEncryptionOptions } from './client-side-encryption/auto_encrypter';
|
|
231
|
+
export type { AutoEncryptionExtraOptions } from './client-side-encryption/auto_encrypter';
|
|
232
|
+
export type {
|
|
233
|
+
AWSEncryptionKeyOptions,
|
|
234
|
+
AzureEncryptionKeyOptions,
|
|
235
|
+
ClientEncryptionCreateDataKeyProviderOptions,
|
|
236
|
+
ClientEncryptionEncryptOptions,
|
|
237
|
+
ClientEncryptionOptions,
|
|
238
|
+
ClientEncryptionRewrapManyDataKeyProviderOptions,
|
|
239
|
+
ClientEncryptionRewrapManyDataKeyResult,
|
|
240
|
+
DataKey,
|
|
241
|
+
GCPEncryptionKeyOptions,
|
|
242
|
+
KMIPEncryptionKeyOptions,
|
|
243
|
+
RangeOptions,
|
|
244
|
+
TextQueryOptions
|
|
245
|
+
} from './client-side-encryption/client_encryption';
|
|
246
|
+
export {
|
|
247
|
+
MongoCryptAzureKMSRequestError,
|
|
248
|
+
MongoCryptCreateDataKeyError,
|
|
249
|
+
MongoCryptCreateEncryptedCollectionError,
|
|
250
|
+
MongoCryptError,
|
|
251
|
+
MongoCryptInvalidArgumentError,
|
|
252
|
+
MongoCryptKMSRequestNetworkTimeoutError
|
|
253
|
+
} from './client-side-encryption/errors';
|
|
254
|
+
export type { MongocryptdManager } from './client-side-encryption/mongocryptd_manager';
|
|
255
|
+
export type {
|
|
256
|
+
AWSKMSProviderConfiguration,
|
|
257
|
+
AzureKMSProviderConfiguration,
|
|
258
|
+
ClientEncryptionDataKeyProvider,
|
|
259
|
+
CredentialProviders,
|
|
260
|
+
GCPKMSProviderConfiguration,
|
|
261
|
+
KMIPKMSProviderConfiguration,
|
|
262
|
+
KMSProviders,
|
|
263
|
+
LocalKMSProviderConfiguration
|
|
264
|
+
} from './client-side-encryption/providers/index';
|
|
265
|
+
export type {
|
|
266
|
+
ClientEncryptionSocketOptions,
|
|
267
|
+
ClientEncryptionTlsOptions,
|
|
268
|
+
CSFLEKMSTlsOptions,
|
|
269
|
+
StateMachineExecutable
|
|
270
|
+
} from './client-side-encryption/state_machine';
|
|
271
|
+
export type { AuthContext, AuthProvider } from './cmap/auth/auth_provider';
|
|
272
|
+
export type {
|
|
273
|
+
AuthMechanismProperties,
|
|
274
|
+
MongoCredentials,
|
|
275
|
+
MongoCredentialsOptions
|
|
276
|
+
} from './cmap/auth/mongo_credentials';
|
|
277
|
+
export type {
|
|
278
|
+
IdPInfo,
|
|
279
|
+
IdPServerResponse,
|
|
280
|
+
OIDCCallbackFunction,
|
|
281
|
+
OIDCCallbackParams,
|
|
282
|
+
OIDCResponse
|
|
283
|
+
} from './cmap/auth/mongodb_oidc';
|
|
284
|
+
export type { Workflow } from './cmap/auth/mongodb_oidc';
|
|
285
|
+
export type { TokenCache } from './cmap/auth/mongodb_oidc/token_cache';
|
|
286
|
+
export type {
|
|
287
|
+
MessageHeader,
|
|
288
|
+
OpCompressedRequest,
|
|
289
|
+
OpCompressesRequestOptions,
|
|
290
|
+
OpMsgOptions,
|
|
291
|
+
OpMsgRequest,
|
|
292
|
+
OpMsgResponse,
|
|
293
|
+
OpQueryOptions,
|
|
294
|
+
OpQueryRequest,
|
|
295
|
+
OpReply,
|
|
296
|
+
WriteProtocolMessageType
|
|
297
|
+
} from './cmap/commands';
|
|
298
|
+
export type { HandshakeDocument } from './cmap/connect';
|
|
299
|
+
export type { LEGAL_TCP_SOCKET_OPTIONS, LEGAL_TLS_SOCKET_OPTIONS, Stream } from './cmap/connect';
|
|
300
|
+
export type {
|
|
301
|
+
CommandOptions,
|
|
302
|
+
Connection,
|
|
303
|
+
ConnectionEvents,
|
|
304
|
+
ConnectionOptions,
|
|
305
|
+
ProxyOptions
|
|
306
|
+
} from './cmap/connection';
|
|
307
|
+
export type {
|
|
308
|
+
ConnectionPool,
|
|
309
|
+
ConnectionPoolEvents,
|
|
310
|
+
ConnectionPoolOptions,
|
|
311
|
+
PoolState,
|
|
312
|
+
WaitQueueMember,
|
|
313
|
+
WithConnectionCallback
|
|
314
|
+
} from './cmap/connection_pool';
|
|
315
|
+
export type { ClientMetadata } from './cmap/handshake/client_metadata';
|
|
316
|
+
export type { ConnectionPoolMetrics } from './cmap/metrics';
|
|
317
|
+
export type { StreamDescription, StreamDescriptionOptions } from './cmap/stream_description';
|
|
318
|
+
export type { CompressorName } from './cmap/wire_protocol/compression';
|
|
319
|
+
export type {
|
|
320
|
+
JSTypeOf,
|
|
321
|
+
OnDemandDocument,
|
|
322
|
+
OnDemandDocumentDeserializeOptions
|
|
323
|
+
} from './cmap/wire_protocol/on_demand/document';
|
|
324
|
+
export type {
|
|
325
|
+
CursorResponse,
|
|
326
|
+
MongoDBResponse,
|
|
327
|
+
MongoDBResponseConstructor
|
|
328
|
+
} from './cmap/wire_protocol/responses';
|
|
329
|
+
export type {
|
|
330
|
+
CollectionOptions,
|
|
331
|
+
CollectionPrivate,
|
|
332
|
+
CountDocumentsOptions,
|
|
333
|
+
ModifyResult
|
|
334
|
+
} from './collection';
|
|
335
|
+
export type {
|
|
336
|
+
COMMAND_FAILED,
|
|
337
|
+
COMMAND_STARTED,
|
|
338
|
+
COMMAND_SUCCEEDED,
|
|
339
|
+
CONNECTION_CHECK_OUT_FAILED,
|
|
340
|
+
CONNECTION_CHECK_OUT_STARTED,
|
|
341
|
+
CONNECTION_CHECKED_IN,
|
|
342
|
+
CONNECTION_CHECKED_OUT,
|
|
343
|
+
CONNECTION_CLOSED,
|
|
344
|
+
CONNECTION_CREATED,
|
|
345
|
+
CONNECTION_POOL_CLEARED,
|
|
346
|
+
CONNECTION_POOL_CLOSED,
|
|
347
|
+
CONNECTION_POOL_CREATED,
|
|
348
|
+
CONNECTION_POOL_READY,
|
|
349
|
+
CONNECTION_READY,
|
|
350
|
+
MONGO_CLIENT_EVENTS,
|
|
351
|
+
SERVER_CLOSED,
|
|
352
|
+
SERVER_DESCRIPTION_CHANGED,
|
|
353
|
+
SERVER_HEARTBEAT_FAILED,
|
|
354
|
+
SERVER_HEARTBEAT_STARTED,
|
|
355
|
+
SERVER_HEARTBEAT_SUCCEEDED,
|
|
356
|
+
SERVER_OPENING,
|
|
357
|
+
SERVER_SELECTION_FAILED,
|
|
358
|
+
SERVER_SELECTION_STARTED,
|
|
359
|
+
SERVER_SELECTION_SUCCEEDED,
|
|
360
|
+
TOPOLOGY_CLOSED,
|
|
361
|
+
TOPOLOGY_DESCRIPTION_CHANGED,
|
|
362
|
+
TOPOLOGY_OPENING,
|
|
363
|
+
WAITING_FOR_SUITABLE_SERVER
|
|
364
|
+
} from './constants';
|
|
365
|
+
export type {
|
|
366
|
+
AbstractCursorEvents,
|
|
367
|
+
AbstractCursorOptions,
|
|
368
|
+
CursorFlag
|
|
369
|
+
} from './cursor/abstract_cursor';
|
|
370
|
+
export type {
|
|
371
|
+
CursorTimeoutContext,
|
|
372
|
+
InitialCursorResponse,
|
|
373
|
+
InternalAbstractCursorOptions
|
|
374
|
+
} from './cursor/abstract_cursor';
|
|
375
|
+
export type { AggregationCursorOptions } from './cursor/aggregation_cursor';
|
|
376
|
+
export type { ChangeStreamCursorOptions } from './cursor/change_stream_cursor';
|
|
377
|
+
export type {
|
|
378
|
+
ListSearchIndexesCursor,
|
|
379
|
+
ListSearchIndexesOptions
|
|
380
|
+
} from './cursor/list_search_indexes_cursor';
|
|
381
|
+
export type { RunCursorCommandOptions } from './cursor/run_command_cursor';
|
|
382
|
+
export type { DbOptions, DbPrivate } from './db';
|
|
383
|
+
export type { Encrypter, EncrypterOptions } from './encrypter';
|
|
384
|
+
export type { AnyError, ErrorDescription, MongoNetworkErrorOptions } from './error';
|
|
385
|
+
export type {
|
|
386
|
+
Explain,
|
|
387
|
+
ExplainCommandOptions,
|
|
388
|
+
ExplainOptions,
|
|
389
|
+
ExplainVerbosityLike
|
|
390
|
+
} from './explain';
|
|
391
|
+
export type {
|
|
392
|
+
GridFSBucketReadStreamOptions,
|
|
393
|
+
GridFSBucketReadStreamOptionsWithRevision,
|
|
394
|
+
GridFSBucketReadStreamPrivate,
|
|
395
|
+
GridFSFile
|
|
396
|
+
} from './gridfs/download';
|
|
397
|
+
export type { GridFSBucketEvents, GridFSBucketOptions, GridFSBucketPrivate } from './gridfs/index';
|
|
398
|
+
export type { GridFSBucketWriteStreamOptions, GridFSChunk } from './gridfs/upload';
|
|
399
|
+
export type {
|
|
400
|
+
Auth,
|
|
401
|
+
DriverInfo,
|
|
402
|
+
MongoClientEvents,
|
|
403
|
+
MongoClientOptions,
|
|
404
|
+
MongoClientPrivate,
|
|
405
|
+
MongoOptions,
|
|
406
|
+
PkFactory,
|
|
407
|
+
ServerApi,
|
|
408
|
+
SupportedNodeConnectionOptions,
|
|
409
|
+
SupportedSocketOptions,
|
|
410
|
+
SupportedTLSConnectionOptions,
|
|
411
|
+
SupportedTLSSocketOptions,
|
|
412
|
+
WithSessionCallback
|
|
413
|
+
} from './mongo_client';
|
|
414
|
+
export { MongoClientAuthProviders } from './mongo_client_auth_providers';
|
|
415
|
+
export type {
|
|
416
|
+
Log,
|
|
417
|
+
LogComponentSeveritiesClientOptions,
|
|
418
|
+
LogConvertible,
|
|
419
|
+
Loggable,
|
|
420
|
+
LoggableCommandFailedEvent,
|
|
421
|
+
LoggableCommandSucceededEvent,
|
|
422
|
+
LoggableEvent,
|
|
423
|
+
LoggableServerHeartbeatFailedEvent,
|
|
424
|
+
LoggableServerHeartbeatStartedEvent,
|
|
425
|
+
LoggableServerHeartbeatSucceededEvent,
|
|
426
|
+
MongoDBLogWritable,
|
|
427
|
+
MongoLogger,
|
|
428
|
+
MongoLoggerEnvOptions,
|
|
429
|
+
MongoLoggerMongoClientOptions,
|
|
430
|
+
MongoLoggerOptions
|
|
431
|
+
} from './mongo_logger';
|
|
432
|
+
export type {
|
|
433
|
+
Abortable,
|
|
434
|
+
CommonEvents,
|
|
435
|
+
EventsDescription,
|
|
436
|
+
GenericListener,
|
|
437
|
+
TypedEventEmitter
|
|
438
|
+
} from './mongo_types';
|
|
439
|
+
export type {
|
|
440
|
+
AcceptedFields,
|
|
441
|
+
AddToSetOperators,
|
|
442
|
+
AlternativeType,
|
|
443
|
+
ArrayElement,
|
|
444
|
+
ArrayOperator,
|
|
445
|
+
BitwiseFilter,
|
|
446
|
+
BSONTypeAlias,
|
|
447
|
+
Condition,
|
|
448
|
+
EnhancedOmit,
|
|
449
|
+
Filter,
|
|
450
|
+
FilterOperations,
|
|
451
|
+
FilterOperators,
|
|
452
|
+
Flatten,
|
|
453
|
+
InferIdType,
|
|
454
|
+
IntegerType,
|
|
455
|
+
IsAny,
|
|
456
|
+
Join,
|
|
457
|
+
KeysOfAType,
|
|
458
|
+
KeysOfOtherType,
|
|
459
|
+
MatchKeysAndValues,
|
|
460
|
+
NestedPaths,
|
|
461
|
+
NestedPathsOfType,
|
|
462
|
+
NonObjectIdLikeDocument,
|
|
463
|
+
NotAcceptedFields,
|
|
464
|
+
NumericType,
|
|
465
|
+
OneOrMore,
|
|
466
|
+
OnlyFieldsOfType,
|
|
467
|
+
OptionalId,
|
|
468
|
+
OptionalUnlessRequiredId,
|
|
469
|
+
PropertyType,
|
|
470
|
+
PullAllOperator,
|
|
471
|
+
PullOperator,
|
|
472
|
+
PushOperator,
|
|
473
|
+
RegExpOrString,
|
|
474
|
+
RootFilterOperators,
|
|
475
|
+
SchemaMember,
|
|
476
|
+
SetFields,
|
|
477
|
+
StrictFilter,
|
|
478
|
+
StrictMatchKeysAndValues,
|
|
479
|
+
StrictUpdateFilter,
|
|
480
|
+
UpdateFilter,
|
|
481
|
+
WithId,
|
|
482
|
+
WithoutId
|
|
483
|
+
} from './mongo_types';
|
|
484
|
+
export type {
|
|
485
|
+
AggregateOperation,
|
|
486
|
+
AggregateOptions,
|
|
487
|
+
DB_AGGREGATE_COLLECTION
|
|
488
|
+
} from './operations/aggregate';
|
|
489
|
+
export type {
|
|
490
|
+
AnyClientBulkWriteModel,
|
|
491
|
+
ClientBulkWriteError,
|
|
492
|
+
ClientBulkWriteModel,
|
|
493
|
+
ClientBulkWriteOptions,
|
|
494
|
+
ClientBulkWriteResult,
|
|
495
|
+
ClientDeleteManyModel,
|
|
496
|
+
ClientDeleteOneModel,
|
|
497
|
+
ClientDeleteResult,
|
|
498
|
+
ClientInsertOneModel,
|
|
499
|
+
ClientInsertOneResult,
|
|
500
|
+
ClientReplaceOneModel,
|
|
501
|
+
ClientUpdateManyModel,
|
|
502
|
+
ClientUpdateOneModel,
|
|
503
|
+
ClientUpdateResult,
|
|
504
|
+
ClientWriteModel
|
|
505
|
+
} from './operations/client_bulk_write/common';
|
|
506
|
+
export type {
|
|
507
|
+
CollationOptions,
|
|
508
|
+
CommandOperation,
|
|
509
|
+
CommandOperationOptions,
|
|
510
|
+
OperationParent
|
|
511
|
+
} from './operations/command';
|
|
512
|
+
export type { CountOptions } from './operations/count';
|
|
513
|
+
export type {
|
|
514
|
+
ClusteredCollectionOptions,
|
|
515
|
+
CreateCollectionOptions,
|
|
516
|
+
TimeSeriesCollectionOptions
|
|
517
|
+
} from './operations/create_collection';
|
|
518
|
+
export type { DeleteOptions, DeleteResult, DeleteStatement } from './operations/delete';
|
|
519
|
+
export type { DistinctOptions } from './operations/distinct';
|
|
520
|
+
export type { DropCollectionOptions, DropDatabaseOptions } from './operations/drop';
|
|
521
|
+
export type { EstimatedDocumentCountOptions } from './operations/estimated_document_count';
|
|
522
|
+
export type { FindOneOptions, FindOptions } from './operations/find';
|
|
523
|
+
export type {
|
|
524
|
+
FindOneAndDeleteOptions,
|
|
525
|
+
FindOneAndReplaceOptions,
|
|
526
|
+
FindOneAndUpdateOptions
|
|
527
|
+
} from './operations/find_and_modify';
|
|
528
|
+
export type { IndexInformationOptions } from './operations/indexes';
|
|
529
|
+
export type {
|
|
530
|
+
CreateIndexesOptions,
|
|
531
|
+
DropIndexesOptions,
|
|
532
|
+
IndexDescription,
|
|
533
|
+
IndexDescriptionCompact,
|
|
534
|
+
IndexDescriptionInfo,
|
|
535
|
+
IndexDirection,
|
|
536
|
+
IndexSpecification,
|
|
537
|
+
ListIndexesOptions
|
|
538
|
+
} from './operations/indexes';
|
|
539
|
+
export type { InsertManyResult, InsertOneOptions, InsertOneResult } from './operations/insert';
|
|
540
|
+
export type { CollectionInfo, ListCollectionsOptions } from './operations/list_collections';
|
|
541
|
+
export type { ListDatabasesOptions, ListDatabasesResult } from './operations/list_databases';
|
|
542
|
+
export type { AbstractOperation, Hint, OperationOptions } from './operations/operation';
|
|
543
|
+
export type { ProfilingLevelOptions } from './operations/profiling_level';
|
|
544
|
+
export type { RemoveUserOptions } from './operations/remove_user';
|
|
545
|
+
export type { RenameOptions } from './operations/rename';
|
|
546
|
+
export type { RunCommandOptions } from './operations/run_command';
|
|
547
|
+
export type { SearchIndexDescription } from './operations/search_indexes/create';
|
|
548
|
+
export type { SetProfilingLevelOptions } from './operations/set_profiling_level';
|
|
549
|
+
export type { DbStatsOptions } from './operations/stats';
|
|
550
|
+
export type {
|
|
551
|
+
ReplaceOptions,
|
|
552
|
+
UpdateOptions,
|
|
553
|
+
UpdateResult,
|
|
554
|
+
UpdateStatement
|
|
555
|
+
} from './operations/update';
|
|
556
|
+
export type { ValidateCollectionOptions } from './operations/validate_collection';
|
|
557
|
+
export type { ReadConcernLike } from './read_concern';
|
|
558
|
+
export type {
|
|
559
|
+
HedgeOptions,
|
|
560
|
+
ReadPreferenceFromOptions,
|
|
561
|
+
ReadPreferenceLike,
|
|
562
|
+
ReadPreferenceLikeOptions,
|
|
563
|
+
ReadPreferenceOptions
|
|
564
|
+
} from './read_preference';
|
|
565
|
+
export type { ClusterTime } from './sdam/common';
|
|
566
|
+
export type {
|
|
567
|
+
Monitor,
|
|
568
|
+
MonitorEvents,
|
|
569
|
+
MonitorInterval,
|
|
570
|
+
MonitorIntervalOptions,
|
|
571
|
+
MonitorOptions,
|
|
572
|
+
MonitorPrivate,
|
|
573
|
+
RTTPinger,
|
|
574
|
+
RTTPingerOptions,
|
|
575
|
+
RTTSampler,
|
|
576
|
+
ServerMonitoringMode
|
|
577
|
+
} from './sdam/monitor';
|
|
578
|
+
export type {
|
|
579
|
+
Server,
|
|
580
|
+
ServerCommandOptions,
|
|
581
|
+
ServerEvents,
|
|
582
|
+
ServerOptions,
|
|
583
|
+
ServerPrivate
|
|
584
|
+
} from './sdam/server';
|
|
585
|
+
export type {
|
|
586
|
+
ServerDescription,
|
|
587
|
+
ServerDescriptionOptions,
|
|
588
|
+
TagSet,
|
|
589
|
+
TopologyVersion
|
|
590
|
+
} from './sdam/server_description';
|
|
591
|
+
export type { DeprioritizedServers, ServerSelector } from './sdam/server_selection';
|
|
592
|
+
export type { SrvPoller, SrvPollerEvents, SrvPollerOptions } from './sdam/srv_polling';
|
|
593
|
+
export type {
|
|
594
|
+
ConnectOptions,
|
|
595
|
+
SelectServerOptions,
|
|
596
|
+
ServerSelectionCallback,
|
|
597
|
+
ServerSelectionRequest,
|
|
598
|
+
Topology,
|
|
599
|
+
TopologyEvents,
|
|
600
|
+
TopologyOptions,
|
|
601
|
+
TopologyPrivate
|
|
602
|
+
} from './sdam/topology';
|
|
603
|
+
export type { TopologyDescription, TopologyDescriptionOptions } from './sdam/topology_description';
|
|
604
|
+
export type {
|
|
605
|
+
ClientSessionEvents,
|
|
606
|
+
ClientSessionOptions,
|
|
607
|
+
EndSessionOptions,
|
|
608
|
+
ServerSession,
|
|
609
|
+
ServerSessionId,
|
|
610
|
+
ServerSessionPool,
|
|
611
|
+
WithTransactionCallback
|
|
612
|
+
} from './sessions';
|
|
613
|
+
export type { Sort, SortDirection, SortDirectionForCmd, SortForCmd } from './sort';
|
|
614
|
+
export type {
|
|
615
|
+
CSOTTimeoutContext,
|
|
616
|
+
CSOTTimeoutContextOptions,
|
|
617
|
+
LegacyTimeoutContext,
|
|
618
|
+
LegacyTimeoutContextOptions,
|
|
619
|
+
Timeout,
|
|
620
|
+
TimeoutContext,
|
|
621
|
+
TimeoutContextOptions
|
|
622
|
+
} from './timeout';
|
|
623
|
+
export type { Transaction, TransactionOptions, TxnState } from './transactions';
|
|
624
|
+
export type {
|
|
625
|
+
BufferPool,
|
|
626
|
+
Callback,
|
|
627
|
+
EventEmitterWithState,
|
|
628
|
+
HostAddress,
|
|
629
|
+
List,
|
|
630
|
+
MongoDBCollectionNamespace,
|
|
631
|
+
MongoDBNamespace
|
|
632
|
+
} from './utils';
|
|
633
|
+
export type { W, WriteConcernOptions, WriteConcernSettings } from './write_concern';
|