eufy-mega / model/capabilities / EventHit
Type Alias: EventHit
ts
type EventHit = Pick<EventMapping, "payload" | "derive"> & object;An index hit: the semantic event name, the capability that claims the id, and any static payload the mapping attached. The capability is what disambiguates a shared id.
Type Declaration
capability
ts
capability: Capability;emit
ts
emit: string;