import type { StatusPage } from "@/domain/status-pages/status-page.type.js"; export interface IStatusPagesRepository { // create create(userId: string, teamId: string, image: Express.Multer.File | undefined, data: Partial): Promise; // single fetch findByUrl(url: string): Promise; findByTeamId(teamId: string): Promise; // collection fetch // update updateById(id: string, teamId: string, image: Express.Multer.File | undefined, data: Partial): Promise; // delete deleteById(id: string, teamId: string): Promise; // other removeMonitorFromStatusPages(monitorId: string): Promise; }