Add a @grafana/runtime package with backendSrv interface (#16533)

grafana-runtime/tsconfig.json imports query to avoid a build error  ¯\_(ツ)_/¯
This commit is contained in:
Ryan McKinley
2019-06-03 17:55:59 +02:00
committed by GitHub
parent b7a9533476
commit 96ba32d0c8
46 changed files with 255 additions and 74 deletions

View File

@@ -1,5 +1,5 @@
import { ThunkAction } from 'redux-thunk';
import { getBackendSrv } from 'app/core/services/backend_srv';
import { getBackendSrv } from '@grafana/runtime';
import { StoreState, Team, TeamGroup, TeamMember } from 'app/types';
import { updateNavIndex, UpdateNavIndexAction } from 'app/core/actions';
import { buildNavModel } from './navModel';