@grafana/alerting
Version:
Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution
9 lines (6 loc) • 361 B
JavaScript
import { config } from '@grafana/runtime';
const getAPINamespace = () => config.namespace;
const getAPIBaseURL = (group, version) => `/apis/${group}/${version}/namespaces/${getAPINamespace()}`;
const getAPIReducerPath = (group, version) => `${group}/${version}`;
export { getAPIBaseURL, getAPINamespace, getAPIReducerPath };
//# sourceMappingURL=util.mjs.map