ForSchema
ForSchema<
TSchema> ={ [K in keyof TSchema["_EventDefMapType"]]: InputDecoded<TSchema["_EventDefMapType"][K]> }[keyofTSchema["_EventDefMapType"]]
Defined in: packages/@livestore/common/dist/schema/LiveStoreEvent/input.d.ts:22
Union of all input event types for a given schema (type-safe event discrimination).
Type Parameters
Section titled “Type Parameters”TSchema
Section titled “TSchema”TSchema extends LiveStoreSchema