Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / FlowRefSchema

Variable: FlowRefSchema

const FlowRefSchema: ZodObject<{ path: ZodString; ref: ZodDefault<ZodOptional<ZodString>>; workspaceId: ZodString; }, "strip", ZodTypeAny, { path: string; ref: string; workspaceId: string; }, { path: string; ref?: string; workspaceId: string; }>

Defined in: packages/fireflow-types/src/flow/flow-ref.ts:19

FlowRef - Path-based addressing for flows stored in VFS

Enables referencing flows by their location in the VFS:

  • workspaceId: The workspace containing the flow
  • ref: Git branch, tag, or commit (defaults to 'main')
  • path: Path to the .fflow folder within the workspace

Licensed under BUSL-1.1