PatchChange

Reports a completed change back to Lucid


Constructors

new PatchChange()

new PatchChange( patchId, syncId, collections): PatchChange

Parameters

ParameterType
patchIdstring
syncIdstring
collectionsPatchChangeCollection[]

Returns

PatchChange


Properties

collections

collections: PatchChangeCollection[];

patchId

patchId: string;

syncId

syncId: string;

Methods

getErrors()

getErrors(): Record<string, Record<string, string>>

Returns

Record<string, Record<string, string>>


setError()

setError( primaryKey, fieldName, error): void

Parameters

ParameterType
primaryKeystring
fieldNamestring
errorstring

Returns

void


setTooltipError()

setTooltipError(primaryKey, error): void

Parameters

ParameterType
primaryKeystring
errorstring

Returns

void