Change: {
    id: string | null;
    type: "clear" | "remove" | "save";
}

A state database change.

Type declaration

  • id: string | null

    The key of the database item that was changed.

    Notes

    This field is set to null for global changes (i.e. clear).

  • type: "clear" | "remove" | "save"

    The type of change.