Skip to content

Type Alias: SyncFormula<K, L, ParamDefsT, SchemaT, ContextT, PermissionsContextT>

SyncFormula<K, L, ParamDefsT, SchemaT, ContextT, PermissionsContextT> = SyncFormulaDef<K, L, ParamDefsT, SchemaT, ContextT, PermissionsContextT> & object

Defined in: api.ts:1458

The result of defining the formula that implements a sync table.

There is no need to use this type directly. You provide a SyncFormulaDef as an input to makeSyncTable which outputs definitions of this type.

Type Declaration

Name Type Defined in
isSyncFormula true api.ts:1467
resultType TypeOf<SchemaType<SchemaT>> api.ts:1466
schema? ArraySchema api.ts:1468
supportsUpdates? boolean api.ts:1469

Type Parameters

Type Parameter
K extends string
L extends string
ParamDefsT extends ParamDefs
SchemaT extends ObjectSchema<K, L>
ContextT extends SyncExecutionContext<any, any>
PermissionsContextT extends SyncPassthroughData