diff --git a/x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts b/x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts index 0c053d0d34138..bcb783694984b 100644 --- a/x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts +++ b/x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts @@ -43,7 +43,7 @@ export interface ManageScopeInit extends Partial { id: SourcererScopeName; } -export type SourcererScopeById = Record; +export type SourcererScopeById = Record; export interface KibanaDataView { /** Uniquely identifies a Kibana Index Pattern */ @@ -65,16 +65,7 @@ export interface SourcererModel { sourcererScopes: SourcererScopeById; } -export const initSourcererScope: Pick< - ManageScope, - | 'browserFields' - | 'docValueFields' - | 'errorMessage' - | 'indexPattern' - | 'indicesExist' - | 'loading' - | 'selectedPatterns' -> = { +export const initSourcererScope: Omit = { browserFields: EMPTY_BROWSER_FIELDS, docValueFields: EMPTY_DOCVALUE_FIELD, errorMessage: null,