import { OpsTask } from '../../entities/ops-task.entity';

export interface TaskFilters {
  status?: string;
  type?: string;
  createdBy?: string;
  targetServerId?: string;
}

export interface TaskRepositoryPort {
  findById(id: string): Promise<OpsTask | null>;
  findAll(filters?: TaskFilters): Promise<OpsTask[]>;
  save(task: OpsTask): Promise<OpsTask>;
  updateStatus(taskId: string, status: string): Promise<void>;
}
