Skip to content

Commit

Permalink
fix static dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Oct 7, 2020
1 parent 604afd3 commit 7041ddb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { expandShorthand } from './mapping_setup';
import { ES_FIELD_TYPES } from '../../../../../data/common';
import { ES_FIELD_TYPES } from '../../../../../data/public';

describe('mapping_setup', () => {
it('allows shortcuts for field types by just setting the value to the type name', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { mapValues, isString } from 'lodash';
import { FieldMappingSpec, MappingObject } from './types';

// import from ./common/types to prevent circular dependency of kibana_utils <-> data plugin
import { ES_FIELD_TYPES } from '../../../../../data/common/types';
import { ES_FIELD_TYPES } from '../../../../../data/public';

/** @private */
type ShorthandFieldMapObject = FieldMappingSpec | ES_FIELD_TYPES | 'json';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { ES_FIELD_TYPES } from '../../../../../data/common';
import { ES_FIELD_TYPES } from '../../../../../data/public';

/** @public */
export interface FieldMappingSpec {
Expand Down

0 comments on commit 7041ddb

Please sign in to comment.