Skip to main content

@dialstack/sdk-dev / js/src / DeviceSettingsResource

Interface: DeviceSettingsResource

Defined in: sdk/js/src/types/provisioning.ts:349

The device settings of one level of the inheritance chain (an account): what it sets itself, the defaults it inherits, where each default comes from, and which settings it can change.

Properties​

defaults​

TypeScript
defaults: DeviceSettings;

Defined in: sdk/js/src/types/provisioning.ts:359

What each settable setting falls back to when this level does not set it. Never includes this level's own value. Defaults, not what every phone uses: a phone's own overrides win, and a phone that cannot use a value is served what it supports.


object​

TypeScript
object: "device_settings";

Defined in: sdk/js/src/types/provisioning.ts:350


settable​

TypeScript
settable: string[];

Defined in: sdk/js/src/types/provisioning.ts:363

Dotted paths of the settings this level can change.


settings​

TypeScript
settings: DeviceSettings;

Defined in: sdk/js/src/types/provisioning.ts:352

The settings this level sets itself. Only paths listed in settable appear.


sources​

TypeScript
sources: Record<string, DeviceSettingsSource>;

Defined in: sdk/js/src/types/provisioning.ts:361

Which level each entry in defaults comes from, keyed by dotted path.