EnhancedPowerSyncCollectionConfig

Type Alias: EnhancedPowerSyncCollectionConfig<TTable, OutputType, TSchema>

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

Defined in: definitions.ts:254

A CollectionConfig which includes utilities for PowerSync.

Type Declaration

id?

ts
optional id: string;
optional id: string;

schema?

ts
optional schema: TSchema;
optional schema: TSchema;

utils

ts
utils: PowerSyncCollectionUtils<TTable>;
utils: PowerSyncCollectionUtils<TTable>;

Type Parameters

TTable

TTable extends Table

OutputType

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

TSchema

TSchema extends StandardSchemaV1 = never

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.