@meshwatch/backend-core
Version:
Meshwatch backend core services.
17 lines (16 loc) • 862 B
TypeScript
import { Pagination } from '../api';
import { MonitorStorage } from '../models';
import { LatencyCheckStorage } from '../models/monitor-check/latency';
import { LatencyRow } from '../models/monitor-check/latency/types';
import { ServiceResponse } from '../types';
import BaseService from './base';
export declare class LatencyCheckService extends BaseService {
private latencyCheckStorage;
private monitorStorage;
constructor(latencyCheckStorage?: LatencyCheckStorage, monitorStorage?: MonitorStorage);
getLatencyChecks: (userId: string, monitorId: string, pagination?: Pagination) => Promise<ServiceResponse<LatencyRow[] | import("@meshwatch/types").Boom<Partial<undefined & {
non_field_errors?: string | undefined;
}>>>>;
}
declare const latencyCheckService: LatencyCheckService;
export default latencyCheckService;