Interface: ISettings

settings.ISettings

The interface for the Settings service.

Methods

get

get(pluginId): Promise<undefined | IPlugin>

Get settings by plugin id

Parameters

Name

Type

Description

pluginId

string

the id of the plugin

Returns

Promise<undefined | IPlugin>

Defined in

packages/settings/lib/tokens.d.ts:42


getAll

getAll(): Promise<Object>

Get all the settings

Returns

Promise<Object>

Defined in

packages/settings/lib/tokens.d.ts:46


save

save(pluginId, raw): Promise<void>

Save settings for a given plugin id

Parameters

Name

Type

Description

pluginId

string

The id of the plugin

raw

string

The raw settings

Returns

Promise<void>

Defined in

packages/settings/lib/tokens.d.ts:56