Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / / TreeNode

Interface: TreeNode

Defined in: packages/fireflow-vfs/src/types/entry.ts:42

Tree node with children for hierarchical display

Extends

Properties

checksum?

optional checksum: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:34

Content checksum

Inherited from

VFSTreeEntry.checksum


children?

optional children: TreeNode[]

Defined in: packages/fireflow-vfs/src/types/entry.ts:44

Child nodes (populated when expanded)


hasMoreChildren?

optional hasMoreChildren: boolean

Defined in: packages/fireflow-vfs/src/types/entry.ts:46

True if there are more children to load (pagination)


isLoading?

optional isLoading: boolean

Defined in: packages/fireflow-vfs/src/types/entry.ts:48

True if children are currently being loaded


mimeType?

optional mimeType: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:32

MIME type

Inherited from

VFSTreeEntry.mimeType


mtime?

optional mtime: number

Defined in: packages/fireflow-vfs/src/types/entry.ts:36

Modification time (Unix timestamp in milliseconds)

Inherited from

VFSTreeEntry.mtime


name

name: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:26

File or directory name

Inherited from

VFSTreeEntry.name


path

path: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:24

Path within workspace (without ff:// prefix)

Inherited from

VFSTreeEntry.path


size?

optional size: number

Defined in: packages/fireflow-vfs/src/types/entry.ts:30

Size in bytes (files only)

Inherited from

VFSTreeEntry.size


type

type: VFSEntryType

Defined in: packages/fireflow-vfs/src/types/entry.ts:28

Entry type

Inherited from

VFSTreeEntry.type


uri

uri: string

Defined in: packages/fireflow-vfs/src/types/entry.ts:22

ff:// URI format

Inherited from

VFSTreeEntry.uri

Licensed under BUSL-1.1