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 @@
// Services & Utils
import { getBackendSrv } from 'app/core/services/backend_srv';
import { getBackendSrv } from '@grafana/runtime';
import { actionCreatorFactory, noPayloadActionCreatorFactory } from 'app/core/redux';
import { createSuccessNotification } from 'app/core/copy/appNotification';