|
|
@@ -164,34 +164,82 @@ var import_js_repository8 = require("@e22m4u/js-repository");
|
|
|
var import_js_repository9 = require("@e22m4u/js-repository");
|
|
|
var import_js_repository10 = require("@e22m4u/js-repository");
|
|
|
var MONGODB_OPTION_NAMES = [
|
|
|
- "appname",
|
|
|
+ "ALPNProtocols",
|
|
|
+ "allowPartialTrustChain",
|
|
|
+ "appName",
|
|
|
+ "auth",
|
|
|
"authMechanism",
|
|
|
"authMechanismProperties",
|
|
|
"authSource",
|
|
|
+ "autoEncryption",
|
|
|
+ "autoSelectFamily",
|
|
|
+ "autoSelectFamilyAttemptTimeout",
|
|
|
+ "bsonRegExp",
|
|
|
+ "ca",
|
|
|
+ "cert",
|
|
|
+ "checkKeys",
|
|
|
+ "checkServerIdentity",
|
|
|
+ "ciphers",
|
|
|
"compressors",
|
|
|
"connectTimeoutMS",
|
|
|
+ "crl",
|
|
|
"directConnection",
|
|
|
+ "driverInfo",
|
|
|
+ "ecdhCurve",
|
|
|
+ "enableUtf8Validation",
|
|
|
+ "family",
|
|
|
+ "fieldsAsRaw",
|
|
|
+ "forceServerObjectId",
|
|
|
"heartbeatFrequencyMS",
|
|
|
+ "hints",
|
|
|
+ "ignoreUndefined",
|
|
|
"journal",
|
|
|
+ "keepAliveInitialDelay",
|
|
|
+ "key",
|
|
|
"loadBalanced",
|
|
|
+ "localAddress",
|
|
|
+ "localPort",
|
|
|
"localThresholdMS",
|
|
|
+ "lookup",
|
|
|
+ "maxConnecting",
|
|
|
"maxIdleTimeMS",
|
|
|
"maxPoolSize",
|
|
|
- "maxConnecting",
|
|
|
"maxStalenessSeconds",
|
|
|
+ "minDHSize",
|
|
|
+ "minHeartbeatFrequencyMS",
|
|
|
"minPoolSize",
|
|
|
+ "mongodbLogComponentSeverities",
|
|
|
+ "mongodbLogMaxDocumentLength",
|
|
|
+ "mongodbLogPath",
|
|
|
+ "monitorCommands",
|
|
|
+ "noDelay",
|
|
|
+ "passphrase",
|
|
|
+ "pfx",
|
|
|
+ "pkFactory",
|
|
|
+ "promoteBuffers",
|
|
|
+ "promoteLongs",
|
|
|
+ "promoteValues",
|
|
|
"proxyHost",
|
|
|
+ "proxyPassword",
|
|
|
"proxyPort",
|
|
|
"proxyUsername",
|
|
|
- "proxyPassword",
|
|
|
+ "raw",
|
|
|
+ "readConcern",
|
|
|
"readConcernLevel",
|
|
|
"readPreference",
|
|
|
"readPreferenceTags",
|
|
|
+ "rejectUnauthorized",
|
|
|
"replicaSet",
|
|
|
"retryReads",
|
|
|
"retryWrites",
|
|
|
+ "secureContext",
|
|
|
+ "secureProtocol",
|
|
|
+ "serializeFunctions",
|
|
|
+ "serverApi",
|
|
|
+ "serverMonitoringMode",
|
|
|
"serverSelectionTimeoutMS",
|
|
|
- "serverSelectionTryOnce",
|
|
|
+ "servername",
|
|
|
+ "session",
|
|
|
"socketTimeoutMS",
|
|
|
"srvMaxHosts",
|
|
|
"srvServiceName",
|
|
|
@@ -201,12 +249,15 @@ var MONGODB_OPTION_NAMES = [
|
|
|
"tlsAllowInvalidCertificates",
|
|
|
"tlsAllowInvalidHostnames",
|
|
|
"tlsCAFile",
|
|
|
+ "tlsCRLFile",
|
|
|
"tlsCertificateKeyFile",
|
|
|
"tlsCertificateKeyFilePassword",
|
|
|
"tlsInsecure",
|
|
|
+ "useBigInt64",
|
|
|
"w",
|
|
|
"waitQueueTimeoutMS",
|
|
|
- "wTimeoutMS",
|
|
|
+ "writeConcern",
|
|
|
+ "wtimeoutMS",
|
|
|
"zlibCompressionLevel"
|
|
|
];
|
|
|
var DEFAULT_SETTINGS = {
|