From 2de38d773b7f906cd0e53e649596d1da505539af Mon Sep 17 00:00:00 2001 From: github-pages-deploy <> Date: Sat, 31 Aug 2024 10:31:37 +0000 Subject: [PATCH] Deploying to gh-pages from @ 7fe3d59822e429bb078c765cc5df584abc98ed84 --- ...MongoMemoryReplSet.MongoMemoryReplSet.html | 52 +++++++++---------- .../MongoMemoryServer.MongoMemoryServer.html | 40 +++++++------- .../util_DryMongoBinary.DryMongoBinary.html | 22 ++++---- .../classes/util_MongoBinary.MongoBinary.html | 6 +-- ...ngoBinaryDownload.MongoBinaryDownload.html | 28 +++++----- ...aryDownloadUrl.MongoBinaryDownloadUrl.html | 34 ++++++------ .../util_MongoInstance.MongoInstance.html | 46 ++++++++-------- .../util_errors.AssertionFallbackError.html | 4 +- .../util_errors.AuthNotObjectError.html | 4 +- .../util_errors.BinaryNotFoundError.html | 4 +- .../classes/util_errors.DownloadError.html | 4 +- .../classes/util_errors.GenericMMSError.html | 2 +- .../util_errors.InstanceInfoError.html | 4 +- ...l_errors.InsufficientPermissionsError.html | 4 +- .../util_errors.KeyFileMissingError.html | 4 +- ...rors.KnownVersionIncompatibilityError.html | 4 +- .../util_errors.Md5CheckFailedError.html | 4 +- .../util_errors.NoRegexMatchError.html | 4 +- .../util_errors.ParseArchiveRegexError.html | 4 +- .../util_errors.ReplsetCountLowError.html | 4 +- .../util_errors.StartBinaryFailedError.html | 4 +- typedoc/classes/util_errors.StateError.html | 4 +- .../util_errors.StdoutInstanceError.html | 4 +- ...il_errors.UnableToUnlockLockfileError.html | 4 +- .../util_errors.UnexpectedCloseError.html | 4 +- .../util_errors.UnknownArchitectureError.html | 4 +- .../util_errors.UnknownLinuxDistro.html | 4 +- ...til_errors.UnknownLockfileStatusError.html | 4 +- .../util_errors.UnknownPlatformError.html | 4 +- .../util_errors.UnknownVersionError.html | 4 +- ...til_errors.WaitForPrimaryTimeoutError.html | 4 +- typedoc/classes/util_lockfile.LockFile.html | 26 +++++----- .../classes/util_utils.ManagerAdvanced.html | 4 +- typedoc/classes/util_utils.ManagerBase.html | 4 +- ...emoryReplSet.MongoMemoryReplSetEvents.html | 4 +- ...emoryReplSet.MongoMemoryReplSetStates.html | 4 +- ...oMemoryServer.MongoMemoryServerEvents.html | 4 +- ...oMemoryServer.MongoMemoryServerStates.html | 4 +- ...til_MongoInstance.MongoInstanceEvents.html | 8 +-- .../enums/util_lockfile.LockFileEvents.html | 4 +- .../enums/util_lockfile.LockFileStatus.html | 10 ++-- ..._resolveConfig.ResolveConfigVariables.html | 4 +- typedoc/functions/util_getos.getOS.html | 2 +- typedoc/functions/util_getos.isLinuxOS.html | 2 +- typedoc/functions/util_getos.isValidOs.html | 2 +- typedoc/functions/util_getos.parseLSB.html | 2 +- typedoc/functions/util_getos.parseOS.html | 2 +- .../functions/util_getport.getFreePort.html | 2 +- .../util_getport.resetPortsCache.html | 2 +- typedoc/functions/util_getport.tryPort.html | 2 +- typedoc/functions/util_getport.validPort.html | 2 +- ...installHelper.postInstallEnsureBinary.html | 2 +- .../functions/util_resolveConfig.envName.html | 2 +- .../util_resolveConfig.envToBool.html | 2 +- .../util_resolveConfig.findPackageJson.html | 2 +- .../util_resolveConfig.packageJsonPath.html | 2 +- ...til_resolveConfig.processConfigOption.html | 2 +- .../util_resolveConfig.resolveConfig.html | 2 +- .../util_resolveConfig.setDefaultValue.html | 2 +- typedoc/functions/util_utils.assertion.html | 2 +- typedoc/functions/util_utils.authDefault.html | 2 +- .../util_utils.checkBinaryPermissions.html | 2 +- .../functions/util_utils.createTmpDir.html | 2 +- typedoc/functions/util_utils.ensureAsync.html | 2 +- .../functions/util_utils.errorWithCode.html | 2 +- .../functions/util_utils.generateDbName.html | 2 +- typedoc/functions/util_utils.getHost.html | 2 +- .../util_utils.getStorageEngine.html | 2 +- typedoc/functions/util_utils.isAlive.html | 2 +- .../util_utils.isNullOrUndefined.html | 2 +- typedoc/functions/util_utils.killProcess.html | 2 +- .../functions/util_utils.lockfilePath.html | 2 +- typedoc/functions/util_utils.md5.html | 2 +- typedoc/functions/util_utils.md5FromFile.html | 2 +- typedoc/functions/util_utils.mkdir.html | 2 +- typedoc/functions/util_utils.pathExists.html | 2 +- typedoc/functions/util_utils.removeDir.html | 2 +- typedoc/functions/util_utils.statPath.html | 2 +- .../functions/util_utils.tryReleaseFile.html | 2 +- typedoc/functions/util_utils.uriTemplate.html | 2 +- typedoc/functions/util_utils.uuidv4.html | 2 +- ...lSet.MongoMemoryReplSetConfigSettings.html | 4 +- ...oMemoryReplSet.MongoMemoryReplSetOpts.html | 8 +-- .../MongoMemoryReplSet.ReplSetOpts.html | 22 ++++---- .../MongoMemoryServer.AutomaticAuth.html | 14 ++--- .../MongoMemoryServer.CreateUser.html | 18 +++---- .../MongoMemoryServer.CreateUserMongoDB.html | 16 +++--- .../MongoMemoryServer.DisposeOptions.html | 6 +-- .../MongoMemoryServer.ExtraInstanceOpts.html | 4 +- .../MongoMemoryServer.MongoInstanceData.html | 4 +- ...rver.MongoMemoryServerGetStartOptions.html | 4 +- ...ngoMemoryServer.MongoMemoryServerOpts.html | 6 +-- .../MongoMemoryServer.RoleSpecification.html | 6 +-- ...MongoMemoryServer.StartupInstanceData.html | 4 +- ...MongoBinary.BaseDryMongoBinaryOptions.html | 4 +- ...nary.DryMongoBinaryArchiveRegexGroups.html | 4 +- ...MongoBinary.DryMongoBinaryNameOptions.html | 4 +- ..._DryMongoBinary.DryMongoBinaryOptions.html | 4 +- ...il_DryMongoBinary.DryMongoBinaryPaths.html | 10 ++-- .../util_MongoBinary.MongoBinaryOpts.html | 4 +- ...yDownload.MongoBinaryDownloadProgress.html | 4 +- ...ownloadUrl.MongoBinaryDownloadUrlOpts.html | 4 +- ...MongoInstance.MongoMemoryInstanceOpts.html | 24 ++++----- ...oInstance.MongoMemoryInstanceOptsBase.html | 14 ++--- .../util_MongoInstance.MongodOpts.html | 8 +-- ...til_MongoInstance.ReplicaMemberConfig.html | 18 +++---- typedoc/interfaces/util_getos.LinuxOS.html | 4 +- typedoc/interfaces/util_getos.OtherOS.html | 4 +- typedoc/interfaces/util_utils.Cleanup.html | 6 +-- typedoc/modules/MongoMemoryReplSet.html | 2 +- typedoc/modules/MongoMemoryServer.html | 2 +- typedoc/modules/index.html | 2 +- typedoc/modules/util_DryMongoBinary.html | 2 +- typedoc/modules/util_MongoBinary.html | 2 +- typedoc/modules/util_MongoBinaryDownload.html | 2 +- .../modules/util_MongoBinaryDownloadUrl.html | 2 +- typedoc/modules/util_MongoInstance.html | 2 +- typedoc/modules/util_errors.html | 2 +- typedoc/modules/util_getos.html | 2 +- typedoc/modules/util_getport.html | 2 +- typedoc/modules/util_lockfile.html | 2 +- typedoc/modules/util_postinstallHelper.html | 2 +- typedoc/modules/util_resolveConfig.html | 2 +- typedoc/modules/util_utils.html | 2 +- ...MemoryServer.MemoryServerInstanceOpts.html | 2 +- .../types/MongoMemoryServer.UserRoles.html | 2 +- .../util_MongoInstance.StorageEngine.html | 2 +- typedoc/types/util_getos.AnyOS.html | 2 +- ...BinaryDownloadUrl.DEFAULT_UBUNTU_YEAR.html | 2 +- typedoc/variables/util_getos.UNKNOWN.html | 2 +- typedoc/variables/util_getport.MAX_PORT.html | 2 +- typedoc/variables/util_getport.MIN_PORT.html | 2 +- .../util_resolveConfig.DEFAULT_VERSION.html | 2 +- .../util_resolveConfig.ENV_CONFIG_PREFIX.html | 2 +- .../util_resolveConfig.defaultValues.html | 2 +- 135 files changed, 380 insertions(+), 380 deletions(-) diff --git a/typedoc/classes/MongoMemoryReplSet.MongoMemoryReplSet.html b/typedoc/classes/MongoMemoryReplSet.MongoMemoryReplSet.html index bc5736c1..878d18ea 100644 --- a/typedoc/classes/MongoMemoryReplSet.MongoMemoryReplSet.html +++ b/typedoc/classes/MongoMemoryReplSet.MongoMemoryReplSet.html @@ -1,5 +1,5 @@ MongoMemoryReplSet | mongodb-memory-server-core

Class for managing an replSet

-

Hierarchy

  • EventEmitter
    • MongoMemoryReplSet

Implements

Constructors

Hierarchy

  • EventEmitter
    • MongoMemoryReplSet

Implements

Constructors

Properties

Constructors

Properties

_binaryOpts: MongoBinaryOpts

Options for the Binary across all instances

-

Options for individual instances

-
_keyfiletmp?: string

TMPDIR for the keyfile, when auth is used

-
_ranCreateAuth: boolean = false
_replSetOpts: Required<ReplSetOpts>

Options for the Replset itself and defaults for instances

-
_state: MongoMemoryReplSetStates = MongoMemoryReplSetStates.stopped
servers: MongoMemoryServer[] = []

All servers this ReplSet instance manages

-
captureRejectionSymbol: typeof captureRejectionSymbol
captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

+

Constructors

Properties

_binaryOpts: MongoBinaryOpts

Options for the Binary across all instances

+

Options for individual instances

+
_keyfiletmp?: string

TMPDIR for the keyfile, when auth is used

+
_ranCreateAuth: boolean = false
_replSetOpts: Required<ReplSetOpts>

Options for the Replset itself and defaults for instances

+
_state: MongoMemoryReplSetStates = MongoMemoryReplSetStates.stopped
servers: MongoMemoryServer[] = []

All servers this ReplSet instance manages

+
captureRejectionSymbol: typeof captureRejectionSymbol
captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

defaultMaxListeners: number
errorMonitor: typeof errorMonitor

This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

@@ -64,36 +64,36 @@ regular 'error' listener is installed.

Accessors

Methods

Methods

  • Connects to the first server from the list of servers and issues the replSetInitiate command passing in a new replica set configuration object.

    Returns Promise<void>

    Throws

    if state is not "init"

    Throws

    if "servers.length" is not 1 or above

    Throws

    if package "mongodb" is not installed

    -
  • Wait until the replSet has elected a Primary

    +

Returns MongoMemoryServer

Returns MongoMemoryInstanceOpts

Returns string

an valid mongo URI, by the definition of https://docs.mongodb.com/manual/reference/connection-string/

Throws

if state is not "running"

Throws

if an server doesnt have "instanceInfo.port" defined

-

Returns void

Returns Promise<boolean>

Returns Promise<MongoMemoryReplSet>

Returns MongoMemoryServer

Properties

_instanceInfo?: MongoInstanceData

Information about the started instance

+
_state: MongoMemoryServerStates = MongoMemoryServerStates.new

The Current State of this instance

+
auth?: Required<AutomaticAuth>

Original Auth Configuration (this.opts can be changed if stopped, but auth cannot be changed here)

+

General Options for this Instance

+
captureRejectionSymbol: typeof captureRejectionSymbol
captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

defaultMaxListeners: number
errorMonitor: typeof errorMonitor

This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

@@ -56,22 +56,22 @@ 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

Accessors

Methods

Methods

Returns void

Returns Promise<number>

Returns Promise<MongoMemoryServerGetStartOptions>

Returns void

Returns Promise<boolean>

Returns Promise<MongoMemoryServer>

