import type { MaintenanceWindow } from "@/types/index.js"; export interface IMaintenanceWindowsRepository { // create create(data: Partial): Promise; // fetch findById(id: string, teamId: string): Promise; findByMonitorId(monitorId: string, teamId: string): Promise; findByTeamId(teamId: string, active: boolean, page: number, rowsPerPage: number, field: string, order: string): Promise; // update updateById(id: string, teamId: string, data: Partial): Promise; // delete deleteById(id: string, teamId: string): Promise; // other countByTeamId(teamId: string, active: boolean): Promise; }