Skip to content

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

Variable: ManifestSchema

const ManifestSchema: ZodObject<{ createdAt: ZodString; description: ZodOptional<ZodString>; flowId: ZodString; name: ZodString; type: ZodLiteral<"fflow">; updatedAt: ZodString; version: ZodString; }, "strip", ZodTypeAny, { createdAt: string; description?: string; flowId: string; name: string; type: "fflow"; updatedAt: string; version: string; }, { createdAt: string; description?: string; flowId: string; name: string; type: "fflow"; updatedAt: string; version: string; }>

Defined in: packages/fireflow-types/src/flow/manifest.ts:23

ManifestSchema - Schema for manifest.json in .fflow/ folder packages

The manifest contains metadata about a flow stored in VFS-native format:

  • type: Always 'fflow' to identify the package type
  • version: Schema version for future migrations
  • flowId: Unique flow identifier (FLW_xxx format)
  • name: Human-readable flow name
  • description: Optional flow description
  • createdAt: ISO datetime string when flow was created
  • updatedAt: ISO datetime string when flow was last modified

Licensed under BUSL-1.1