@dialstack/sdk / index / MaterializedButton
Interface: MaterializedButton
Defined in: sdk/src/types/button.ts:139
Properties
compatibility
compatibility: ButtonCompatibilityVerdict;
Defined in: sdk/src/types/button.ts:158
label
label: string;
Defined in: sdk/src/types/button.ts:141
override?
optional override?: string | null;
Defined in: sdk/src/types/button.ts:155
override_id?
optional override_id?: string | null;
Defined in: sdk/src/types/button.ts:157
Deprecated
Use override. Retained for backwards compatibility.
position
position: number;
Defined in: sdk/src/types/button.ts:140
source
source: "template" | "override" | "template_overridden" | "model_default";
Defined in: sdk/src/types/button.ts:151
Where this button came from. model_default is a button the device model
gets for free because its hardware has no other way to reach the function
— it is stored nowhere, so it has neither template_button nor
override, but a device override at the same position shadows or
suppresses it like any other row.
target
target: ButtonTarget;
Defined in: sdk/src/types/button.ts:143
template_button?
optional template_button?: string | null;
Defined in: sdk/src/types/button.ts:152
template_button_id?
optional template_button_id?: string | null;
Defined in: sdk/src/types/button.ts:154
Deprecated
Use template_button. Retained for backwards compatibility.
type
type: ButtonType;
Defined in: sdk/src/types/button.ts:142