pagination and filter fix

This commit is contained in:
Alex Holliday committed 2026-01-14 15:44:52 -08:00
1 parent cdbaad5bd9
commit 93c24d2f5c
6 files changed
+5 -45

No files matched your search

@@ -36,7 +36,6 @@ export interface IMonitorService {
field?: string;
order?: "asc" | "desc";
}): Promise<any>;
getMonitorsAndSummaryByTeamId(args: { teamId: string; type?: string | string[]; explain?: boolean }): Promise<any>;
getMonitorsWithChecksByTeamId(args: {
teamId: string;
limit?: number;
@@ -362,23 +361,6 @@ export class MonitorService implements IMonitorService {
return monitors;
};
getMonitorsAndSummaryByTeamId = async ({
teamId,
type,
explain,
}: {
teamId: string;
type?: string | string[];
explain?: boolean;
}): Promise<any> => {
const result = await this.db.monitorModule.getMonitorsAndSummaryByTeamId({
type,
explain,
teamId,
});
return result;
};
getMonitorsWithChecksByTeamId = async ({
teamId,
limit,