Skip to main content

DirtyTreeStatus TypeAlias

The status of a node in a that has been tracked for changes.

This API is provided as an alpha preview and may change without notice.

To use, import via fluid-framework/alpha.

For more information about our API support guarantees, see here.

Signature

export type DirtyTreeStatus = "new" | "changed" | "moved";

Remarks

Nodes can be marked "new", "changed", or "moved", with "new" taking precedence over "changed" and "changed" taking precedence over "moved". * "new": The node was added. * "changed": A direct child was updated, added, removed, or moved (and the node is not "new"). * "moved": The node was moved between/within arrays (and the node is not "new" or "changed").