Packages > @fluidframework/tree > TreeStatus

TreeStatus

Status of the tree that a particular node belongs to.

Signature

export declare enum TreeStatus

Flags

Flag Description
Deleted Is removed and cannot be added back to the original document tree.
InDocument Is parented under the root field.
New Is created but has not yet been inserted into the tree.
Removed Is not parented under the root field, but can be added back to the original document tree.

Deleted

Is removed and cannot be added back to the original document tree.

Signature

Deleted = 2

InDocument

Is parented under the root field.

Signature

InDocument = 0

New

Is created but has not yet been inserted into the tree.

Signature

New = 3

Removed

Is not parented under the root field, but can be added back to the original document tree.

Signature

Removed = 1