ItemsPatchInexhaustive

Represents a standard, incremental update to a collection.


Constructors

new ItemsPatchInexhaustive()

new ItemsPatchInexhaustive(
   items, 
   itemsDeleted?, 
   errors?, 
   fieldConstraintsPerItem?): ItemsPatchInexhaustive

Parameters

ParameterTypeDescription
itemsMap<string, SerializedFields>Items to be added or changed in the collection. Mapping from item serialized primary key to the sparse patch of the item. See FormattedPrimaryKey.forItem.
itemsDeleted?string[]Items to remove from the collection, based on the same primary key algorithm.
errors?Map<string, SerializedLucidDictionary>-
fieldConstraintsPerItem?Map<string, Map<string, FieldConstraintDefinition[]>>-

Returns

ItemsPatchInexhaustive


Properties

errors?

optional errors: Map<string, SerializedLucidDictionary>;

fieldConstraintsPerItem?

optional fieldConstraintsPerItem: Map<string, Map<string, FieldConstraintDefinition[]>>;

items

items: Map<string, SerializedFields>;

Items to be added or changed in the collection. Mapping from item serialized primary key to
the sparse patch of the item. See FormattedPrimaryKey.forItem.


itemsDeleted?

optional itemsDeleted: string[];

Items to remove from the collection, based on the same primary key algorithm.