chore(search-react): update api reports

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2023-09-25 23:37:51 +02:00
parent b54222b62d
commit 0639f2840a
2 changed files with 61 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
## API Report File for "@backstage/plugin-search-react"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
/// <reference types="react" />
import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api';
import { Extension } from '@backstage/frontend-plugin-api';
import { ListItemProps } from '@material-ui/core';
import { SearchDocument } from '@backstage/plugin-search-common';
import { SearchResult } from '@backstage/plugin-search-common';
// @alpha (undocumented)
export type BaseSearchResultListItemProps = {
rank?: number;
result?: SearchDocument;
noTrack?: boolean;
} & Omit<ListItemProps, 'button'>;
// @alpha (undocumented)
export const createSearchResultListItemExtension: (
options: SearchResultItemExtensionOptions,
) => Extension<never>;
// @alpha (undocumented)
export type SearchResultItemExtensionComponent = <
P extends BaseSearchResultListItemProps,
>(
props: P,
) => JSX.Element | null;
// @alpha (undocumented)
export const searchResultItemExtensionData: ConfigurableExtensionDataRef<
{
predicate?: SearchResultItemExtensionPredicate | undefined;
component: SearchResultItemExtensionComponent;
},
{}
>;
// @alpha (undocumented)
export type SearchResultItemExtensionOptions = {
id: string;
at: string;
component: () => Promise<SearchResultItemExtensionComponent>;
predicate?: SearchResultItemExtensionPredicate;
};
// @alpha (undocumented)
export type SearchResultItemExtensionPredicate = (
result: SearchResult,
) => boolean;
// (No @packageDocumentation comment for this package)
```
+5
View File
@@ -391,6 +391,11 @@ export const SearchResultList: (
props: SearchResultListProps,
) => React_2.JSX.Element;
// @public
export const SearchResultListItemExtension: (
props: SearchResultListItemExtensionProps,
) => React_2.JSX.Element;
// @public
export type SearchResultListItemExtensionOptions<
Component extends (props: any) => JSX.Element | null,