mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Data cleanup] unify serializable state (#107745)
* Use Serializable from package * Rename to align with core * fix * more replacements * docssss * fix * Move it to @kbn/utility-types and remove core export * buildy build * tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
eca7146a9f
commit
204efae5bf
178 changed files with 759 additions and 927 deletions
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { JsonObject } from '@kbn/common-utils';
|
||||
import { JsonObject } from '@kbn/utility-types';
|
||||
|
||||
import type { IEsSearchResponse } from '../../../../../../../../src/plugins/data/common';
|
||||
import type { Ecs } from '../../../../ecs';
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { JsonObject } from '@kbn/common-utils';
|
||||
import { JsonObject } from '@kbn/utility-types';
|
||||
|
||||
import { IEsSearchResponse } from '../../../../../../../../src/plugins/data/common';
|
||||
import { Inspect, Maybe } from '../../../common';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* 2.0; you may not use this file except in compliance with the Elastic License
|
||||
* 2.0.
|
||||
*/
|
||||
import { JsonObject } from '@kbn/common-utils';
|
||||
import { JsonObject } from '@kbn/utility-types';
|
||||
|
||||
import { DslQuery, Filter } from '@kbn/es-query';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import { isEmpty, isString, flow } from 'lodash/fp';
|
||||
import { JsonObject } from '@kbn/common-utils';
|
||||
import { JsonObject } from '@kbn/utility-types';
|
||||
import { EsQueryConfig, Filter, Query } from '@kbn/es-query';
|
||||
|
||||
import { esQuery, esKuery, IIndexPattern } from '../../../../../../../src/plugins/data/public';
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { JsonObject } from '@kbn/common-utils';
|
||||
import { JsonObject } from '@kbn/utility-types';
|
||||
import { DocValueFields } from '../../../../../../common/search_strategy';
|
||||
|
||||
export const buildTimelineDetailsQuery = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue