From 42f07c406690db25bd34f4c0a7f83ab1b739e1c7 Mon Sep 17 00:00:00 2001 From: abbyhu2000 Date: Wed, 4 Jan 2023 17:39:42 +0000 Subject: [PATCH] add function definition in data plugin api doc Signed-off-by: abbyhu2000 --- src/plugins/data/public/public.api.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/plugins/data/public/public.api.md b/src/plugins/data/public/public.api.md index 615ca3c2e0dd..4651f4a2b700 100644 --- a/src/plugins/data/public/public.api.md +++ b/src/plugins/data/public/public.api.md @@ -368,6 +368,20 @@ export enum BUCKET_TYPES { // @public export const castOpenSearchToOsdFieldTypeName: (opensearchType: OPENSEARCH_FIELD_TYPES | string) => OSD_FIELD_TYPES; +// @public +export const connectStorageToQueryState = ( + { + filterManager, + queryString, + state$, + }: Pick, + OsdUrlStateStorage: IOsdUrlStateStorage, + syncConfig: { + filters: FilterStateStore; + query: boolean; + } +) => () => void; + // Warning: (ae-forgotten-export) The symbol "QuerySetup" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "BaseStateContainer" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "connectToQueryState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)