ConfigWithSQLiteInputType

Type Alias: ConfigWithSQLiteInputType<TTable, TSchema>

ts
type ConfigWithSQLiteInputType<TTable, TSchema> = SerializerConfig<StandardSchemaV1.InferOutput<TSchema>, ExtractedTable<TTable>> & object;
type ConfigWithSQLiteInputType<TTable, TSchema> = SerializerConfig<StandardSchemaV1.InferOutput<TSchema>, ExtractedTable<TTable>> & object;

Defined in: definitions.ts:106

Config where TInput is the SQLite types while TOutput can be defined by TSchema. We can use the same schema to validate TInput and incoming SQLite changes.

Type Declaration

schema

ts
schema: TSchema;
schema: TSchema;

Type Parameters

TTable

TTable extends Table

TSchema

TSchema extends StandardSchemaV1<OptionalExtractedTable<TTable>, AnyTableColumnType<TTable>>

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.