Skip to content

Commit

Permalink
registering with expression service
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Jul 1, 2020
1 parent 5a3b812 commit 7c93fc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
* under the License.
*/

export * from './index_pattern';
export * from './load_index_pattern';
2 changes: 2 additions & 0 deletions src/plugins/data/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ import {
ValueClickActionContext,
} from './actions/value_click_action';
import { SavedObjectsClientPublicToCommon } from './index_patterns';
import { indexPatternLoad } from './index_patterns/expressions/load_index_pattern';

declare module '../../ui_actions/public' {
export interface ActionContextMapping {
Expand Down Expand Up @@ -126,6 +127,7 @@ export class DataPublicPlugin implements Plugin<DataPublicPluginSetup, DataPubli
};

expressions.registerFunction(esaggs);
expressions.registerFunction(indexPatternLoad);

const queryService = this.queryService.setup({
uiSettings: core.uiSettings,
Expand Down

0 comments on commit 7c93fc4

Please sign in to comment.