Skip to content

@mega-yfue/eufy-sdk / UnverifiedKeys

Type Alias: UnverifiedKeys<M>

ts
type UnverifiedKeys<M> = { [K in keyof M]: M[K] extends { unverified: true } ? K : never }[keyof M];

Writes whose wire is not confirmed on a real device. Declared here so the capability documents what the device has, but NOT installed — and therefore OPTIONAL on the surface, which is how a caller learns at COMPILE time that it is not settable yet.

This is the type-level half of the never-guess rule: a present method means a verified wire. Flipping unverified off once a capture lands is the only edit needed to promote one.

Type Parameters

M

M extends Members

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.