From 1ab02dcb6f62560c4b6ee1a8d75827287a677c93 Mon Sep 17 00:00:00 2001 From: github-pages-deploy <> Date: Tue, 19 Nov 2024 12:01:48 +0000 Subject: [PATCH] Deploying to gh-pages from @ a9d8986064ab7fee4a33a7f38375a24aa20de69c --- ...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 a2d99958..93dd813c 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 124b91e9..c299b8a9 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 d8807283..880db1a8 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 d964ad5c..b9501cd8 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 d326bd3e..d8d45d77 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 1e94dddd..c8352aa5 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 21376303..80dbbab3 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 6a814561..0c37fbaf 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 12ec29ab..02372149 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 536fee31..e2f52381 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 60079793..18f5df38 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 0917e5aa..75a740ec 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 6591fd51..acca6345 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 df1df0ec..997942ee 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 e54cc705..ed6832a6 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 41b0b7c3..c675b529 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 f34b24a3..6bed855c 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 66ad75f9..52692f86 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 a255a4ed..30ead2af 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 37c5ddc4..6b8e0040 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 33a8c39e..3bbc88b6 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 6945f678..84ba35d8 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 5962db39..8b37c778 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 ac3ef837..10e50de2 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 375dddf4..554eb9de 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 d91b8dcd..b648934c 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 98a39980..35edac03 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 56d5d8a8..89d5a526 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 7aa48486..fdc19bc9 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 51f82b3c..4700ebbb 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 728b9063..f99431b0 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 6f3af3b7..cbee9abe 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 62452d6d..72a5aa84 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 7d1b0086..004b19ea 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 16c1bf6b..36ba56ac 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 f34ba115..4f82171e 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 6738a9b8..6a2fc187 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 0e4f8bf5..cd54f2ca 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 58bfa3a3..d41b9756 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 ae71bf42..a11d1dc7 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 5698aceb..110c6c88 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 021410d2..c4906127 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 143af711..a81229fe 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 5fe52387..a53b8074 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 b16e46f1..2b72bc65 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 6842c3b1..91d1bb35 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 fc8adea4..39e742a4 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 5ca75ae6..2e75b2d2 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 6ebcfdd5..af4ce4e4 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 a9db9a43..81c01c76 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 75f022c7..f17e4773 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 a10c014b..b25c6ce4 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 dffe3bfa..29b20bbd 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 db9f7152..029ca1c0 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 7b7bff69..75a214c0 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 de70c46c..f4e3294d 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 b7955f3d..3791d2ba 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 1e0e523e..bf348320 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 ed055cb4..03fded37 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 158d71df..71ca7e37 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 0c4efabb..9ded4b24 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 8b19f5f2..9559504b 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 f0c4eb53..293b3cec 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 b6c62c90..5d531973 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 7276c08a..abe3b728 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 596394dd..006e8ce8 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 dbaa647f..fc52f7be 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 40e0223d..c89ec0c5 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 af9e1bea..f3228da2 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 f8f409e1..6b224b9e 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 1ab1f0b4..215f0ef3 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 d7fbb076..1b730e6f 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 c67263d1..0de54784 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 2b494082..56db541f 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 8354c6ba..d4d5f7c7 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 5d480bd5..ad48446d 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 14601e3d..5c63edad 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 0fd95194..2f7480fe 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 7691533a..87a30c59 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 3f3461c0..7f61a144 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 dac3c695..63472434 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 67d6e8cc..85aeaf12 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 7365614c..825ceece 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 ac03eec8..ea04ebba 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 9a8c264f..d43877c5 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 4a0c23e0..9125ff70 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 56b8c55b..40279be0 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 91751753..a03dd9ea 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 5b46b7ed..da1d5712 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 c1b1f95d..b7710fa7 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 f4ce055a..18aecba5 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 808d2390..f17fc6ad 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 f8f60807..c0086ba8 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 1804f7d8..19607d72 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 8cf1079e..657c15fa 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 814c8603..d8a07cec 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 3ff2721f..ff738b94 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 e565dcb3..2b2cbaba 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 0d86844a..9b9c5ca6 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 79ac86e7..2f0e9efd 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 e6311ac5..28437e67 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 cc832994..0185f29d 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 32300406..000db804 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 b15ddc5f..432701dc 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 a9711493..5e24ebca 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 fac5286c..e827e164 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.14" = '7.0.14'

    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 249da62f..e17d8d98 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 e5aabec0..b0dd3bf1 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