Skip to main content

@dialstack/sdk-dev / server/src / MaterializedButton

Interface: MaterializedButton

Defined in: sdk/server/src/index.ts:1022

The effective button after template rows and per-device overrides merge.

Properties

compatibility

TypeScript
compatibility: ButtonCompatibilityVerdict;

Defined in: sdk/server/src/index.ts:1036


label

TypeScript
label: string;

Defined in: sdk/server/src/index.ts:1024


override?

TypeScript
optional override?: string | null;

Defined in: sdk/server/src/index.ts:1035


position

TypeScript
position: number;

Defined in: sdk/server/src/index.ts:1023


source

TypeScript
source: "template" | "override" | "template_overridden" | "model_default";

Defined in: sdk/server/src/index.ts:1033

Where the button came from. model_default is one the device model gets for free because its hardware has no other way to reach the function — it is stored nowhere, so it carries neither template_button nor override, but a device override at the same position still shadows or suppresses it.


target

TypeScript
target: ButtonTarget;

Defined in: sdk/server/src/index.ts:1026


template_button?

TypeScript
optional template_button?: string | null;

Defined in: sdk/server/src/index.ts:1034


type

TypeScript
type: ButtonType;

Defined in: sdk/server/src/index.ts:1025