24 lines
456 B
TypeScript
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';
|
|
}
|