pecunia-root 0.1.1 → 0.1.2

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 (326) hide show
  1. package/dist/adapters/prisma-adapter/index.d.mts +1 -1
  2. package/dist/adapters/prisma-adapter/index.mjs +1 -1
  3. package/dist/adapters/prisma-adapter/index.mjs.map +1 -1
  4. package/dist/index.d.mts +1 -2
  5. package/dist/index.mjs +1 -2
  6. package/package.json +2 -16
  7. package/dist/_virtual/rolldown_runtime.mjs +0 -8
  8. package/dist/adapters/mongodb-adapter/index.d.mts +0 -35
  9. package/dist/adapters/mongodb-adapter/index.mjs +0 -314
  10. package/dist/adapters/mongodb-adapter/index.mjs.map +0 -1
  11. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs +0 -14
  12. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs.map +0 -1
  13. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs +0 -54
  14. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs.map +0 -1
  15. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs +0 -36
  16. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs.map +0 -1
  17. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs +0 -27
  18. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs.map +0 -1
  19. package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs +0 -3728
  20. package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs.map +0 -1
  21. package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs +0 -137
  22. package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs.map +0 -1
  23. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs +0 -211
  24. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs.map +0 -1
  25. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs +0 -95
  26. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs.map +0 -1
  27. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs +0 -158
  28. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs.map +0 -1
  29. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs +0 -195
  30. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs.map +0 -1
  31. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs +0 -710
  32. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs.map +0 -1
  33. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs +0 -53
  34. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs.map +0 -1
  35. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs +0 -63
  36. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs.map +0 -1
  37. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs +0 -368
  38. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs.map +0 -1
  39. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs +0 -234
  40. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs.map +0 -1
  41. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs +0 -545
  42. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs.map +0 -1
  43. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs +0 -83
  44. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs.map +0 -1
  45. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs +0 -146
  46. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs.map +0 -1
  47. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs +0 -58
  48. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs.map +0 -1
  49. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs +0 -30
  50. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs.map +0 -1
  51. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs +0 -135
  52. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs.map +0 -1
  53. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs +0 -25
  54. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs.map +0 -1
  55. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs +0 -47
  56. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs.map +0 -1
  57. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs +0 -362
  58. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs.map +0 -1
  59. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs +0 -58
  60. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs.map +0 -1
  61. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs +0 -123
  62. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs.map +0 -1
  63. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs +0 -128
  64. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs.map +0 -1
  65. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs +0 -133
  66. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs.map +0 -1
  67. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs +0 -126
  68. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs.map +0 -1
  69. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs +0 -79
  70. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs.map +0 -1
  71. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs +0 -65
  72. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs.map +0 -1
  73. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs +0 -127
  74. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs.map +0 -1
  75. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs +0 -47
  76. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs.map +0 -1
  77. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs +0 -44
  78. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs.map +0 -1
  79. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs +0 -101
  80. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs.map +0 -1
  81. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs +0 -33
  82. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs.map +0 -1
  83. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs +0 -53
  84. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs.map +0 -1
  85. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs +0 -29
  86. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs.map +0 -1
  87. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs +0 -83
  88. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs.map +0 -1
  89. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs +0 -36
  90. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs.map +0 -1
  91. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs +0 -32
  92. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs.map +0 -1
  93. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs +0 -206
  94. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs.map +0 -1
  95. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs +0 -45
  96. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs.map +0 -1
  97. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs +0 -213
  98. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs.map +0 -1
  99. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs +0 -411
  100. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs.map +0 -1
  101. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs +0 -288
  102. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs.map +0 -1
  103. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs +0 -423
  104. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs.map +0 -1
  105. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs +0 -483
  106. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +0 -1
  107. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs +0 -207
  108. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs.map +0 -1
  109. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs +0 -116
  110. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs.map +0 -1
  111. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs +0 -183
  112. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs.map +0 -1
  113. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs +0 -55
  114. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs.map +0 -1
  115. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs +0 -60
  116. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs.map +0 -1
  117. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs +0 -139
  118. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs.map +0 -1
  119. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs +0 -28
  120. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs.map +0 -1
  121. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs +0 -117
  122. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs.map +0 -1
  123. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs +0 -182
  124. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs.map +0 -1
  125. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs +0 -304
  126. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs.map +0 -1
  127. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs +0 -34
  128. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs.map +0 -1
  129. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs +0 -739
  130. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs.map +0 -1
  131. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs +0 -805
  132. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs.map +0 -1
  133. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs +0 -174
  134. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs.map +0 -1
  135. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs +0 -726
  136. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs.map +0 -1
  137. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs +0 -172
  138. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs.map +0 -1
  139. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs +0 -103
  140. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs.map +0 -1
  141. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs +0 -66
  142. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs.map +0 -1
  143. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs +0 -41
  144. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs.map +0 -1
  145. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs +0 -365
  146. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs.map +0 -1
  147. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs +0 -50
  148. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs.map +0 -1
  149. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs +0 -48
  150. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs.map +0 -1
  151. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs +0 -23
  152. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs.map +0 -1
  153. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs +0 -106
  154. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs.map +0 -1
  155. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs +0 -428
  156. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs.map +0 -1
  157. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs +0 -124
  158. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs.map +0 -1
  159. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs +0 -95
  160. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs.map +0 -1
  161. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs +0 -1305
  162. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs.map +0 -1
  163. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs +0 -59
  164. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs.map +0 -1
  165. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs +0 -250
  166. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs.map +0 -1
  167. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs +0 -170
  168. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs.map +0 -1
  169. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs +0 -315
  170. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs.map +0 -1
  171. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs +0 -925
  172. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs.map +0 -1
  173. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs +0 -520
  174. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs.map +0 -1
  175. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs +0 -90
  176. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs.map +0 -1
  177. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs +0 -582
  178. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs.map +0 -1
  179. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs +0 -64
  180. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs.map +0 -1
  181. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs +0 -86
  182. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs.map +0 -1
  183. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs +0 -60
  184. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs.map +0 -1
  185. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs +0 -264
  186. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs.map +0 -1
  187. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs +0 -109
  188. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs.map +0 -1
  189. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs +0 -172
  190. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs.map +0 -1
  191. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs +0 -68
  192. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs.map +0 -1
  193. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs +0 -53
  194. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs.map +0 -1
  195. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs +0 -123
  196. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs.map +0 -1
  197. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs +0 -119
  198. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs.map +0 -1
  199. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs +0 -65
  200. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs.map +0 -1
  201. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs +0 -97
  202. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs.map +0 -1
  203. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs +0 -47
  204. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +0 -1
  205. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs +0 -188
  206. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs.map +0 -1
  207. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs +0 -103
  208. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs.map +0 -1
  209. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs +0 -136
  210. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +0 -1
  211. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs +0 -61
  212. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs.map +0 -1
  213. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs +0 -179
  214. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs.map +0 -1
  215. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs +0 -77
  216. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs.map +0 -1
  217. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs +0 -48
  218. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs.map +0 -1
  219. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs +0 -60
  220. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs.map +0 -1
  221. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs +0 -43
  222. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs.map +0 -1
  223. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs +0 -105
  224. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs.map +0 -1
  225. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs +0 -50
  226. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs.map +0 -1
  227. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs +0 -39
  228. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs.map +0 -1
  229. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs +0 -49
  230. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs.map +0 -1
  231. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs +0 -58
  232. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs.map +0 -1
  233. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs +0 -46
  234. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs.map +0 -1
  235. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs +0 -48
  236. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs.map +0 -1
  237. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs +0 -46
  238. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs.map +0 -1
  239. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs +0 -67
  240. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +0 -1
  241. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs +0 -37
  242. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs.map +0 -1
  243. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs +0 -171
  244. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs.map +0 -1
  245. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs +0 -45
  246. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs.map +0 -1
  247. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs +0 -71
  248. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs.map +0 -1
  249. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs +0 -165
  250. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs.map +0 -1
  251. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs +0 -62
  252. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs.map +0 -1
  253. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs +0 -51
  254. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs.map +0 -1
  255. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs +0 -156
  256. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs.map +0 -1
  257. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs +0 -477
  258. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs.map +0 -1
  259. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs +0 -315
  260. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs.map +0 -1
  261. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs +0 -157
  262. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs.map +0 -1
  263. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs +0 -184
  264. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs.map +0 -1
  265. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs +0 -96
  266. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs.map +0 -1
  267. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs +0 -107
  268. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs.map +0 -1
  269. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs +0 -540
  270. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs.map +0 -1
  271. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs +0 -298
  272. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs.map +0 -1
  273. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs +0 -623
  274. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs.map +0 -1
  275. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs +0 -91
  276. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs.map +0 -1
  277. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs +0 -254
  278. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs.map +0 -1
  279. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs +0 -138
  280. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs.map +0 -1
  281. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs +0 -993
  282. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs.map +0 -1
  283. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs +0 -81
  284. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs.map +0 -1
  285. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs +0 -171
  286. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs.map +0 -1
  287. package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs +0 -295
  288. package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs.map +0 -1
  289. package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs +0 -81
  290. package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs.map +0 -1
  291. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs +0 -206
  292. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs.map +0 -1
  293. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs +0 -33590
  294. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs.map +0 -1
  295. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs +0 -37
  296. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs.map +0 -1
  297. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs +0 -18
  298. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs.map +0 -1
  299. package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs +0 -252
  300. package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs.map +0 -1
  301. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs +0 -41
  302. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs.map +0 -1
  303. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs +0 -41
  304. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs.map +0 -1
  305. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs +0 -173
  306. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs.map +0 -1
  307. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs +0 -334
  308. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs.map +0 -1
  309. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs +0 -90
  310. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs.map +0 -1
  311. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs +0 -356
  312. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs.map +0 -1
  313. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs +0 -23
  314. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs.map +0 -1
  315. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs +0 -29
  316. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs.map +0 -1
  317. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs +0 -140
  318. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs.map +0 -1
  319. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs +0 -831
  320. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs.map +0 -1
  321. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs +0 -77
  322. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs.map +0 -1
  323. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs +0 -147
  324. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs.map +0 -1
  325. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs +0 -17
  326. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs.map +0 -1
