mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* 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> Co-authored-by: Liza Katz <lizka.k@gmail.com>
This commit is contained in:
parent
425f93ac9c
commit
32ebd0af7b
178 changed files with 759 additions and 927 deletions
|
@ -2696,7 +2696,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/charts/common/palette.ts",
|
||||
|
@ -2754,7 +2754,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/charts/common/palette.ts",
|
||||
|
|
|
@ -1137,8 +1137,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
}
|
||||
],
|
||||
"path": "src/plugins/dashboard/public/locator.ts",
|
||||
|
@ -1204,8 +1204,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
") | undefined"
|
||||
],
|
||||
|
@ -1334,8 +1334,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
") | undefined"
|
||||
],
|
||||
|
|
|
@ -241,7 +241,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -608,7 +608,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_config.ts",
|
||||
|
@ -629,7 +629,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_config.ts",
|
||||
|
@ -1274,7 +1274,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -1513,7 +1513,7 @@
|
|||
"text": "AggConfig"
|
||||
},
|
||||
">(params: Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -1544,7 +1544,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -2275,7 +2275,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined) => TAggConfig"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/param_types/agg.ts",
|
||||
|
@ -2304,7 +2304,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/param_types/agg.ts",
|
||||
|
@ -7735,7 +7735,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -7817,7 +7817,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -7867,7 +7867,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -7981,7 +7981,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8063,7 +8063,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8145,7 +8145,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8195,7 +8195,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8309,7 +8309,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8391,7 +8391,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8505,7 +8505,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8559,7 +8559,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8609,7 +8609,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8667,7 +8667,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8725,7 +8725,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8783,7 +8783,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8841,7 +8841,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8899,7 +8899,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8949,7 +8949,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -8999,7 +8999,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9053,7 +9053,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9107,7 +9107,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9157,7 +9157,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9207,7 +9207,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9257,7 +9257,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9307,7 +9307,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9357,7 +9357,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9407,7 +9407,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9461,7 +9461,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9511,7 +9511,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9561,7 +9561,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9615,7 +9615,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9665,7 +9665,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9715,7 +9715,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -9765,7 +9765,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -14393,7 +14393,7 @@
|
|||
"text": "IAggType"
|
||||
},
|
||||
"; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_config.ts",
|
||||
|
@ -14524,7 +14524,7 @@
|
|||
"text": "IndexPattern"
|
||||
},
|
||||
", configStates?: Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -14636,7 +14636,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts",
|
||||
|
@ -14675,7 +14675,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/esdsl.ts",
|
||||
|
@ -16957,7 +16957,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts",
|
||||
|
@ -23331,7 +23331,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined) => TAggConfig"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/param_types/agg.ts",
|
||||
|
@ -23360,7 +23360,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/param_types/agg.ts",
|
||||
|
@ -28487,7 +28487,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -28569,7 +28569,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -28619,7 +28619,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -28733,7 +28733,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -28815,7 +28815,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -28897,7 +28897,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -28947,7 +28947,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29061,7 +29061,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29143,7 +29143,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29257,7 +29257,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29311,7 +29311,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29361,7 +29361,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29419,7 +29419,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29477,7 +29477,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29535,7 +29535,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29593,7 +29593,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29651,7 +29651,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29701,7 +29701,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29751,7 +29751,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29805,7 +29805,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29859,7 +29859,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29909,7 +29909,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -29959,7 +29959,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30009,7 +30009,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30059,7 +30059,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30109,7 +30109,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30159,7 +30159,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30213,7 +30213,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30263,7 +30263,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30313,7 +30313,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30367,7 +30367,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30417,7 +30417,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30467,7 +30467,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -30517,7 +30517,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -32223,7 +32223,7 @@
|
|||
"text": "IAggType"
|
||||
},
|
||||
"; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_config.ts",
|
||||
|
@ -32319,7 +32319,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts",
|
||||
|
@ -34484,7 +34484,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts",
|
||||
|
|
|
@ -8602,7 +8602,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts",
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -492,8 +492,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
", collector: unknown) => {}"
|
||||
],
|
||||
|
|
|
@ -918,7 +918,7 @@
|
|||
"text": "IndexPattern"
|
||||
},
|
||||
", configStates?: Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -4174,7 +4174,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -4541,7 +4541,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_config.ts",
|
||||
|
@ -4562,7 +4562,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_config.ts",
|
||||
|
@ -5207,7 +5207,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -5446,7 +5446,7 @@
|
|||
"text": "AggConfig"
|
||||
},
|
||||
">(params: Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -5477,7 +5477,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -6208,7 +6208,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined) => TAggConfig"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/param_types/agg.ts",
|
||||
|
@ -6237,7 +6237,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/param_types/agg.ts",
|
||||
|
@ -11250,7 +11250,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">) => any"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/utils/function_wrapper.ts",
|
||||
|
@ -14925,7 +14925,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15007,7 +15007,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15057,7 +15057,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15171,7 +15171,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15253,7 +15253,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15335,7 +15335,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15385,7 +15385,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15499,7 +15499,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15581,7 +15581,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15695,7 +15695,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15749,7 +15749,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15799,7 +15799,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15857,7 +15857,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15915,7 +15915,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -15973,7 +15973,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16031,7 +16031,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16089,7 +16089,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16139,7 +16139,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16189,7 +16189,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16243,7 +16243,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16297,7 +16297,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16347,7 +16347,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16397,7 +16397,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16447,7 +16447,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16497,7 +16497,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16547,7 +16547,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16597,7 +16597,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16651,7 +16651,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16701,7 +16701,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16751,7 +16751,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16805,7 +16805,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16855,7 +16855,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16905,7 +16905,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -16955,7 +16955,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/types.ts",
|
||||
|
@ -17105,7 +17105,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts",
|
||||
|
@ -17120,7 +17120,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts",
|
||||
|
@ -17159,7 +17159,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts",
|
||||
|
@ -17174,7 +17174,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts",
|
||||
|
@ -17213,7 +17213,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts",
|
||||
|
@ -17228,7 +17228,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts",
|
||||
|
@ -17267,7 +17267,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts",
|
||||
|
@ -17282,7 +17282,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts",
|
||||
|
@ -17368,7 +17368,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts",
|
||||
|
@ -17705,7 +17705,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/derivative.ts",
|
||||
|
@ -17846,7 +17846,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts",
|
||||
|
@ -17861,7 +17861,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts",
|
||||
|
@ -18560,7 +18560,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/moving_avg.ts",
|
||||
|
@ -18773,7 +18773,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/metrics/serial_diff.ts",
|
||||
|
@ -19030,7 +19030,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/buckets/terms.ts",
|
||||
|
@ -23579,7 +23579,7 @@
|
|||
"text": "IAggType"
|
||||
},
|
||||
"; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_config.ts",
|
||||
|
@ -24032,7 +24032,7 @@
|
|||
"text": "IndexPattern"
|
||||
},
|
||||
", configStates?: Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: string | ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -24221,7 +24221,7 @@
|
|||
"text": "IAggType"
|
||||
},
|
||||
"; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; }"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/aggs/agg_configs.ts",
|
||||
|
@ -24361,7 +24361,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts",
|
||||
|
@ -24400,7 +24400,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/esdsl.ts",
|
||||
|
@ -24580,7 +24580,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/cidr.ts",
|
||||
|
@ -24643,7 +24643,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/date_range.ts",
|
||||
|
@ -24692,7 +24692,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/exists_filter.ts",
|
||||
|
@ -24755,7 +24755,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/extended_bounds.ts",
|
||||
|
@ -24810,7 +24810,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/field.ts",
|
||||
|
@ -24865,7 +24865,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts",
|
||||
|
@ -24920,7 +24920,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/geo_point.ts",
|
||||
|
@ -24983,7 +24983,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/ip_range.ts",
|
||||
|
@ -25154,7 +25154,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/kibana_filter.ts",
|
||||
|
@ -25217,7 +25217,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/timerange.ts",
|
||||
|
@ -25266,7 +25266,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/kql.ts",
|
||||
|
@ -25315,7 +25315,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/lucene.ts",
|
||||
|
@ -25378,7 +25378,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/numerical_range.ts",
|
||||
|
@ -25427,7 +25427,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/phrase_filter.ts",
|
||||
|
@ -25482,7 +25482,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/query_filter.ts",
|
||||
|
@ -25529,7 +25529,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/range.ts",
|
||||
|
@ -25578,7 +25578,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/data/common/search/expressions/range_filter.ts",
|
||||
|
@ -30138,7 +30138,7 @@
|
|||
"text": "IBucketAggConfig"
|
||||
},
|
||||
", state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; } | undefined) => ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
|
|
@ -81,8 +81,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
}
|
||||
],
|
||||
"path": "src/plugins/discover/public/locator.ts",
|
||||
|
@ -163,8 +163,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
") | undefined"
|
||||
],
|
||||
|
@ -278,8 +278,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
") | undefined"
|
||||
],
|
||||
|
|
|
@ -8095,8 +8095,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; }"
|
||||
],
|
||||
|
@ -8511,8 +8511,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => void"
|
||||
],
|
||||
|
@ -8539,8 +8539,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -9194,8 +9194,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => void"
|
||||
],
|
||||
|
@ -9222,8 +9222,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -9965,8 +9965,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; }"
|
||||
],
|
||||
|
@ -10037,16 +10037,16 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
", version: string) => ",
|
||||
{
|
||||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
}
|
||||
],
|
||||
"path": "src/plugins/embeddable/common/lib/migrate.ts",
|
||||
|
|
|
@ -350,7 +350,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts",
|
||||
|
|
|
@ -1370,7 +1370,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expression_shape/common/types/expression_functions.ts",
|
||||
|
@ -2496,7 +2496,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expression_shape/common/types/expression_functions.ts",
|
||||
|
|
|
@ -76,8 +76,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>, ",
|
||||
{
|
||||
|
@ -116,8 +116,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>, {}>"
|
||||
],
|
||||
|
@ -157,7 +157,7 @@
|
|||
"text": "ExecutionContext"
|
||||
},
|
||||
"<InspectorAdapters, ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/execution/execution.ts",
|
||||
|
@ -203,8 +203,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>"
|
||||
],
|
||||
|
@ -350,8 +350,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>"
|
||||
],
|
||||
|
@ -840,8 +840,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -1469,8 +1469,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -1851,8 +1851,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => ",
|
||||
{
|
||||
|
@ -1886,8 +1886,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -2301,16 +2301,16 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
") => ",
|
||||
{
|
||||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
"; }"
|
||||
],
|
||||
|
@ -4000,8 +4000,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -4616,8 +4616,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => ",
|
||||
{
|
||||
|
@ -4651,8 +4651,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -7709,7 +7709,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -7755,7 +7755,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -7793,7 +7793,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -7831,7 +7831,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -7869,7 +7869,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -7931,7 +7931,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -7993,7 +7993,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -8055,7 +8055,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -8117,7 +8117,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -8614,8 +8614,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -9105,7 +9105,7 @@
|
|||
"label": "searchContext",
|
||||
"description": [],
|
||||
"signature": [
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined"
|
||||
],
|
||||
"path": "src/plugins/expressions/public/types/index.ts",
|
||||
|
@ -10235,7 +10235,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -10638,8 +10638,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }"
|
||||
],
|
||||
|
@ -10786,8 +10786,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }"
|
||||
],
|
||||
|
@ -11195,8 +11195,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>; readonly fork: () => ",
|
||||
{
|
||||
|
@ -11550,8 +11550,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>, ",
|
||||
{
|
||||
|
@ -11590,8 +11590,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>, {}>"
|
||||
],
|
||||
|
@ -11631,7 +11631,7 @@
|
|||
"text": "ExecutionContext"
|
||||
},
|
||||
"<InspectorAdapters, ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/execution/execution.ts",
|
||||
|
@ -11677,8 +11677,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>"
|
||||
],
|
||||
|
@ -11824,8 +11824,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>"
|
||||
],
|
||||
|
@ -12745,8 +12745,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -13127,8 +13127,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => ",
|
||||
{
|
||||
|
@ -13162,8 +13162,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -13577,16 +13577,16 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
") => ",
|
||||
{
|
||||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
"; }"
|
||||
],
|
||||
|
@ -17443,7 +17443,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17489,7 +17489,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17527,7 +17527,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17565,7 +17565,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17603,7 +17603,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17665,7 +17665,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17727,7 +17727,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17789,7 +17789,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -17851,7 +17851,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -18962,7 +18962,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -19314,8 +19314,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }"
|
||||
],
|
||||
|
@ -19462,8 +19462,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }"
|
||||
],
|
||||
|
@ -19839,8 +19839,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>; readonly fork: () => ",
|
||||
{
|
||||
|
@ -19955,8 +19955,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>, ",
|
||||
{
|
||||
|
@ -19995,8 +19995,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>, {}>"
|
||||
],
|
||||
|
@ -20036,7 +20036,7 @@
|
|||
"text": "ExecutionContext"
|
||||
},
|
||||
"<InspectorAdapters, ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/execution/execution.ts",
|
||||
|
@ -20082,8 +20082,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>"
|
||||
],
|
||||
|
@ -20229,8 +20229,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>>>"
|
||||
],
|
||||
|
@ -20719,8 +20719,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -21348,8 +21348,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -21730,8 +21730,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => ",
|
||||
{
|
||||
|
@ -21765,8 +21765,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -22180,16 +22180,16 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
") => ",
|
||||
{
|
||||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
"; }"
|
||||
],
|
||||
|
@ -23248,8 +23248,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -23864,8 +23864,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => ",
|
||||
{
|
||||
|
@ -23899,8 +23899,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -25367,8 +25367,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>"
|
||||
],
|
||||
|
@ -25533,7 +25533,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/util/test_utils.ts",
|
||||
|
@ -25923,8 +25923,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>"
|
||||
],
|
||||
|
@ -26796,7 +26796,7 @@
|
|||
"\nany extra parameters for the source that produced this column"
|
||||
],
|
||||
"signature": [
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
|
||||
|
@ -28555,8 +28555,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined"
|
||||
],
|
||||
|
@ -29009,7 +29009,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29055,7 +29055,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29093,7 +29093,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29131,7 +29131,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29169,7 +29169,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29231,7 +29231,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29293,7 +29293,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29355,7 +29355,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29417,7 +29417,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -29882,8 +29882,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>"
|
||||
],
|
||||
|
@ -31260,7 +31260,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/types.ts",
|
||||
|
@ -31570,8 +31570,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | undefined; rawError?: any; duration: number | undefined; }"
|
||||
],
|
||||
|
@ -31640,7 +31640,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
|
||||
|
@ -31703,7 +31703,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
|
||||
|
@ -31766,7 +31766,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
|
||||
|
@ -31813,7 +31813,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
|
||||
|
@ -31876,7 +31876,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
|
||||
|
@ -31939,7 +31939,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
|
||||
|
@ -31978,7 +31978,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
|
||||
|
@ -32033,7 +32033,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts",
|
||||
|
@ -32072,7 +32072,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
|
||||
|
@ -32111,7 +32111,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
|
||||
|
@ -32271,8 +32271,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>; readonly fork: () => ",
|
||||
{
|
||||
|
@ -32380,8 +32380,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }"
|
||||
],
|
||||
|
@ -32550,8 +32550,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }"
|
||||
],
|
||||
|
@ -34874,8 +34874,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>) => ",
|
||||
{
|
||||
|
@ -34906,8 +34906,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>, \"error\" | \"info\">; }>"
|
||||
],
|
||||
|
@ -34942,8 +34942,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }>"
|
||||
],
|
||||
|
@ -36941,7 +36941,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">) => ",
|
||||
{
|
||||
"pluginId": "expressions",
|
||||
|
@ -37018,7 +37018,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
|
||||
|
@ -39666,7 +39666,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">) => any"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
|
||||
|
@ -39724,7 +39724,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
|
||||
|
@ -40146,7 +40146,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">) => any"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
|
||||
|
@ -40204,7 +40204,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
|
||||
|
@ -40409,7 +40409,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">) => unknown"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
|
||||
|
@ -40467,7 +40467,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">"
|
||||
],
|
||||
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
}
|
||||
],
|
||||
"path": "x-pack/plugins/index_lifecycle_management/public/locator.ts",
|
||||
|
|
|
@ -9150,8 +9150,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => S"
|
||||
],
|
||||
|
@ -9198,8 +9198,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -10007,8 +10007,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">) => P) | undefined"
|
||||
],
|
||||
|
@ -10037,8 +10037,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -10964,16 +10964,16 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
", version: string) => ",
|
||||
{
|
||||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
}
|
||||
],
|
||||
"path": "src/plugins/kibana_utils/common/persistable_state/types.ts",
|
||||
|
@ -11216,16 +11216,16 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | ",
|
||||
{
|
||||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableValue",
|
||||
"text": "SerializableValue"
|
||||
"section": "def-common.SerializableRecord",
|
||||
"text": "SerializableRecord"
|
||||
},
|
||||
"[] | null | undefined"
|
||||
],
|
||||
|
@ -11235,10 +11235,10 @@
|
|||
},
|
||||
{
|
||||
"parentPluginId": "kibanaUtils",
|
||||
"id": "def-common.SerializableState",
|
||||
"id": "def-common.Serializable",
|
||||
"type": "Type",
|
||||
"tags": [],
|
||||
"label": "SerializableState",
|
||||
"label": "Serializable",
|
||||
"description": [
|
||||
"\nSerializable state is something is a POJO JavaScript object that can be\nserialized to a JSON string."
|
||||
],
|
||||
|
@ -11259,10 +11259,10 @@
|
|||
},
|
||||
{
|
||||
"parentPluginId": "kibanaUtils",
|
||||
"id": "def-common.SerializableValue",
|
||||
"id": "def-common.SerializableRecord",
|
||||
"type": "Type",
|
||||
"tags": [],
|
||||
"label": "SerializableValue",
|
||||
"label": "SerializableRecord",
|
||||
"description": [],
|
||||
"signature": [
|
||||
"string | number | boolean | ",
|
||||
|
@ -11270,8 +11270,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | null | undefined"
|
||||
],
|
||||
|
|
|
@ -2742,8 +2742,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
" | undefined; }> | Output>>; readonly fork: () => ",
|
||||
{
|
||||
|
|
|
@ -598,7 +598,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">) => any"
|
||||
],
|
||||
"path": "src/plugins/presentation_util/common/lib/test_helpers/function_wrapper.ts",
|
||||
|
|
|
@ -437,8 +437,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">(locator: ",
|
||||
{
|
||||
|
@ -1884,8 +1884,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">(locator: ",
|
||||
{
|
||||
|
|
|
@ -1566,8 +1566,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">, triggers: string[]) => Promise<void>"
|
||||
],
|
||||
|
@ -1596,8 +1596,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -1647,8 +1647,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">, triggers: string[]) => Promise<void>"
|
||||
],
|
||||
|
@ -1693,8 +1693,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">"
|
||||
],
|
||||
|
@ -1880,8 +1880,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">; }[]>"
|
||||
],
|
||||
|
@ -3132,8 +3132,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
", object, ",
|
||||
{
|
||||
|
@ -3366,8 +3366,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">; }"
|
||||
],
|
||||
|
@ -3935,8 +3935,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">; }"
|
||||
],
|
||||
|
@ -4124,8 +4124,8 @@
|
|||
"pluginId": "kibanaUtils",
|
||||
"scope": "common",
|
||||
"docId": "kibKibanaUtilsPluginApi",
|
||||
"section": "def-common.SerializableState",
|
||||
"text": "SerializableState"
|
||||
"section": "def-common.Serializable",
|
||||
"text": "Serializable"
|
||||
},
|
||||
">; }"
|
||||
],
|
||||
|
|
|
@ -1256,7 +1256,7 @@
|
|||
"text": "SerializedFieldFormat"
|
||||
},
|
||||
"<Record<string, any>> | undefined; source?: string | undefined; sourceParams?: ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: Record<string, any>[]; }"
|
||||
],
|
||||
"path": "src/plugins/visualizations/common/prepare_log_table.ts",
|
||||
|
@ -1773,7 +1773,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -2197,7 +2197,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
@ -5099,7 +5099,7 @@
|
|||
"text": "SerializedFieldFormat"
|
||||
},
|
||||
"<Record<string, any>> | undefined; source?: string | undefined; sourceParams?: ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: Record<string, any>[]; }"
|
||||
],
|
||||
"path": "src/plugins/visualizations/common/prepare_log_table.ts",
|
||||
|
@ -5199,7 +5199,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/visualizations/common/expression_functions/range.ts",
|
||||
|
@ -5265,7 +5265,7 @@
|
|||
"text": "Adapters"
|
||||
},
|
||||
", ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
">>"
|
||||
],
|
||||
"path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts",
|
||||
|
@ -5338,7 +5338,7 @@
|
|||
"description": [],
|
||||
"signature": [
|
||||
"Pick<Pick<{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ",
|
||||
"SerializableState",
|
||||
"Serializable",
|
||||
" | undefined; schema?: string | undefined; }, \"enabled\" | \"id\" | \"schema\" | \"params\"> & Pick<{ type: ",
|
||||
{
|
||||
"pluginId": "data",
|
||||
|
|
|
@ -9,9 +9,9 @@ Returns a serialized field format for the field used in this agg. This can be pa
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
toSerializedFieldFormat(): {} | Ensure<SerializedFieldFormat<SerializableState>, SerializableState>;
|
||||
toSerializedFieldFormat(): {} | Ensure<SerializedFieldFormat<SerializableRecord>, SerializableRecord>;
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
`{} | Ensure<SerializedFieldFormat<SerializableState>, SerializableState>`
|
||||
`{} | Ensure<SerializedFieldFormat<SerializableRecord>, SerializableRecord>`
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ constructor(indexPattern: IndexPattern, configStates: Pick<Pick<{
|
|||
type: string;
|
||||
enabled?: boolean | undefined;
|
||||
id?: string | undefined;
|
||||
params?: {} | import("./agg_config").SerializableState | undefined;
|
||||
params?: {} | import("@kbn/common-utils").SerializableRecord | undefined;
|
||||
schema?: string | undefined;
|
||||
}, "schema" | "enabled" | "id" | "params"> & Pick<{
|
||||
type: string | IAggType;
|
||||
|
@ -27,6 +27,6 @@ constructor(indexPattern: IndexPattern, configStates: Pick<Pick<{
|
|||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| indexPattern | <code>IndexPattern</code> | |
|
||||
| configStates | <code>Pick<Pick<{</code><br/><code> type: string;</code><br/><code> enabled?: boolean | undefined;</code><br/><code> id?: string | undefined;</code><br/><code> params?: {} | import("./agg_config").SerializableState | undefined;</code><br/><code> schema?: string | undefined;</code><br/><code> }, "schema" | "enabled" | "id" | "params"> & Pick<{</code><br/><code> type: string | IAggType;</code><br/><code> }, "type"> & Pick<{</code><br/><code> type: string | IAggType;</code><br/><code> }, never>, "schema" | "type" | "enabled" | "id" | "params">[] | undefined</code> | |
|
||||
| configStates | <code>Pick<Pick<{</code><br/><code> type: string;</code><br/><code> enabled?: boolean | undefined;</code><br/><code> id?: string | undefined;</code><br/><code> params?: {} | import("@kbn/common-utils").SerializableRecord | undefined;</code><br/><code> schema?: string | undefined;</code><br/><code> }, "schema" | "enabled" | "id" | "params"> & Pick<{</code><br/><code> type: string | IAggType;</code><br/><code> }, "type"> & Pick<{</code><br/><code> type: string | IAggType;</code><br/><code> }, never>, "schema" | "type" | "enabled" | "id" | "params">[] | undefined</code> | |
|
||||
| opts | <code>AggConfigsOptions</code> | |
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ export declare class FilterManager implements PersistableStateService
|
|||
| [getAllMigrations](./kibana-plugin-plugins-data-public.filtermanager.getallmigrations.md) | | <code>() => {}</code> | |
|
||||
| [inject](./kibana-plugin-plugins-data-public.filtermanager.inject.md) | | <code>any</code> | |
|
||||
| [migrateToLatest](./kibana-plugin-plugins-data-public.filtermanager.migratetolatest.md) | | <code>any</code> | |
|
||||
| [telemetry](./kibana-plugin-plugins-data-public.filtermanager.telemetry.md) | | <code>(filters: import("../../../../kibana_utils/common/persistable_state").SerializableState, collector: unknown) => {}</code> | |
|
||||
| [telemetry](./kibana-plugin-plugins-data-public.filtermanager.telemetry.md) | | <code>(filters: import("@kbn/common-utils").SerializableRecord, collector: unknown) => {}</code> | |
|
||||
|
||||
## Methods
|
||||
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
telemetry: (filters: import("../../../../kibana_utils/common/persistable_state").SerializableState, collector: unknown) => {};
|
||||
telemetry: (filters: import("@kbn/common-utils").SerializableRecord, collector: unknown) => {};
|
||||
```
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
esKuery: {
|
||||
nodeTypes: import("@kbn/es-query/target_types/kuery/node_types").NodeTypes;
|
||||
fromKueryExpression: (expression: any, parseOptions?: Partial<import("@kbn/es-query/target_types/kuery/types").KueryParseOptions> | undefined) => import("@kbn/es-query").KueryNode;
|
||||
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
|
||||
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/utility-types").JsonObject;
|
||||
}
|
||||
```
|
||||
|
|
|
@ -13,7 +13,7 @@ export declare type EmbeddableInput = {
|
|||
id: string;
|
||||
lastReloadRequestTime?: number;
|
||||
hidePanelTitles?: boolean;
|
||||
enhancements?: SerializableState;
|
||||
enhancements?: SerializableRecord;
|
||||
disabledActions?: string[];
|
||||
disableTriggers?: boolean;
|
||||
searchSessionId?: string;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableState = SerializableState> extends PersistableStateDefinition<P>
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableRecord = SerializableRecord> extends PersistableStateDefinition<P>
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableState = SerializableState> extends PersistableStateDefinition<P>
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableRecord = SerializableRecord> extends PersistableStateDefinition<P>
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableState = SerializableState>
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableRecord = SerializableRecord>
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
|
|
@ -29,7 +29,7 @@ export declare class ExpressionFunction implements PersistableState<ExpressionAs
|
|||
| [help](./kibana-plugin-plugins-expressions-public.expressionfunction.help.md) | | <code>string</code> | A short help text. |
|
||||
| [inject](./kibana-plugin-plugins-expressions-public.expressionfunction.inject.md) | | <code>(state: ExpressionAstFunction['arguments'], references: SavedObjectReference[]) => ExpressionAstFunction['arguments']</code> | |
|
||||
| [inputTypes](./kibana-plugin-plugins-expressions-public.expressionfunction.inputtypes.md) | | <code>string[] | undefined</code> | Type of inputs that this function supports. |
|
||||
| [migrations](./kibana-plugin-plugins-expressions-public.expressionfunction.migrations.md) | | <code>{</code><br/><code> [key: string]: (state: SerializableState) => SerializableState;</code><br/><code> }</code> | |
|
||||
| [migrations](./kibana-plugin-plugins-expressions-public.expressionfunction.migrations.md) | | <code>{</code><br/><code> [key: string]: (state: SerializableRecord) => SerializableRecord;</code><br/><code> }</code> | |
|
||||
| [name](./kibana-plugin-plugins-expressions-public.expressionfunction.name.md) | | <code>string</code> | Name of function |
|
||||
| [telemetry](./kibana-plugin-plugins-expressions-public.expressionfunction.telemetry.md) | | <code>(state: ExpressionAstFunction['arguments'], telemetryData: Record<string, any>) => Record<string, any></code> | |
|
||||
| [type](./kibana-plugin-plugins-expressions-public.expressionfunction.type.md) | | <code>string</code> | Return type of function. This SHOULD be supplied. We use it for UI and autocomplete hinting. We may also use it for optimizations in the future. |
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
|
||||
```typescript
|
||||
migrations: {
|
||||
[key: string]: (state: SerializableState) => SerializableState;
|
||||
[key: string]: (state: SerializableRecord) => SerializableRecord;
|
||||
};
|
||||
```
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
```typescript
|
||||
export declare type ExpressionValueError = ExpressionValueBoxed<'error', {
|
||||
error: ErrorLike;
|
||||
info?: SerializableState;
|
||||
info?: SerializableRecord;
|
||||
}>;
|
||||
```
|
||||
|
|
|
@ -25,7 +25,7 @@ export interface IExpressionLoaderParams
|
|||
| [onRenderError](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.onrendererror.md) | <code>RenderErrorHandlerFnType</code> | |
|
||||
| [partial](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.partial.md) | <code>boolean</code> | The flag to toggle on emitting partial results. By default, the partial results are disabled. |
|
||||
| [renderMode](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.rendermode.md) | <code>RenderMode</code> | |
|
||||
| [searchContext](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.searchcontext.md) | <code>SerializableState</code> | |
|
||||
| [searchContext](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.searchcontext.md) | <code>SerializableRecord</code> | |
|
||||
| [searchSessionId](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.searchsessionid.md) | <code>string</code> | |
|
||||
| [syncColors](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.synccolors.md) | <code>boolean</code> | |
|
||||
| [throttle](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.throttle.md) | <code>number</code> | Throttling of partial results in milliseconds. 0 is disabling the throttling. By default, it equals 1000. |
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
searchContext?: SerializableState;
|
||||
searchContext?: SerializableRecord;
|
||||
```
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableState = SerializableState>
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableRecord = SerializableRecord>
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
|
|
@ -29,7 +29,7 @@ export declare class ExpressionFunction implements PersistableState<ExpressionAs
|
|||
| [help](./kibana-plugin-plugins-expressions-server.expressionfunction.help.md) | | <code>string</code> | A short help text. |
|
||||
| [inject](./kibana-plugin-plugins-expressions-server.expressionfunction.inject.md) | | <code>(state: ExpressionAstFunction['arguments'], references: SavedObjectReference[]) => ExpressionAstFunction['arguments']</code> | |
|
||||
| [inputTypes](./kibana-plugin-plugins-expressions-server.expressionfunction.inputtypes.md) | | <code>string[] | undefined</code> | Type of inputs that this function supports. |
|
||||
| [migrations](./kibana-plugin-plugins-expressions-server.expressionfunction.migrations.md) | | <code>{</code><br/><code> [key: string]: (state: SerializableState) => SerializableState;</code><br/><code> }</code> | |
|
||||
| [migrations](./kibana-plugin-plugins-expressions-server.expressionfunction.migrations.md) | | <code>{</code><br/><code> [key: string]: (state: SerializableRecord) => SerializableRecord;</code><br/><code> }</code> | |
|
||||
| [name](./kibana-plugin-plugins-expressions-server.expressionfunction.name.md) | | <code>string</code> | Name of function |
|
||||
| [telemetry](./kibana-plugin-plugins-expressions-server.expressionfunction.telemetry.md) | | <code>(state: ExpressionAstFunction['arguments'], telemetryData: Record<string, any>) => Record<string, any></code> | |
|
||||
| [type](./kibana-plugin-plugins-expressions-server.expressionfunction.type.md) | | <code>string</code> | Return type of function. This SHOULD be supplied. We use it for UI and autocomplete hinting. We may also use it for optimizations in the future. |
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
|
||||
```typescript
|
||||
migrations: {
|
||||
[key: string]: (state: SerializableState) => SerializableState;
|
||||
[key: string]: (state: SerializableRecord) => SerializableRecord;
|
||||
};
|
||||
```
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
```typescript
|
||||
export declare type ExpressionValueError = ExpressionValueBoxed<'error', {
|
||||
error: ErrorLike;
|
||||
info?: SerializableState;
|
||||
info?: SerializableRecord;
|
||||
}>;
|
||||
```
|
||||
|
|
|
@ -6,16 +6,17 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { SerializableState, MigrateFunction } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { MigrateFunction } from 'src/plugins/kibana_utils/common';
|
||||
import { LocatorDefinition, LocatorPublic } from '../../../src/plugins/share/public';
|
||||
|
||||
export const HELLO_LOCATOR = 'HELLO_LOCATOR';
|
||||
|
||||
export interface HelloLocatorV1Params extends SerializableState {
|
||||
export interface HelloLocatorV1Params extends SerializableRecord {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface HelloLocatorV2Params extends SerializableState {
|
||||
export interface HelloLocatorV2Params extends SerializableRecord {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
}
|
||||
|
|
|
@ -121,7 +121,6 @@
|
|||
"@kbn/analytics": "link:bazel-bin/packages/kbn-analytics",
|
||||
"@kbn/apm-config-loader": "link:bazel-bin/packages/kbn-apm-config-loader",
|
||||
"@kbn/apm-utils": "link:bazel-bin/packages/kbn-apm-utils",
|
||||
"@kbn/common-utils": "link:bazel-bin/packages/kbn-common-utils",
|
||||
"@kbn/config": "link:bazel-bin/packages/kbn-config",
|
||||
"@kbn/config-schema": "link:bazel-bin/packages/kbn-config-schema",
|
||||
"@kbn/crypto": "link:bazel-bin/packages/kbn-crypto",
|
||||
|
|
|
@ -13,7 +13,6 @@ filegroup(
|
|||
"//packages/kbn-babel-code-parser:build",
|
||||
"//packages/kbn-babel-preset:build",
|
||||
"//packages/kbn-cli-dev-mode:build",
|
||||
"//packages/kbn-common-utils:build",
|
||||
"//packages/kbn-config:build",
|
||||
"//packages/kbn-config-schema:build",
|
||||
"//packages/kbn-crypto:build",
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"presets": ["@kbn/babel-preset/node_preset"]
|
||||
}
|
|
@ -1,89 +0,0 @@
|
|||
load("@npm//@bazel/typescript:index.bzl", "ts_config", "ts_project")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_npm")
|
||||
load("//src/dev/bazel:index.bzl", "jsts_transpiler")
|
||||
|
||||
PKG_BASE_NAME = "kbn-common-utils"
|
||||
PKG_REQUIRE_NAME = "@kbn/common-utils"
|
||||
|
||||
SOURCE_FILES = glob(
|
||||
[
|
||||
"src/**/*.ts",
|
||||
],
|
||||
exclude = ["**/*.test.*"],
|
||||
)
|
||||
|
||||
SRCS = SOURCE_FILES
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = SRCS,
|
||||
)
|
||||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
"README.md"
|
||||
]
|
||||
|
||||
RUNTIME_DEPS = [
|
||||
"//packages/kbn-config-schema",
|
||||
"@npm//tslib",
|
||||
]
|
||||
|
||||
TYPES_DEPS = [
|
||||
"//packages/kbn-config-schema",
|
||||
"@npm//tslib",
|
||||
"@npm//@types/jest",
|
||||
"@npm//@types/node",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
name = "target_node",
|
||||
srcs = SRCS,
|
||||
build_pkg_name = package_name(),
|
||||
)
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = "tsconfig.json",
|
||||
deps = [
|
||||
"//:tsconfig.base.json",
|
||||
],
|
||||
)
|
||||
|
||||
ts_project(
|
||||
name = "tsc_types",
|
||||
args = ['--pretty'],
|
||||
srcs = SRCS,
|
||||
deps = TYPES_DEPS,
|
||||
declaration = True,
|
||||
declaration_map = True,
|
||||
emit_declaration_only = True,
|
||||
incremental = False,
|
||||
out_dir = "target_types",
|
||||
source_map = True,
|
||||
root_dir = "src",
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
||||
js_library(
|
||||
name = PKG_BASE_NAME,
|
||||
srcs = NPM_MODULE_EXTRA_FILES,
|
||||
deps = RUNTIME_DEPS + [":target_node", ":tsc_types"],
|
||||
package_name = PKG_REQUIRE_NAME,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
pkg_npm(
|
||||
name = "npm_module",
|
||||
deps = [
|
||||
":%s" % PKG_BASE_NAME,
|
||||
]
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "build",
|
||||
srcs = [
|
||||
":npm_module",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,3 +0,0 @@
|
|||
# @kbn/common-utils
|
||||
|
||||
Shared common (client and server sie) utilities shared across packages and plugins.
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* 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 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-common-utils'],
|
||||
};
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"name": "@kbn/common-utils",
|
||||
"main": "./target_node/index.js",
|
||||
"types": "./target_types/index.d.ts",
|
||||
"version": "1.0.0",
|
||||
"license": "SSPL-1.0 OR Elastic License 2.0",
|
||||
"private": true
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
/*
|
||||
* 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 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export * from './json';
|
|
@ -1,9 +0,0 @@
|
|||
/*
|
||||
* 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 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { JsonArray, JsonValue, JsonObject } from './typed_json';
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* 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 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export type JsonValue = null | boolean | number | string | JsonObject | JsonArray;
|
||||
|
||||
export interface JsonObject {
|
||||
[key: string]: JsonValue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
export interface JsonArray extends Array<JsonValue> {}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"incremental": false,
|
||||
"outDir": "target_types",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-common-utils/src",
|
||||
"types": [
|
||||
"jest",
|
||||
"node"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
|
@ -31,7 +31,7 @@ NPM_MODULE_EXTRA_FILES = [
|
|||
]
|
||||
|
||||
RUNTIME_DEPS = [
|
||||
"//packages/kbn-common-utils",
|
||||
"//packages/kbn-utility-types",
|
||||
"//packages/kbn-config-schema",
|
||||
"//packages/kbn-i18n",
|
||||
"@npm//@elastic/elasticsearch",
|
||||
|
@ -42,7 +42,7 @@ RUNTIME_DEPS = [
|
|||
]
|
||||
|
||||
TYPES_DEPS = [
|
||||
"//packages/kbn-common-utils",
|
||||
"//packages/kbn-utility-types",
|
||||
"//packages/kbn-i18n",
|
||||
"@npm//@elastic/elasticsearch",
|
||||
"@npm//@types/jest",
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { JsonObject } from '@kbn/common-utils';
|
||||
import { JsonObject } from '@kbn/utility-types';
|
||||
import { nodeTypes } from '../node_types/index';
|
||||
import { KQLSyntaxError } from '../kuery_syntax_error';
|
||||
import { KueryNode, DslQuery, KueryParseOptions } from '../types';
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
import _ from 'lodash';
|
||||
import { JsonObject } from '@kbn/common-utils';
|
||||
import { JsonObject } from '@kbn/utility-types';
|
||||
import * as ast from '../ast';
|
||||
import { nodeTypes } from '../node_types';
|
||||
import { NamedArgTypeBuildNode } from './types';
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* WARNING: these typings are incomplete
|
||||
*/
|
||||
|
||||
import { JsonValue } from '@kbn/common-utils';
|
||||
import { JsonValue } from '@kbn/utility-types';
|
||||
import { KueryNode } from '..';
|
||||
import { IndexPatternBase } from '../..';
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ PKG_REQUIRE_NAME = "@kbn/utility-types"
|
|||
|
||||
SOURCE_FILES = glob([
|
||||
"src/jest/index.ts",
|
||||
"src/serializable/**",
|
||||
"src/index.ts"
|
||||
])
|
||||
|
||||
|
|
|
@ -9,6 +9,14 @@
|
|||
import { PromiseType } from 'utility-types';
|
||||
export { $Values, Assign, Class, Optional, Required } from 'utility-types';
|
||||
|
||||
export type {
|
||||
JsonArray,
|
||||
JsonValue,
|
||||
JsonObject,
|
||||
SerializableRecord,
|
||||
Serializable,
|
||||
} from './serializable';
|
||||
|
||||
/**
|
||||
* A type that may or may not be a `Promise`.
|
||||
*/
|
||||
|
|
|
@ -6,11 +6,21 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export type JsonValue = null | boolean | number | string | JsonObject | JsonArray;
|
||||
|
||||
export interface JsonObject {
|
||||
[key: string]: JsonValue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
export interface JsonArray extends Array<JsonValue> {}
|
||||
|
||||
export type Serializable =
|
||||
| string
|
||||
| number
|
||||
| boolean
|
||||
| null
|
||||
| undefined
|
||||
| SerializableArray
|
||||
| SerializableRecord;
|
||||
|
|
@ -15,5 +15,4 @@ export * from './capabilities';
|
|||
export * from './app_category';
|
||||
export * from './ui_settings';
|
||||
export * from './saved_objects';
|
||||
export * from './serializable';
|
||||
export type { KibanaExecutionContext } from './execution_context';
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import type { TimeRange, Filter, Query, QueryState, RefreshInterval } from '../../data/public';
|
||||
import type { LocatorDefinition, LocatorPublic } from '../../share/public';
|
||||
import type { SavedDashboardPanel } from '../common/types';
|
||||
|
@ -26,7 +26,7 @@ const cleanEmptyKeys = (stateObj: Record<string, unknown>) => {
|
|||
|
||||
export const DASHBOARD_APP_LOCATOR = 'DASHBOARD_APP_LOCATOR';
|
||||
|
||||
export interface DashboardAppLocatorParams extends SerializableState {
|
||||
export interface DashboardAppLocatorParams extends SerializableRecord {
|
||||
/**
|
||||
* If given, the dashboard saved object with this id will be loaded. If not given,
|
||||
* a new, unsaved dashboard will be loaded up.
|
||||
|
@ -40,7 +40,7 @@ export interface DashboardAppLocatorParams extends SerializableState {
|
|||
/**
|
||||
* Optionally set the refresh interval.
|
||||
*/
|
||||
refreshInterval?: RefreshInterval & SerializableState;
|
||||
refreshInterval?: RefreshInterval & SerializableRecord;
|
||||
|
||||
/**
|
||||
* Optionally apply filers. NOTE: if given and used in conjunction with `dashboardId`, and the
|
||||
|
@ -80,7 +80,7 @@ export interface DashboardAppLocatorParams extends SerializableState {
|
|||
/**
|
||||
* List of dashboard panels
|
||||
*/
|
||||
panels?: SavedDashboardPanel[] & SerializableState;
|
||||
panels?: SavedDashboardPanel[] & SerializableRecord;
|
||||
|
||||
/**
|
||||
* Saved query ID
|
||||
|
|
|
@ -16,7 +16,7 @@ import {
|
|||
createInject,
|
||||
} from '../../common/embeddable/dashboard_container_persistable_state';
|
||||
import { EmbeddableStateWithType } from 'src/plugins/embeddable/common';
|
||||
import { SerializableState } from '../../../kibana_utils/common';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
|
||||
const embeddableSetupMock = createEmbeddableSetupMock();
|
||||
const extract = createExtract(embeddableSetupMock);
|
||||
|
@ -589,7 +589,7 @@ describe('dashboard', () => {
|
|||
it('runs migrations on by value panels only', () => {
|
||||
const newEmbeddableSetupMock = createEmbeddableSetupMock();
|
||||
newEmbeddableSetupMock.getAllMigrations.mockImplementation(() => ({
|
||||
'7.13.0': (state: SerializableState) => {
|
||||
'7.13.0': (state: SerializableRecord) => {
|
||||
state.superCoolKey = 'ONLY 4 BY VALUE EMBEDDABLES THANK YOU VERY MUCH';
|
||||
return state;
|
||||
},
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { Serializable } from '@kbn/utility-types';
|
||||
import { get, flow, mapValues } from 'lodash';
|
||||
import {
|
||||
SavedObjectAttributes,
|
||||
|
@ -29,7 +30,6 @@ import {
|
|||
mergeMigrationFunctionMaps,
|
||||
MigrateFunction,
|
||||
MigrateFunctionsObject,
|
||||
SerializableValue,
|
||||
} from '../../../kibana_utils/common';
|
||||
import { replaceIndexPatternReference } from './replace_index_pattern_reference';
|
||||
|
||||
|
@ -154,8 +154,8 @@ function createExtractPanelReferencesMigration(
|
|||
}
|
||||
|
||||
type ValueOrReferenceInput = SavedObjectEmbeddableInput & {
|
||||
attributes?: SerializableValue;
|
||||
savedVis?: SerializableValue;
|
||||
attributes?: Serializable;
|
||||
savedVis?: Serializable;
|
||||
};
|
||||
|
||||
// Runs the embeddable migrations on each panel
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import uuid from 'uuid';
|
||||
import { Filter } from '@kbn/es-query';
|
||||
import { SerializableState } from '../../../kibana_utils/common/persistable_state';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { SavedObjectReference } from '../../../../core/types';
|
||||
|
||||
export const extract = (filters: Filter[]) => {
|
||||
|
@ -51,7 +51,7 @@ export const inject = (filters: Filter[], references: SavedObjectReference[]) =>
|
|||
});
|
||||
};
|
||||
|
||||
export const telemetry = (filters: SerializableState, collector: unknown) => {
|
||||
export const telemetry = (filters: SerializableRecord, collector: unknown) => {
|
||||
return {};
|
||||
};
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
import moment from 'moment';
|
||||
import _ from 'lodash';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { Assign, Ensure } from '@kbn/utility-types';
|
||||
|
||||
import { ISearchOptions, ISearchSource } from 'src/plugins/data/public';
|
||||
|
@ -23,23 +24,16 @@ import { writeParams } from './agg_params';
|
|||
import { IAggConfigs } from './agg_configs';
|
||||
import { parseTimeShift } from './utils';
|
||||
|
||||
type State = string | number | boolean | null | undefined | SerializableState;
|
||||
|
||||
/** @internal **/
|
||||
export interface SerializableState {
|
||||
[key: string]: State | State[];
|
||||
}
|
||||
|
||||
/** @public **/
|
||||
export type AggConfigSerialized = Ensure<
|
||||
{
|
||||
type: string;
|
||||
enabled?: boolean;
|
||||
id?: string;
|
||||
params?: {} | SerializableState;
|
||||
params?: {} | SerializableRecord;
|
||||
schema?: string;
|
||||
},
|
||||
SerializableState
|
||||
SerializableRecord
|
||||
>;
|
||||
|
||||
export type AggConfigOptions = Assign<AggConfigSerialized, { type: IAggType }>;
|
||||
|
@ -311,7 +305,7 @@ export class AggConfig {
|
|||
id: this.id,
|
||||
enabled: this.enabled,
|
||||
type: this.type && this.type.name,
|
||||
params: outParams as SerializableState,
|
||||
params: outParams as SerializableRecord,
|
||||
...(this.schema && { schema: this.schema }),
|
||||
};
|
||||
}
|
||||
|
@ -333,7 +327,7 @@ export class AggConfig {
|
|||
*/
|
||||
toSerializedFieldFormat():
|
||||
| {}
|
||||
| Ensure<SerializedFieldFormat<SerializableState>, SerializableState> {
|
||||
| Ensure<SerializedFieldFormat<SerializableRecord>, SerializableRecord> {
|
||||
return this.type ? this.type.getSerializedFormat(this) : {};
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { AggTypesDependencies } from '../agg_types';
|
|||
import { BUCKET_TYPES } from './bucket_agg_types';
|
||||
import { IBucketHistogramAggConfig, getHistogramBucketAgg, AutoBounds } from './histogram';
|
||||
import { BucketAggType } from './bucket_agg_type';
|
||||
import { SerializableState } from 'src/plugins/expressions/common';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
|
||||
describe('Histogram Agg', () => {
|
||||
let aggTypesDependencies: AggTypesDependencies;
|
||||
|
@ -256,7 +256,7 @@ describe('Histogram Agg', () => {
|
|||
});
|
||||
(aggConfigs.aggs[0] as IBucketHistogramAggConfig).setAutoBounds({ min: 0, max: 1000 });
|
||||
const serializedAgg = aggConfigs.aggs[0].serialize();
|
||||
const serializedIntervalParam = (serializedAgg.params as SerializableState).used_interval;
|
||||
const serializedIntervalParam = (serializedAgg.params as SerializableRecord).used_interval;
|
||||
expect(serializedIntervalParam).toBe(500);
|
||||
const freshHistogramAggConfig = getAggConfigs({
|
||||
interval: 100,
|
||||
|
|
|
@ -106,6 +106,7 @@ import { SavedObjectsFindOptions } from 'kibana/public';
|
|||
import { SavedObjectsFindResponse } from 'kibana/server';
|
||||
import { SavedObjectsUpdateResponse } from 'kibana/server';
|
||||
import { SchemaTypeError } from '@kbn/config-schema';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { SerializedFieldFormat as SerializedFieldFormat_3 } from 'src/plugins/expressions/common';
|
||||
import { StartServicesAccessor } from 'kibana/public';
|
||||
import { ToastInputFields } from 'src/core/public/notifications';
|
||||
|
@ -200,8 +201,7 @@ export class AggConfig {
|
|||
toExpressionAst(): ExpressionAstExpression | undefined;
|
||||
// @deprecated (undocumented)
|
||||
toJSON(): AggConfigSerialized;
|
||||
// Warning: (ae-forgotten-export) The symbol "SerializableState" needs to be exported by the entry point index.d.ts
|
||||
toSerializedFieldFormat(): {} | Ensure<SerializedFieldFormat_3<SerializableState_2>, SerializableState_2>;
|
||||
toSerializedFieldFormat(): {} | Ensure<SerializedFieldFormat_3<SerializableRecord>, SerializableRecord>;
|
||||
// (undocumented)
|
||||
get type(): IAggType;
|
||||
set type(type: IAggType);
|
||||
|
@ -227,7 +227,7 @@ export class AggConfigs {
|
|||
type: string;
|
||||
enabled?: boolean | undefined;
|
||||
id?: string | undefined;
|
||||
params?: {} | import("./agg_config").SerializableState | undefined;
|
||||
params?: {} | import("@kbn/utility-types").SerializableRecord | undefined;
|
||||
schema?: string | undefined;
|
||||
}, "schema" | "enabled" | "id" | "params"> & Pick<{
|
||||
type: string | IAggType;
|
||||
|
@ -330,9 +330,9 @@ export type AggConfigSerialized = Ensure<{
|
|||
type: string;
|
||||
enabled?: boolean;
|
||||
id?: string;
|
||||
params?: {} | SerializableState_2;
|
||||
params?: {} | SerializableRecord;
|
||||
schema?: string;
|
||||
}, SerializableState_2>;
|
||||
}, SerializableRecord>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "AggFunctionsMapping" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
@ -792,7 +792,7 @@ export const esFilters: {
|
|||
export const esKuery: {
|
||||
nodeTypes: import("@kbn/es-query/target_types/kuery/node_types").NodeTypes;
|
||||
fromKueryExpression: (expression: any, parseOptions?: Partial<import("@kbn/es-query/target_types/kuery/types").KueryParseOptions> | undefined) => import("@kbn/es-query").KueryNode;
|
||||
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
|
||||
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/utility-types").JsonObject;
|
||||
};
|
||||
|
||||
// Warning: (ae-missing-release-tag) "esQuery" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
|
@ -943,7 +943,7 @@ export class FilterManager implements PersistableStateService {
|
|||
static setFiltersStore(filters: Filter_2[], store: FilterStateStore, shouldOverrideStore?: boolean): void;
|
||||
setGlobalFilters(newGlobalFilters: Filter_2[]): void;
|
||||
// (undocumented)
|
||||
telemetry: (filters: import("../../../../kibana_utils/common/persistable_state").SerializableState, collector: unknown) => {};
|
||||
telemetry: (filters: import("@kbn/utility-types").SerializableRecord, collector: unknown) => {};
|
||||
}
|
||||
|
||||
// Warning: (ae-missing-release-tag) "generateFilters" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
|
|
|
@ -228,15 +228,15 @@ export class FilterManager implements PersistableStateService {
|
|||
});
|
||||
}
|
||||
|
||||
// Filter needs to implement SerializableState
|
||||
// Filter needs to implement SerializableRecord
|
||||
public extract = extract as any;
|
||||
|
||||
// Filter needs to implement SerializableState
|
||||
// Filter needs to implement SerializableRecord
|
||||
public inject = inject as any;
|
||||
|
||||
public telemetry = telemetry;
|
||||
|
||||
// Filter needs to implement SerializableState
|
||||
// Filter needs to implement SerializableRecord
|
||||
public migrateToLatest = migrateToLatest as any;
|
||||
|
||||
public getAllMigrations = getAllMigrations;
|
||||
|
|
|
@ -60,6 +60,7 @@ import { SavedObjectsClientContract as SavedObjectsClientContract_2 } from 'kiba
|
|||
import { SavedObjectsFindOptions } from 'kibana/server';
|
||||
import { SavedObjectsFindResponse } from 'kibana/server';
|
||||
import { SavedObjectsUpdateResponse } from 'kibana/server';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { SerializedFieldFormat as SerializedFieldFormat_3 } from 'src/plugins/expressions/common';
|
||||
import { ToastInputFields } from 'src/core/public/notifications';
|
||||
import { Type } from '@kbn/config-schema';
|
||||
|
@ -124,7 +125,7 @@ export const esFilters: {
|
|||
export const esKuery: {
|
||||
nodeTypes: import("@kbn/es-query/target_types/kuery/node_types").NodeTypes;
|
||||
fromKueryExpression: (expression: any, parseOptions?: Partial<import("@kbn/es-query/target_types/kuery/types").KueryParseOptions> | undefined) => import("@kbn/es-query").KueryNode;
|
||||
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
|
||||
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/utility-types").JsonObject;
|
||||
};
|
||||
|
||||
// Warning: (ae-missing-release-tag) "esQuery" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
|
|
|
@ -10,7 +10,7 @@ import { hashedItemStore, getStatesFromKbnUrl } from '../../kibana_utils/public'
|
|||
import { mockStorage } from '../../kibana_utils/public/storage/hashed_item_store/mock';
|
||||
import { FilterStateStore } from '../../data/common';
|
||||
import { DiscoverAppLocatorDefinition } from './locator';
|
||||
import { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
|
||||
const indexPatternId: string = 'c367b774-a4c2-11ea-bb37-0242ac130002';
|
||||
const savedSearchId: string = '571aaf70-4c88-11e8-b3d7-01146121b73d';
|
||||
|
@ -215,7 +215,7 @@ describe('Discover url generator', () => {
|
|||
const { path } = await locator.getLocation({
|
||||
columns: ['_source'],
|
||||
interval: 'auto',
|
||||
sort: [['timestamp, asc']] as string[][] & SerializableState,
|
||||
sort: [['timestamp, asc']] as string[][] & SerializableRecord,
|
||||
savedQuery: '__savedQueryId__',
|
||||
});
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import type { TimeRange, Filter, Query, QueryState, RefreshInterval } from '../../data/public';
|
||||
import type { LocatorDefinition, LocatorPublic } from '../../share/public';
|
||||
import { esFilters } from '../../data/public';
|
||||
|
@ -14,7 +14,7 @@ import { setStateToKbnUrl } from '../../kibana_utils/public';
|
|||
|
||||
export const DISCOVER_APP_LOCATOR = 'DISCOVER_APP_LOCATOR';
|
||||
|
||||
export interface DiscoverAppLocatorParams extends SerializableState {
|
||||
export interface DiscoverAppLocatorParams extends SerializableRecord {
|
||||
/**
|
||||
* Optionally set saved search ID.
|
||||
*/
|
||||
|
@ -33,7 +33,7 @@ export interface DiscoverAppLocatorParams extends SerializableState {
|
|||
/**
|
||||
* Optionally set the refresh interval.
|
||||
*/
|
||||
refreshInterval?: RefreshInterval & SerializableState;
|
||||
refreshInterval?: RefreshInterval & SerializableRecord;
|
||||
|
||||
/**
|
||||
* Optionally apply filters.
|
||||
|
@ -69,7 +69,7 @@ export interface DiscoverAppLocatorParams extends SerializableState {
|
|||
/**
|
||||
* Array of the used sorting [[field,direction],...]
|
||||
*/
|
||||
sort?: string[][] & SerializableState;
|
||||
sort?: string[][] & SerializableRecord;
|
||||
|
||||
/**
|
||||
* id of the used saved query
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { CommonEmbeddableStartContract, EmbeddableStateWithType } from '../types';
|
||||
import { extractBaseEmbeddableInput } from './migrate_base_input';
|
||||
import { SerializableState } from '../../../kibana_utils/common/persistable_state';
|
||||
|
||||
export const getExtractFunction = (embeddables: CommonEmbeddableStartContract) => {
|
||||
return (state: EmbeddableStateWithType) => {
|
||||
|
@ -30,7 +30,7 @@ export const getExtractFunction = (embeddables: CommonEmbeddableStartContract) =
|
|||
if (!enhancements[key]) return;
|
||||
const enhancementResult = embeddables
|
||||
.getEnhancement(key)
|
||||
.extract(enhancements[key] as SerializableState);
|
||||
.extract(enhancements[key] as SerializableRecord);
|
||||
refs.push(...enhancementResult.references);
|
||||
updatedInput.enhancements![key] = enhancementResult.state;
|
||||
});
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { CommonEmbeddableStartContract, EmbeddableStateWithType } from '../types';
|
||||
import { SavedObjectReference } from '../../../../core/types';
|
||||
import { injectBaseEmbeddableInput } from './migrate_base_input';
|
||||
import { SerializableState } from '../../../kibana_utils/common/persistable_state';
|
||||
|
||||
export const getInjectFunction = (embeddables: CommonEmbeddableStartContract) => {
|
||||
return (state: EmbeddableStateWithType, references: SavedObjectReference[]) => {
|
||||
|
@ -27,7 +27,7 @@ export const getInjectFunction = (embeddables: CommonEmbeddableStartContract) =>
|
|||
if (!enhancements[key]) return;
|
||||
updatedInput.enhancements![key] = embeddables
|
||||
.getEnhancement(key)
|
||||
.inject(enhancements[key] as SerializableState, references);
|
||||
.inject(enhancements[key] as SerializableRecord, references);
|
||||
});
|
||||
|
||||
return updatedInput;
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { CommonEmbeddableStartContract } from '../types';
|
||||
import { baseEmbeddableMigrations } from './migrate_base_input';
|
||||
import { SerializableState } from '../../../kibana_utils/common/persistable_state';
|
||||
|
||||
export type MigrateFunction = (state: SerializableState, version: string) => SerializableState;
|
||||
export type MigrateFunction = (state: SerializableRecord, version: string) => SerializableRecord;
|
||||
|
||||
export const getMigrateFunction = (embeddables: CommonEmbeddableStartContract) => {
|
||||
const migrateFn: MigrateFunction = (state: SerializableState, version: string) => {
|
||||
const enhancements = (state.enhancements as SerializableState) || {};
|
||||
const migrateFn: MigrateFunction = (state: SerializableRecord, version: string) => {
|
||||
const enhancements = (state.enhancements as SerializableRecord) || {};
|
||||
const factory = embeddables.getEmbeddableFactory(state.type as string);
|
||||
|
||||
let updatedInput = baseEmbeddableMigrations[version]
|
||||
|
@ -26,7 +26,7 @@ export const getMigrateFunction = (embeddables: CommonEmbeddableStartContract) =
|
|||
}
|
||||
|
||||
if (factory?.isContainerType) {
|
||||
updatedInput.panels = ((state.panels as SerializableState[]) || []).map((panel) => {
|
||||
updatedInput.panels = ((state.panels as SerializableRecord[]) || []).map((panel) => {
|
||||
return migrateFn(panel, version);
|
||||
});
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ export const getMigrateFunction = (embeddables: CommonEmbeddableStartContract) =
|
|||
if (!enhancements[key]) return;
|
||||
const enhancementDefinition = embeddables.getEnhancement(key);
|
||||
const migratedEnhancement = enhancementDefinition?.migrations?.[version]
|
||||
? enhancementDefinition.migrations[version](enhancements[key] as SerializableState)
|
||||
? enhancementDefinition.migrations[version](enhancements[key] as SerializableRecord)
|
||||
: enhancements[key];
|
||||
(updatedInput.enhancements! as Record<string, any>)[key] = migratedEnhancement;
|
||||
});
|
||||
|
|
|
@ -5,8 +5,10 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import type { KibanaExecutionContext } from 'src/core/public';
|
||||
import { PersistableStateService, SerializableState } from '../../kibana_utils/common';
|
||||
import { PersistableStateService } from '../../kibana_utils/common';
|
||||
|
||||
export enum ViewMode {
|
||||
EDIT = 'edit',
|
||||
|
@ -28,7 +30,7 @@ export type EmbeddableInput = {
|
|||
/**
|
||||
* Reserved key for enhancements added by other plugins.
|
||||
*/
|
||||
enhancements?: SerializableState;
|
||||
enhancements?: SerializableRecord;
|
||||
|
||||
/**
|
||||
* List of action IDs that this embeddable should not render.
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
import React from 'react';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { identity } from 'lodash';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { getSavedObjectFinder, showSaveModal } from '../../saved_objects/public';
|
||||
import { UiActionsSetup, UiActionsStart } from '../../ui_actions/public';
|
||||
import { Start as InspectorStart } from '../../inspector/public';
|
||||
|
@ -39,11 +40,7 @@ import {
|
|||
import { EmbeddableFactoryDefinition } from './lib/embeddables/embeddable_factory_definition';
|
||||
import { EmbeddableStateTransfer } from './lib/state_transfer';
|
||||
import { Storage } from '../../kibana_utils/public';
|
||||
import {
|
||||
migrateToLatest,
|
||||
PersistableStateService,
|
||||
SerializableState,
|
||||
} from '../../kibana_utils/common';
|
||||
import { migrateToLatest, PersistableStateService } from '../../kibana_utils/common';
|
||||
import { ATTRIBUTE_SERVICE_KEY, AttributeService } from './lib/attribute_service';
|
||||
import { AttributeServiceOptions } from './lib/attribute_service/attribute_service';
|
||||
import { EmbeddableStateWithType } from '../common/types';
|
||||
|
@ -240,7 +237,7 @@ export class EmbeddablePublicPlugin implements Plugin<EmbeddableSetup, Embeddabl
|
|||
inject: enhancement.inject || identity,
|
||||
extract:
|
||||
enhancement.extract ||
|
||||
((state: SerializableState) => {
|
||||
((state: SerializableRecord) => {
|
||||
return { state, references: [] };
|
||||
}),
|
||||
migrations: enhancement.migrations || {},
|
||||
|
@ -253,7 +250,7 @@ export class EmbeddablePublicPlugin implements Plugin<EmbeddableSetup, Embeddabl
|
|||
id: 'unknown',
|
||||
telemetry: (state, stats) => stats,
|
||||
inject: identity,
|
||||
extract: (state: SerializableState) => {
|
||||
extract: (state: SerializableRecord) => {
|
||||
return { state, references: [] };
|
||||
},
|
||||
migrations: {},
|
||||
|
|
|
@ -54,6 +54,7 @@ import { SavedObjectAttributes } from 'kibana/server';
|
|||
import { SavedObjectAttributes as SavedObjectAttributes_2 } from 'src/core/public';
|
||||
import { SavedObjectAttributes as SavedObjectAttributes_3 } from 'kibana/public';
|
||||
import { SchemaTypeError } from '@kbn/config-schema';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { SimpleSavedObject as SimpleSavedObject_2 } from 'src/core/public';
|
||||
import { Start as Start_2 } from 'src/plugins/inspector/public';
|
||||
import { TransportRequestOptions } from '@elastic/elasticsearch/lib/Transport';
|
||||
|
@ -319,7 +320,7 @@ export abstract class Embeddable<TEmbeddableInput extends EmbeddableInput = Embe
|
|||
// Warning: (ae-missing-release-tag) "EmbeddableChildPanel" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public
|
||||
export class EmbeddableChildPanel extends React.Component<EmbeddableChildPanelProps, State_2> {
|
||||
export class EmbeddableChildPanel extends React.Component<EmbeddableChildPanelProps, State> {
|
||||
constructor(props: EmbeddableChildPanelProps);
|
||||
// (undocumented)
|
||||
[panel: string]: any;
|
||||
|
@ -417,7 +418,7 @@ export type EmbeddableInput = {
|
|||
id: string;
|
||||
lastReloadRequestTime?: number;
|
||||
hidePanelTitles?: boolean;
|
||||
enhancements?: SerializableState;
|
||||
enhancements?: SerializableRecord;
|
||||
disabledActions?: string[];
|
||||
disableTriggers?: boolean;
|
||||
searchSessionId?: string;
|
||||
|
@ -477,7 +478,7 @@ export interface EmbeddablePackageState {
|
|||
// Warning: (ae-missing-release-tag) "EmbeddablePanel" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export class EmbeddablePanel extends React.Component<Props, State_3> {
|
||||
export class EmbeddablePanel extends React.Component<Props, State_2> {
|
||||
constructor(props: Props);
|
||||
// (undocumented)
|
||||
closeMyContextMenuPanel: () => void;
|
||||
|
@ -620,7 +621,7 @@ export class EmbeddableStateTransfer {
|
|||
// Warning: (ae-missing-release-tag) "EnhancementRegistryDefinition" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableState = SerializableState> extends PersistableStateDefinition<P> {
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableRecord = SerializableRecord> extends PersistableStateDefinition<P> {
|
||||
// (undocumented)
|
||||
id: string;
|
||||
}
|
||||
|
@ -897,7 +898,6 @@ export const withEmbeddableSubscription: <I extends EmbeddableInput, O extends E
|
|||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/plugins/embeddable/common/types.ts:31:3 - (ae-forgotten-export) The symbol "SerializableState" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx:25:3 - (ae-forgotten-export) The symbol "UsageCollectionStart" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/embeddable/public/lib/triggers/triggers.ts:35:5 - (ae-forgotten-export) The symbol "Datatable" needs to be exported by the entry point index.d.ts
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { SavedObjectAttributes } from 'kibana/public';
|
||||
import {
|
||||
EmbeddableFactory,
|
||||
|
@ -14,21 +15,17 @@ import {
|
|||
IEmbeddable,
|
||||
EmbeddableFactoryDefinition,
|
||||
} from './lib/embeddables';
|
||||
import {
|
||||
PersistableState,
|
||||
PersistableStateDefinition,
|
||||
SerializableState,
|
||||
} from '../../kibana_utils/common';
|
||||
import { PersistableState, PersistableStateDefinition } from '../../kibana_utils/common';
|
||||
|
||||
export type EmbeddableFactoryRegistry = Map<string, EmbeddableFactory>;
|
||||
export type EnhancementsRegistry = Map<string, EnhancementRegistryItem>;
|
||||
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableState = SerializableState>
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableRecord = SerializableRecord>
|
||||
extends PersistableStateDefinition<P> {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface EnhancementRegistryItem<P extends SerializableState = SerializableState>
|
||||
export interface EnhancementRegistryItem<P extends SerializableRecord = SerializableRecord>
|
||||
extends PersistableState<P> {
|
||||
id: string;
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { CoreSetup, CoreStart, Plugin } from 'kibana/server';
|
||||
import { identity } from 'lodash';
|
||||
import {
|
||||
|
@ -23,7 +24,6 @@ import {
|
|||
} from '../common/lib';
|
||||
import {
|
||||
PersistableStateService,
|
||||
SerializableState,
|
||||
PersistableStateMigrateFn,
|
||||
MigrateFunctionsObject,
|
||||
} from '../../kibana_utils/common';
|
||||
|
@ -96,7 +96,7 @@ export class EmbeddableServerPlugin implements Plugin<EmbeddableSetup, Embeddabl
|
|||
inject: enhancement.inject || identity,
|
||||
extract:
|
||||
enhancement.extract ||
|
||||
((state: SerializableState) => {
|
||||
((state: SerializableRecord) => {
|
||||
return { state, references: [] };
|
||||
}),
|
||||
migrations: enhancement.migrations || {},
|
||||
|
@ -109,7 +109,7 @@ export class EmbeddableServerPlugin implements Plugin<EmbeddableSetup, Embeddabl
|
|||
id: 'unknown',
|
||||
telemetry: (state, stats) => stats,
|
||||
inject: identity,
|
||||
extract: (state: SerializableState) => {
|
||||
extract: (state: SerializableRecord) => {
|
||||
return { state, references: [] };
|
||||
},
|
||||
migrations: {},
|
||||
|
|
|
@ -8,6 +8,7 @@ import { CoreSetup } from 'kibana/server';
|
|||
import { CoreStart } from 'kibana/server';
|
||||
import { KibanaExecutionContext } from 'src/core/public';
|
||||
import { Plugin } from 'kibana/server';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "EmbeddableStateWithType" needs to be exported by the entry point index.d.ts
|
||||
// Warning: (ae-forgotten-export) The symbol "PersistableStateDefinition" needs to be exported by the entry point index.d.ts
|
||||
|
@ -39,11 +40,10 @@ export interface EmbeddableSetup extends PersistableStateService<EmbeddableState
|
|||
// @public (undocumented)
|
||||
export type EmbeddableStart = PersistableStateService<EmbeddableStateWithType>;
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "SerializableState" needs to be exported by the entry point index.d.ts
|
||||
// Warning: (ae-missing-release-tag) "EnhancementRegistryDefinition" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableState = SerializableState> extends PersistableStateDefinition<P> {
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableRecord = SerializableRecord> extends PersistableStateDefinition<P> {
|
||||
// (undocumented)
|
||||
id: string;
|
||||
}
|
||||
|
|
|
@ -6,22 +6,19 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import {
|
||||
PersistableState,
|
||||
PersistableStateDefinition,
|
||||
SerializableState,
|
||||
} from '../../kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { PersistableState, PersistableStateDefinition } from '../../kibana_utils/common';
|
||||
import { EmbeddableStateWithType } from '../common/types';
|
||||
|
||||
export type EmbeddableFactoryRegistry = Map<string, EmbeddableRegistryItem>;
|
||||
export type EnhancementsRegistry = Map<string, EnhancementRegistryItem>;
|
||||
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableState = SerializableState>
|
||||
export interface EnhancementRegistryDefinition<P extends SerializableRecord = SerializableRecord>
|
||||
extends PersistableStateDefinition<P> {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface EnhancementRegistryItem<P extends SerializableState = SerializableState>
|
||||
export interface EnhancementRegistryItem<P extends SerializableRecord = SerializableRecord>
|
||||
extends PersistableState<P> {
|
||||
id: string;
|
||||
}
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
|
||||
import type { KibanaRequest } from 'src/core/server';
|
||||
import type { KibanaExecutionContext } from 'src/core/public';
|
||||
|
||||
import { ExpressionType, SerializableState } from '../expression_types';
|
||||
import { ExpressionType } from '../expression_types';
|
||||
import { Adapters, RequestAdapter } from '../../../inspector/common';
|
||||
import { TablesAdapter } from '../util/tables_adapter';
|
||||
|
||||
|
@ -20,7 +21,7 @@ import { TablesAdapter } from '../util/tables_adapter';
|
|||
*/
|
||||
export interface ExecutionContext<
|
||||
InspectorAdapters extends Adapters = Adapters,
|
||||
ExecutionContextSearch extends SerializableState = SerializableState
|
||||
ExecutionContextSearch extends SerializableRecord = SerializableRecord
|
||||
> {
|
||||
/**
|
||||
* Get search context of the expression.
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
import { cloneDeep, mapValues } from 'lodash';
|
||||
import { Observable } from 'rxjs';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { ExecutorState, ExecutorContainer } from './container';
|
||||
import { createExecutorContainer } from './container';
|
||||
import { AnyExpressionFunctionDefinition, ExpressionFunction } from '../expression_functions';
|
||||
|
@ -25,7 +26,6 @@ import {
|
|||
MigrateFunctionsObject,
|
||||
migrateToLatest,
|
||||
PersistableStateService,
|
||||
SerializableState,
|
||||
VersionedState,
|
||||
} from '../../../kibana_utils/common';
|
||||
import { ExpressionExecutionParams } from '../service';
|
||||
|
@ -272,7 +272,7 @@ export class Executor<Context extends Record<string, unknown> = Record<string, u
|
|||
return migrateToLatest(this.getAllMigrations(), state) as ExpressionAstExpression;
|
||||
}
|
||||
|
||||
private migrate(ast: SerializableState, version: string) {
|
||||
private migrate(ast: SerializableRecord, version: string) {
|
||||
return this.walkAst(cloneDeep(ast) as ExpressionAstExpression, (fn, link) => {
|
||||
if (!fn.migrations[version]) return link;
|
||||
const updatedAst = fn.migrations[version](link) as ExpressionAstFunction;
|
||||
|
|
|
@ -7,12 +7,13 @@
|
|||
*/
|
||||
|
||||
import { identity } from 'lodash';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { AnyExpressionFunctionDefinition } from './types';
|
||||
import { ExpressionFunctionParameter } from './expression_function_parameter';
|
||||
import { ExpressionValue } from '../expression_types/types';
|
||||
import { ExpressionAstFunction } from '../ast';
|
||||
import { SavedObjectReference } from '../../../../core/types';
|
||||
import { PersistableState, SerializableState } from '../../../kibana_utils/common';
|
||||
import { PersistableState } from '../../../kibana_utils/common';
|
||||
|
||||
export class ExpressionFunction implements PersistableState<ExpressionAstFunction['arguments']> {
|
||||
/**
|
||||
|
@ -65,7 +66,7 @@ export class ExpressionFunction implements PersistableState<ExpressionAstFunctio
|
|||
references: SavedObjectReference[]
|
||||
) => ExpressionAstFunction['arguments'];
|
||||
migrations: {
|
||||
[key: string]: (state: SerializableState) => SerializableState;
|
||||
[key: string]: (state: SerializableRecord) => SerializableRecord;
|
||||
};
|
||||
|
||||
constructor(functionDefinition: AnyExpressionFunctionDefinition) {
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { map, pick, zipObject } from 'lodash';
|
||||
|
||||
import { ExpressionTypeDefinition } from '../types';
|
||||
|
@ -13,13 +14,6 @@ import { PointSeries, PointSeriesColumn } from './pointseries';
|
|||
import { ExpressionValueRender } from './render';
|
||||
import { SerializedFieldFormat } from '../../types';
|
||||
|
||||
type State = string | number | boolean | null | undefined | SerializableState;
|
||||
|
||||
/** @internal **/
|
||||
export interface SerializableState {
|
||||
[key: string]: State | State[];
|
||||
}
|
||||
|
||||
const name = 'datatable';
|
||||
|
||||
/**
|
||||
|
@ -84,7 +78,7 @@ export interface DatatableColumnMeta {
|
|||
/**
|
||||
* any extra parameters for the source that produced this column
|
||||
*/
|
||||
sourceParams?: SerializableState;
|
||||
sourceParams?: SerializableRecord;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { ExpressionTypeDefinition, ExpressionValueBoxed } from '../types';
|
||||
import { ExpressionValueRender } from './render';
|
||||
import { getType } from '../get_type';
|
||||
import { SerializableState } from '../../../../kibana_utils/common';
|
||||
import { ErrorLike } from '../../util';
|
||||
|
||||
const name = 'error';
|
||||
|
@ -18,7 +18,7 @@ export type ExpressionValueError = ExpressionValueBoxed<
|
|||
'error',
|
||||
{
|
||||
error: ErrorLike;
|
||||
info?: SerializableState;
|
||||
info?: SerializableRecord;
|
||||
}
|
||||
>;
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
import { Observable } from 'rxjs';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
|
||||
import type { KibanaRequest } from 'src/core/server';
|
||||
import type { KibanaExecutionContext } from 'src/core/public';
|
||||
|
@ -18,11 +19,7 @@ import { ExecutionContract, ExecutionResult } from '../execution';
|
|||
import { AnyExpressionTypeDefinition, ExpressionValueError } from '../expression_types';
|
||||
import { AnyExpressionFunctionDefinition } from '../expression_functions';
|
||||
import { SavedObjectReference } from '../../../../core/types';
|
||||
import {
|
||||
PersistableStateService,
|
||||
SerializableState,
|
||||
VersionedState,
|
||||
} from '../../../kibana_utils/common';
|
||||
import { PersistableStateService, VersionedState } from '../../../kibana_utils/common';
|
||||
import { Adapters } from '../../../inspector/common/adapters';
|
||||
import {
|
||||
clog,
|
||||
|
@ -60,7 +57,7 @@ export type ExpressionsServiceSetup = Pick<
|
|||
>;
|
||||
|
||||
export interface ExpressionExecutionParams {
|
||||
searchContext?: SerializableState;
|
||||
searchContext?: SerializableRecord;
|
||||
|
||||
variables?: Record<string, any>;
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ import { PackageInfo } from '@kbn/config';
|
|||
import { Plugin as Plugin_2 } from 'src/core/public';
|
||||
import { PluginInitializerContext as PluginInitializerContext_2 } from 'src/core/public';
|
||||
import React from 'react';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { UnwrapObservable } from '@kbn/utility-types';
|
||||
import { UnwrapPromiseOrReturn } from '@kbn/utility-types';
|
||||
|
||||
|
@ -133,11 +134,10 @@ export class Execution<Input = unknown, Output = unknown, InspectorAdapters exte
|
|||
// @public (undocumented)
|
||||
export type ExecutionContainer<Output = ExpressionValue> = StateContainer<ExecutionState<Output>, ExecutionPureTransitions<Output>>;
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "SerializableState" needs to be exported by the entry point index.d.ts
|
||||
// Warning: (ae-missing-release-tag) "ExecutionContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableState_2 = SerializableState_2> {
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableRecord = SerializableRecord> {
|
||||
abortSignal: AbortSignal;
|
||||
getExecutionContext: () => KibanaExecutionContext | undefined;
|
||||
getKibanaRequest?: () => KibanaRequest;
|
||||
|
@ -356,7 +356,7 @@ export class ExpressionFunction implements PersistableState<ExpressionAstFunctio
|
|||
inputTypes: string[] | undefined;
|
||||
// (undocumented)
|
||||
migrations: {
|
||||
[key: string]: (state: SerializableState) => SerializableState;
|
||||
[key: string]: (state: SerializableRecord) => SerializableRecord;
|
||||
};
|
||||
name: string;
|
||||
// (undocumented)
|
||||
|
@ -764,7 +764,7 @@ export type ExpressionValueConverter<I extends ExpressionValue, O extends Expres
|
|||
// @public (undocumented)
|
||||
export type ExpressionValueError = ExpressionValueBoxed<'error', {
|
||||
error: ErrorLike;
|
||||
info?: SerializableState;
|
||||
info?: SerializableRecord;
|
||||
}>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "ExpressionValueFilter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
|
@ -923,7 +923,7 @@ export interface IExpressionLoaderParams {
|
|||
// (undocumented)
|
||||
renderMode?: RenderMode;
|
||||
// (undocumented)
|
||||
searchContext?: SerializableState_2;
|
||||
searchContext?: SerializableRecord;
|
||||
// (undocumented)
|
||||
searchSessionId?: string;
|
||||
// (undocumented)
|
||||
|
@ -1193,7 +1193,6 @@ export type UnmappedTypeStrings = 'date' | 'filter';
|
|||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/plugins/expressions/common/ast/types.ts:29:3 - (ae-forgotten-export) The symbol "ExpressionAstFunctionDebug" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/expressions/common/expression_functions/expression_function.ts:68:5 - (ae-forgotten-export) The symbol "SerializableState" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/expressions/common/expression_types/specs/error.ts:20:5 - (ae-forgotten-export) The symbol "ErrorLike" needs to be exported by the entry point index.d.ts
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
|
|
@ -5,13 +5,14 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import type { KibanaExecutionContext } from 'src/core/public';
|
||||
import { Adapters } from '../../../inspector/public';
|
||||
import {
|
||||
IInterpreterRenderHandlers,
|
||||
ExpressionValue,
|
||||
ExpressionsService,
|
||||
SerializableState,
|
||||
RenderMode,
|
||||
} from '../../common';
|
||||
import { ExpressionRenderHandlerParams } from '../render';
|
||||
|
@ -33,7 +34,7 @@ export interface ExpressionInterpreter {
|
|||
}
|
||||
|
||||
export interface IExpressionLoaderParams {
|
||||
searchContext?: SerializableState;
|
||||
searchContext?: SerializableRecord;
|
||||
context?: ExpressionValue;
|
||||
variables?: Record<string, any>;
|
||||
// Enables debug tracking on each expression in the AST
|
||||
|
|
|
@ -14,6 +14,7 @@ import { Observable } from 'rxjs';
|
|||
import { ObservableLike } from '@kbn/utility-types';
|
||||
import { Plugin as Plugin_2 } from 'src/core/server';
|
||||
import { PluginInitializerContext } from 'src/core/server';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { UnwrapObservable } from '@kbn/utility-types';
|
||||
import { UnwrapPromiseOrReturn } from '@kbn/utility-types';
|
||||
|
||||
|
@ -131,11 +132,10 @@ export class Execution<Input = unknown, Output = unknown, InspectorAdapters exte
|
|||
// @public (undocumented)
|
||||
export type ExecutionContainer<Output = ExpressionValue> = StateContainer<ExecutionState<Output>, ExecutionPureTransitions<Output>>;
|
||||
|
||||
// Warning: (ae-forgotten-export) The symbol "SerializableState" needs to be exported by the entry point index.d.ts
|
||||
// Warning: (ae-missing-release-tag) "ExecutionContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableState_2 = SerializableState_2> {
|
||||
export interface ExecutionContext<InspectorAdapters extends Adapters = Adapters, ExecutionContextSearch extends SerializableRecord = SerializableRecord> {
|
||||
abortSignal: AbortSignal;
|
||||
getExecutionContext: () => KibanaExecutionContext | undefined;
|
||||
getKibanaRequest?: () => KibanaRequest;
|
||||
|
@ -328,7 +328,7 @@ export class ExpressionFunction implements PersistableState<ExpressionAstFunctio
|
|||
inputTypes: string[] | undefined;
|
||||
// (undocumented)
|
||||
migrations: {
|
||||
[key: string]: (state: SerializableState) => SerializableState;
|
||||
[key: string]: (state: SerializableRecord) => SerializableRecord;
|
||||
};
|
||||
name: string;
|
||||
// (undocumented)
|
||||
|
@ -604,7 +604,7 @@ export type ExpressionValueConverter<I extends ExpressionValue, O extends Expres
|
|||
// @public (undocumented)
|
||||
export type ExpressionValueError = ExpressionValueBoxed<'error', {
|
||||
error: ErrorLike;
|
||||
info?: SerializableState;
|
||||
info?: SerializableRecord;
|
||||
}>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "ExpressionValueFilter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
|
@ -947,7 +947,6 @@ export type UnmappedTypeStrings = 'date' | 'filter';
|
|||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/plugins/expressions/common/ast/types.ts:29:3 - (ae-forgotten-export) The symbol "ExpressionAstFunctionDebug" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/expressions/common/expression_functions/expression_function.ts:68:5 - (ae-forgotten-export) The symbol "SerializableState" needs to be exported by the entry point index.d.ts
|
||||
// src/plugins/expressions/common/expression_types/specs/error.ts:20:5 - (ae-forgotten-export) The symbol "ErrorLike" needs to be exported by the entry point index.d.ts
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
*/
|
||||
|
||||
import { mergeWith } from 'lodash';
|
||||
import { MigrateFunctionsObject, MigrateFunction, SerializableState } from './types';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { MigrateFunctionsObject, MigrateFunction } from './types';
|
||||
|
||||
export const mergeMigrationFunctionMaps = (
|
||||
obj1: MigrateFunctionsObject,
|
||||
|
@ -17,7 +18,7 @@ export const mergeMigrationFunctionMaps = (
|
|||
if (!srcValue || !objValue) {
|
||||
return srcValue || objValue;
|
||||
}
|
||||
return (state: SerializableState) => objValue(srcValue(state));
|
||||
return (state: SerializableRecord) => objValue(srcValue(state));
|
||||
};
|
||||
|
||||
return mergeWith({ ...obj1 }, obj2, customizer);
|
||||
|
|
|
@ -6,19 +6,20 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { SerializableState, MigrateFunction } from './types';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { MigrateFunction } from './types';
|
||||
import { migrateToLatest } from './migrate_to_latest';
|
||||
|
||||
interface StateV1 extends SerializableState {
|
||||
interface StateV1 extends SerializableRecord {
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface StateV2 extends SerializableState {
|
||||
interface StateV2 extends SerializableRecord {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
}
|
||||
|
||||
interface StateV3 extends SerializableState {
|
||||
interface StateV3 extends SerializableRecord {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
isAdmin: boolean;
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
*/
|
||||
|
||||
import { compare } from 'semver';
|
||||
import { SerializableState, VersionedState, MigrateFunctionsObject } from './types';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { VersionedState, MigrateFunctionsObject } from './types';
|
||||
|
||||
export function migrateToLatest<S extends SerializableState>(
|
||||
export function migrateToLatest<S extends SerializableRecord>(
|
||||
migrations: MigrateFunctionsObject,
|
||||
{ state, version: oldVersion }: VersionedState
|
||||
): S {
|
||||
|
|
|
@ -6,18 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { SavedObjectReference } from '../../../../core/types';
|
||||
|
||||
/**
|
||||
* Serializable state is something is a POJO JavaScript object that can be
|
||||
* serialized to a JSON string.
|
||||
*/
|
||||
export type SerializableState = {
|
||||
[key: string]: Serializable;
|
||||
};
|
||||
export type SerializableValue = string | number | boolean | null | undefined | SerializableState;
|
||||
export type Serializable = SerializableValue | SerializableValue[];
|
||||
|
||||
/**
|
||||
* Versioned state is a POJO JavaScript object that can be serialized to JSON,
|
||||
* and which also contains the version information. The version is stored in
|
||||
|
@ -35,7 +26,7 @@ export type Serializable = SerializableValue | SerializableValue[];
|
|||
* };
|
||||
* ```
|
||||
*/
|
||||
export interface VersionedState<S extends SerializableState = SerializableState> {
|
||||
export interface VersionedState<S extends SerializableRecord = SerializableRecord> {
|
||||
version: string;
|
||||
state: S;
|
||||
}
|
||||
|
@ -50,7 +41,7 @@ export interface VersionedState<S extends SerializableState = SerializableState>
|
|||
*
|
||||
* @todo Maybe rename it to `PersistableStateItem`?
|
||||
*/
|
||||
export interface PersistableState<P extends SerializableState = SerializableState> {
|
||||
export interface PersistableState<P extends SerializableRecord = SerializableRecord> {
|
||||
/**
|
||||
* Function which reports telemetry information. This function is essentially
|
||||
* a "reducer" - it receives the existing "stats" object and returns an
|
||||
|
@ -101,8 +92,8 @@ export interface PersistableState<P extends SerializableState = SerializableStat
|
|||
*/
|
||||
export type MigrateFunctionsObject = { [semver: string]: MigrateFunction<any, any> };
|
||||
export type MigrateFunction<
|
||||
FromVersion extends SerializableState = SerializableState,
|
||||
ToVersion extends SerializableState = SerializableState
|
||||
FromVersion extends SerializableRecord = SerializableRecord,
|
||||
ToVersion extends SerializableRecord = SerializableRecord
|
||||
> = (state: FromVersion) => ToVersion;
|
||||
|
||||
/**
|
||||
|
@ -111,21 +102,21 @@ export type MigrateFunction<
|
|||
* @param version
|
||||
*/
|
||||
export type PersistableStateMigrateFn = (
|
||||
state: SerializableState,
|
||||
state: SerializableRecord,
|
||||
version: string
|
||||
) => SerializableState;
|
||||
) => SerializableRecord;
|
||||
|
||||
/**
|
||||
* @todo Shall we remove this?
|
||||
*/
|
||||
export type PersistableStateDefinition<P extends SerializableState = SerializableState> = Partial<
|
||||
export type PersistableStateDefinition<P extends SerializableRecord = SerializableRecord> = Partial<
|
||||
PersistableState<P>
|
||||
>;
|
||||
|
||||
/**
|
||||
* @todo Add description.
|
||||
*/
|
||||
export interface PersistableStateService<P extends SerializableState = SerializableState> {
|
||||
export interface PersistableStateService<P extends SerializableRecord = SerializableRecord> {
|
||||
/**
|
||||
* Function which reports telemetry information. This function is essentially
|
||||
* a "reducer" - it receives the existing "stats" object and returns an
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { UiComponent } from '../../common/ui/ui_component';
|
||||
import { SerializableState } from '../../common';
|
||||
|
||||
/**
|
||||
* Represents something that can be configured by user using UI.
|
||||
*/
|
||||
export interface Configurable<
|
||||
Config extends SerializableState = SerializableState,
|
||||
Config extends SerializableRecord = SerializableRecord,
|
||||
Context = object
|
||||
> {
|
||||
/**
|
||||
|
@ -36,7 +36,7 @@ export interface Configurable<
|
|||
* Props provided to `CollectConfig` component on every re-render.
|
||||
*/
|
||||
export interface CollectConfigProps<
|
||||
Config extends SerializableState = SerializableState,
|
||||
Config extends SerializableRecord = SerializableRecord,
|
||||
Context = object
|
||||
> {
|
||||
/**
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { LocatorDefinition, LocatorPublic } from 'src/plugins/share/common';
|
||||
import { MANAGEMENT_APP_ID } from './contants';
|
||||
|
||||
export const MANAGEMENT_APP_LOCATOR = 'MANAGEMENT_APP_LOCATOR';
|
||||
|
||||
export interface ManagementAppLocatorParams extends SerializableState {
|
||||
export interface ManagementAppLocatorParams extends SerializableRecord {
|
||||
sectionId: string;
|
||||
appId?: string;
|
||||
}
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { LocatorDefinition } from '../locators';
|
||||
import { UrlService, UrlServiceDependencies } from '../url_service';
|
||||
|
||||
export interface TestLocatorState extends SerializableState {
|
||||
export interface TestLocatorState extends SerializableRecord {
|
||||
savedObjectId: string;
|
||||
showFlyout: boolean;
|
||||
pageNumber: number;
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import type { SavedObjectReference } from 'kibana/server';
|
||||
import { DependencyList } from 'react';
|
||||
import type { PersistableState, SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { PersistableState } from 'src/plugins/kibana_utils/common';
|
||||
import { useLocatorUrl } from './use_locator_url';
|
||||
import type {
|
||||
LocatorDefinition,
|
||||
|
@ -30,7 +31,7 @@ export interface LocatorDependencies {
|
|||
getUrl: (location: KibanaLocation, getUrlParams: LocatorGetUrlParams) => Promise<string>;
|
||||
}
|
||||
|
||||
export class Locator<P extends SerializableState> implements LocatorPublic<P> {
|
||||
export class Locator<P extends SerializableRecord> implements LocatorPublic<P> {
|
||||
public readonly migrations: PersistableState<P>['migrations'];
|
||||
|
||||
constructor(
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import type { LocatorDependencies } from './locator';
|
||||
import type { LocatorDefinition, LocatorPublic, ILocatorClient } from './types';
|
||||
import { Locator } from './locator';
|
||||
|
@ -27,7 +27,7 @@ export class LocatorClient implements ILocatorClient {
|
|||
* @param definition A definition of URL locator.
|
||||
* @returns A public interface of URL locator.
|
||||
*/
|
||||
public create<P extends SerializableState>(definition: LocatorDefinition<P>): LocatorPublic<P> {
|
||||
public create<P extends SerializableRecord>(definition: LocatorDefinition<P>): LocatorPublic<P> {
|
||||
const locator = new Locator<P>(definition, this.deps);
|
||||
|
||||
this.locators.set(definition.id, locator);
|
||||
|
@ -41,7 +41,7 @@ export class LocatorClient implements ILocatorClient {
|
|||
* @param id ID of a URL locator.
|
||||
* @returns A public interface of a registered URL locator.
|
||||
*/
|
||||
public get<P extends SerializableState>(id: string): undefined | LocatorPublic<P> {
|
||||
public get<P extends SerializableRecord>(id: string): undefined | LocatorPublic<P> {
|
||||
return this.locators.get(id);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { DependencyList } from 'react';
|
||||
import { PersistableState, SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import { PersistableState } from 'src/plugins/kibana_utils/common';
|
||||
|
||||
/**
|
||||
* URL locator registry.
|
||||
|
@ -18,20 +19,20 @@ export interface ILocatorClient {
|
|||
*
|
||||
* @param urlGenerator Definition of the new locator.
|
||||
*/
|
||||
create<P extends SerializableState>(locatorDefinition: LocatorDefinition<P>): LocatorPublic<P>;
|
||||
create<P extends SerializableRecord>(locatorDefinition: LocatorDefinition<P>): LocatorPublic<P>;
|
||||
|
||||
/**
|
||||
* Retrieve a previously registered locator.
|
||||
*
|
||||
* @param id Unique ID of the locator.
|
||||
*/
|
||||
get<P extends SerializableState>(id: string): undefined | LocatorPublic<P>;
|
||||
get<P extends SerializableRecord>(id: string): undefined | LocatorPublic<P>;
|
||||
}
|
||||
|
||||
/**
|
||||
* A convenience interface used to define and register a locator.
|
||||
*/
|
||||
export interface LocatorDefinition<P extends SerializableState>
|
||||
export interface LocatorDefinition<P extends SerializableRecord>
|
||||
extends Partial<PersistableState<P>> {
|
||||
/**
|
||||
* Unique ID of the locator. Should be constant and unique across Kibana.
|
||||
|
@ -50,7 +51,7 @@ export interface LocatorDefinition<P extends SerializableState>
|
|||
/**
|
||||
* Public interface of a registered locator.
|
||||
*/
|
||||
export interface LocatorPublic<P extends SerializableState> extends PersistableState<P> {
|
||||
export interface LocatorPublic<P extends SerializableRecord> extends PersistableState<P> {
|
||||
/**
|
||||
* Returns a reference to a Kibana client-side location.
|
||||
*
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
import { DependencyList, useEffect, useState } from 'react';
|
||||
import useMountedState from 'react-use/lib/useMountedState';
|
||||
import { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { LocatorGetUrlParams, LocatorPublic } from '../../../common/url_service';
|
||||
|
||||
export const useLocatorUrl = <P extends SerializableState>(
|
||||
export const useLocatorUrl = <P extends SerializableRecord>(
|
||||
locator: LocatorPublic<P> | null | undefined,
|
||||
params: P,
|
||||
getUrlParams?: LocatorGetUrlParams,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import { SerializableRecord } from '@kbn/utility-types';
|
||||
import { SharePluginSetup, SharePluginStart } from '.';
|
||||
import { LocatorPublic, UrlService } from '../common/url_service';
|
||||
|
||||
|
@ -42,7 +42,7 @@ const createStartContract = (): Start => {
|
|||
return startContract;
|
||||
};
|
||||
|
||||
const createLocator = <T extends SerializableState = SerializableState>(): jest.Mocked<
|
||||
const createLocator = <T extends SerializableRecord = SerializableRecord>(): jest.Mocked<
|
||||
LocatorPublic<T>
|
||||
> => ({
|
||||
getLocation: jest.fn(),
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
import type { CoreSetup } from 'src/core/public';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { migrateToLatest } from '../../../../kibana_utils/common';
|
||||
import type { SerializableState } from '../../../../kibana_utils/common';
|
||||
import type { UrlService } from '../../../common/url_service';
|
||||
import { render } from './render';
|
||||
import { parseSearchParams } from './util/parse_search_params';
|
||||
|
@ -23,7 +23,7 @@ export interface RedirectOptions {
|
|||
version: string;
|
||||
|
||||
/** Locator params. */
|
||||
params: unknown & SerializableState;
|
||||
params: unknown & SerializableRecord;
|
||||
}
|
||||
|
||||
export interface RedirectManagerDependencies {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import type { SerializableState } from 'src/plugins/kibana_utils/common';
|
||||
import type { SerializableRecord } from '@kbn/utility-types';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import type { RedirectOptions } from '../redirect_manager';
|
||||
|
||||
|
@ -63,7 +63,7 @@ export function parseSearchParams(urlSearch: string): RedirectOptions {
|
|||
throw new Error(message);
|
||||
}
|
||||
|
||||
let params: unknown & SerializableState;
|
||||
let params: unknown & SerializableRecord;
|
||||
try {
|
||||
params = JSON.parse(paramsJson);
|
||||
} catch {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue