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/types/ICollectionTreeFolderOptions.md.

Type Alias: ICollectionTreeFolderOptions experimental

ICollectionTreeFolderOptions = object

Beta

Contains collection folders and entries

Properties

action?

optional action?: ICollectionTreeFolderHeaderActionParams


color?

optional color?: RGBA


expanded?

optional expanded?: boolean


optional menu?: IMenuCreationParams[]


onBeforeEntryRemoved?

optional onBeforeEntryRemoved?: (entry) => boolean

Parameters

entry

ICollectionTreeEntry

Returns

boolean


onBeforeRemoved?

optional onBeforeRemoved?: (folder) => boolean

Parameters

folder

ICollectionTreeFolder

Returns

boolean


onMenuClicked?

optional onMenuClicked?: (menuId, folder) => void

Parameters

string

folder

ICollectionTreeFolder

Returns

void


onSelectedChange?

optional onSelectedChange?: (selected, folder) => void

Parameters

selected

boolean

folder

ICollectionTreeFolder

Returns

void


removable?

optional removable?: boolean


selectable?

optional selectable?: boolean


selected?

optional selected?: boolean


title?

optional title?: LocalizedString


uniqueId?

optional uniqueId?: string


userData?

optional userData?: unknown


visible?

optional visible?: boolean