\ No newline at end of file diff --git a/typedoc/classes/util_MongoBinary.MongoBinary.html b/typedoc/classes/util_MongoBinary.MongoBinary.html index 40af832e..10f25a3e 100644 --- a/typedoc/classes/util_MongoBinary.MongoBinary.html +++ b/typedoc/classes/util_MongoBinary.MongoBinary.html @@ -1,12 +1,12 @@ MongoBinary | mongodb-memory-server-core

Class used to combine "DryMongoBinary" & "MongoBinaryDownload"

-

Constructors

Constructors

Methods

Constructors

Methods

\ No newline at end of file +
\ No newline at end of file diff --git a/typedoc/classes/util_MongoBinaryDownload.MongoBinaryDownload.html b/typedoc/classes/util_MongoBinaryDownload.MongoBinaryDownload.html index d1983ebd..d4f38261 100644 --- a/typedoc/classes/util_MongoBinaryDownload.MongoBinaryDownload.html +++ b/typedoc/classes/util_MongoBinaryDownload.MongoBinaryDownload.html @@ -1,5 +1,5 @@ MongoBinaryDownload | mongodb-memory-server-core

Download and extract the "mongod" binary

-

Constructors

Constructors

Properties

_downloadingUrl?: string
binaryOpts: Required<MongoBinaryOpts>

These options are kind of raw, they are not run through DryMongoBinary.generateOptions

-

Methods

  • Download file from downloadUrl

    +

Constructors

Properties

_downloadingUrl?: string
binaryOpts: Required<MongoBinaryOpts>

These options are kind of raw, they are not run through DryMongoBinary.generateOptions

+

Methods

  • Extract a .tar.gz archive

    Parameters

    • mongoDBArchive: string

      Archive location

    • extractPath: string

      Directory to extract to

    • filter: ((file) => boolean)

      Method to determine which files to extract

      -
        • (file): boolean
        • Parameters

          • file: string

          Returns boolean

    Returns Promise<void>

  • Extract a .zip archive

    +
      • (file): boolean
      • Parameters

        • file: string

        Returns boolean

Returns Promise<void>

Returns Promise<void>

Returns Promise<string>

Returns void

\ No newline at end of file +
\ No newline at end of file diff --git a/typedoc/classes/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrl.html b/typedoc/classes/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrl.html index 46a56211..391f7c32 100644 --- a/typedoc/classes/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrl.html +++ b/typedoc/classes/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrl.html @@ -1,5 +1,5 @@ MongoBinaryDownloadUrl | mongodb-memory-server-core

Download URL generator

-

Implements

Constructors

Properties

arch: string
os?: AnyOS
platform: string
version: string

Methods

  • Get the archive for Linux +

Returns string

Returns string

Returns string

Returns string

Returns string

Returns string

Returns string

\ No newline at end of file +
\ No newline at end of file diff --git a/typedoc/classes/util_MongoInstance.MongoInstance.html b/typedoc/classes/util_MongoInstance.MongoInstance.html index 970ecf9e..c856bb40 100644 --- a/typedoc/classes/util_MongoInstance.MongoInstance.html +++ b/typedoc/classes/util_MongoInstance.MongoInstance.html @@ -1,6 +1,6 @@ MongoInstance | mongodb-memory-server-core

MongoDB Instance Handler Class This Class starts & stops the "mongod" process directly and handles stdout, sterr and close events

-

Hierarchy

  • EventEmitter
    • MongoInstance

Implements

Constructors

Hierarchy

  • EventEmitter
    • MongoInstance

Implements

Constructors

Properties

binaryOpts: Readonly<MongoBinaryOpts>
extraConnectionOptions?: MongoClientOptions

Extra options to append to "mongoclient.connect" +

Constructors

Properties

binaryOpts: Readonly<MongoBinaryOpts>
extraConnectionOptions?: MongoClientOptions

Extra options to append to "mongoclient.connect" Mainly used for authentication

-
isInstancePrimary: boolean = false

This boolean is "true" if the instance is elected to be PRIMARY

-
isInstanceReady: boolean = false

This boolean is "true" if the instance is successfully started

-
isReplSet: boolean = false

This boolean is "true" if the instance is part of an replset

-
killerProcess?: ChildProcess

The "mongo_killer" Process reference

-
mongodProcess?: ChildProcess

The "mongod" Process reference

-
spawnOpts: Readonly<SpawnOptions>
stopPromise?: Promise<boolean>

Extra promise to avoid multiple calls of .stop at the same time

+
isInstancePrimary: boolean = false

This boolean is "true" if the instance is elected to be PRIMARY

+
isInstanceReady: boolean = false

This boolean is "true" if the instance is successfully started

+
isReplSet: boolean = false

This boolean is "true" if the instance is part of an replset

+
killerProcess?: ChildProcess

The "mongo_killer" Process reference

+
mongodProcess?: ChildProcess

The "mongod" Process reference

+
spawnOpts: Readonly<SpawnOptions>
stopPromise?: Promise<boolean>

Extra promise to avoid multiple calls of .stop at the same time

captureRejectionSymbol: typeof captureRejectionSymbol
captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

+
captureRejectionSymbol: typeof captureRejectionSymbol
captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

defaultMaxListeners: number
errorMonitor: typeof errorMonitor

This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

-

Methods

  • Spawn an seperate process to kill the parent and the mongod instance to ensure "mongod" gets stopped in any case

    +

Methods

  • Spawn an seperate process to kill the parent and the mongod instance to ensure "mongod" gets stopped in any case

    Parameters

    • parentPid: number

      Parent nodejs process

    • childPid: number

      Mongod process to kill

    Returns ChildProcess

    Fires

    MongoInstance#killerLaunched

    -
  • Alias for emitter.on(eventName, listener).

    Parameters

    • eventName: string | symbol
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns this

    Since

    v0.1.26

  • Write the CLOSE event to the debug function

    +

Returns void

Returns void

Returns Promise<MongoInstance>

Returns Promise<LockFileStatus>

Returns Promise<LockFile>

Returns Promise<LockFile>

\ No newline at end of file +

Returns Promise<LockFile>

\ No newline at end of file diff --git a/typedoc/classes/util_utils.ManagerAdvanced.html b/typedoc/classes/util_utils.ManagerAdvanced.html index a47a6eca..99ca3589 100644 --- a/typedoc/classes/util_utils.ManagerAdvanced.html +++ b/typedoc/classes/util_utils.ManagerAdvanced.html @@ -1,8 +1,8 @@ ManagerAdvanced | mongodb-memory-server-core

This Class is used to have unified types for advanced-manager functions

-

Hierarchy (view full)

Implemented by

Constructors

Hierarchy (view full)

Implemented by

Constructors

Methods

\ No newline at end of file +

Constructors

Methods

\ No newline at end of file diff --git a/typedoc/classes/util_utils.ManagerBase.html b/typedoc/classes/util_utils.ManagerBase.html index 9cbb0df0..820afa62 100644 --- a/typedoc/classes/util_utils.ManagerBase.html +++ b/typedoc/classes/util_utils.ManagerBase.html @@ -1,6 +1,6 @@ ManagerBase | mongodb-memory-server-core

This Class is used to have unified types for base-manager functions

-

Hierarchy (view full)

Implemented by

Constructors

Hierarchy (view full)

Implemented by

Constructors

Methods

Constructors

Methods

\ No newline at end of file +

Constructors

Methods

\ No newline at end of file diff --git a/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetEvents.html b/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetEvents.html index ddc494f8..7c06d97f 100644 --- a/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetEvents.html +++ b/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetEvents.html @@ -1,3 +1,3 @@ MongoMemoryReplSetEvents | mongodb-memory-server-core

All Events for "MongoMemoryReplSet"

-

Enumeration Members

Enumeration Members

stateChange: "stateChange"
\ No newline at end of file +

Enumeration Members

Enumeration Members

stateChange: "stateChange"
\ No newline at end of file diff --git a/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetStates.html b/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetStates.html index 72216008..51e78102 100644 --- a/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetStates.html +++ b/typedoc/enums/MongoMemoryReplSet.MongoMemoryReplSetStates.html @@ -1,5 +1,5 @@ MongoMemoryReplSetStates | mongodb-memory-server-core

Enum for "_state" inside "MongoMemoryReplSet"

-
\ No newline at end of file +

Enumeration Members

init: "init"
running: "running"
stopped: "stopped"
\ No newline at end of file diff --git a/typedoc/enums/MongoMemoryServer.MongoMemoryServerEvents.html b/typedoc/enums/MongoMemoryServer.MongoMemoryServerEvents.html index 9d028f8d..18e88bdf 100644 --- a/typedoc/enums/MongoMemoryServer.MongoMemoryServerEvents.html +++ b/typedoc/enums/MongoMemoryServer.MongoMemoryServerEvents.html @@ -1,3 +1,3 @@ MongoMemoryServerEvents | mongodb-memory-server-core

All Events for "MongoMemoryServer"

-

Enumeration Members

Enumeration Members

stateChange: "stateChange"
\ No newline at end of file +

Enumeration Members

Enumeration Members

stateChange: "stateChange"
\ No newline at end of file diff --git a/typedoc/enums/MongoMemoryServer.MongoMemoryServerStates.html b/typedoc/enums/MongoMemoryServer.MongoMemoryServerStates.html index 010ac85e..931d8b88 100644 --- a/typedoc/enums/MongoMemoryServer.MongoMemoryServerStates.html +++ b/typedoc/enums/MongoMemoryServer.MongoMemoryServerStates.html @@ -1,6 +1,6 @@ MongoMemoryServerStates | mongodb-memory-server-core

All States for "MongoMemoryServer._state"

-
\ No newline at end of file +

Enumeration Members

new: "new"
running: "running"
starting: "starting"
stopped: "stopped"
\ No newline at end of file diff --git a/typedoc/enums/util_MongoInstance.MongoInstanceEvents.html b/typedoc/enums/util_MongoInstance.MongoInstanceEvents.html index e13b01cd..1e758e6c 100644 --- a/typedoc/enums/util_MongoInstance.MongoInstanceEvents.html +++ b/typedoc/enums/util_MongoInstance.MongoInstanceEvents.html @@ -1,4 +1,4 @@ -MongoInstanceEvents | mongodb-memory-server-core

Enumeration Members

instanceClosed +MongoInstanceEvents | mongodb-memory-server-core

Enumeration Members

instanceClosed: "instanceClosed"
instanceError: "instanceError"

Raw Errors and Custom Errors

-
instanceLaunched: "instanceLaunched"
instancePrimary: "instancePrimary"
instanceRawError: "instanceRawError"

Only Raw Error (emitted by mongodProcess)

-
instanceReady: "instanceReady"
instanceReplState: "instanceReplState"
instanceSTDERR: "instanceSTDERR"
instanceSTDOUT: "instanceSTDOUT"
instanceStarted: "instanceStarted"
killerLaunched: "killerLaunched"
\ No newline at end of file +

Enumeration Members

instanceClosed: "instanceClosed"
instanceError: "instanceError"

Raw Errors and Custom Errors

+
instanceLaunched: "instanceLaunched"
instancePrimary: "instancePrimary"
instanceRawError: "instanceRawError"

Only Raw Error (emitted by mongodProcess)

+
instanceReady: "instanceReady"
instanceReplState: "instanceReplState"
instanceSTDERR: "instanceSTDERR"
instanceSTDOUT: "instanceSTDOUT"
instanceStarted: "instanceStarted"
killerLaunched: "killerLaunched"
\ No newline at end of file diff --git a/typedoc/enums/util_lockfile.LockFileEvents.html b/typedoc/enums/util_lockfile.LockFileEvents.html index 75c79698..56afaa90 100644 --- a/typedoc/enums/util_lockfile.LockFileEvents.html +++ b/typedoc/enums/util_lockfile.LockFileEvents.html @@ -1,3 +1,3 @@ -LockFileEvents | mongodb-memory-server-core

Enumeration Members

lock +LockFileEvents | mongodb-memory-server-core
\ No newline at end of file +

Enumeration Members

lock: "lock"
unlock: "unlock"
\ No newline at end of file diff --git a/typedoc/enums/util_lockfile.LockFileStatus.html b/typedoc/enums/util_lockfile.LockFileStatus.html index 05763a0e..fed7a389 100644 --- a/typedoc/enums/util_lockfile.LockFileStatus.html +++ b/typedoc/enums/util_lockfile.LockFileStatus.html @@ -1,9 +1,9 @@ -LockFileStatus | mongodb-memory-server-core

Enumeration Members

available +LockFileStatus | mongodb-memory-server-core

Enumeration Members

available: 0

Status is "available" to be grabbed (lockfile not existing or being invalid)

-
availableInstance: 1

Status is "available for asking instance" (instance that asked has the lock)

-
lockedDifferent: 3

Status is "locked by another process"

-
lockedSelf: 2

Status is "locked by another instance in this process"

-
\ No newline at end of file +
availableInstance: 1

