Update Struct for Buttons Footer

This commit is contained in:
Zack 2022-05-25 23:13:27 -05:00
parent d0ead1fdb8
commit 026d027386
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { union, object, string, optional, boolean, enums } from "superstruct";
import { boolean, enums, object, optional, string, union } from "superstruct";
import { TIMESTAMP_RENDERING_FORMATS } from "../../components/types";
import { actionConfigStruct } from "./action-struct";
@ -14,6 +14,8 @@ export const entitiesConfigStruct = union([
tap_action: optional(actionConfigStruct),
hold_action: optional(actionConfigStruct),
double_tap_action: optional(actionConfigStruct),
show_icon: optional(boolean()),
show_name: optional(boolean()),
}),
string(),
]);