@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