[Search] export search api interface (#8334)

* export api interface from plugin

Signed-off-by: Emma Indal <emmai@spotify.com>

* add changeset

Signed-off-by: Emma Indal <emmai@spotify.com>

* export as type

Signed-off-by: Emma Indal <emmai@spotify.com>

* update api reports

Signed-off-by: Emma Indal <emmai@spotify.com>
This commit is contained in:
Emma Indal
2021-12-02 14:26:32 +01:00
committed by GitHub
parent 5722e731aa
commit 382e3a94b3
3 changed files with 14 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search': patch
---
Export SearchApi interface from plugin
+8 -1
View File
@@ -74,7 +74,14 @@ export const HomePageSearchBar: ({
// @public (undocumented)
export const Router: () => JSX.Element;
// Warning: (ae-forgotten-export) The symbol "SearchApi" needs to be exported by the entry point index.d.ts
// Warning: (ae-missing-release-tag) "SearchApi" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface SearchApi {
// (undocumented)
query(query: SearchQuery): Promise<SearchResultSet>;
}
// Warning: (ae-missing-release-tag) "searchApiRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
+1
View File
@@ -21,6 +21,7 @@
*/
export { searchApiRef } from './apis';
export type { SearchApi } from './apis';
export {
Filters,
FiltersButton,