@mega-yfue/eufy-sdk / enumLabels
Function: enumLabels()
ts
function enumLabels(enumObj): Record<number, string>;Invert an enum-object (name → wire value) into the raw → label form a published option set takes, so a named set is declared ONCE — as the enum callers write against — and the published domain cannot drift from it.
Parameters
enumObj
Readonly<Record<string, number>>
Returns
Record<number, string>