Type alias DataTransform<T>

DataTransform<T>: {
    contents: Content<T> | null;
    type: "cancel" | "clear" | "merge" | "overwrite";
}

A data transformation that can be applied to a state database.

Type Parameters

  • T extends ReadonlyPartialJSONValue = ReadonlyPartialJSONValue

Type declaration

  • contents: Content<T> | null

    The contents of the change operation.

  • type: "cancel" | "clear" | "merge" | "overwrite"