Skip to content

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

Function: buildActionContext()

buildActionContext(node, nodes, userPermission): ActionContext

Defined in: packages/fireflow-vfs/src/services/action-resolver.ts:224

Build action context from a tree node

Parameters

node

TreeNode | null

nodes

TreeNode[] | undefined

userPermission

"read" | "write" | "admin"

Returns

ActionContext

Licensed under BUSL-1.1