Skip to content

Encoded

const Encoded: Schema.Struct<{ args: typeof Schema.Any; name: typeof Schema.String; }>

Defined in: packages/@livestore/common/dist/schema/LiveStoreEvent/input.d.ts:13

Effect Schema for validating/decoding input events with encoded args.

import { Schema } from '@effect/schema'
const decoded = Schema.decodeUnknownSync(LiveStoreEvent.Input.Encoded)(rawEvent)