@teamflojo/floimg-studio-shared
v0.11.0
Published
Shared types and utilities for FloImg Studio
Readme
@teamflojo/floimg-studio-shared
Shared TypeScript types for FloImg Studio frontend and backend.
Installation
npm install @teamflojo/floimg-studio-sharedUsage
import type {
StudioNode,
StudioEdge,
StudioWorkflow,
ExecutionResult,
NodeDefinition,
} from "@teamflojo/floimg-studio-shared";Exports
Node Types
StudioNode— A node in the visual editorStudioEdge— A connection between nodesStudioNodeType— Node type enum:generator,transform,save,input,vision,textGeneratorNodeData,TransformNodeData,SaveNodeData,InputNodeData,VisionNodeData,TextNodeData
Workflow Types
StudioWorkflow— A complete workflow definitionGalleryTemplate— A bundled workflow template
Execution Types
ExecutionResult— Full execution resultExecutionStepResult— Result from a single stepExecutionStatus— Status enum:pending,running,completed,error,cancelled
WebSocket Events
WSEvent,WSExecutionStarted,WSExecutionStep,WSExecutionCompleted,WSExecutionError
API Types
CreateWorkflowRequest,ExecuteRequest,ExecuteResponseGenerateWorkflowRequest,GenerateWorkflowResponse— AI workflow generation
Schema Types
NodeDefinition— Node definition for the paletteParamSchema,ParamField— Parameter schemas for dynamic formsOutputSchema,OutputProperty— Output schemas for structured JSON
Related Packages
- @teamflojo/floimg-studio-ui — React components
License
MIT
