For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/ICollectionTreeEntry.md.

Interface: ICollectionTreeEntry experimental

Beta

Properties

id

readonly id: string

Beta

Remarks

Unique identifier for the entry.


index

readonly index: number

Beta

Remarks

Index of the entry in the folder


parent

readonly parent: ICollectionTreeFolder

Beta

Remarks

Parent folder of the entry.


selected

readonly selected: boolean

Beta

Remarks

Selected state of the entry

Methods

addDropdownItem()

addDropdownItem(params): ICollectionTreeEntryDropdownItem

Beta

Parameters

params

ICollectionTreeEntryDropdownItemParams

Returns

ICollectionTreeEntryDropdownItem

Remarks

Adds a dropdown item to the entry


addNumberItem()

addNumberItem(params): ICollectionTreeEntryNumberItem

Beta

Parameters

params

ICollectionTreeEntryNumberItemParams

Returns

ICollectionTreeEntryNumberItem

Remarks

Adds a number item to the entry


addStringItem()

addStringItem(params): ICollectionTreeEntryStringItem

Beta

Parameters

params

ICollectionTreeEntryStringItemParams

Returns

ICollectionTreeEntryStringItem

Remarks

Adds a string item to the entry


getItemByIndex()

getItemByIndex(index): ICollectionTreeEntryItem | undefined

Beta

Parameters

index

number

Index of the entry item

Returns

ICollectionTreeEntryItem | undefined

Remarks

Gets the tree entry item by index


setColor()

setColor(color): void

Beta

Parameters

color

any

Returns

void

Remarks

Set color associated with the entry


setSelected()

setSelected(selected): void

Beta

Parameters

selected

boolean

New selected state

Returns

void

Remarks

Set selected state of the entry.