Skip to content

Commit

Permalink
👌 Use data plugin range definition
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Sep 22, 2020
1 parent 40deac1 commit 4cfa4e6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ import React from 'react';
import { i18n } from '@kbn/i18n';
import { EuiForm } from '@elastic/eui';

import { RangeType, UI_SETTINGS } from '../../../../../../../../src/plugins/data/common';
import { UI_SETTINGS } from '../../../../../../../../src/plugins/data/common';
import { Range } from '../../../../../../../../src/plugins/expressions/common/expression_types/index';
import { RangeEditor } from './range_editor';
import { OperationDefinition } from '../index';
import { FieldBasedIndexPatternColumn } from '../column_types';
import { updateColumnParam, changeColumn } from '../../../state_helpers';
import { MODES, AUTO_BARS, DEFAULT_INTERVAL, MIN_HISTOGRAM_BARS, SLICES } from './constants';

type RangeType = Omit<Range, 'type'>;
export type RangeTypeLens = RangeType & { label: string };

export type MODES_TYPES = typeof MODES[keyof typeof MODES];
Expand Down

0 comments on commit 4cfa4e6

Please sign in to comment.