@@ -1,43 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
3
- import { require_utils } from "../utils.mjs";
4
- import { require_operation } from "./operation.mjs";
5
- import { require_command } from "./command.mjs";
6
-
7
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.js
8
- var require_list_databases = /* @__PURE__ */ __commonJSMin(((exports) => {
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.ListDatabasesOperation = void 0;
11
- const responses_1 = require_responses();
12
- const utils_1 = require_utils();
13
- const command_1 = require_command();
14
- const operation_1 = require_operation();
15
- /** @internal */
16
- var ListDatabasesOperation = class extends command_1.CommandOperation {
17
- constructor(db, options) {
18
- super(db, options);
19
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
20
- this.options = options ?? {};
21
- this.ns = new utils_1.MongoDBNamespace("admin", "$cmd");
22
- }
23
- get commandName() {
24
- return "listDatabases";
25
- }
26
- buildCommandDocument(connection, _session) {
27
- const cmd = { listDatabases: 1 };
28
- if (typeof this.options.nameOnly === "boolean") cmd.nameOnly = this.options.nameOnly;
29
- if (this.options.filter) cmd.filter = this.options.filter;
30
- if (typeof this.options.authorizedDatabases === "boolean") cmd.authorizedDatabases = this.options.authorizedDatabases;
31
- if ((0, utils_1.maxWireVersion)(connection) >= 9 && this.options.comment !== void 0) cmd.comment = this.options.comment;
32
- return cmd;
33
- }
34
- };
35
- exports.ListDatabasesOperation = ListDatabasesOperation;
36
- (0, operation_1.defineAspects)(ListDatabasesOperation, [operation_1.Aspect.READ_OPERATION, operation_1.Aspect.RETRYABLE]);
37
- }));
38
-
39
- //#endregion
40
- export default require_list_databases();
41
-
42
- export { require_list_databases };
43
- //# sourceMappingURL=list_databases.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list_databases.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ListDatabasesOperation = void 0;\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst utils_1 = require(\"../utils\");\nconst command_1 = require(\"./command\");\nconst operation_1 = require(\"./operation\");\n/** @internal */\nclass ListDatabasesOperation extends command_1.CommandOperation {\n constructor(db, options) {\n super(db, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.options = options ?? {};\n this.ns = new utils_1.MongoDBNamespace('admin', '$cmd');\n }\n get commandName() {\n return 'listDatabases';\n }\n buildCommandDocument(connection, _session) {\n const cmd = { listDatabases: 1 };\n if (typeof this.options.nameOnly === 'boolean') {\n cmd.nameOnly = this.options.nameOnly;\n }\n if (this.options.filter) {\n cmd.filter = this.options.filter;\n }\n if (typeof this.options.authorizedDatabases === 'boolean') {\n cmd.authorizedDatabases = this.options.authorizedDatabases;\n }\n // we check for undefined specifically here to allow falsy values\n // eslint-disable-next-line no-restricted-syntax\n if ((0, utils_1.maxWireVersion)(connection) >= 9 && this.options.comment !== undefined) {\n cmd.comment = this.options.comment;\n }\n return cmd;\n }\n}\nexports.ListDatabasesOperation = ListDatabasesOperation;\n(0, operation_1.defineAspects)(ListDatabasesOperation, [operation_1.Aspect.READ_OPERATION, operation_1.Aspect.RETRYABLE]);\n//# sourceMappingURL=list_databases.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,yBAAyB,KAAK;CACtC,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;;CAEN,IAAM,yBAAN,cAAqC,UAAU,iBAAiB;EAC5D,YAAY,IAAI,SAAS;AACrB,SAAM,IAAI,QAAQ;AAClB,QAAK,+BAA+B,YAAY;AAChD,QAAK,UAAU,WAAW,EAAE;AAC5B,QAAK,KAAK,IAAI,QAAQ,iBAAiB,SAAS,OAAO;;EAE3D,IAAI,cAAc;AACd,UAAO;;EAEX,qBAAqB,YAAY,UAAU;GACvC,MAAM,MAAM,EAAE,eAAe,GAAG;AAChC,OAAI,OAAO,KAAK,QAAQ,aAAa,UACjC,KAAI,WAAW,KAAK,QAAQ;AAEhC,OAAI,KAAK,QAAQ,OACb,KAAI,SAAS,KAAK,QAAQ;AAE9B,OAAI,OAAO,KAAK,QAAQ,wBAAwB,UAC5C,KAAI,sBAAsB,KAAK,QAAQ;AAI3C,QAAK,GAAG,QAAQ,gBAAgB,WAAW,IAAI,KAAK,KAAK,QAAQ,YAAY,OACzE,KAAI,UAAU,KAAK,QAAQ;AAE/B,UAAO;;;AAGf,SAAQ,yBAAyB;AACjC,EAAC,GAAG,YAAY,eAAe,wBAAwB,CAAC,YAAY,OAAO,gBAAgB,YAAY,OAAO,UAAU,CAAC"}
@@ -1,105 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_bson } from "../bson.mjs";
3
- import { require_read_preference } from "../read_preference.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.js
6
- var require_operation = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.AbstractOperation = exports.Aspect = void 0;
9
- exports.defineAspects = defineAspects;
10
- const bson_1 = require_bson();
11
- const read_preference_1 = require_read_preference();
12
- exports.Aspect = {
13
- READ_OPERATION: Symbol("READ_OPERATION"),
14
- WRITE_OPERATION: Symbol("WRITE_OPERATION"),
15
- RETRYABLE: Symbol("RETRYABLE"),
16
- EXPLAINABLE: Symbol("EXPLAINABLE"),
17
- SKIP_COLLATION: Symbol("SKIP_COLLATION"),
18
- CURSOR_CREATING: Symbol("CURSOR_CREATING"),
19
- MUST_SELECT_SAME_SERVER: Symbol("MUST_SELECT_SAME_SERVER"),
20
- COMMAND_BATCHING: Symbol("COMMAND_BATCHING"),
21
- SUPPORTS_RAW_DATA: Symbol("SUPPORTS_RAW_DATA")
22
- };
23
- /**
24
- * This class acts as a parent class for any operation and is responsible for setting this.options,
25
- * as well as setting and getting a session.
26
- * Additionally, this class implements `hasAspect`, which determines whether an operation has
27
- * a specific aspect.
28
- * @internal
29
- */
30
- var AbstractOperation = class {
31
- constructor(options = {}) {
32
- this.readPreference = this.hasAspect(exports.Aspect.WRITE_OPERATION) ? read_preference_1.ReadPreference.primary : read_preference_1.ReadPreference.fromOptions(options) ?? read_preference_1.ReadPreference.primary;
33
- this.bsonOptions = (0, bson_1.resolveBSONOptions)(options);
34
- this._session = options.session != null ? options.session : void 0;
35
- this.options = options;
36
- this.bypassPinningCheck = !!options.bypassPinningCheck;
37
- }
38
- hasAspect(aspect) {
39
- const ctor = this.constructor;
40
- if (ctor.aspects == null) return false;
41
- return ctor.aspects.has(aspect);
42
- }
43
- get session() {
44
- return this._session;
45
- }
46
- set session(session) {
47
- this._session = session;
48
- }
49
- clearSession() {
50
- this._session = void 0;
51
- }
52
- resetBatch() {
53
- return true;
54
- }
55
- get canRetryRead() {
56
- return this.hasAspect(exports.Aspect.RETRYABLE) && this.hasAspect(exports.Aspect.READ_OPERATION);
57
- }
58
- get canRetryWrite() {
59
- return this.hasAspect(exports.Aspect.RETRYABLE) && this.hasAspect(exports.Aspect.WRITE_OPERATION);
60
- }
61
- /**
62
- * Given an instance of a MongoDBResponse, map the response to the correct result type. For
63
- * example, a `CountOperation` might map the response as follows:
64
- *
65
- * ```typescript
66
- * override handleOk(response: InstanceType<typeof this.SERVER_COMMAND_RESPONSE_TYPE>): TResult {
67
- * return response.toObject(this.bsonOptions).n ?? 0;
68
- * }
69
- *
70
- * // or, with type safety:
71
- * override handleOk(response: InstanceType<typeof this.SERVER_COMMAND_RESPONSE_TYPE>): TResult {
72
- * return response.getNumber('n') ?? 0;
73
- * }
74
- * ```
75
- */
76
- handleOk(response) {
77
- return response.toObject(this.bsonOptions);
78
- }
79
- /**
80
- * Optional.
81
- *
82
- * If the operation performs error handling, such as wrapping, renaming the error, or squashing errors
83
- * this method can be overridden.
84
- */
85
- handleError(error) {
86
- throw error;
87
- }
88
- };
89
- exports.AbstractOperation = AbstractOperation;
90
- function defineAspects(operation, aspects) {
91
- if (!Array.isArray(aspects) && !(aspects instanceof Set)) aspects = [aspects];
92
- aspects = new Set(aspects);
93
- Object.defineProperty(operation, "aspects", {
94
- value: aspects,
95
- writable: false
96
- });
97
- return aspects;
98
- }
99
- }));
100
-
101
- //#endregion
102
- export default require_operation();
103
-
104
- export { require_operation };
105
- //# sourceMappingURL=operation.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operation.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AbstractOperation = exports.Aspect = void 0;\nexports.defineAspects = defineAspects;\nconst bson_1 = require(\"../bson\");\nconst read_preference_1 = require(\"../read_preference\");\nexports.Aspect = {\n READ_OPERATION: Symbol('READ_OPERATION'),\n WRITE_OPERATION: Symbol('WRITE_OPERATION'),\n RETRYABLE: Symbol('RETRYABLE'),\n EXPLAINABLE: Symbol('EXPLAINABLE'),\n SKIP_COLLATION: Symbol('SKIP_COLLATION'),\n CURSOR_CREATING: Symbol('CURSOR_CREATING'),\n MUST_SELECT_SAME_SERVER: Symbol('MUST_SELECT_SAME_SERVER'),\n COMMAND_BATCHING: Symbol('COMMAND_BATCHING'),\n SUPPORTS_RAW_DATA: Symbol('SUPPORTS_RAW_DATA')\n};\n/**\n * This class acts as a parent class for any operation and is responsible for setting this.options,\n * as well as setting and getting a session.\n * Additionally, this class implements `hasAspect`, which determines whether an operation has\n * a specific aspect.\n * @internal\n */\nclass AbstractOperation {\n constructor(options = {}) {\n this.readPreference = this.hasAspect(exports.Aspect.WRITE_OPERATION)\n ? read_preference_1.ReadPreference.primary\n : (read_preference_1.ReadPreference.fromOptions(options) ?? read_preference_1.ReadPreference.primary);\n // Pull the BSON serialize options from the already-resolved options\n this.bsonOptions = (0, bson_1.resolveBSONOptions)(options);\n this._session = options.session != null ? options.session : undefined;\n this.options = options;\n this.bypassPinningCheck = !!options.bypassPinningCheck;\n }\n hasAspect(aspect) {\n const ctor = this.constructor;\n if (ctor.aspects == null) {\n return false;\n }\n return ctor.aspects.has(aspect);\n }\n // Make sure the session is not writable from outside this class.\n get session() {\n return this._session;\n }\n set session(session) {\n this._session = session;\n }\n clearSession() {\n this._session = undefined;\n }\n resetBatch() {\n return true;\n }\n get canRetryRead() {\n return this.hasAspect(exports.Aspect.RETRYABLE) && this.hasAspect(exports.Aspect.READ_OPERATION);\n }\n get canRetryWrite() {\n return this.hasAspect(exports.Aspect.RETRYABLE) && this.hasAspect(exports.Aspect.WRITE_OPERATION);\n }\n /**\n * Given an instance of a MongoDBResponse, map the response to the correct result type. For\n * example, a `CountOperation` might map the response as follows:\n *\n * ```typescript\n * override handleOk(response: InstanceType<typeof this.SERVER_COMMAND_RESPONSE_TYPE>): TResult {\n * return response.toObject(this.bsonOptions).n ?? 0;\n * }\n *\n * // or, with type safety:\n * override handleOk(response: InstanceType<typeof this.SERVER_COMMAND_RESPONSE_TYPE>): TResult {\n * return response.getNumber('n') ?? 0;\n * }\n * ```\n */\n handleOk(response) {\n return response.toObject(this.bsonOptions);\n }\n /**\n * Optional.\n *\n * If the operation performs error handling, such as wrapping, renaming the error, or squashing errors\n * this method can be overridden.\n */\n handleError(error) {\n throw error;\n }\n}\nexports.AbstractOperation = AbstractOperation;\nfunction defineAspects(operation, aspects) {\n if (!Array.isArray(aspects) && !(aspects instanceof Set)) {\n aspects = [aspects];\n }\n aspects = new Set(aspects);\n Object.defineProperty(operation, 'aspects', {\n value: aspects,\n writable: false\n });\n return aspects;\n}\n//# sourceMappingURL=operation.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,oBAAoB,QAAQ,SAAS,KAAK;AAClD,SAAQ,gBAAgB;CACxB,MAAM;CACN,MAAM;AACN,SAAQ,SAAS;EACb,gBAAgB,OAAO,iBAAiB;EACxC,iBAAiB,OAAO,kBAAkB;EAC1C,WAAW,OAAO,YAAY;EAC9B,aAAa,OAAO,cAAc;EAClC,gBAAgB,OAAO,iBAAiB;EACxC,iBAAiB,OAAO,kBAAkB;EAC1C,yBAAyB,OAAO,0BAA0B;EAC1D,kBAAkB,OAAO,mBAAmB;EAC5C,mBAAmB,OAAO,oBAAoB;EACjD;;;;;;;;CAQD,IAAM,oBAAN,MAAwB;EACpB,YAAY,UAAU,EAAE,EAAE;AACtB,QAAK,iBAAiB,KAAK,UAAU,QAAQ,OAAO,gBAAgB,GAC9D,kBAAkB,eAAe,UAChC,kBAAkB,eAAe,YAAY,QAAQ,IAAI,kBAAkB,eAAe;AAEjG,QAAK,eAAe,GAAG,OAAO,oBAAoB,QAAQ;AAC1D,QAAK,WAAW,QAAQ,WAAW,OAAO,QAAQ,UAAU;AAC5D,QAAK,UAAU;AACf,QAAK,qBAAqB,CAAC,CAAC,QAAQ;;EAExC,UAAU,QAAQ;GACd,MAAM,OAAO,KAAK;AAClB,OAAI,KAAK,WAAW,KAChB,QAAO;AAEX,UAAO,KAAK,QAAQ,IAAI,OAAO;;EAGnC,IAAI,UAAU;AACV,UAAO,KAAK;;EAEhB,IAAI,QAAQ,SAAS;AACjB,QAAK,WAAW;;EAEpB,eAAe;AACX,QAAK,WAAW;;EAEpB,aAAa;AACT,UAAO;;EAEX,IAAI,eAAe;AACf,UAAO,KAAK,UAAU,QAAQ,OAAO,UAAU,IAAI,KAAK,UAAU,QAAQ,OAAO,eAAe;;EAEpG,IAAI,gBAAgB;AAChB,UAAO,KAAK,UAAU,QAAQ,OAAO,UAAU,IAAI,KAAK,UAAU,QAAQ,OAAO,gBAAgB;;;;;;;;;;;;;;;;;EAiBrG,SAAS,UAAU;AACf,UAAO,SAAS,SAAS,KAAK,YAAY;;;;;;;;EAQ9C,YAAY,OAAO;AACf,SAAM;;;AAGd,SAAQ,oBAAoB;CAC5B,SAAS,cAAc,WAAW,SAAS;AACvC,MAAI,CAAC,MAAM,QAAQ,QAAQ,IAAI,EAAE,mBAAmB,KAChD,WAAU,CAAC,QAAQ;AAEvB,YAAU,IAAI,IAAI,QAAQ;AAC1B,SAAO,eAAe,WAAW,WAAW;GACxC,OAAO;GACP,UAAU;GACb,CAAC;AACF,SAAO"}
@@ -1,50 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_bson } from "../bson.mjs";
3
- import { require_error } from "../error.mjs";
4
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
5
- import { require_command } from "./command.mjs";
6
-
7
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.js
8
- var require_profiling_level = /* @__PURE__ */ __commonJSMin(((exports) => {
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.ProfilingLevelOperation = void 0;
11
- const bson_1 = require_bson();
12
- const responses_1 = require_responses();
13
- const error_1 = require_error();
14
- const command_1 = require_command();
15
- var ProfilingLevelResponse = class extends responses_1.MongoDBResponse {
16
- get was() {
17
- return this.get("was", bson_1.BSONType.int, true);
18
- }
19
- };
20
- /** @internal */
21
- var ProfilingLevelOperation = class extends command_1.CommandOperation {
22
- constructor(db, options) {
23
- super(db, options);
24
- this.SERVER_COMMAND_RESPONSE_TYPE = ProfilingLevelResponse;
25
- this.options = options;
26
- }
27
- get commandName() {
28
- return "profile";
29
- }
30
- buildCommandDocument(_connection) {
31
- return { profile: -1 };
32
- }
33
- handleOk(response) {
34
- if (response.ok === 1) {
35
- const was = response.was;
36
- if (was === 0) return "off";
37
- if (was === 1) return "slow_only";
38
- if (was === 2) return "all";
39
- throw new error_1.MongoUnexpectedServerResponseError(`Illegal profiling level value ${was}`);
40
- } else throw new error_1.MongoUnexpectedServerResponseError("Error with profile command");
41
- }
42
- };
43
- exports.ProfilingLevelOperation = ProfilingLevelOperation;
44
- }));
45
-
46
- //#endregion
47
- export default require_profiling_level();
48
-
49
- export { require_profiling_level };
50
- //# sourceMappingURL=profiling_level.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"profiling_level.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProfilingLevelOperation = void 0;\nconst bson_1 = require(\"../bson\");\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst error_1 = require(\"../error\");\nconst command_1 = require(\"./command\");\nclass ProfilingLevelResponse extends responses_1.MongoDBResponse {\n get was() {\n return this.get('was', bson_1.BSONType.int, true);\n }\n}\n/** @internal */\nclass ProfilingLevelOperation extends command_1.CommandOperation {\n constructor(db, options) {\n super(db, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = ProfilingLevelResponse;\n this.options = options;\n }\n get commandName() {\n return 'profile';\n }\n buildCommandDocument(_connection) {\n return { profile: -1 };\n }\n handleOk(response) {\n if (response.ok === 1) {\n const was = response.was;\n if (was === 0)\n return 'off';\n if (was === 1)\n return 'slow_only';\n if (was === 2)\n return 'all';\n throw new error_1.MongoUnexpectedServerResponseError(`Illegal profiling level value ${was}`);\n }\n else {\n throw new error_1.MongoUnexpectedServerResponseError('Error with profile command');\n }\n }\n}\nexports.ProfilingLevelOperation = ProfilingLevelOperation;\n//# sourceMappingURL=profiling_level.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,0BAA0B,KAAK;CACvC,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,IAAM,yBAAN,cAAqC,YAAY,gBAAgB;EAC7D,IAAI,MAAM;AACN,UAAO,KAAK,IAAI,OAAO,OAAO,SAAS,KAAK,KAAK;;;;CAIzD,IAAM,0BAAN,cAAsC,UAAU,iBAAiB;EAC7D,YAAY,IAAI,SAAS;AACrB,SAAM,IAAI,QAAQ;AAClB,QAAK,+BAA+B;AACpC,QAAK,UAAU;;EAEnB,IAAI,cAAc;AACd,UAAO;;EAEX,qBAAqB,aAAa;AAC9B,UAAO,EAAE,SAAS,IAAI;;EAE1B,SAAS,UAAU;AACf,OAAI,SAAS,OAAO,GAAG;IACnB,MAAM,MAAM,SAAS;AACrB,QAAI,QAAQ,EACR,QAAO;AACX,QAAI,QAAQ,EACR,QAAO;AACX,QAAI,QAAQ,EACR,QAAO;AACX,UAAM,IAAI,QAAQ,mCAAmC,iCAAiC,MAAM;SAG5F,OAAM,IAAI,QAAQ,mCAAmC,6BAA6B;;;AAI9F,SAAQ,0BAA0B"}
@@ -1,39 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
3
- import { require_operation } from "./operation.mjs";
4
- import { require_command } from "./command.mjs";
5
-
6
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.js
7
- var require_remove_user = /* @__PURE__ */ __commonJSMin(((exports) => {
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.RemoveUserOperation = void 0;
10
- const responses_1 = require_responses();
11
- const command_1 = require_command();
12
- const operation_1 = require_operation();
13
- /** @internal */
14
- var RemoveUserOperation = class extends command_1.CommandOperation {
15
- constructor(db, username, options) {
16
- super(db, options);
17
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
18
- this.options = options;
19
- this.username = username;
20
- }
21
- get commandName() {
22
- return "dropUser";
23
- }
24
- buildCommandDocument(_connection) {
25
- return { dropUser: this.username };
26
- }
27
- handleOk(_response) {
28
- return true;
29
- }
30
- };
31
- exports.RemoveUserOperation = RemoveUserOperation;
32
- (0, operation_1.defineAspects)(RemoveUserOperation, [operation_1.Aspect.WRITE_OPERATION]);
33
- }));
34
-
35
- //#endregion
36
- export default require_remove_user();
37
-
38
- export { require_remove_user };
39
- //# sourceMappingURL=remove_user.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remove_user.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RemoveUserOperation = void 0;\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst command_1 = require(\"./command\");\nconst operation_1 = require(\"./operation\");\n/** @internal */\nclass RemoveUserOperation extends command_1.CommandOperation {\n constructor(db, username, options) {\n super(db, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.options = options;\n this.username = username;\n }\n get commandName() {\n return 'dropUser';\n }\n buildCommandDocument(_connection) {\n return { dropUser: this.username };\n }\n handleOk(_response) {\n return true;\n }\n}\nexports.RemoveUserOperation = RemoveUserOperation;\n(0, operation_1.defineAspects)(RemoveUserOperation, [operation_1.Aspect.WRITE_OPERATION]);\n//# sourceMappingURL=remove_user.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,sBAAsB,KAAK;CACnC,MAAM;CACN,MAAM;CACN,MAAM;;CAEN,IAAM,sBAAN,cAAkC,UAAU,iBAAiB;EACzD,YAAY,IAAI,UAAU,SAAS;AAC/B,SAAM,IAAI,QAAQ;AAClB,QAAK,+BAA+B,YAAY;AAChD,QAAK,UAAU;AACf,QAAK,WAAW;;EAEpB,IAAI,cAAc;AACd,UAAO;;EAEX,qBAAqB,aAAa;AAC9B,UAAO,EAAE,UAAU,KAAK,UAAU;;EAEtC,SAAS,WAAW;AAChB,UAAO;;;AAGf,SAAQ,sBAAsB;AAC9B,EAAC,GAAG,YAAY,eAAe,qBAAqB,CAAC,YAAY,OAAO,gBAAgB,CAAC"}
@@ -1,49 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
3
- import { require_utils } from "../utils.mjs";
4
- import { require_operation } from "./operation.mjs";
5
- import { require_command } from "./command.mjs";
6
- import { require_collection } from "../collection.mjs";
7
-
8
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.js
9
- var require_rename = /* @__PURE__ */ __commonJSMin(((exports) => {
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.RenameOperation = void 0;
12
- const responses_1 = require_responses();
13
- const collection_1 = require_collection();
14
- const utils_1 = require_utils();
15
- const command_1 = require_command();
16
- const operation_1 = require_operation();
17
- /** @internal */
18
- var RenameOperation = class extends command_1.CommandOperation {
19
- constructor(collection, newName, options) {
20
- super(collection, options);
21
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
22
- this.collection = collection;
23
- this.newName = newName;
24
- this.options = options;
25
- this.ns = new utils_1.MongoDBNamespace("admin", "$cmd");
26
- }
27
- get commandName() {
28
- return "renameCollection";
29
- }
30
- buildCommandDocument(_connection, _session) {
31
- return {
32
- renameCollection: this.collection.namespace,
33
- to: this.collection.s.namespace.withCollection(this.newName).toString(),
34
- dropTarget: typeof this.options.dropTarget === "boolean" ? this.options.dropTarget : false
35
- };
36
- }
37
- handleOk(_response) {
38
- return new collection_1.Collection(this.collection.db, this.newName, this.collection.s.options);
39
- }
40
- };
41
- exports.RenameOperation = RenameOperation;
42
- (0, operation_1.defineAspects)(RenameOperation, [operation_1.Aspect.WRITE_OPERATION]);
43
- }));
44
-
45
- //#endregion
46
- export default require_rename();
47
-
48
- export { require_rename };
49
- //# sourceMappingURL=rename.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rename.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RenameOperation = void 0;\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst collection_1 = require(\"../collection\");\nconst utils_1 = require(\"../utils\");\nconst command_1 = require(\"./command\");\nconst operation_1 = require(\"./operation\");\n/** @internal */\nclass RenameOperation extends command_1.CommandOperation {\n constructor(collection, newName, options) {\n super(collection, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.collection = collection;\n this.newName = newName;\n this.options = options;\n this.ns = new utils_1.MongoDBNamespace('admin', '$cmd');\n }\n get commandName() {\n return 'renameCollection';\n }\n buildCommandDocument(_connection, _session) {\n const renameCollection = this.collection.namespace;\n const to = this.collection.s.namespace.withCollection(this.newName).toString();\n const dropTarget = typeof this.options.dropTarget === 'boolean' ? this.options.dropTarget : false;\n return {\n renameCollection,\n to,\n dropTarget\n };\n }\n handleOk(_response) {\n return new collection_1.Collection(this.collection.db, this.newName, this.collection.s.options);\n }\n}\nexports.RenameOperation = RenameOperation;\n(0, operation_1.defineAspects)(RenameOperation, [operation_1.Aspect.WRITE_OPERATION]);\n//# sourceMappingURL=rename.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,kBAAkB,KAAK;CAC/B,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;;CAEN,IAAM,kBAAN,cAA8B,UAAU,iBAAiB;EACrD,YAAY,YAAY,SAAS,SAAS;AACtC,SAAM,YAAY,QAAQ;AAC1B,QAAK,+BAA+B,YAAY;AAChD,QAAK,aAAa;AAClB,QAAK,UAAU;AACf,QAAK,UAAU;AACf,QAAK,KAAK,IAAI,QAAQ,iBAAiB,SAAS,OAAO;;EAE3D,IAAI,cAAc;AACd,UAAO;;EAEX,qBAAqB,aAAa,UAAU;AAIxC,UAAO;IACH,kBAJqB,KAAK,WAAW;IAKrC,IAJO,KAAK,WAAW,EAAE,UAAU,eAAe,KAAK,QAAQ,CAAC,UAAU;IAK1E,YAJe,OAAO,KAAK,QAAQ,eAAe,YAAY,KAAK,QAAQ,aAAa;IAK3F;;EAEL,SAAS,WAAW;AAChB,UAAO,IAAI,aAAa,WAAW,KAAK,WAAW,IAAI,KAAK,SAAS,KAAK,WAAW,EAAE,QAAQ;;;AAGvG,SAAQ,kBAAkB;AAC1B,EAAC,GAAG,YAAY,eAAe,iBAAiB,CAAC,YAAY,OAAO,gBAAgB,CAAC"}
@@ -1,58 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
3
- import { require_operation } from "./operation.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.js
6
- var require_run_command = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.RunCursorCommandOperation = exports.RunCommandOperation = void 0;
9
- const responses_1 = require_responses();
10
- const operation_1 = require_operation();
11
- /** @internal */
12
- var RunCommandOperation = class extends operation_1.AbstractOperation {
13
- constructor(namespace, command, options) {
14
- super(options);
15
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
16
- this.command = command;
17
- this.options = options;
18
- this.ns = namespace.withCollection("$cmd");
19
- }
20
- get commandName() {
21
- return "runCommand";
22
- }
23
- buildCommand(_connection, _session) {
24
- return this.command;
25
- }
26
- buildOptions(timeoutContext) {
27
- return {
28
- ...this.options,
29
- session: this.session,
30
- timeoutContext,
31
- signal: this.options.signal,
32
- readPreference: this.options.readPreference
33
- };
34
- }
35
- };
36
- exports.RunCommandOperation = RunCommandOperation;
37
- /**
38
- * @internal
39
- *
40
- * A specialized subclass of RunCommandOperation for cursor-creating commands.
41
- */
42
- var RunCursorCommandOperation = class extends RunCommandOperation {
43
- constructor() {
44
- super(...arguments);
45
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.CursorResponse;
46
- }
47
- handleOk(response) {
48
- return response;
49
- }
50
- };
51
- exports.RunCursorCommandOperation = RunCursorCommandOperation;
52
- }));
53
-
54
- //#endregion
55
- export default require_run_command();
56
-
57
- export { require_run_command };
58
- //# sourceMappingURL=run_command.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run_command.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RunCursorCommandOperation = exports.RunCommandOperation = void 0;\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst operation_1 = require(\"../operations/operation\");\n/** @internal */\nclass RunCommandOperation extends operation_1.AbstractOperation {\n constructor(namespace, command, options) {\n super(options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.command = command;\n this.options = options;\n this.ns = namespace.withCollection('$cmd');\n }\n get commandName() {\n return 'runCommand';\n }\n buildCommand(_connection, _session) {\n return this.command;\n }\n buildOptions(timeoutContext) {\n return {\n ...this.options,\n session: this.session,\n timeoutContext,\n signal: this.options.signal,\n readPreference: this.options.readPreference\n };\n }\n}\nexports.RunCommandOperation = RunCommandOperation;\n/**\n * @internal\n *\n * A specialized subclass of RunCommandOperation for cursor-creating commands.\n */\nclass RunCursorCommandOperation extends RunCommandOperation {\n constructor() {\n super(...arguments);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.CursorResponse;\n }\n handleOk(response) {\n return response;\n }\n}\nexports.RunCursorCommandOperation = RunCursorCommandOperation;\n//# sourceMappingURL=run_command.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,4BAA4B,QAAQ,sBAAsB,KAAK;CACvE,MAAM;CACN,MAAM;;CAEN,IAAM,sBAAN,cAAkC,YAAY,kBAAkB;EAC5D,YAAY,WAAW,SAAS,SAAS;AACrC,SAAM,QAAQ;AACd,QAAK,+BAA+B,YAAY;AAChD,QAAK,UAAU;AACf,QAAK,UAAU;AACf,QAAK,KAAK,UAAU,eAAe,OAAO;;EAE9C,IAAI,cAAc;AACd,UAAO;;EAEX,aAAa,aAAa,UAAU;AAChC,UAAO,KAAK;;EAEhB,aAAa,gBAAgB;AACzB,UAAO;IACH,GAAG,KAAK;IACR,SAAS,KAAK;IACd;IACA,QAAQ,KAAK,QAAQ;IACrB,gBAAgB,KAAK,QAAQ;IAChC;;;AAGT,SAAQ,sBAAsB;;;;;;CAM9B,IAAM,4BAAN,cAAwC,oBAAoB;EACxD,cAAc;AACV,SAAM,GAAG,UAAU;AACnB,QAAK,+BAA+B,YAAY;;EAEpD,SAAS,UAAU;AACf,UAAO;;;AAGf,SAAQ,4BAA4B"}
@@ -1,46 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_responses } from "../../cmap/wire_protocol/responses.mjs";
3
- import { require_operation } from "../operation.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.js
6
- var require_create = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.CreateSearchIndexesOperation = void 0;
9
- const responses_1 = require_responses();
10
- const operation_1 = require_operation();
11
- /** @internal */
12
- var CreateSearchIndexesOperation = class extends operation_1.AbstractOperation {
13
- constructor(collection, descriptions) {
14
- super();
15
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
16
- this.collection = collection;
17
- this.descriptions = descriptions;
18
- this.ns = collection.fullNamespace;
19
- }
20
- get commandName() {
21
- return "createSearchIndexes";
22
- }
23
- buildCommand(_connection, _session) {
24
- return {
25
- createSearchIndexes: this.collection.fullNamespace.collection,
26
- indexes: this.descriptions
27
- };
28
- }
29
- handleOk(response) {
30
- return super.handleOk(response).indexesCreated.map((val) => val.name);
31
- }
32
- buildOptions(timeoutContext) {
33
- return {
34
- session: this.session,
35
- timeoutContext
36
- };
37
- }
38
- };
39
- exports.CreateSearchIndexesOperation = CreateSearchIndexesOperation;
40
- }));
41
-
42
- //#endregion
43
- export default require_create();
44
-
45
- export { require_create };
46
- //# sourceMappingURL=create.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CreateSearchIndexesOperation = void 0;\nconst responses_1 = require(\"../../cmap/wire_protocol/responses\");\nconst operation_1 = require(\"../operation\");\n/** @internal */\nclass CreateSearchIndexesOperation extends operation_1.AbstractOperation {\n constructor(collection, descriptions) {\n super();\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.collection = collection;\n this.descriptions = descriptions;\n this.ns = collection.fullNamespace;\n }\n get commandName() {\n return 'createSearchIndexes';\n }\n buildCommand(_connection, _session) {\n const namespace = this.collection.fullNamespace;\n return {\n createSearchIndexes: namespace.collection,\n indexes: this.descriptions\n };\n }\n handleOk(response) {\n return super.handleOk(response).indexesCreated.map((val) => val.name);\n }\n buildOptions(timeoutContext) {\n return { session: this.session, timeoutContext };\n }\n}\nexports.CreateSearchIndexesOperation = CreateSearchIndexesOperation;\n//# sourceMappingURL=create.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,+BAA+B,KAAK;CAC5C,MAAM;CACN,MAAM;;CAEN,IAAM,+BAAN,cAA2C,YAAY,kBAAkB;EACrE,YAAY,YAAY,cAAc;AAClC,UAAO;AACP,QAAK,+BAA+B,YAAY;AAChD,QAAK,aAAa;AAClB,QAAK,eAAe;AACpB,QAAK,KAAK,WAAW;;EAEzB,IAAI,cAAc;AACd,UAAO;;EAEX,aAAa,aAAa,UAAU;AAEhC,UAAO;IACH,qBAFc,KAAK,WAAW,cAEC;IAC/B,SAAS,KAAK;IACjB;;EAEL,SAAS,UAAU;AACf,UAAO,MAAM,SAAS,SAAS,CAAC,eAAe,KAAK,QAAQ,IAAI,KAAK;;EAEzE,aAAa,gBAAgB;AACzB,UAAO;IAAE,SAAS,KAAK;IAAS;IAAgB;;;AAGxD,SAAQ,+BAA+B"}
@@ -1,48 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_error } from "../../error.mjs";
3
- import { require_responses } from "../../cmap/wire_protocol/responses.mjs";
4
- import { require_operation } from "../operation.mjs";
5
-
6
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.js
7
- var require_drop = /* @__PURE__ */ __commonJSMin(((exports) => {
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.DropSearchIndexOperation = void 0;
10
- const responses_1 = require_responses();
11
- const error_1 = require_error();
12
- const operation_1 = require_operation();
13
- /** @internal */
14
- var DropSearchIndexOperation = class extends operation_1.AbstractOperation {
15
- constructor(collection, name) {
16
- super();
17
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
18
- this.collection = collection;
19
- this.name = name;
20
- this.ns = collection.fullNamespace;
21
- }
22
- get commandName() {
23
- return "dropSearchIndex";
24
- }
25
- buildCommand(_connection, _session) {
26
- const command = { dropSearchIndex: this.collection.fullNamespace.collection };
27
- if (typeof this.name === "string") command.name = this.name;
28
- return command;
29
- }
30
- handleOk(_response) {}
31
- buildOptions(timeoutContext) {
32
- return {
33
- session: this.session,
34
- timeoutContext
35
- };
36
- }
37
- handleError(error) {
38
- if (!(error instanceof error_1.MongoServerError && error.code === error_1.MONGODB_ERROR_CODES.NamespaceNotFound)) throw error;
39
- }
40
- };
41
- exports.DropSearchIndexOperation = DropSearchIndexOperation;
42
- }));
43
-
44
- //#endregion
45
- export default require_drop();
46
-
47
- export { require_drop };
48
- //# sourceMappingURL=drop.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"drop.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DropSearchIndexOperation = void 0;\nconst responses_1 = require(\"../../cmap/wire_protocol/responses\");\nconst error_1 = require(\"../../error\");\nconst operation_1 = require(\"../operation\");\n/** @internal */\nclass DropSearchIndexOperation extends operation_1.AbstractOperation {\n constructor(collection, name) {\n super();\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.collection = collection;\n this.name = name;\n this.ns = collection.fullNamespace;\n }\n get commandName() {\n return 'dropSearchIndex';\n }\n buildCommand(_connection, _session) {\n const namespace = this.collection.fullNamespace;\n const command = {\n dropSearchIndex: namespace.collection\n };\n if (typeof this.name === 'string') {\n command.name = this.name;\n }\n return command;\n }\n handleOk(_response) {\n // do nothing\n }\n buildOptions(timeoutContext) {\n return { session: this.session, timeoutContext };\n }\n handleError(error) {\n const isNamespaceNotFoundError = error instanceof error_1.MongoServerError && error.code === error_1.MONGODB_ERROR_CODES.NamespaceNotFound;\n if (!isNamespaceNotFoundError) {\n throw error;\n }\n }\n}\nexports.DropSearchIndexOperation = DropSearchIndexOperation;\n//# sourceMappingURL=drop.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,2BAA2B,KAAK;CACxC,MAAM;CACN,MAAM;CACN,MAAM;;CAEN,IAAM,2BAAN,cAAuC,YAAY,kBAAkB;EACjE,YAAY,YAAY,MAAM;AAC1B,UAAO;AACP,QAAK,+BAA+B,YAAY;AAChD,QAAK,aAAa;AAClB,QAAK,OAAO;AACZ,QAAK,KAAK,WAAW;;EAEzB,IAAI,cAAc;AACd,UAAO;;EAEX,aAAa,aAAa,UAAU;GAEhC,MAAM,UAAU,EACZ,iBAFc,KAAK,WAAW,cAEH,YAC9B;AACD,OAAI,OAAO,KAAK,SAAS,SACrB,SAAQ,OAAO,KAAK;AAExB,UAAO;;EAEX,SAAS,WAAW;EAGpB,aAAa,gBAAgB;AACzB,UAAO;IAAE,SAAS,KAAK;IAAS;IAAgB;;EAEpD,YAAY,OAAO;AAEf,OAAI,EAD6B,iBAAiB,QAAQ,oBAAoB,MAAM,SAAS,QAAQ,oBAAoB,mBAErH,OAAM;;;AAIlB,SAAQ,2BAA2B"}
@@ -1,46 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_responses } from "../../cmap/wire_protocol/responses.mjs";
3
- import { require_operation } from "../operation.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.js
6
- var require_update = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.UpdateSearchIndexOperation = void 0;
9
- const responses_1 = require_responses();
10
- const operation_1 = require_operation();
11
- /** @internal */
12
- var UpdateSearchIndexOperation = class extends operation_1.AbstractOperation {
13
- constructor(collection, name, definition) {
14
- super();
15
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
16
- this.collection = collection;
17
- this.name = name;
18
- this.definition = definition;
19
- this.ns = collection.fullNamespace;
20
- }
21
- get commandName() {
22
- return "updateSearchIndex";
23
- }
24
- buildCommand(_connection, _session) {
25
- return {
26
- updateSearchIndex: this.collection.fullNamespace.collection,
27
- name: this.name,
28
- definition: this.definition
29
- };
30
- }
31
- handleOk(_response) {}
32
- buildOptions(timeoutContext) {
33
- return {
34
- session: this.session,
35
- timeoutContext
36
- };
37
- }
38
- };
39
- exports.UpdateSearchIndexOperation = UpdateSearchIndexOperation;
40
- }));
41
-
42
- //#endregion
43
- export default require_update();
44
-
45
- export { require_update };
46
- //# sourceMappingURL=update.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UpdateSearchIndexOperation = void 0;\nconst responses_1 = require(\"../../cmap/wire_protocol/responses\");\nconst operation_1 = require(\"../operation\");\n/** @internal */\nclass UpdateSearchIndexOperation extends operation_1.AbstractOperation {\n constructor(collection, name, definition) {\n super();\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.collection = collection;\n this.name = name;\n this.definition = definition;\n this.ns = collection.fullNamespace;\n }\n get commandName() {\n return 'updateSearchIndex';\n }\n buildCommand(_connection, _session) {\n const namespace = this.collection.fullNamespace;\n return {\n updateSearchIndex: namespace.collection,\n name: this.name,\n definition: this.definition\n };\n }\n handleOk(_response) {\n // no response.\n }\n buildOptions(timeoutContext) {\n return { session: this.session, timeoutContext };\n }\n}\nexports.UpdateSearchIndexOperation = UpdateSearchIndexOperation;\n//# sourceMappingURL=update.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,6BAA6B,KAAK;CAC1C,MAAM;CACN,MAAM;;CAEN,IAAM,6BAAN,cAAyC,YAAY,kBAAkB;EACnE,YAAY,YAAY,MAAM,YAAY;AACtC,UAAO;AACP,QAAK,+BAA+B,YAAY;AAChD,QAAK,aAAa;AAClB,QAAK,OAAO;AACZ,QAAK,aAAa;AAClB,QAAK,KAAK,WAAW;;EAEzB,IAAI,cAAc;AACd,UAAO;;EAEX,aAAa,aAAa,UAAU;AAEhC,UAAO;IACH,mBAFc,KAAK,WAAW,cAED;IAC7B,MAAM,KAAK;IACX,YAAY,KAAK;IACpB;;EAEL,SAAS,WAAW;EAGpB,aAAa,gBAAgB;AACzB,UAAO;IAAE,SAAS,KAAK;IAAS;IAAgB;;;AAGxD,SAAQ,6BAA6B"}
@@ -1,67 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_error } from "../error.mjs";
3
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
4
- import { require_utils } from "../utils.mjs";
5
- import { require_command } from "./command.mjs";
6
-
7
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.js
8
- var require_set_profiling_level = /* @__PURE__ */ __commonJSMin(((exports) => {
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.SetProfilingLevelOperation = exports.ProfilingLevel = void 0;
11
- const responses_1 = require_responses();
12
- const error_1 = require_error();
13
- const utils_1 = require_utils();
14
- const command_1 = require_command();
15
- const levelValues = new Set([
16
- "off",
17
- "slow_only",
18
- "all"
19
- ]);
20
- /** @public */
21
- exports.ProfilingLevel = Object.freeze({
22
- off: "off",
23
- slowOnly: "slow_only",
24
- all: "all"
25
- });
26
- /** @internal */
27
- var SetProfilingLevelOperation = class extends command_1.CommandOperation {
28
- constructor(db, level, options) {
29
- super(db, options);
30
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
31
- this.options = options;
32
- switch (level) {
33
- case exports.ProfilingLevel.off:
34
- this.profile = 0;
35
- break;
36
- case exports.ProfilingLevel.slowOnly:
37
- this.profile = 1;
38
- break;
39
- case exports.ProfilingLevel.all:
40
- this.profile = 2;
41
- break;
42
- default:
43
- this.profile = 0;
44
- break;
45
- }
46
- this.level = level;
47
- }
48
- get commandName() {
49
- return "profile";
50
- }
51
- buildCommandDocument(_connection) {
52
- const level = this.level;
53
- if (!levelValues.has(level)) throw new error_1.MongoInvalidArgumentError(`Profiling level must be one of "${(0, utils_1.enumToString)(exports.ProfilingLevel)}"`);
54
- return { profile: this.profile };
55
- }
56
- handleOk(_response) {
57
- return this.level;
58
- }
59
- };
60
- exports.SetProfilingLevelOperation = SetProfilingLevelOperation;
61
- }));
62
-
63
- //#endregion
64
- export default require_set_profiling_level();
65
-
66
- export { require_set_profiling_level };
67
- //# sourceMappingURL=set_profiling_level.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set_profiling_level.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SetProfilingLevelOperation = exports.ProfilingLevel = void 0;\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst error_1 = require(\"../error\");\nconst utils_1 = require(\"../utils\");\nconst command_1 = require(\"./command\");\nconst levelValues = new Set(['off', 'slow_only', 'all']);\n/** @public */\nexports.ProfilingLevel = Object.freeze({\n off: 'off',\n slowOnly: 'slow_only',\n all: 'all'\n});\n/** @internal */\nclass SetProfilingLevelOperation extends command_1.CommandOperation {\n constructor(db, level, options) {\n super(db, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.options = options;\n switch (level) {\n case exports.ProfilingLevel.off:\n this.profile = 0;\n break;\n case exports.ProfilingLevel.slowOnly:\n this.profile = 1;\n break;\n case exports.ProfilingLevel.all:\n this.profile = 2;\n break;\n default:\n this.profile = 0;\n break;\n }\n this.level = level;\n }\n get commandName() {\n return 'profile';\n }\n buildCommandDocument(_connection) {\n const level = this.level;\n if (!levelValues.has(level)) {\n // TODO(NODE-3483): Determine error to put here\n throw new error_1.MongoInvalidArgumentError(`Profiling level must be one of \"${(0, utils_1.enumToString)(exports.ProfilingLevel)}\"`);\n }\n return { profile: this.profile };\n }\n handleOk(_response) {\n return this.level;\n }\n}\nexports.SetProfilingLevelOperation = SetProfilingLevelOperation;\n//# sourceMappingURL=set_profiling_level.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,6BAA6B,QAAQ,iBAAiB,KAAK;CACnE,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM,cAAc,IAAI,IAAI;EAAC;EAAO;EAAa;EAAM,CAAC;;AAExD,SAAQ,iBAAiB,OAAO,OAAO;EACnC,KAAK;EACL,UAAU;EACV,KAAK;EACR,CAAC;;CAEF,IAAM,6BAAN,cAAyC,UAAU,iBAAiB;EAChE,YAAY,IAAI,OAAO,SAAS;AAC5B,SAAM,IAAI,QAAQ;AAClB,QAAK,+BAA+B,YAAY;AAChD,QAAK,UAAU;AACf,WAAQ,OAAR;IACI,KAAK,QAAQ,eAAe;AACxB,UAAK,UAAU;AACf;IACJ,KAAK,QAAQ,eAAe;AACxB,UAAK,UAAU;AACf;IACJ,KAAK,QAAQ,eAAe;AACxB,UAAK,UAAU;AACf;IACJ;AACI,UAAK,UAAU;AACf;;AAER,QAAK,QAAQ;;EAEjB,IAAI,cAAc;AACd,UAAO;;EAEX,qBAAqB,aAAa;GAC9B,MAAM,QAAQ,KAAK;AACnB,OAAI,CAAC,YAAY,IAAI,MAAM,CAEvB,OAAM,IAAI,QAAQ,0BAA0B,oCAAoC,GAAG,QAAQ,cAAc,QAAQ,eAAe,CAAC,GAAG;AAExI,UAAO,EAAE,SAAS,KAAK,SAAS;;EAEpC,SAAS,WAAW;AAChB,UAAO,KAAK;;;AAGpB,SAAQ,6BAA6B"}