UNPKG

ai-ip-plugin

Version:

AI-IP Plugin for MCP Workflow Management with SSE streaming and event handling

39 lines 873 B
/** * API related type definitions */ /** API Response */ export interface APIResponse<T = any> { code: number; data: T; message?: string; } /** Fetch Response with Controller */ export interface FetchResponse { responseData: Response; controller: AbortController; } /** API Configuration */ export interface APIConfig { baseURL: string; token?: string; timeout?: number; } /** History Response Data */ export interface HistoryResponseData { history: any[]; [key: string]: any; } /** State Data Response */ export interface StateDataResponse { planner_title: string; audio_generate_details?: { results: any[]; speed: number; voice_id: string; merged_audio: string; }; polisher_content?: string; writer_content?: string; [key: string]: any; } //# sourceMappingURL=api.d.ts.map