Status is "available for asking instance" (instance that asked has the lock)

+
lockedDifferent: 3

Status is "locked by another process"

+
lockedSelf: 2

Status is "locked by another instance in this process"

+
\ No newline at end of file diff --git a/typedoc/enums/util_resolveConfig.ResolveConfigVariables.html b/typedoc/enums/util_resolveConfig.ResolveConfigVariables.html index ea7d705e..6aedf67f 100644 --- a/typedoc/enums/util_resolveConfig.ResolveConfigVariables.html +++ b/typedoc/enums/util_resolveConfig.ResolveConfigVariables.html @@ -1,5 +1,5 @@ ResolveConfigVariables | mongodb-memory-server-core

Enum of all possible config options

-

Enumeration Members

Enumeration Members

ARCH: "ARCH"
ARCHIVE_NAME: "ARCHIVE_NAME"
DEBUG: "DEBUG"
DISABLE_POSTINSTALL: "DISABLE_POSTINSTALL"
DISTRO: "DISTRO"
DOWNLOAD_DIR: "DOWNLOAD_DIR"
DOWNLOAD_IGNORE_MISSING_HEADER: "DOWNLOAD_IGNORE_MISSING_HEADER"
DOWNLOAD_MIRROR: "DOWNLOAD_MIRROR"
DOWNLOAD_URL: "DOWNLOAD_URL"
MAX_REDIRECTS: "MAX_REDIRECTS"
MD5_CHECK: "MD5_CHECK"
PLATFORM: "PLATFORM"
PREFER_GLOBAL_PATH: "PREFER_GLOBAL_PATH"
RUNTIME_DOWNLOAD: "RUNTIME_DOWNLOAD"
SYSTEM_BINARY: "SYSTEM_BINARY"
SYSTEM_BINARY_VERSION_CHECK: "SYSTEM_BINARY_VERSION_CHECK"
USE_ARCHIVE_NAME_FOR_BINARY_NAME: "USE_ARCHIVE_NAME_FOR_BINARY_NAME"
USE_HTTP: "USE_HTTP"
VERSION: "VERSION"
\ No newline at end of file +

Enumeration Members

ARCH: "ARCH"
ARCHIVE_NAME: "ARCHIVE_NAME"
DEBUG: "DEBUG"
DISABLE_POSTINSTALL: "DISABLE_POSTINSTALL"
DISTRO: "DISTRO"
DOWNLOAD_DIR: "DOWNLOAD_DIR"
DOWNLOAD_IGNORE_MISSING_HEADER: "DOWNLOAD_IGNORE_MISSING_HEADER"
DOWNLOAD_MIRROR: "DOWNLOAD_MIRROR"
DOWNLOAD_URL: "DOWNLOAD_URL"
MAX_REDIRECTS: "MAX_REDIRECTS"
MD5_CHECK: "MD5_CHECK"
PLATFORM: "PLATFORM"
PREFER_GLOBAL_PATH: "PREFER_GLOBAL_PATH"
RUNTIME_DOWNLOAD: "RUNTIME_DOWNLOAD"
SYSTEM_BINARY: "SYSTEM_BINARY"
SYSTEM_BINARY_VERSION_CHECK: "SYSTEM_BINARY_VERSION_CHECK"
USE_ARCHIVE_NAME_FOR_BINARY_NAME: "USE_ARCHIVE_NAME_FOR_BINARY_NAME"
USE_HTTP: "USE_HTTP"
VERSION: "VERSION"
\ No newline at end of file diff --git a/typedoc/functions/util_getos.getOS.html b/typedoc/functions/util_getos.getOS.html index 2419e172..5be87536 100644 --- a/typedoc/functions/util_getos.getOS.html +++ b/typedoc/functions/util_getos.getOS.html @@ -1,2 +1,2 @@ getOS | mongodb-memory-server-core
\ No newline at end of file +

Returns Promise<AnyOS>

\ No newline at end of file diff --git a/typedoc/functions/util_getos.isLinuxOS.html b/typedoc/functions/util_getos.isLinuxOS.html index 57a2b8a8..dbdce428 100644 --- a/typedoc/functions/util_getos.isLinuxOS.html +++ b/typedoc/functions/util_getos.isLinuxOS.html @@ -1,3 +1,3 @@ isLinuxOS | mongodb-memory-server-core
\ No newline at end of file +

Returns os is LinuxOS

\ No newline at end of file diff --git a/typedoc/functions/util_getos.isValidOs.html b/typedoc/functions/util_getos.isValidOs.html index 615cee19..5baf8c75 100644 --- a/typedoc/functions/util_getos.isValidOs.html +++ b/typedoc/functions/util_getos.isValidOs.html @@ -1,4 +1,4 @@ isValidOs | mongodb-memory-server-core
\ No newline at end of file +
\ No newline at end of file diff --git a/typedoc/functions/util_getos.parseLSB.html b/typedoc/functions/util_getos.parseLSB.html index ee4d43f2..bb5629fa 100644 --- a/typedoc/functions/util_getos.parseLSB.html +++ b/typedoc/functions/util_getos.parseLSB.html @@ -1,2 +1,2 @@ parseLSB | mongodb-memory-server-core
\ No newline at end of file +

Parameters

Returns LinuxOS

\ No newline at end of file diff --git a/typedoc/functions/util_getos.parseOS.html b/typedoc/functions/util_getos.parseOS.html index b4a720bd..315ba6c3 100644 --- a/typedoc/functions/util_getos.parseOS.html +++ b/typedoc/functions/util_getos.parseOS.html @@ -1,2 +1,2 @@ parseOS | mongodb-memory-server-core
\ No newline at end of file +

Parameters

Returns LinuxOS

