ui-nyla/src/hooks/usePlayground.ts
2026-03-17 22:51:36 +01:00

24 lines
456 B
TypeScript

export type {
Workflow,
WorkflowMessage,
WorkflowLog,
StartWorkflowRequest,
StartWorkflowResponse,
ChatDataResponse
} from '../api/workflowApi';
export interface UserInputRequest {
input: string;
files?: any[];
metadata?: Record<string, any>;
}
export interface WorkflowFile {
id: string;
fileId: string;
fileName: string;
fileSize: number;
mimeType: string;
messageId?: string;
source?: 'user_uploaded' | 'ai_created';
}