Skip to content

Commit 7041ddb

Browse files
committed
fix static dependencies
1 parent 604afd3 commit 7041ddb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/plugins/saved_objects/public/saved_object/helpers/field_mapping/mapping_setup.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
import { expandShorthand } from './mapping_setup';
21-
import { ES_FIELD_TYPES } from '../../../../../data/common';
21+
import { ES_FIELD_TYPES } from '../../../../../data/public';
2222

2323
describe('mapping_setup', () => {
2424
it('allows shortcuts for field types by just setting the value to the type name', () => {

src/plugins/saved_objects/public/saved_object/helpers/field_mapping/mapping_setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { mapValues, isString } from 'lodash';
2121
import { FieldMappingSpec, MappingObject } from './types';
2222

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

2626
/** @private */
2727
type ShorthandFieldMapObject = FieldMappingSpec | ES_FIELD_TYPES | 'json';

src/plugins/saved_objects/public/saved_object/helpers/field_mapping/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { ES_FIELD_TYPES } from '../../../../../data/common';
20+
import { ES_FIELD_TYPES } from '../../../../../data/public';
2121

2222
/** @public */
2323
export interface FieldMappingSpec {

0 commit comments

Comments
 (0)