import { BaseResponse } from '@/types/base';

// 日志事件类型
export type LogEventType = 'STDOUT' | 'STDERR';

// 日志数据接口
export interface ILogData {
  type: LogEventType;
  data: string;
  timestamp: string;
}

// 日志流状态
export interface ILogStreamState {
  logs: ILogData[];
  isConnected: boolean;
  error?: string;
} 