Type Alias AddDataStorageOperation

Adds value to the current value of the key, if both the current value and value are arrays then value will be appended to the current value.

DataStorageOperation for all possible operation subtypes.

type AddDataStorageOperation = {
    operation: "add";
    value: number | JSONSerializable[];
}
Index
operation: "add"
value: number | JSONSerializable[]

A value for the operation to apply against the current data storage value.