"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDefaultLogCategorizationAppState = exports.getDefaultAiOpsListState = void 0; var _mlQueryUtils = require("@kbn/ml-query-utils"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const defaultSearchQuery = { match_all: {} }; const getDefaultAiOpsListState = overrides => ({ searchString: '', searchQuery: defaultSearchQuery, searchQueryLanguage: _mlQueryUtils.SEARCH_QUERY_LANGUAGE.KUERY, filters: [], ...overrides }); exports.getDefaultAiOpsListState = getDefaultAiOpsListState; const getDefaultLogCategorizationAppState = overrides => { return { field: undefined, ...getDefaultAiOpsListState(overrides) }; }; exports.getDefaultLogCategorizationAppState = getDefaultLogCategorizationAppState;