From 4f3dacf81a2f4ee177c6baf94c5c51da7627d035 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sun, 3 Apr 2022 13:42:18 +0200 Subject: [PATCH] make deviceentity.w mandatory --- interface/src/project/types.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/interface/src/project/types.ts b/interface/src/project/types.ts index a2c2d9185..4b62d6f52 100644 --- a/interface/src/project/types.ts +++ b/interface/src/project/types.ts @@ -131,10 +131,10 @@ export interface DeviceValue { n: string; // name c: string; // command l: string[]; // list - h?: string; // help text - s?: string; // steps for up/down - m?: string; // min - x?: string; // max + h?: string; // help text, optional + s?: string; // steps for up/down, optional + m?: string; // min, optional + x?: string; // max, optional } export interface DeviceData { @@ -147,7 +147,7 @@ export interface DeviceEntity { n: string; // name s: string; // shortname m: number; // mask - w?: boolean; // writeable + w: boolean; // writeable } export interface MaskedEntities {