Skip to content

Node Spec examples / Modules / nodeConfig

Module: nodeConfig

Table of contents

Type Aliases

Variables

Functions

Type Aliases

ConfigKey

Ƭ ConfigKey: string

Defined in

nodeConfig.ts:58


ConfigTranslation

Ƭ ConfigTranslation: Object

Type declaration

NameType
addNodeFlow?ConfigTranslationAddNodeFlow
category?string
cliConfigPrefix?string | string[]
defaultValue?ConfigValue
displayNamestring
documentation?string
hideFromUserAfterStart?boolean
infoDescription?string
initCommandConfig?boolean
niceNodeDefaultValue?ConfigValue
uiControlConfigTranslationControl
valuesJoinStr?string
valuesWrapChar?string
warning?string

Defined in

nodeConfig.ts:41


ConfigTranslationAddNodeFlow

Ƭ ConfigTranslationAddNodeFlow: "required" | "advanced"

Defined in

nodeConfig.ts:39


ConfigTranslationControl

Ƭ ConfigTranslationControl: FilePathControl | SelectControl | MultiSelectControl | TextControl

Defined in

nodeConfig.ts:31


ConfigTranslationMap

Ƭ ConfigTranslationMap: Record<ConfigKey, ConfigTranslation>

Defined in

nodeConfig.ts:60


ConfigValue

Ƭ ConfigValue: string | string[] | undefined

Defined in

nodeConfig.ts:37


ConfigValuesMap

Ƭ ConfigValuesMap: Record<ConfigKey, string>

Defined in

nodeConfig.ts:59


FilePathControl

Ƭ FilePathControl: Object

Type declaration

NameType
serviceConfigs?ServiceConfigs
type"filePath"

Defined in

nodeConfig.ts:4


MultiSelectControl

Ƭ MultiSelectControl: Object

Type declaration

NameType
controlTranslationsSelectTranslation[]
type"select/multiple"

Defined in

nodeConfig.ts:27


SelectControl

Ƭ SelectControl: Object

Type declaration

NameType
controlTranslationsSelectTranslation[]
type"select/single"

Defined in

nodeConfig.ts:23


SelectTranslation

Ƭ SelectTranslation: Object

Type declaration

NameType
config?string
info?string
serviceConfigs?ServiceConfigs
valuestring

Defined in

nodeConfig.ts:14


TextControl

Ƭ TextControl: Object

Type declaration

NameType
serviceConfigs?ServiceConfigs
type"text"

Defined in

nodeConfig.ts:9

Variables

FilePathControlType

Const FilePathControlType: "filePath"

Defined in

nodeConfig.ts:3

Functions

buildCliConfig

buildCliConfig(param0): string

Exclude config keys is used when starting a node with docker and avoiding using the dataDir key because the dataDir key is used for the docker volume mount.

Parameters

NameType
param0Object
param0.configTranslationMap?ConfigTranslationMap
param0.configValuesMapConfigValuesMap
param0.excludeConfigKeys?string[]

Returns

string

Defined in

nodeConfig.ts:88

Released under the MIT License