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

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
isSyncFormula true
resultType TypeOf<SchemaType<SchemaT>>
schema? ArraySchema
supportsUpdates? boolean

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