Skip to content

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

Type Alias: TreeOperation

TreeOperation = { node: TreeNode; op: "add"; } | { op: "remove"; path: string; } | { fromPath: string; node: TreeNode; op: "move"; toPath: string; } | { op: "update"; path: string; updates: Partial<TreeNode>; }

Defined in: packages/fireflow-vfs/src/types/events.ts:56

Unified tree operation for incremental state updates Frontend can apply these directly to $subscriptionTree

Licensed under BUSL-1.1