eufy-mega / model/capabilities / ArmingMode
Type Alias: ArmingMode
ts
type ArmingMode = typeof ArmingMode[keyof typeof ArmingMode];Guard-mode labels the ArmingActions accept — the values side of armingMode's enum. ArmingMode is both the const value-object (ArmingMode.home) and the union type of its values, so callers pass the named constant: setMode(ArmingMode.home).