\ No newline at end of file diff --git a/typedoc/functions/util_getport.getFreePort.html b/typedoc/functions/util_getport.getFreePort.html index 3f38e5c9..21d1a93b 100644 --- a/typedoc/functions/util_getport.getFreePort.html +++ b/typedoc/functions/util_getport.getFreePort.html @@ -3,4 +3,4 @@
  • max_tries: number = MAX_DEFAULT_TRIES

    maximum amount of tries to get a port, default to MAX_DEFAULT_TRIES

  • Returns Promise<number>

    A valid free port

    Throws

    if "max_tries" is exceeded

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_getport.resetPortsCache.html b/typedoc/functions/util_getport.resetPortsCache.html index e710f189..5008f799 100644 --- a/typedoc/functions/util_getport.resetPortsCache.html +++ b/typedoc/functions/util_getport.resetPortsCache.html @@ -1,3 +1,3 @@ resetPortsCache | mongodb-memory-server-core
    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/typedoc/functions/util_getport.tryPort.html b/typedoc/functions/util_getport.tryPort.html index 25e6d073..b5e333c7 100644 --- a/typedoc/functions/util_getport.tryPort.html +++ b/typedoc/functions/util_getport.tryPort.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<number>

    the port if successful, "-1" in case of EADDRINUSE, all other errors reject

    Throws

    The error given if the code is not "EADDRINUSE"

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_getport.validPort.html b/typedoc/functions/util_getport.validPort.html index c469b7ac..6ee01b29 100644 --- a/typedoc/functions/util_getport.validPort.html +++ b/typedoc/functions/util_getport.validPort.html @@ -2,4 +2,4 @@ If more than MAX_PORT, wrap around, if less than MIN_PORT use MIN_PORT.

    Parameters

    Returns number

    A Valid number in port range

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_postinstallHelper.postInstallEnsureBinary.html b/typedoc/functions/util_postinstallHelper.postInstallEnsureBinary.html index 6639d13c..3d0b753f 100644 --- a/typedoc/functions/util_postinstallHelper.postInstallEnsureBinary.html +++ b/typedoc/functions/util_postinstallHelper.postInstallEnsureBinary.html @@ -1 +1 @@ -postInstallEnsureBinary | mongodb-memory-server-core
    \ No newline at end of file +postInstallEnsureBinary | mongodb-memory-server-core
    \ No newline at end of file diff --git a/typedoc/functions/util_resolveConfig.envName.html b/typedoc/functions/util_resolveConfig.envName.html index becc0f6c..b67a0aa6 100644 --- a/typedoc/functions/util_resolveConfig.envName.html +++ b/typedoc/functions/util_resolveConfig.envName.html @@ -1,2 +1,2 @@ envName | mongodb-memory-server-core
    \ No newline at end of file +

    Parameters

    Returns string

    \ No newline at end of file diff --git a/typedoc/functions/util_resolveConfig.envToBool.html b/typedoc/functions/util_resolveConfig.envToBool.html index 2baeb56b..ccb591c2 100644 --- a/typedoc/functions/util_resolveConfig.envToBool.html +++ b/typedoc/functions/util_resolveConfig.envToBool.html @@ -1,3 +1,3 @@ envToBool | mongodb-memory-server-core
    \ No newline at end of file +

    Returns boolean

    \ No newline at end of file diff --git a/typedoc/functions/util_resolveConfig.findPackageJson.html b/typedoc/functions/util_resolveConfig.findPackageJson.html index 0502a232..25b9a0a8 100644 --- a/typedoc/functions/util_resolveConfig.findPackageJson.html +++ b/typedoc/functions/util_resolveConfig.findPackageJson.html @@ -1,4 +1,4 @@ findPackageJson | mongodb-memory-server-core
    • Find the nearest package.json (that has an non-empty config field) for the provided directory

      Parameters

      • Optional directory: string

        Set an custom directory to search the config in (default: process.cwd())

      Returns PackageJSON | undefined

      what "packagejson" variable is

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_resolveConfig.packageJsonPath.html b/typedoc/functions/util_resolveConfig.packageJsonPath.html index 354bb047..a4b8d8af 100644 --- a/typedoc/functions/util_resolveConfig.packageJsonPath.html +++ b/typedoc/functions/util_resolveConfig.packageJsonPath.html @@ -1,3 +1,3 @@ packageJsonPath | mongodb-memory-server-core
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_resolveConfig.processConfigOption.html b/typedoc/functions/util_resolveConfig.processConfigOption.html index 911da84e..0a215751 100644 --- a/typedoc/functions/util_resolveConfig.processConfigOption.html +++ b/typedoc/functions/util_resolveConfig.processConfigOption.html @@ -2,4 +2,4 @@

    Parameters

    Returns Record<string, string>

    always returns a object

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_resolveConfig.resolveConfig.html b/typedoc/functions/util_resolveConfig.resolveConfig.html index 83f7727f..dbf6b0b0 100644 --- a/typedoc/functions/util_resolveConfig.resolveConfig.html +++ b/typedoc/functions/util_resolveConfig.resolveConfig.html @@ -1,3 +1,3 @@ resolveConfig | mongodb-memory-server-core
    \ No newline at end of file +

    Returns string | undefined

    \ No newline at end of file diff --git a/typedoc/functions/util_resolveConfig.setDefaultValue.html b/typedoc/functions/util_resolveConfig.setDefaultValue.html index dea03181..63d31b8e 100644 --- a/typedoc/functions/util_resolveConfig.setDefaultValue.html +++ b/typedoc/functions/util_resolveConfig.setDefaultValue.html @@ -2,4 +2,4 @@ Mostly only used internally (for the "global-x.x" packages)

    Parameters

    Returns void

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.assertion.html b/typedoc/functions/util_utils.assertion.html index fe08c126..4ba4d0b5 100644 --- a/typedoc/functions/util_utils.assertion.html +++ b/typedoc/functions/util_utils.assertion.html @@ -2,4 +2,4 @@ Note: it is not named "assert" to differentiate between node and jest types

    Parameters

    Returns asserts cond

    \ No newline at end of file +

    Returns asserts cond

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.authDefault.html b/typedoc/functions/util_utils.authDefault.html index 9fdead8e..6981db3a 100644 --- a/typedoc/functions/util_utils.authDefault.html +++ b/typedoc/functions/util_utils.authDefault.html @@ -1,3 +1,3 @@ authDefault | mongodb-memory-server-core
    \ No newline at end of file +

    Returns Required<AutomaticAuth>

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.checkBinaryPermissions.html b/typedoc/functions/util_utils.checkBinaryPermissions.html index ec645e2c..94e4de94 100644 --- a/typedoc/functions/util_utils.checkBinaryPermissions.html +++ b/typedoc/functions/util_utils.checkBinaryPermissions.html @@ -1,3 +1,3 @@ checkBinaryPermissions | mongodb-memory-server-core
    \ No newline at end of file +

    Returns Promise<void>

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.createTmpDir.html b/typedoc/functions/util_utils.createTmpDir.html index 0f15353c..0222f7c9 100644 --- a/typedoc/functions/util_utils.createTmpDir.html +++ b/typedoc/functions/util_utils.createTmpDir.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<string>

    The created Path

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.ensureAsync.html b/typedoc/functions/util_utils.ensureAsync.html index 46eafce3..6b6e2624 100644 --- a/typedoc/functions/util_utils.ensureAsync.html +++ b/typedoc/functions/util_utils.ensureAsync.html @@ -1,3 +1,3 @@ ensureAsync | mongodb-memory-server-core
    \ No newline at end of file +

    Returns Promise<void>

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.errorWithCode.html b/typedoc/functions/util_utils.errorWithCode.html index b652f89f..1c45fa99 100644 --- a/typedoc/functions/util_utils.errorWithCode.html +++ b/typedoc/functions/util_utils.errorWithCode.html @@ -1,4 +1,4 @@ errorWithCode | mongodb-memory-server-core
    • This is here, because NodeJS does not have a FSError type

      Parameters

      • err: unknown

        Value to check agains

      Returns err is ErrorWithCode

      true if it is a error with code, false if not

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.generateDbName.html b/typedoc/functions/util_utils.generateDbName.html index 5db3ec0a..ddb0e6b8 100644 --- a/typedoc/functions/util_utils.generateDbName.html +++ b/typedoc/functions/util_utils.generateDbName.html @@ -1,2 +1,2 @@ generateDbName | mongodb-memory-server-core
    \ No newline at end of file +

    Parameters

    Returns string

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.getHost.html b/typedoc/functions/util_utils.getHost.html index b7501237..fd5484fe 100644 --- a/typedoc/functions/util_utils.getHost.html +++ b/typedoc/functions/util_utils.getHost.html @@ -1,3 +1,3 @@ getHost | mongodb-memory-server-core
    \ No newline at end of file +

    Returns string

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.getStorageEngine.html b/typedoc/functions/util_utils.getStorageEngine.html index 539133ba..56a97a93 100644 --- a/typedoc/functions/util_utils.getStorageEngine.html +++ b/typedoc/functions/util_utils.getStorageEngine.html @@ -2,4 +2,4 @@

    Parameters

    Returns StorageEngine

    The engine that actually will run in the given binary version

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.isAlive.html b/typedoc/functions/util_utils.isAlive.html index c60f36ee..a22226ad 100644 --- a/typedoc/functions/util_utils.isAlive.html +++ b/typedoc/functions/util_utils.isAlive.html @@ -1,3 +1,3 @@ isAlive | mongodb-memory-server-core
    \ No newline at end of file +

    Returns boolean

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.isNullOrUndefined.html b/typedoc/functions/util_utils.isNullOrUndefined.html index 2d10887d..35ccbe53 100644 --- a/typedoc/functions/util_utils.isNullOrUndefined.html +++ b/typedoc/functions/util_utils.isNullOrUndefined.html @@ -1,3 +1,3 @@ isNullOrUndefined | mongodb-memory-server-core
    \ No newline at end of file +

    Returns val is undefined | null

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.killProcess.html b/typedoc/functions/util_utils.killProcess.html index 603733d3..0abf98f0 100644 --- a/typedoc/functions/util_utils.killProcess.html +++ b/typedoc/functions/util_utils.killProcess.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<void>

    \ No newline at end of file +

    Returns Promise<void>

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.lockfilePath.html b/typedoc/functions/util_utils.lockfilePath.html index fb8e7288..a50ebbdb 100644 --- a/typedoc/functions/util_utils.lockfilePath.html +++ b/typedoc/functions/util_utils.lockfilePath.html @@ -2,4 +2,4 @@

    Parameters

    Returns string

    The lockfile path

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.md5.html b/typedoc/functions/util_utils.md5.html index cf2f7c0a..f7dd75d4 100644 --- a/typedoc/functions/util_utils.md5.html +++ b/typedoc/functions/util_utils.md5.html @@ -1,4 +1,4 @@ md5 | mongodb-memory-server-core
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.md5FromFile.html b/typedoc/functions/util_utils.md5FromFile.html index 484b4326..249c613c 100644 --- a/typedoc/functions/util_utils.md5FromFile.html +++ b/typedoc/functions/util_utils.md5FromFile.html @@ -1,4 +1,4 @@ md5FromFile | mongodb-memory-server-core
    • Helper function to have md5 generation and definition in one place for a file

      Parameters

      • file: string

        the location of a file to read for a hash

      Returns Promise<string>

      a md5 of the input file

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.mkdir.html b/typedoc/functions/util_utils.mkdir.html index 84d13d0a..13309ff3 100644 --- a/typedoc/functions/util_utils.mkdir.html +++ b/typedoc/functions/util_utils.mkdir.html @@ -1,4 +1,4 @@ mkdir | mongodb-memory-server-core
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.pathExists.html b/typedoc/functions/util_utils.pathExists.html index aeea174b..4bea5c3f 100644 --- a/typedoc/functions/util_utils.pathExists.html +++ b/typedoc/functions/util_utils.pathExists.html @@ -2,4 +2,4 @@ uses "utils.statPath" follows symlinks

    Parameters

    Returns Promise<boolean>

    \ No newline at end of file +

    Returns Promise<boolean>

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.removeDir.html b/typedoc/functions/util_utils.removeDir.html index 9beb96d4..b597ca6f 100644 --- a/typedoc/functions/util_utils.removeDir.html +++ b/typedoc/functions/util_utils.removeDir.html @@ -1,4 +1,4 @@ removeDir | mongodb-memory-server-core
    • Removes the given "path", if it is a directory, and does not throw a error if not existing

      Parameters

      • dirPath: string

        The Directory Path to delete

      Returns Promise<void>

      "true" if deleted, otherwise "false"

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.statPath.html b/typedoc/functions/util_utils.statPath.html index 9e73709d..e18b8df6 100644 --- a/typedoc/functions/util_utils.statPath.html +++ b/typedoc/functions/util_utils.statPath.html @@ -2,4 +2,4 @@ follows symlinks

    Parameters

    Returns Promise<Stats | undefined>

    Throws

    if the error is not "ENOENT" or "EACCES"

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/functions/util_utils.tryReleaseFile.html b/typedoc/functions/util_utils.tryReleaseFile.html index a006152a..e3c93f6f 100644 --- a/typedoc/functions/util_utils.tryReleaseFile.html +++ b/typedoc/functions/util_utils.tryReleaseFile.html @@ -1,4 +1,4 @@ tryReleaseFile | mongodb-memory-server-core
    \ No newline at end of file +

    Returns Promise<LinuxOS | undefined>

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.uriTemplate.html b/typedoc/functions/util_utils.uriTemplate.html index 24e05242..8a269fdf 100644 --- a/typedoc/functions/util_utils.uriTemplate.html +++ b/typedoc/functions/util_utils.uriTemplate.html @@ -3,4 +3,4 @@
  • port: undefined | number

    the host port or undefined if "host" is an list of hosts

  • dbName: string

    the database to add to the uri (in mongodb its the auth database, in mongoose its the default database for models)

  • Optional query: string[]

    extra uri-query options (joined with "&")

    -
  • Returns string

    \ No newline at end of file +

    Returns string

    \ No newline at end of file diff --git a/typedoc/functions/util_utils.uuidv4.html b/typedoc/functions/util_utils.uuidv4.html index 05be5b7c..30cc7ca0 100644 --- a/typedoc/functions/util_utils.uuidv4.html +++ b/typedoc/functions/util_utils.uuidv4.html @@ -1,3 +1,3 @@ uuidv4 | mongodb-memory-server-core
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetConfigSettings.html b/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetConfigSettings.html index e8459812..101fd837 100644 --- a/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetConfigSettings.html +++ b/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetConfigSettings.html @@ -1,7 +1,7 @@ MongoMemoryReplSetConfigSettings | mongodb-memory-server-core

    Options for "rsConfig"

    -
    interface MongoMemoryReplSetConfigSettings {
        catchUpTimeoutMillis?: number;
        chainingAllowed?: boolean;
        electionTimeoutMillis?: number;
        heartbeatIntervalMillis?: number;
        heartbeatTimeoutSecs?: number;
    }

    Properties

    interface MongoMemoryReplSetConfigSettings {
        catchUpTimeoutMillis?: number;
        chainingAllowed?: boolean;
        electionTimeoutMillis?: number;
        heartbeatIntervalMillis?: number;
        heartbeatTimeoutSecs?: number;
    }

    Properties

    catchUpTimeoutMillis?: number
    chainingAllowed?: boolean
    electionTimeoutMillis?: number
    heartbeatIntervalMillis?: number
    heartbeatTimeoutSecs?: number
    \ No newline at end of file +

    Properties

    catchUpTimeoutMillis?: number
    chainingAllowed?: boolean
    electionTimeoutMillis?: number
    heartbeatIntervalMillis?: number
    heartbeatTimeoutSecs?: number
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetOpts.html b/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetOpts.html index ef17629b..ace81642 100644 --- a/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetOpts.html +++ b/typedoc/interfaces/MongoMemoryReplSet.MongoMemoryReplSetOpts.html @@ -1,9 +1,9 @@ MongoMemoryReplSetOpts | mongodb-memory-server-core

    Options for the replSet

    -
    interface MongoMemoryReplSetOpts {
        binary: MongoBinaryOpts;
        instanceOpts: MongoMemoryInstanceOptsBase[];
        replSet: ReplSetOpts;
    }

    Properties

    interface MongoMemoryReplSetOpts {
        binary: MongoBinaryOpts;
        instanceOpts: MongoMemoryInstanceOptsBase[];
        replSet: ReplSetOpts;
    }

    Properties

    Binary Options used for all instances

    -

    Specific Options to use for some instances

    -
    replSet: ReplSetOpts

    Options used for all instances +

    Specific Options to use for some instances

    +
    replSet: ReplSetOpts

    Options used for all instances -> gets overwritten by specific "instanceOpts"

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryReplSet.ReplSetOpts.html b/typedoc/interfaces/MongoMemoryReplSet.ReplSetOpts.html index 4c501b81..f2408657 100644 --- a/typedoc/interfaces/MongoMemoryReplSet.ReplSetOpts.html +++ b/typedoc/interfaces/MongoMemoryReplSet.ReplSetOpts.html @@ -1,5 +1,5 @@ ReplSetOpts | mongodb-memory-server-core

    Replica set specific options.

    -
    interface ReplSetOpts {
        args?: string[];
        auth?: AutomaticAuth;
        configSettings?: MongoMemoryReplSetConfigSettings;
        count?: number;
        dbName?: string;
        dispose?: DisposeOptions;
        ip?: string;
        name?: string;
        spawn?: SpawnOptions;
        storageEngine?: StorageEngine;
    }

    Properties

    interface ReplSetOpts {
        args?: string[];
        auth?: AutomaticAuth;
        configSettings?: MongoMemoryReplSetConfigSettings;
        count?: number;
        dbName?: string;
        dispose?: DisposeOptions;
        ip?: string;
        name?: string;
        spawn?: SpawnOptions;
        storageEngine?: StorageEngine;
    }

    Properties

    args? auth? configSettings? count? @@ -12,29 +12,29 @@

    Properties

    args?: string[]

    additional command line arguments passed to mongod

    Default

    []
     
    -

    Enable Authentication

    +

    Enable Authentication

    Default

    false
     
    -

    Options for "rsConfig"

    +

    Options for "rsConfig"

    Default

    {}
     
    -
    count?: number

    if this number is bigger than "instanceOpts.length", more "generic" servers get started +

    count?: number

    if this number is bigger than "instanceOpts.length", more "generic" servers get started if this number is lower than "instanceOpts.length", no more "generic" servers get started (server count will be "instanceOpts.length")

    Default

    1
     
    -
    dbName?: string

    add an database into the uri (in mongodb its the auth database, in mongoose its the default database for models)

    +
    dbName?: string

    add an database into the uri (in mongodb its the auth database, in mongoose its the default database for models)

    Default

    ""
     
    -
    dispose?: DisposeOptions

    Options for automatic dispose for "Explicit Resource Management"

    -
    ip?: string

    bind to all IP addresses specify ::,0.0.0.0

    +
    dispose?: DisposeOptions

    Options for automatic dispose for "Explicit Resource Management"

    +
    ip?: string

    bind to all IP addresses specify ::,0.0.0.0

    Default

    '127.0.0.1'
     
    -
    name?: string

    replSet name

    +
    name?: string

    replSet name

    Default

    'testset'
     
    -
    spawn?: SpawnOptions

    Childprocess spawn options

    +
    spawn?: SpawnOptions

    Childprocess spawn options

    Default

    {}
     
    -
    storageEngine?: StorageEngine

    mongod storage engine type

    +
    storageEngine?: StorageEngine

    mongod storage engine type

    Default

    'ephemeralForTest' unless mongodb version is 7.0.0, where its wiredTiger

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.AutomaticAuth.html b/typedoc/interfaces/MongoMemoryServer.AutomaticAuth.html index 847fb593..9c459daa 100644 --- a/typedoc/interfaces/MongoMemoryServer.AutomaticAuth.html +++ b/typedoc/interfaces/MongoMemoryServer.AutomaticAuth.html @@ -1,4 +1,4 @@ -AutomaticAuth | mongodb-memory-server-core
    interface AutomaticAuth {
        customRootName?: string;
        customRootPwd?: string;
        enable?: boolean;
        extraUsers?: CreateUser[];
        force?: boolean;
        keyfileContent?: string;
    }

    Properties

    customRootName? +AutomaticAuth | mongodb-memory-server-core
    interface AutomaticAuth {
        customRootName?: string;
        customRootPwd?: string;
        enable?: boolean;
        extraUsers?: CreateUser[];
        force?: boolean;
        keyfileContent?: string;
    }

    Properties

    Properties

    customRootName?: string

    mongodb-memory-server automatically creates a root user (with "root" role)

    Default

    'mongodb-memory-server-root'
     
    -
    customRootPwd?: string

    mongodb-memory-server automatically creates a root user with this password

    +
    customRootPwd?: string

    mongodb-memory-server automatically creates a root user with this password

    Default

    'rootuser'
     
    -
    enable?: boolean

    Enable Automatic User creation

    +
    enable?: boolean

    Enable Automatic User creation

    Default

    false
     
    -
    extraUsers?: CreateUser[]

    Extra Users to create besides the root user

    +
    extraUsers?: CreateUser[]

    Extra Users to create besides the root user

    Default

    []
     
    -
    force?: boolean

    Force to run "createAuth"

    +
    force?: boolean

    Force to run "createAuth"

    Default

    false "createAuth" is normally only run when the given "dbPath" is empty (no files)
     
    -
    keyfileContent?: string

    Custom Keyfile content to use (only has an effect in replset's) +

    keyfileContent?: string

    Custom Keyfile content to use (only has an effect in replset's) Note: This is not secure, this is for test environments only!

    Default

    "0123456789"
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.CreateUser.html b/typedoc/interfaces/MongoMemoryServer.CreateUser.html index 9430d5e7..b9020e98 100644 --- a/typedoc/interfaces/MongoMemoryServer.CreateUser.html +++ b/typedoc/interfaces/MongoMemoryServer.CreateUser.html @@ -1,7 +1,7 @@ CreateUser | mongodb-memory-server-core

    Interface options for "db.createUser" (used for this package) This interface is WITH the custom options from this package (Some text copied from https://docs.mongodb.com/manual/reference/method/db.createUser/#definition)

    -
    interface CreateUser {
        authenticationRestrictions?: {
            clientSource?: string;
            serverAddress?: string;
        }[];
        createUser: string;
        customData?: {
            [key: string]: any;
        };
        database?: string;
        digestPassword?: boolean;
        mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[];
        pwd: string;
        roles: string | string[] | RoleSpecification | RoleSpecification[];
    }

    Hierarchy (view full)

    Properties

    interface CreateUser {
        authenticationRestrictions?: {
            clientSource?: string;
            serverAddress?: string;
        }[];
        createUser: string;
        customData?: {
            [key: string]: any;
        };
        database?: string;
        digestPassword?: boolean;
        mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[];
        pwd: string;
        roles: string | string[] | RoleSpecification | RoleSpecification[];
    }

    Hierarchy (view full)

    Properties

    authenticationRestrictions?: {
        clientSource?: string;
        serverAddress?: string;
    }[]

    The authentication restrictions the server enforces on the created user. Specifies a list of IP addresses and CIDR ranges from which the user is allowed to connect to the server or from which the server can accept users.

    -

    Type declaration

    • Optional clientSource?: string
    • Optional serverAddress?: string
    createUser: string

    Username

    -
    customData?: {
        [key: string]: any;
    }

    Any arbitrary information. +

    Type declaration

    • Optional clientSource?: string
    • Optional serverAddress?: string
    createUser: string

    Username

    +
    customData?: {
        [key: string]: any;
    }

    Any arbitrary information. This field can be used to store any data an admin wishes to associate with this particular user.

    Type declaration

    • [key: string]: any

    Example

    this could be the user’s full name or employee id.
     
    -
    database?: string

    In which Database to create this user in

    +
    database?: string

    In which Database to create this user in

    Default

    'admin' by default the "admin" database is used
     
    -
    digestPassword?: boolean

    Indicates whether the server or the client digests the password. +

    digestPassword?: boolean

    Indicates whether the server or the client digests the password. "true" - The Server digests the Password "false" - The Client digests the Password

    -
    mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[]

    Specify the specific SCRAM mechanism or mechanisms for creating SCRAM user credentials.

    -
    pwd: string

    Password

    -
    roles: string | string[] | RoleSpecification | RoleSpecification[]

    The Roles for the user, can be an empty array

    -
    \ No newline at end of file +
    mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[]

    Specify the specific SCRAM mechanism or mechanisms for creating SCRAM user credentials.

    +
    pwd: string

    Password

    +
    roles: string | string[] | RoleSpecification | RoleSpecification[]

    The Roles for the user, can be an empty array

    +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.CreateUserMongoDB.html b/typedoc/interfaces/MongoMemoryServer.CreateUserMongoDB.html index d8e1c8cf..faf7ebc1 100644 --- a/typedoc/interfaces/MongoMemoryServer.CreateUserMongoDB.html +++ b/typedoc/interfaces/MongoMemoryServer.CreateUserMongoDB.html @@ -2,7 +2,7 @@ This interface is WITHOUT the custom options from this package (Some text copied from https://docs.mongodb.com/manual/reference/method/db.createUser/#definition) This interface only exists, because mongodb dosnt provide such an interface for "createUser" (or as just very basic types) as of 6.7.0

    -
    interface CreateUserMongoDB {
        authenticationRestrictions?: {
            clientSource?: string;
            serverAddress?: string;
        }[];
        createUser: string;
        customData?: {
            [key: string]: any;
        };
        digestPassword?: boolean;
        mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[];
        pwd: string;
        roles: string | string[] | RoleSpecification | RoleSpecification[];
    }

    Hierarchy (view full)

    Properties

    interface CreateUserMongoDB {
        authenticationRestrictions?: {
            clientSource?: string;
            serverAddress?: string;
        }[];
        createUser: string;
        customData?: {
            [key: string]: any;
        };
        digestPassword?: boolean;
        mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[];
        pwd: string;
        roles: string | string[] | RoleSpecification | RoleSpecification[];
    }

    Hierarchy (view full)

    Properties

    authenticationRestrictions?: {
        clientSource?: string;
        serverAddress?: string;
    }[]

    The authentication restrictions the server enforces on the created user. Specifies a list of IP addresses and CIDR ranges from which the user is allowed to connect to the server or from which the server can accept users.

    -

    Type declaration

    • Optional clientSource?: string
    • Optional serverAddress?: string
    createUser: string

    Username

    -
    customData?: {
        [key: string]: any;
    }

    Any arbitrary information. +

    Type declaration

    • Optional clientSource?: string
    • Optional serverAddress?: string
    createUser: string

    Username

    +
    customData?: {
        [key: string]: any;
    }

    Any arbitrary information. This field can be used to store any data an admin wishes to associate with this particular user.

    Type declaration

    • [key: string]: any

    Example

    this could be the user’s full name or employee id.
     
    -
    digestPassword?: boolean

    Indicates whether the server or the client digests the password. +

    digestPassword?: boolean

    Indicates whether the server or the client digests the password. "true" - The Server digests the Password "false" - The Client digests the Password

    -
    mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[]

    Specify the specific SCRAM mechanism or mechanisms for creating SCRAM user credentials.

    -
    pwd: string

    Password

    -
    roles: string | string[] | RoleSpecification | RoleSpecification[]

    The Roles for the user, can be an empty array

    -
    \ No newline at end of file +
    mechanisms?: ("SCRAM-SHA-1" | "SCRAM-SHA-256")[]

    Specify the specific SCRAM mechanism or mechanisms for creating SCRAM user credentials.

    +
    pwd: string

    Password

    +
    roles: string | string[] | RoleSpecification | RoleSpecification[]

    The Roles for the user, can be an empty array

    +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.DisposeOptions.html b/typedoc/interfaces/MongoMemoryServer.DisposeOptions.html index b1c9cb60..d5225ab3 100644 --- a/typedoc/interfaces/MongoMemoryServer.DisposeOptions.html +++ b/typedoc/interfaces/MongoMemoryServer.DisposeOptions.html @@ -1,11 +1,11 @@ DisposeOptions | mongodb-memory-server-core

    Options to configure Symbol.asyncDispose behavior

    -
    interface DisposeOptions {
        cleanup?: Cleanup;
        enabled?: boolean;
    }

    Properties

    interface DisposeOptions {
        cleanup?: Cleanup;
        enabled?: boolean;
    }

    Properties

    Properties

    cleanup?: Cleanup

    Pass custom options for cleanup

    Default

    { doCleanup: true, force: false }
     
    -
    enabled?: boolean

    Set whether to run the dispose hook or not. +

    enabled?: boolean

    Set whether to run the dispose hook or not. Note that this only applies when Symbol.asyncDispose is actually called

    Default

    true
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.ExtraInstanceOpts.html b/typedoc/interfaces/MongoMemoryServer.ExtraInstanceOpts.html index b6bc105a..e8ec4309 100644 --- a/typedoc/interfaces/MongoMemoryServer.ExtraInstanceOpts.html +++ b/typedoc/interfaces/MongoMemoryServer.ExtraInstanceOpts.html @@ -1,5 +1,5 @@ ExtraInstanceOpts | mongodb-memory-server-core

    Extra Instance options specifically for MongoMemoryServer

    -
    interface ExtraInstanceOpts {
        portGeneration?: boolean;
    }

    Properties

    interface ExtraInstanceOpts {
        portGeneration?: boolean;
    }

    Properties

    Properties

    portGeneration?: boolean

    Change if port generation is enabled or not.

    If enabled and a port is set, that port is tried, if locked a new one will be generated. If disabled and a port is set, only that port is tried, if locked a error will be thrown. @@ -7,4 +7,4 @@

    This setting will get overwritten by start's forceSamePort parameter if set

    Default

    true
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.MongoInstanceData.html b/typedoc/interfaces/MongoMemoryServer.MongoInstanceData.html index c473d864..24b3eb66 100644 --- a/typedoc/interfaces/MongoMemoryServer.MongoInstanceData.html +++ b/typedoc/interfaces/MongoMemoryServer.MongoInstanceData.html @@ -1,5 +1,5 @@ MongoInstanceData | mongodb-memory-server-core

    Information about the currently running instance

    -
    interface MongoInstanceData {
        dbName: string;
        dbPath: string;
        instance: MongoInstance;
        ip: string;
        keyfileLocation?: string;
        launchTimeout?: number;
        port: number;
        replSet?: string;
        storageEngine: NonNullable<undefined | StorageEngine>;
        tmpDir?: string;
    }

    Hierarchy (view full)

    Properties

    interface MongoInstanceData {
        dbName: string;
        dbPath: string;
        instance: MongoInstance;
        ip: string;
        keyfileLocation?: string;
        launchTimeout?: number;
        port: number;
        replSet?: string;
        storageEngine: NonNullable<undefined | StorageEngine>;
        tmpDir?: string;
    }

    Hierarchy (view full)

    Properties

    Properties

    dbName: string
    dbPath: string
    instance: MongoInstance
    ip: string
    keyfileLocation?: string
    launchTimeout?: number
    port: number
    replSet?: string
    storageEngine: NonNullable<undefined | StorageEngine>
    tmpDir?: string
    \ No newline at end of file +

    Properties

    dbName: string
    dbPath: string
    instance: MongoInstance
    ip: string
    keyfileLocation?: string
    launchTimeout?: number
    port: number
    replSet?: string
    storageEngine: NonNullable<undefined | StorageEngine>
    tmpDir?: string
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerGetStartOptions.html b/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerGetStartOptions.html index ba989b45..0e87be97 100644 --- a/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerGetStartOptions.html +++ b/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerGetStartOptions.html @@ -1,5 +1,5 @@ -MongoMemoryServerGetStartOptions | mongodb-memory-server-core
    interface MongoMemoryServerGetStartOptions {
        createAuth: boolean;
        data: StartupInstanceData;
        mongodOptions: Partial<MongodOpts>;
    }

    Properties

    createAuth +MongoMemoryServerGetStartOptions | mongodb-memory-server-core
    interface MongoMemoryServerGetStartOptions {
        createAuth: boolean;
        data: StartupInstanceData;
        mongodOptions: Partial<MongodOpts>;
    }

    Properties

    createAuth: boolean

    Defines wheter should MongoMemoryServer.createAuth be run

    -
    mongodOptions: Partial<MongodOpts>
    \ No newline at end of file +
    mongodOptions: Partial<MongodOpts>
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerOpts.html b/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerOpts.html index eb48c6fb..e99ad58d 100644 --- a/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerOpts.html +++ b/typedoc/interfaces/MongoMemoryServer.MongoMemoryServerOpts.html @@ -1,9 +1,9 @@ MongoMemoryServerOpts | mongodb-memory-server-core

    MongoMemoryServer Stored Options

    -
    interface MongoMemoryServerOpts {
        auth?: AutomaticAuth;
        binary?: MongoBinaryOpts;
        dispose?: DisposeOptions;
        instance?: MemoryServerInstanceOpts;
        spawn?: SpawnOptions;
    }

    Properties

    interface MongoMemoryServerOpts {
        auth?: AutomaticAuth;
        binary?: MongoBinaryOpts;
        dispose?: DisposeOptions;
        instance?: MemoryServerInstanceOpts;
        spawn?: SpawnOptions;
    }

    Properties

    Defining this enables automatic user creation

    -
    dispose?: DisposeOptions

    Options for automatic dispose for "Explicit Resource Management"

    -
    spawn?: SpawnOptions
    \ No newline at end of file +
    binary?: MongoBinaryOpts
    dispose?: DisposeOptions

    Options for automatic dispose for "Explicit Resource Management"

    +
    instance?: MemoryServerInstanceOpts
    spawn?: SpawnOptions
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.RoleSpecification.html b/typedoc/interfaces/MongoMemoryServer.RoleSpecification.html index 6140cc72..67cb3644 100644 --- a/typedoc/interfaces/MongoMemoryServer.RoleSpecification.html +++ b/typedoc/interfaces/MongoMemoryServer.RoleSpecification.html @@ -1,6 +1,6 @@ -RoleSpecification | mongodb-memory-server-core
    interface RoleSpecification {
        db: string;
        role: string;
    }

    Properties

    db +RoleSpecification | mongodb-memory-server-core
    interface RoleSpecification {
        db: string;
        role: string;
    }

    Properties

    Properties

    db: string

    The database this user's role should effect.

    -
    role: string

    A role grants privileges to perform sets of actions on defined resources. +

    role: string

    A role grants privileges to perform sets of actions on defined resources. A given role applies to the database on which it is defined and can grant access down to a collection level of granularity.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/MongoMemoryServer.StartupInstanceData.html b/typedoc/interfaces/MongoMemoryServer.StartupInstanceData.html index 5c8df21c..a29089ef 100644 --- a/typedoc/interfaces/MongoMemoryServer.StartupInstanceData.html +++ b/typedoc/interfaces/MongoMemoryServer.StartupInstanceData.html @@ -1,5 +1,5 @@ StartupInstanceData | mongodb-memory-server-core

    Data used by _startUpInstance's "data" variable

    -
    interface StartupInstanceData {
        dbName: string;
        dbPath?: string;
        ip: string;
        keyfileLocation?: string;
        launchTimeout?: number;
        port: number;
        replSet?: string;
        storageEngine: NonNullable<undefined | StorageEngine>;
        tmpDir?: string;
    }

    Hierarchy (view full)

    Properties

    interface StartupInstanceData {
        dbName: string;
        dbPath?: string;
        ip: string;
        keyfileLocation?: string;
        launchTimeout?: number;
        port: number;
        replSet?: string;
        storageEngine: NonNullable<undefined | StorageEngine>;
        tmpDir?: string;
    }

    Hierarchy (view full)

    Properties

    dbName: string
    dbPath?: string
    ip: string
    keyfileLocation?: string
    launchTimeout?: number
    port: number
    replSet?: string
    storageEngine: NonNullable<undefined | StorageEngine>
    tmpDir?: string
    \ No newline at end of file +

    Properties

    dbName: string
    dbPath?: string
    ip: string
    keyfileLocation?: string
    launchTimeout?: number
    port: number
    replSet?: string
    storageEngine: NonNullable<undefined | StorageEngine>
    tmpDir?: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_DryMongoBinary.BaseDryMongoBinaryOptions.html b/typedoc/interfaces/util_DryMongoBinary.BaseDryMongoBinaryOptions.html index 9e2b45e1..fe0b2eac 100644 --- a/typedoc/interfaces/util_DryMongoBinary.BaseDryMongoBinaryOptions.html +++ b/typedoc/interfaces/util_DryMongoBinary.BaseDryMongoBinaryOptions.html @@ -1,8 +1,8 @@ BaseDryMongoBinaryOptions | mongodb-memory-server-core

    Interface for general options required to pass-around (all optional)

    -
    interface BaseDryMongoBinaryOptions {
        arch?: string;
        downloadDir?: string;
        os?: AnyOS;
        platform?: string;
        systemBinary?: string;
        version?: string;
    }

    Hierarchy (view full)

    Properties

    interface BaseDryMongoBinaryOptions {
        arch?: string;
        downloadDir?: string;
        os?: AnyOS;
        platform?: string;
        systemBinary?: string;
        version?: string;
    }

    Hierarchy (view full)

    Properties

    arch?: string
    downloadDir?: string
    os?: AnyOS
    platform?: string
    systemBinary?: string
    version?: string
    \ No newline at end of file +

    Properties

    arch?: string
    downloadDir?: string
    os?: AnyOS
    platform?: string
    systemBinary?: string
    version?: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryArchiveRegexGroups.html b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryArchiveRegexGroups.html index f7b5073c..055e030b 100644 --- a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryArchiveRegexGroups.html +++ b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryArchiveRegexGroups.html @@ -1,6 +1,6 @@ DryMongoBinaryArchiveRegexGroups | mongodb-memory-server-core

    Interface for "DryMongoBinary.parseArchiveNameRegex"'s regex groups

    -
    interface DryMongoBinaryArchiveRegexGroups {
        arch?: string;
        dist?: string;
        platform?: string;
        version?: string;
    }

    Properties

    interface DryMongoBinaryArchiveRegexGroups {
        arch?: string;
        dist?: string;
        platform?: string;
        version?: string;
    }

    Properties

    arch?: string
    dist?: string
    platform?: string
    version?: string
    \ No newline at end of file +

    Properties

    arch?: string
    dist?: string
    platform?: string
    version?: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryNameOptions.html b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryNameOptions.html index 18462bed..61dc8038 100644 --- a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryNameOptions.html +++ b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryNameOptions.html @@ -1,6 +1,6 @@ DryMongoBinaryNameOptions | mongodb-memory-server-core

    Interface for the options arguments in function "DryMongoBinary.getBinaryName"

    -
    interface DryMongoBinaryNameOptions {
        arch: string;
        os: NonNullable<undefined | AnyOS>;
        platform: string;
        version: string;
    }

    Properties

    interface DryMongoBinaryNameOptions {
        arch: string;
        os: NonNullable<undefined | AnyOS>;
        platform: string;
        version: string;
    }

    Properties

    Properties

    arch: string
    os: NonNullable<undefined | AnyOS>
    platform: string
    version: string
    \ No newline at end of file +

    Properties

    arch: string
    os: NonNullable<undefined | AnyOS>
    platform: string
    version: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryOptions.html b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryOptions.html index 47851d40..f7fed794 100644 --- a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryOptions.html +++ b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryOptions.html @@ -1,8 +1,8 @@ DryMongoBinaryOptions | mongodb-memory-server-core

    Interface for general options required to pass-aroung (version not optional)

    -
    interface DryMongoBinaryOptions {
        arch?: string;
        downloadDir?: string;
        os?: AnyOS;
        platform?: string;
        systemBinary?: string;
        version: string;
    }

    Hierarchy (view full)

    Properties

    interface DryMongoBinaryOptions {
        arch?: string;
        downloadDir?: string;
        os?: AnyOS;
        platform?: string;
        systemBinary?: string;
        version: string;
    }

    Hierarchy (view full)

    Properties

    arch?: string
    downloadDir?: string
    os?: AnyOS
    platform?: string
    systemBinary?: string
    version: string
    \ No newline at end of file +

    Properties

    arch?: string
    downloadDir?: string
    os?: AnyOS
    platform?: string
    systemBinary?: string
    version: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryPaths.html b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryPaths.html index b19403fc..22bfffed 100644 --- a/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryPaths.html +++ b/typedoc/interfaces/util_DryMongoBinary.DryMongoBinaryPaths.html @@ -1,10 +1,10 @@ DryMongoBinaryPaths | mongodb-memory-server-core

    Interface to store all generated Paths that would be possible a binary would be in

    -
    interface DryMongoBinaryPaths {
        homeCache: string;
        modulesCache: string;
        relative: string;
        resolveConfig: string;
    }

    Properties

    interface DryMongoBinaryPaths {
        homeCache: string;
        modulesCache: string;
        relative: string;
        resolveConfig: string;
    }

    Properties

    homeCache: string

    Path for "~/.config/" (user home)

    -
    modulesCache: string

    Path for "PROJECT/node_modules/.cache/" (project local cache)

    -
    relative: string

    Path for relative to CWD "CWD/" (relative CWD path)

    -
    resolveConfig: string

    Path from DOWNLOAD_DIR config option

    -
    \ No newline at end of file +
    modulesCache: string

    Path for "PROJECT/node_modules/.cache/" (project local cache)

    +
    relative: string

    Path for relative to CWD "CWD/" (relative CWD path)

    +
    resolveConfig: string

    Path from DOWNLOAD_DIR config option

    +
    \ No newline at end of file diff --git a/typedoc/interfaces/util_MongoBinary.MongoBinaryOpts.html b/typedoc/interfaces/util_MongoBinary.MongoBinaryOpts.html index 343a9542..3c8ccef6 100644 --- a/typedoc/interfaces/util_MongoBinary.MongoBinaryOpts.html +++ b/typedoc/interfaces/util_MongoBinary.MongoBinaryOpts.html @@ -1,9 +1,9 @@ MongoBinaryOpts | mongodb-memory-server-core

    Interface for general options required to pass-around (all optional)

    -
    interface MongoBinaryOpts {
        arch?: string;
        checkMD5?: boolean;
        downloadDir?: string;
        os?: AnyOS;
        platform?: string;
        systemBinary?: string;
        version?: string;
    }

    Hierarchy (view full)

    Properties

    interface MongoBinaryOpts {
        arch?: string;
        checkMD5?: boolean;
        downloadDir?: string;
        os?: AnyOS;
        platform?: string;
        systemBinary?: string;
        version?: string;
    }

    Hierarchy (view full)

    Properties

    arch?: string
    checkMD5?: boolean
    downloadDir?: string
    os?: AnyOS
    platform?: string
    systemBinary?: string
    version?: string
    \ No newline at end of file +

    Properties

    arch?: string
    checkMD5?: boolean
    downloadDir?: string
    os?: AnyOS
    platform?: string
    systemBinary?: string
    version?: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_MongoBinaryDownload.MongoBinaryDownloadProgress.html b/typedoc/interfaces/util_MongoBinaryDownload.MongoBinaryDownloadProgress.html index f0a7f049..8d934a7b 100644 --- a/typedoc/interfaces/util_MongoBinaryDownload.MongoBinaryDownloadProgress.html +++ b/typedoc/interfaces/util_MongoBinaryDownload.MongoBinaryDownloadProgress.html @@ -1,5 +1,5 @@ -MongoBinaryDownloadProgress | mongodb-memory-server-core
    interface MongoBinaryDownloadProgress {
        current: number;
        lastPrintedAt: number;
        length: number;
        totalMb: number;
    }

    Properties

    current +MongoBinaryDownloadProgress | mongodb-memory-server-core
    interface MongoBinaryDownloadProgress {
        current: number;
        lastPrintedAt: number;
        length: number;
        totalMb: number;
    }

    Properties

    current: number
    lastPrintedAt: number
    length: number
    totalMb: number
    \ No newline at end of file +

    Properties

    current: number
    lastPrintedAt: number
    length: number
    totalMb: number
    \ No newline at end of file diff --git a/typedoc/interfaces/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrlOpts.html b/typedoc/interfaces/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrlOpts.html index 7f9c8e3d..f9c1598f 100644 --- a/typedoc/interfaces/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrlOpts.html +++ b/typedoc/interfaces/util_MongoBinaryDownloadUrl.MongoBinaryDownloadUrlOpts.html @@ -1,5 +1,5 @@ -MongoBinaryDownloadUrlOpts | mongodb-memory-server-core
    interface MongoBinaryDownloadUrlOpts {
        arch: string;
        os?: AnyOS;
        platform: string;
        version: string;
    }

    Implemented by

    Properties

    arch +MongoBinaryDownloadUrlOpts | mongodb-memory-server-core
    interface MongoBinaryDownloadUrlOpts {
        arch: string;
        os?: AnyOS;
        platform: string;
        version: string;
    }

    Implemented by

    Properties

    Properties

    arch: string
    os?: AnyOS
    platform: string
    version: string
    \ No newline at end of file +

    Properties

    arch: string
    os?: AnyOS
    platform: string
    version: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOpts.html b/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOpts.html index bb27dc49..f02a4dfc 100644 --- a/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOpts.html +++ b/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOpts.html @@ -1,4 +1,4 @@ -MongoMemoryInstanceOpts | mongodb-memory-server-core
    interface MongoMemoryInstanceOpts {
        args?: string[];
        auth?: boolean;
        dbName?: string;
        dbPath?: string;
        ip?: string;
        keyfileLocation?: string;
        launchTimeout?: number;
        port?: number;
        replSet?: string;
        replicaMemberConfig?: ReplicaMemberConfig;
        storageEngine?: StorageEngine;
    }

    Hierarchy (view full)

    Properties

    args? +MongoMemoryInstanceOpts | mongodb-memory-server-core
    interface MongoMemoryInstanceOpts {
        args?: string[];
        auth?: boolean;
        dbName?: string;
        dbPath?: string;
        ip?: string;
        keyfileLocation?: string;
        launchTimeout?: number;
        port?: number;
        replSet?: string;
        replicaMemberConfig?: ReplicaMemberConfig;
        storageEngine?: StorageEngine;
    }

    Hierarchy (view full)

    Properties

    args?: string[]

    Extra Arguments to add

    -
    auth?: boolean

    Set which parameter will be used +

    auth?: boolean

    Set which parameter will be used true -> "--auth" false -> "--noauth"

    Default

    false
     
    -
    dbName?: string

    Currently unused option

    +
    dbName?: string

    Currently unused option

    Default

    undefined
     
    -
    dbPath?: string

    Set which storage path to use +

    dbPath?: string

    Set which storage path to use Adds "--dbpath"

    Default

    TmpDir
     
    -
    ip?: string

    for binding to all IP addresses set it to ::,0.0.0.0, by default '127.0.0.1' +

    ip?: string

    for binding to all IP addresses set it to ::,0.0.0.0, by default '127.0.0.1' Adds "--bind_ip"

    Default

    undefined
     
    -
    keyfileLocation?: string

    Location for the "--keyfile" argument +

    keyfileLocation?: string

    Location for the "--keyfile" argument Only has an effect when "auth" is enabled and is a replset Adds "--keyfile"

    Default

    undefined
     
    -
    launchTimeout?: number

    Define a custom timeout for when out of some reason the binary cannot get started correctly +

    launchTimeout?: number

    Define a custom timeout for when out of some reason the binary cannot get started correctly Time in MS

    Default

    10000 10 seconds
     
    -
    port?: number

    Set which port to use +

    port?: number

    Set which port to use Adds "--port"

    Default

    from get-port
     
    -
    replSet?: string

    Set that this instance is part of a replset +

    replSet?: string

    Set that this instance is part of a replset Adds "--replSet"

    Default

    undefined
     
    -
    replicaMemberConfig?: ReplicaMemberConfig

    Set the Replica-Member-Config +

    replicaMemberConfig?: ReplicaMemberConfig

    Set the Replica-Member-Config Only has a effect when started with "MongoMemoryReplSet"

    -
    storageEngine?: StorageEngine

    Set which Storage Engine to use +

    storageEngine?: StorageEngine

    Set which Storage Engine to use Adds "--storageEngine"

    Default

    "ephemeralForTest"
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOptsBase.html b/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOptsBase.html index cd658d65..33b8b905 100644 --- a/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOptsBase.html +++ b/typedoc/interfaces/util_MongoInstance.MongoMemoryInstanceOptsBase.html @@ -1,26 +1,26 @@ -MongoMemoryInstanceOptsBase | mongodb-memory-server-core
    interface MongoMemoryInstanceOptsBase {
        args?: string[];
        dbPath?: string;
        launchTimeout?: number;
        port?: number;
        replicaMemberConfig?: ReplicaMemberConfig;
        storageEngine?: StorageEngine;
    }

    Hierarchy (view full)

    Properties

    args? +MongoMemoryInstanceOptsBase | mongodb-memory-server-core
    interface MongoMemoryInstanceOptsBase {
        args?: string[];
        dbPath?: string;
        launchTimeout?: number;
        port?: number;
        replicaMemberConfig?: ReplicaMemberConfig;
        storageEngine?: StorageEngine;
    }

    Hierarchy (view full)

    Properties

    args?: string[]

    Extra Arguments to add

    -
    dbPath?: string

    Set which storage path to use +

    dbPath?: string

    Set which storage path to use Adds "--dbpath"

    Default

    TmpDir
     
    -
    launchTimeout?: number

    Define a custom timeout for when out of some reason the binary cannot get started correctly +

    launchTimeout?: number

    Define a custom timeout for when out of some reason the binary cannot get started correctly Time in MS

    Default

    10000 10 seconds
     
    -
    port?: number

    Set which port to use +

    port?: number

    Set which port to use Adds "--port"

    Default

    from get-port
     
    -
    replicaMemberConfig?: ReplicaMemberConfig

    Set the Replica-Member-Config +

    replicaMemberConfig?: ReplicaMemberConfig

    Set the Replica-Member-Config Only has a effect when started with "MongoMemoryReplSet"

    -
    storageEngine?: StorageEngine

    Set which Storage Engine to use +

    storageEngine?: StorageEngine

    Set which Storage Engine to use Adds "--storageEngine"

    Default

    "ephemeralForTest"
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/util_MongoInstance.MongodOpts.html b/typedoc/interfaces/util_MongoInstance.MongodOpts.html index 4eb2bc48..55f914cb 100644 --- a/typedoc/interfaces/util_MongoInstance.MongodOpts.html +++ b/typedoc/interfaces/util_MongoInstance.MongodOpts.html @@ -1,7 +1,7 @@ -MongodOpts | mongodb-memory-server-core
    interface MongodOpts {
        binary: MongoBinaryOpts;
        instance: MongoMemoryInstanceOpts;
        spawn: SpawnOptions;
    }

    Properties

    binary +MongodOpts | mongodb-memory-server-core
    interface MongodOpts {
        binary: MongoBinaryOpts;
        instance: MongoMemoryInstanceOpts;
        spawn: SpawnOptions;
    }

    Properties

    Properties

    mongo binary options

    -

    instance options

    -
    spawn: SpawnOptions

    child process spawn options

    -
    \ No newline at end of file +

    instance options

    +
    spawn: SpawnOptions

    child process spawn options

    +
    \ No newline at end of file diff --git a/typedoc/interfaces/util_MongoInstance.ReplicaMemberConfig.html b/typedoc/interfaces/util_MongoInstance.ReplicaMemberConfig.html index 5c55b499..b42ebd66 100644 --- a/typedoc/interfaces/util_MongoInstance.ReplicaMemberConfig.html +++ b/typedoc/interfaces/util_MongoInstance.ReplicaMemberConfig.html @@ -2,7 +2,7 @@

    See

    https://docs.mongodb.com/manual/reference/replica-configuration/#replica-set-configuration-document-example

    Example

    {
    priority: 2,
    buildIndexes: false,
    votes: 2,
    }
    -
    interface ReplicaMemberConfig {
        arbiterOnly?: boolean;
        buildIndexes?: boolean;
        hidden?: boolean;
        priority?: number;
        secondaryDelaySecs?: number;
        slaveDelay?: number;
        tags?: any;
        votes?: number;
    }

    Properties

    interface ReplicaMemberConfig {
        arbiterOnly?: boolean;
        buildIndexes?: boolean;
        hidden?: boolean;
        priority?: number;
        secondaryDelaySecs?: number;
        slaveDelay?: number;
        tags?: any;
        votes?: number;
    }

    Properties

    arbiterOnly? buildIndexes? hidden? priority? @@ -12,32 +12,32 @@

    Example

    {
    < votes?

    Properties

    arbiterOnly?: boolean

    A boolean that identifies an arbiter.

    Default

    false - A value of true indicates that the member is an arbiter.

    -
    buildIndexes?: boolean

    A boolean that indicates whether the mongod builds indexes on this member. +

    buildIndexes?: boolean

    A boolean that indicates whether the mongod builds indexes on this member. You can only set this value when adding a member to a replica set.

    Default

    true
     
    -
    hidden?: boolean

    The replica set hides this instance and does not include the member in the output of db.hello() or hello.

    +
    hidden?: boolean

    The replica set hides this instance and does not include the member in the output of db.hello() or hello.

    Default

    true
     
    -
    priority?: number

    A number that indicates the relative eligibility of a member to become a primary. +

    priority?: number

    A number that indicates the relative eligibility of a member to become a primary. Specify higher values to make a member more eligible to become primary, and lower values to make the member less eligible.

    Default

    1 for primary/secondary; 0 for arbiters.
     
    -
    secondaryDelaySecs?: number

    Mongodb 5.x only - The number of seconds "behind" the primary that this replica set member should "lag".

    +
    secondaryDelaySecs?: number

    Mongodb 5.x only - The number of seconds "behind" the primary that this replica set member should "lag".

    Default

    0
     
    -
    slaveDelay?: number

    Mongodb 4.x only - The number of seconds "behind" the primary that this replica set member should "lag". +

    slaveDelay?: number

    Mongodb 4.x only - The number of seconds "behind" the primary that this replica set member should "lag". For mongodb 5.x, use secondaryDelaySecs instead.

    tags?: any

    A tags document contains user-defined tag field and value pairs for the replica set member.

    +
    tags?: any

    A tags document contains user-defined tag field and value pairs for the replica set member.

    Default

    null
     

    Example

    { "<tag1>": "<string1>", "<tag2>": "<string2>",... }
     
    -
    votes?: number

    The number of votes a server will cast in a replica set election. +

    votes?: number

    The number of votes a server will cast in a replica set election. The number of votes each member has is either 1 or 0, and arbiters always have exactly 1 vote.

    Default

    1
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/interfaces/util_getos.LinuxOS.html b/typedoc/interfaces/util_getos.LinuxOS.html index fb5db435..5b3a0708 100644 --- a/typedoc/interfaces/util_getos.LinuxOS.html +++ b/typedoc/interfaces/util_getos.LinuxOS.html @@ -1,6 +1,6 @@ -LinuxOS | mongodb-memory-server-core
    interface LinuxOS {
        codename?: string;
        dist: string;
        id_like?: string[];
        os: "linux";
        release: string;
    }

    Hierarchy (view full)

    Properties

    codename? +LinuxOS | mongodb-memory-server-core
    interface LinuxOS {
        codename?: string;
        dist: string;
        id_like?: string[];
        os: "linux";
        release: string;
    }

    Hierarchy (view full)

    Properties

    codename?: string
    dist: string
    id_like?: string[]
    os: "linux"
    release: string
    \ No newline at end of file +

    Properties

    codename?: string
    dist: string
    id_like?: string[]
    os: "linux"
    release: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_getos.OtherOS.html b/typedoc/interfaces/util_getos.OtherOS.html index 67ea0038..55feceff 100644 --- a/typedoc/interfaces/util_getos.OtherOS.html +++ b/typedoc/interfaces/util_getos.OtherOS.html @@ -1,2 +1,2 @@ -OtherOS | mongodb-memory-server-core
    interface OtherOS {
        os: string;
    }

    Hierarchy (view full)

    Properties

    os -

    Properties

    os: string
    \ No newline at end of file +OtherOS | mongodb-memory-server-core
    interface OtherOS {
        os: string;
    }

    Hierarchy (view full)

    Properties

    os +

    Properties

    os: string
    \ No newline at end of file diff --git a/typedoc/interfaces/util_utils.Cleanup.html b/typedoc/interfaces/util_utils.Cleanup.html index 8a7dedd4..458d5629 100644 --- a/typedoc/interfaces/util_utils.Cleanup.html +++ b/typedoc/interfaces/util_utils.Cleanup.html @@ -1,10 +1,10 @@ Cleanup | mongodb-memory-server-core

    Cleanup interface to provide easy to understand arguments for clean-up

    -
    interface Cleanup {
        doCleanup?: boolean;
        force?: boolean;
    }

    Properties

    interface Cleanup {
        doCleanup?: boolean;
        force?: boolean;
    }

    Properties

    Properties

    doCleanup?: boolean

    Setting this to true will activate cleanup

    Default

    true
     
    -
    force?: boolean

    Setting this to true will cleanup the directory even if it is not a temporary directory

    +
    force?: boolean

    Setting this to true will cleanup the directory even if it is not a temporary directory

    Default

    false
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/modules/MongoMemoryReplSet.html b/typedoc/modules/MongoMemoryReplSet.html index 2d994e65..c8ed6f26 100644 --- a/typedoc/modules/MongoMemoryReplSet.html +++ b/typedoc/modules/MongoMemoryReplSet.html @@ -1,4 +1,4 @@ -MongoMemoryReplSet | mongodb-memory-server-core

    References

    default +MongoMemoryReplSet | mongodb-memory-server-core

    References

    Enumerations

    Classes

    MongoMemoryReplSet diff --git a/typedoc/modules/MongoMemoryServer.html b/typedoc/modules/MongoMemoryServer.html index 5e6a02c7..8c7905d6 100644 --- a/typedoc/modules/MongoMemoryServer.html +++ b/typedoc/modules/MongoMemoryServer.html @@ -1,4 +1,4 @@ -MongoMemoryServer | mongodb-memory-server-core

    References

    default +MongoMemoryServer | mongodb-memory-server-core

    References

    Enumerations

    Classes

    MongoMemoryServer diff --git a/typedoc/modules/index.html b/typedoc/modules/index.html index ab32245b..74405379 100644 --- a/typedoc/modules/index.html +++ b/typedoc/modules/index.html @@ -1,4 +1,4 @@ -index | mongodb-memory-server-core

    References

    DryMongoBinary +index | mongodb-memory-server-core

    References

    DryMongoBinary MongoBinary MongoInstance MongoMemoryReplSet diff --git a/typedoc/modules/util_DryMongoBinary.html b/typedoc/modules/util_DryMongoBinary.html index 52f320cf..35f054d0 100644 --- a/typedoc/modules/util_DryMongoBinary.html +++ b/typedoc/modules/util_DryMongoBinary.html @@ -1,4 +1,4 @@ -util/DryMongoBinary | mongodb-memory-server-core

    Index

    Classes

    DryMongoBinary +util/DryMongoBinary | mongodb-memory-server-core

    Index

    Classes

    Interfaces

    BaseDryMongoBinaryOptions DryMongoBinaryArchiveRegexGroups DryMongoBinaryNameOptions diff --git a/typedoc/modules/util_MongoBinary.html b/typedoc/modules/util_MongoBinary.html index 412d5c92..ae465995 100644 --- a/typedoc/modules/util_MongoBinary.html +++ b/typedoc/modules/util_MongoBinary.html @@ -1,4 +1,4 @@ -util/MongoBinary | mongodb-memory-server-core

    References

    default +util/MongoBinary | mongodb-memory-server-core

    References

    Classes

    Interfaces

    References

    Renames and re-exports MongoBinary
    \ No newline at end of file diff --git a/typedoc/modules/util_MongoBinaryDownload.html b/typedoc/modules/util_MongoBinaryDownload.html index 10b4e8c7..977c8066 100644 --- a/typedoc/modules/util_MongoBinaryDownload.html +++ b/typedoc/modules/util_MongoBinaryDownload.html @@ -1,4 +1,4 @@ -util/MongoBinaryDownload | mongodb-memory-server-core

    References

    default +util/MongoBinaryDownload | mongodb-memory-server-core
    \ No newline at end of file diff --git a/typedoc/modules/util_MongoBinaryDownloadUrl.html b/typedoc/modules/util_MongoBinaryDownloadUrl.html index f5b87ffd..4795bf7b 100644 --- a/typedoc/modules/util_MongoBinaryDownloadUrl.html +++ b/typedoc/modules/util_MongoBinaryDownloadUrl.html @@ -1,4 +1,4 @@ -util/MongoBinaryDownloadUrl | mongodb-memory-server-core

    References

    default +util/MongoBinaryDownloadUrl | mongodb-memory-server-core

    References

    Classes

    Interfaces

    Variables

    DEFAULT_UBUNTU_YEAR diff --git a/typedoc/modules/util_MongoInstance.html b/typedoc/modules/util_MongoInstance.html index 92125b05..38792c87 100644 --- a/typedoc/modules/util_MongoInstance.html +++ b/typedoc/modules/util_MongoInstance.html @@ -1,4 +1,4 @@ -util/MongoInstance | mongodb-memory-server-core

    References

    default +util/MongoInstance | mongodb-memory-server-core

    References

    Enumerations

    Classes

    Interfaces

    MongoMemoryInstanceOpts diff --git a/typedoc/modules/util_errors.html b/typedoc/modules/util_errors.html index 923350bf..fa133351 100644 --- a/typedoc/modules/util_errors.html +++ b/typedoc/modules/util_errors.html @@ -1,4 +1,4 @@ -util/errors | mongodb-memory-server-core

    Index

    Classes

    AssertionFallbackError +util/errors | mongodb-memory-server-core

    Index

    Classes

    AssertionFallbackError AuthNotObjectError BinaryNotFoundError DownloadError diff --git a/typedoc/modules/util_getos.html b/typedoc/modules/util_getos.html index 8bccab7b..7c3a9ab1 100644 --- a/typedoc/modules/util_getos.html +++ b/typedoc/modules/util_getos.html @@ -1,4 +1,4 @@ -util/getos | mongodb-memory-server-core

    Index

    Interfaces

    LinuxOS +util/getos | mongodb-memory-server-core

    Index

    Interfaces

    Type Aliases

    Variables

    UNKNOWN diff --git a/typedoc/modules/util_getport.html b/typedoc/modules/util_getport.html index 55dc5972..5006980d 100644 --- a/typedoc/modules/util_getport.html +++ b/typedoc/modules/util_getport.html @@ -1,4 +1,4 @@ -util/getport | mongodb-memory-server-core

    References

    default +util/getport | mongodb-memory-server-core

    References

    Variables

    Functions

    getFreePort diff --git a/typedoc/modules/util_lockfile.html b/typedoc/modules/util_lockfile.html index d9270890..8fd77ca0 100644 --- a/typedoc/modules/util_lockfile.html +++ b/typedoc/modules/util_lockfile.html @@ -1,4 +1,4 @@ -util/lockfile | mongodb-memory-server-core

    Index

    Enumerations

    LockFileEvents +util/lockfile | mongodb-memory-server-core
    \ No newline at end of file diff --git a/typedoc/modules/util_postinstallHelper.html b/typedoc/modules/util_postinstallHelper.html index 9dc63f56..9b8be48e 100644 --- a/typedoc/modules/util_postinstallHelper.html +++ b/typedoc/modules/util_postinstallHelper.html @@ -1,2 +1,2 @@ -util/postinstallHelper | mongodb-memory-server-core

    Index

    Functions

    postInstallEnsureBinary +util/postinstallHelper | mongodb-memory-server-core
    \ No newline at end of file diff --git a/typedoc/modules/util_resolveConfig.html b/typedoc/modules/util_resolveConfig.html index 6a9bb7b3..3e6a72f8 100644 --- a/typedoc/modules/util_resolveConfig.html +++ b/typedoc/modules/util_resolveConfig.html @@ -1,4 +1,4 @@ -util/resolveConfig | mongodb-memory-server-core

    References

    default +util/resolveConfig | mongodb-memory-server-core

    References

    Enumerations

    Variables

    DEFAULT_VERSION ENV_CONFIG_PREFIX diff --git a/typedoc/modules/util_utils.html b/typedoc/modules/util_utils.html index 6220606a..bc0767be 100644 --- a/typedoc/modules/util_utils.html +++ b/typedoc/modules/util_utils.html @@ -1,4 +1,4 @@ -util/utils | mongodb-memory-server-core

    Index

    Classes

    ManagerAdvanced +util/utils | mongodb-memory-server-core

    Index

    Classes

    Interfaces

    Functions

    assertion diff --git a/typedoc/types/MongoMemoryServer.MemoryServerInstanceOpts.html b/typedoc/types/MongoMemoryServer.MemoryServerInstanceOpts.html index 0f61cf22..8944f590 100644 --- a/typedoc/types/MongoMemoryServer.MemoryServerInstanceOpts.html +++ b/typedoc/types/MongoMemoryServer.MemoryServerInstanceOpts.html @@ -1,3 +1,3 @@ MemoryServerInstanceOpts | mongodb-memory-server-core
    MemoryServerInstanceOpts: Omit<MongoMemoryInstanceOpts, "auth"> & ExtraInstanceOpts

    Type with automatic options removed "auth" is automatically handled and set via AutomaticAuth

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/types/MongoMemoryServer.UserRoles.html b/typedoc/types/MongoMemoryServer.UserRoles.html index fd971369..74b29f63 100644 --- a/typedoc/types/MongoMemoryServer.UserRoles.html +++ b/typedoc/types/MongoMemoryServer.UserRoles.html @@ -1,3 +1,3 @@ UserRoles | mongodb-memory-server-core
    UserRoles: "read" | "readWrite" | "dbAdmin" | "dbOwner" | "userAdmin" | "clusterAdmin" | "clusterManager" | "clusterMonitor" | "hostManager" | "backup" | "restore" | "readAnyDatabase" | "readWriteAnyDatabase" | "userAdminAnyDatabase" | "dbAdminAnyDatabase" | "root" | string

    All MongoDB Built-in Roles

    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/types/util_MongoInstance.StorageEngine.html b/typedoc/types/util_MongoInstance.StorageEngine.html index 99609a73..28bcee08 100644 --- a/typedoc/types/util_MongoInstance.StorageEngine.html +++ b/typedoc/types/util_MongoInstance.StorageEngine.html @@ -1 +1 @@ -StorageEngine | mongodb-memory-server-core
    StorageEngine: "ephemeralForTest" | "wiredTiger"
    \ No newline at end of file +StorageEngine | mongodb-memory-server-core
    StorageEngine: "ephemeralForTest" | "wiredTiger"
    \ No newline at end of file diff --git a/typedoc/types/util_getos.AnyOS.html b/typedoc/types/util_getos.AnyOS.html index b503a87d..26be4e2b 100644 --- a/typedoc/types/util_getos.AnyOS.html +++ b/typedoc/types/util_getos.AnyOS.html @@ -1 +1 @@ -AnyOS | mongodb-memory-server-core
    \ No newline at end of file +AnyOS | mongodb-memory-server-core
    \ No newline at end of file diff --git a/typedoc/variables/util_MongoBinaryDownloadUrl.DEFAULT_UBUNTU_YEAR.html b/typedoc/variables/util_MongoBinaryDownloadUrl.DEFAULT_UBUNTU_YEAR.html index 9d01238d..6b064a16 100644 --- a/typedoc/variables/util_MongoBinaryDownloadUrl.DEFAULT_UBUNTU_YEAR.html +++ b/typedoc/variables/util_MongoBinaryDownloadUrl.DEFAULT_UBUNTU_YEAR.html @@ -1,2 +1,2 @@ DEFAULT_UBUNTU_YEAR | mongodb-memory-server-core
    DEFAULT_UBUNTU_YEAR: 22 = 22

    Set the default ubuntu version number

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/variables/util_getos.UNKNOWN.html b/typedoc/variables/util_getos.UNKNOWN.html index fa0dbb6b..29d2c4a8 100644 --- a/typedoc/variables/util_getos.UNKNOWN.html +++ b/typedoc/variables/util_getos.UNKNOWN.html @@ -1,2 +1,2 @@ UNKNOWN | mongodb-memory-server-core
    UNKNOWN: "unknown" = 'unknown'

    Helper Static so that a consistent UNKNOWN value is used

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/variables/util_getport.MAX_PORT.html b/typedoc/variables/util_getport.MAX_PORT.html index be644ffd..50894efe 100644 --- a/typedoc/variables/util_getport.MAX_PORT.html +++ b/typedoc/variables/util_getport.MAX_PORT.html @@ -1,2 +1,2 @@ MAX_PORT | mongodb-memory-server-core
    MAX_PORT: 65535 = 65535

    u16 max number

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/variables/util_getport.MIN_PORT.html b/typedoc/variables/util_getport.MIN_PORT.html index 5d0fe579..35116d17 100644 --- a/typedoc/variables/util_getport.MIN_PORT.html +++ b/typedoc/variables/util_getport.MIN_PORT.html @@ -1,2 +1,2 @@ MIN_PORT | mongodb-memory-server-core
    MIN_PORT: 1024 = 1024

    Linux min port that does not require root permissions

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/variables/util_resolveConfig.DEFAULT_VERSION.html b/typedoc/variables/util_resolveConfig.DEFAULT_VERSION.html index 25478d7c..4888fc4d 100644 --- a/typedoc/variables/util_resolveConfig.DEFAULT_VERSION.html +++ b/typedoc/variables/util_resolveConfig.DEFAULT_VERSION.html @@ -1,2 +1,2 @@ DEFAULT_VERSION | mongodb-memory-server-core
    DEFAULT_VERSION: "7.0.11" = '7.0.11'

    This Value exists here, because "defaultValues" can be changed with "setDefaultValue", but this property is constant

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/variables/util_resolveConfig.ENV_CONFIG_PREFIX.html b/typedoc/variables/util_resolveConfig.ENV_CONFIG_PREFIX.html index 9c496367..a0f1d164 100644 --- a/typedoc/variables/util_resolveConfig.ENV_CONFIG_PREFIX.html +++ b/typedoc/variables/util_resolveConfig.ENV_CONFIG_PREFIX.html @@ -1,2 +1,2 @@ ENV_CONFIG_PREFIX | mongodb-memory-server-core
    ENV_CONFIG_PREFIX: "MONGOMS_" = 'MONGOMS_'

    The Prefix for Environmental values

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/typedoc/variables/util_resolveConfig.defaultValues.html b/typedoc/variables/util_resolveConfig.defaultValues.html index b2d10ffc..49888e3c 100644 --- a/typedoc/variables/util_resolveConfig.defaultValues.html +++ b/typedoc/variables/util_resolveConfig.defaultValues.html @@ -1,2 +1,2 @@ defaultValues | mongodb-memory-server-core
    defaultValues: Map<ResolveConfigVariables, string> = ...

    Default values for some config options that require explicit setting, it is constant so that the default values cannot be interfered with

    -
    \ No newline at end of file +
    \ No newline at end of file