/**
 * 服务配置
 */
export interface ServiceConfig {
  id: string;
  name: string;
  type: string;
  version: string;
  description?: string;
  dependencies?: string[];
  startupOrder?: number;
  autoStart?: boolean;
  maxRestarts?: number;
  restartDelay?: number;
}

/**
 * 服务状态
 */
export interface ServiceStatus {
  status: 'RUNNING' | 'STOPPED' | 'ERROR' | 'UNKNOWN';
  lastCheck: Date;
}

/**
 * 服务健康检查结果
 */
export interface ServiceHealthCheck {
  serviceId: string;
  status: 'HEALTHY' | 'UNHEALTHY' | 'ERROR';
  message: string;
  timestamp: Date;
}
