Skip to main content

EnhancedPowerSyncCollectionConfig

还没翻译译自英文(tanstack.com)本页 14 段都还没译

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