Commit 90ef877e by Daniel Lee

plugins: expose dashboard impression store

parent 1d7a0db5
...@@ -13,7 +13,8 @@ import * as datemath from 'app/core/utils/datemath'; ...@@ -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); ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment