This commit is contained in:
Alex Holliday committed 2026-01-21 23:26:13 +00:00
1 parent 82cc289f53
commit 9962866ba5
10 files changed
+218 -107

No files matched your search

@@ -1 +1,14 @@
export interface IMaintenanceWindowsRepository {}
import type { MaintenanceWindow } from "@/types/index.js";
export interface IMaintenanceWindowsRepository {
// create
create(data: Partial<MaintenanceWindow>): Promise<MaintenanceWindow>;
// fetch
findById(id: string, teamId: string): Promise<MaintenanceWindow>;
findByTeamId(teamId: string, active: boolean, page: number, rowsPerPage: number, field: string, order: string): Promise<MaintenanceWindow[]>;
// update
// delete
// other
countByTeamId(teamId: string, active: boolean): Promise<number>;
}