From fe853eb7df1e4195622d02aed5ea53348c7b0f12 Mon Sep 17 00:00:00 2001 From: Matt Kime Date: Thu, 29 Jul 2021 14:07:30 -0500 Subject: [PATCH] use IndexPattern instead of IIndexPattern --- .../data/common/index_patterns/index_pattern.stub.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/data/common/index_patterns/index_pattern.stub.ts b/src/plugins/data/common/index_patterns/index_pattern.stub.ts index 3f6a4f708f288..9c3933ba3137e 100644 --- a/src/plugins/data/common/index_patterns/index_pattern.stub.ts +++ b/src/plugins/data/common/index_patterns/index_pattern.stub.ts @@ -6,18 +6,18 @@ * Side Public License, v 1. */ -import { IIndexPattern } from '.'; +import { IndexPattern } from '.'; import { stubFields } from './field.stub'; -export const stubIndexPattern: IIndexPattern = { +export const stubIndexPattern = { id: 'logstash-*', fields: stubFields, title: 'logstash-*', timeFieldName: '@timestamp', getTimeField: () => ({ name: '@timestamp', type: 'date' }), -}; +} as IndexPattern; -export const stubIndexPatternWithFields: IIndexPattern = { +export const stubIndexPatternWithFields = { id: '1234', title: 'logstash-*', fields: [ @@ -30,4 +30,4 @@ export const stubIndexPatternWithFields: IIndexPattern = { searchable: true, }, ], -}; +} as IndexPattern;