mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
plugins: expose dashboard impression store
This commit is contained in:
@@ -13,7 +13,8 @@ import * as datemath from 'app/core/utils/datemath';
|
|||||||
import * as fileExport from 'app/core/utils/file_export';
|
import * as fileExport from 'app/core/utils/file_export';
|
||||||
import * as flatten from 'app/core/utils/flatten';
|
import * as flatten from 'app/core/utils/flatten';
|
||||||
import * as ticks from 'app/core/utils/ticks';
|
import * as ticks from 'app/core/utils/ticks';
|
||||||
import builtInPlugins from './buit_in_plugins';
|
import {impressions} from 'app/features/dashboard/impression_store';
|
||||||
|
import builtInPlugins from './built_in_plugins';
|
||||||
import d3 from 'vendor/d3/d3';
|
import d3 from 'vendor/d3/d3';
|
||||||
|
|
||||||
// rxjs
|
// rxjs
|
||||||
@@ -67,6 +68,12 @@ exposeToPlugin('rxjs/Subject', Subject);
|
|||||||
exposeToPlugin('rxjs/Observable', Observable);
|
exposeToPlugin('rxjs/Observable', Observable);
|
||||||
exposeToPlugin('d3', d3);
|
exposeToPlugin('d3', d3);
|
||||||
|
|
||||||
|
exposeToPlugin('app/features/dashboard/impression_store', {
|
||||||
|
impressions: impressions,
|
||||||
|
__esModule: true
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
exposeToPlugin('app/plugins/sdk', sdk);
|
exposeToPlugin('app/plugins/sdk', sdk);
|
||||||
exposeToPlugin('app/core/utils/datemath', datemath);
|
exposeToPlugin('app/core/utils/datemath', datemath);
|
||||||
exposeToPlugin('app/core/utils/file_export', fileExport);
|
exposeToPlugin('app/core/utils/file_export', fileExport);
|
||||||
|
|||||||
Reference in New Issue
Block a user