mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 20:32:19 +08:00
13 lines
388 B
TypeScript
13 lines
388 B
TypeScript
import { createApi } from '@reduxjs/toolkit/query/react';
|
|
|
|
import { createBaseQuery } from '../../../api/createBaseQuery';
|
|
import { getAPIBaseURL } from '../../../api/utils';
|
|
|
|
export const BASE_URL = getAPIBaseURL('iam.grafana.app', 'v0alpha1');
|
|
|
|
export const iamApi = createApi({
|
|
baseQuery: createBaseQuery({ baseURL: BASE_URL }),
|
|
reducerPath: 'iamAPI',
|
|
endpoints: () => ({}),
|
|
});
|