export interface Service {
  id: string;
  name: string;
  scriptPath: string;
  healthUrl: string;
  repoPath: string;
  status: 'up' | 'down' | 'degraded';
  version: string;
  lastDeployedAt?: string;
  lastHealthCheckAt?: string;
  productId: string;
}

export interface Deployment {
  id: string;
  serviceId: string;
  version: string;
  status: 'running' | 'success' | 'failed';
  logs: string;
  triggeredBy: string;
  triggeredAt: string;
  completedAt?: string;
  productId: string;
}

export interface ServiceHealth {
  serviceId: string;
  status: 'up' | 'down' | 'degraded';
  responseTime?: number;
  lastCheck: string;
}
