Skip to content

SpecializedColDefFn

SpecializedColDefFn<TColumnType, TAllowsCustomSchema, TBaseDecoded> = {(): object; <TDecoded, TNullable, TDefault, TPrimaryKey>(args): object; }

Defined in: packages/@livestore/common/dist/schema/state/sqlite/db-schema/dsl/field-defs.d.ts:57

TColumnType extends FieldColumnType

TAllowsCustomSchema extends boolean

TBaseDecoded

(): object

object

columnType: TColumnType

default: Option.None<never>

nullable: false

primaryKey: false

schema: Schema<TBaseDecoded, DefaultEncodedForColumnType<TColumnType>>

<TDecoded, TNullable, TDefault, TPrimaryKey>(args): object

TDecoded = TBaseDecoded

TNullable extends boolean = false

TDefault = typeof NoDefault

TPrimaryKey extends boolean = false

TAllowsCustomSchema extends true ? object : object

object

columnType: TColumnType

default: TDefault extends NoDefault ? Option.None<never> : Option.Some<TDefault>

nullable: NoInfer<TNullable>

primaryKey: NoInfer<TPrimaryKey>

schema: TNullable extends true ? Schema<NoInfer<TDecoded> | null, DefaultEncodedForColumnType<TColumnType> | null> : Schema<NoInfer<TDecoded>, DefaultEncodedForColumnType<TColumnType>>