@meshwatch/backend-core
Version:
Meshwatch backend core services.
21 lines (20 loc) • 1.71 kB
TypeScript
import { Boom } from '@meshwatch/types';
import { Dictionary } from 'lodash';
import { ServiceResponse } from '../../src/shared/services';
export declare const UNAUTHORIZED_SERVICE_RESPONSE: {
statusCode: number;
body: {
statusCode: number;
error: string;
message: string;
};
};
export declare const missingMonitorServiceResponse: (monitorId: string) => ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const updateMonitorValidationError: (additionalErrors?: Dictionary<string>) => ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const createMonitorValidationError: (additionalErrors?: Dictionary<string>) => ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const CREATE_CERTIFICATE_MONITOR_VALIDATION_ERROR: ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const CREATE_HTTPS_MONITOR_VALIDATION_ERROR: ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const CREATE_LATENCY_MONITOR_VALIDATION_ERROR: ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const UPDATE_CERTIFICATE_MONITOR_VALIDATION_ERROR: ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const UPDATE_HTTPS_MONITOR_VALIDATION_ERROR: ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;
export declare const UPDATE_LATENCY_MONITOR_VALIDATION_ERROR: ServiceResponse<Boom<import("@meshwatch/types/dist/common").Dictionary<string>>>;