Skip to content

Interface: SyncUpdate<K, L, SchemaT>

Defined in: api.ts:1196

Type definition for the parameter used to pass in a batch of updates to a sync table update function.

Type Parameters

Type Parameter
K extends string
L extends string
SchemaT extends ObjectSchemaDefinition<K, L>

Properties

newValue

newValue: ObjectSchemaDefinitionType<K, L, SchemaT>

Defined in: api.ts:1204

The new value of the row, with the user edits applied.


previousValue

previousValue: ObjectSchemaDefinitionType<K, L, SchemaT>

Defined in: api.ts:1200

The previous value of the row.


updatedFields

updatedFields: string[]

Defined in: api.ts:1208

The fields of the row that have been updated.