Skip to content

Interface: SyncUpdate<K, L, SchemaT>

core.SyncUpdate

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

Type parameters

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

Properties

newValue

newValue: ObjectSchemaDefinitionType<K, L, SchemaT>

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

Defined in

api.ts:1056


previousValue

previousValue: ObjectSchemaDefinitionType<K, L, SchemaT>

The previous value of the row.

Defined in

api.ts:1052


updatedFields

updatedFields: string[]

The fields of the row that have been updated.

Defined in

api.ts:1060