Skip to content

Commit

Permalink
Merge branch 'expression-error-kibana-theme-provider' into expression…
Browse files Browse the repository at this point in the history
…-metric-kibana-theme-provider
  • Loading branch information
Kuznietsov committed Dec 1, 2021
2 parents 057d34b + 3d1dc4c commit 52025c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,5 @@
* Side Public License, v 1.
*/

import { getErrorRenderer, errorRendererFactory } from './error_renderer';
import { getDebugRenderer, debugRendererFactory } from './debug_renderer';

export const renderers = [getErrorRenderer, getDebugRenderer];
export const rendererFactories = [errorRendererFactory, debugRendererFactory];

export { errorRendererFactory, getErrorRenderer, debugRendererFactory, getDebugRenderer };
export { getErrorRenderer, errorRendererFactory } from './error_renderer';
export { getDebugRenderer, debugRendererFactory } from './debug_renderer';
11 changes: 7 additions & 4 deletions src/plugins/expression_error/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* Side Public License, v 1.
*/

// TODO: https://github.com/elastic/kibana/issues/110893
/* eslint-disable @kbn/eslint/no_export_all */

import { ExpressionErrorPlugin } from './plugin';

export type { ExpressionErrorPluginSetup, ExpressionErrorPluginStart } from './plugin';
Expand All @@ -17,5 +14,11 @@ export function plugin() {
return new ExpressionErrorPlugin();
}

export * from './expression_renderers';
export {
getErrorRenderer,
getDebugRenderer,
errorRendererFactory,
debugRendererFactory,
} from './expression_renderers';

export { LazyDebugComponent, LazyErrorComponent } from './components';

0 comments on commit 52025c9

Please sign in to comment.