Skip to main content

EnhancedPowerSyncCollectionConfig

type EnhancedPowerSyncCollectionConfig<TTable, OutputType, TSchema> = CollectionConfig<OutputType, string, TSchema, PowerSyncCollectionUtils<TTable>> & object;

Defined in: definitions.ts:303

A CollectionConfig which includes utilities for PowerSync.

Type Declaration

id?

optional id: string;

schema?

optional schema: TSchema;

utils

utils: PowerSyncCollectionUtils<TTable>;

Type Parameters

TTable

TTable extends Table

OutputType

OutputType extends Record<string, unknown> = Record<string, unknown>

TSchema

TSchema extends StandardSchemaV1 = never