Skip to content

Commit

Permalink
fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Nov 20, 2020
1 parent 724e7c3 commit cc902e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import { EuiFieldNumber } from '@elastic/eui';
import { FormattedIndexPatternColumn, ReferenceBasedIndexPatternColumn } from '../column_types';
import { IndexPatternLayer } from '../../../types';
import { checkForDateHistogram, dateBasedOperationToExpression, hasDateField } from './utils';
import { updateColumnParam } from '../..';
import { updateColumnParam } from '../../layer_helpers';
import { useDebounceWithOptions } from '../helpers';
import { OperationDefinition, ParamEditorProps } from '..';
import type { OperationDefinition, ParamEditorProps } from '..';

const ofName = (name: string) => {
return i18n.translate('xpack.lens.indexPattern.movingAverageOf', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,18 @@ describe('getOperationTypesForField', () => {
"operationType": "cumulative_sum",
"type": "fullReference",
},
Object {
"operationType": "counter_rate",
"type": "fullReference",
},
Object {
"operationType": "derivative",
"type": "fullReference",
},
Object {
"operationType": "moving_average",
"type": "fullReference",
},
Object {
"field": "bytes",
"operationType": "sum",
Expand Down

0 comments on commit cc902e2

Please sign in to comment.