UNPKG

@grafana/alerting

Version:

Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution

17 lines (14 loc) 606 B
import { http, HttpResponse } from 'msw'; import { API_GROUP, API_VERSION } from '@grafana/api-clients/rtkq/notifications.alerting/v0alpha1'; import { getAPIBaseURLForMocks } from '../../../../../../mocks/util.mjs'; "use strict"; function deletecollectionReceiverHandler(data) { return http.delete(getAPIBaseURLForMocks(API_GROUP, API_VERSION, "/receivers"), function handler(info) { if (typeof data === "function") { return data(info); } return HttpResponse.json(data); }); } export { deletecollectionReceiverHandler }; //# sourceMappingURL=deletecollectionReceiverHandler.mjs.map