Skip to content

InputSchema

Defined in: packages/@livestore/common/dist/schema/schema.d.ts:43

readonly optional devtools: object

Defined in: packages/@livestore/common/dist/schema/schema.d.ts:46

readonly optional alias: string

This alias value is used to disambiguate between multiple schemas in the devtools. Only needed when an app uses multiple schemas.

'default'

readonly events: Record<string, AnyWithoutFn> | readonly AnyWithoutFn[]

Defined in: packages/@livestore/common/dist/schema/schema.d.ts:44


readonly state: InternalState

Defined in: packages/@livestore/common/dist/schema/schema.d.ts:45


readonly optional unknownEventHandling: HandlingConfig

Defined in: packages/@livestore/common/dist/schema/schema.d.ts:58

Configures how unknown events should be handled. Defaults to { strategy: 'warn' }.