EditStatus Enum
The status code of an attempt to apply the changes in an Edit.
Signature
export declare enum EditStatus
Flags
Flag | Description |
---|---|
Applied | The edit was applied to the current view successfully. |
Invalid | The edit contained a well-formed sequence of changes that couldn't be applied to the current view, generally because concurrent changes caused one or more merge conflicts. |
Malformed | The edit contained one or more malformed changes (e.g. was missing required fields such as id ), or contained a sequence of changes that could not possibly be applied sequentially without error (e.g. an edit which tries to insert the same detached node twice). |
Applied
The edit was applied to the current view successfully.
Signature
Applied = 2
Invalid
The edit contained a well-formed sequence of changes that couldn't be applied to the current view, generally because concurrent changes caused one or more merge conflicts.
Signature
Invalid = 1
Malformed
The edit contained one or more malformed changes (e.g. was missing required fields such as id
), or contained a sequence of changes that could not possibly be applied sequentially without error (e.g. an edit which tries to insert the same detached node twice).
Signature
Malformed = 0