Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / server / FlowStoreForHook

Interface: FlowStoreForHook

Defined in: packages/fireflow-vfs/src/workflows/hooks/flow-hook.ts:15

Flow store interface for creating flows This matches the flowStore interface from fireflow-trpc

Properties

createFlow()

createFlow: (input) => Promise<{ metadata: { id?: string; }; }>

Defined in: packages/fireflow-vfs/src/workflows/hooks/flow-hook.ts:16

Parameters

input
createdAt

Date

description?

string

forkRule?

Record<string, unknown>

name

string

ownerID

string

schemaVersion

string

tags?

string[]

updatedAt

Date

Returns

Promise<{ metadata: { id?: string; }; }>

Licensed under BUSL-1.1