@mega-yfue/eufy-sdk / ValueKeys
Type Alias: ValueKeys<M>
ts
type ValueKeys<M> = { [K in keyof M]: M[K] extends ValueMember ? M[K] extends { writeOnly: true } | { unexposed: true } ? never : K : never }[keyof M];The members a getter is derived for: those backed by a device property, minus the two kinds that declare a param but publish no read — a writeOnly setting the device never reports back, and an unexposed one whose value space is not evidenced yet.
Type Parameters
M
M extends Members