plugins: update all other plugins to fit new frontend system naming patterns

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-12-13 17:39:18 +01:00
parent 2d708d8785
commit 58141224d3
21 changed files with 116 additions and 96 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ const _default: BackstagePlugin<{}, {}>;
export default _default;
// @alpha (undocumented)
export const ExploreSearchResultListItemExtension: ExtensionDefinition<{
export const exploreSearchResultListItem: ExtensionDefinition<{
noTrack?: boolean | undefined;
}>;
+8 -9
View File
@@ -18,17 +18,16 @@ import { createPlugin } from '@backstage/frontend-plugin-api';
import { createSearchResultListItemExtension } from '@backstage/plugin-search-react/alpha';
/** @alpha */
export const ExploreSearchResultListItemExtension =
createSearchResultListItemExtension({
predicate: result => result.type === 'tools',
component: () =>
import('./components/ToolSearchResultListItem').then(
m => m.ToolSearchResultListItem,
),
});
export const exploreSearchResultListItem = createSearchResultListItemExtension({
predicate: result => result.type === 'tools',
component: () =>
import('./components/ToolSearchResultListItem').then(
m => m.ToolSearchResultListItem,
),
});
/** @alpha */
export default createPlugin({
id: 'explore',
extensions: [ExploreSearchResultListItemExtension],
extensions: [exploreSearchResultListItem],
});