Type alias TreeNodeInfo

TreeNodeInfo: {
    attributes?: object;
    children: TreeNodeInfo[];
    depth: number;
    id: string;
    index?: number;
    insNext?: string;
    insPrev?: string;
    isRemoved: boolean;
    parent?: string;
    path?: number[];
    pos?: CRDTTreePosStruct;
    removedAt?: string;
    size: number;
    type: string;
    value?: string;
}

TreeNodeInfo represents the crdt tree node information in devtools.

Type declaration

  • Optional attributes?: object
  • children: TreeNodeInfo[]
  • depth: number
  • id: string
  • Optional index?: number
  • Optional insNext?: string
  • Optional insPrev?: string
  • isRemoved: boolean
  • Optional parent?: string
  • Optional path?: number[]
  • Optional pos?: CRDTTreePosStruct
  • Optional removedAt?: string
  • size: number
  • type: string
  • Optional value?: string