Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-vfs / server / syncAppRegistryEntry

Function: syncAppRegistryEntry()

syncAppRegistryEntry(db, workspace, branchName, appPath, action): Promise<void>

Defined in: packages/fireflow-vfs/src/steps/app-registry-sync.ts:38

Sync a single app registry entry from a VFS manifest change.

Parameters

db

DB

Database connection

workspace

Workspace

Workspace containing the app

branchName

string

Branch where the change occurred

appPath

string

Path to the .ffapp folder (e.g. 'hello/files-tree.ffapp')

action

'upsert' for created/modified, 'delete' for removed

"delete" | "upsert"

Returns

Promise<void>

Licensed under BUSL-1.1