Overview
The Folder node provides hierarchical organization within a space. Folders can contain pages, databases, files, and other folders. They support different layout modes for displaying their contents.Attributes Schema
Must be
'folder'The name of the folder
Optional avatar URL or emoji for the folder
ID of the parent node (typically a space or another folder)
Display layout for the folder’s contents
'grid': Grid view'list': List view'gallery': Gallery view for visual content
Fractional index for ordering folders among siblings
Permissions
canCreate
Rules:- Tree must not be empty (cannot create at root)
- User must have at least
'member'role in the parent space/folder
/home/daytona/workspace/source/packages/core/src/registry/nodes/folder.ts:25-40
canUpdateAttributes
Rules:- Tree must not be empty
- User must have at least
'member'role
/home/daytona/workspace/source/packages/core/src/registry/nodes/folder.ts:41-56
canUpdateDocument
Rules:- Always returns
false(folders do not have documents)
canDelete
Rules:- Tree must not be empty
- User must have
'admin'role
/home/daytona/workspace/source/packages/core/src/registry/nodes/folder.ts:60-75
canReact
Rules:- Always returns
false(folders cannot be reacted to)
Document Schema
Folders do not support documents.Text Extraction
Mentions
Folders do not support mentions. Always returns[].