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
+3 -3
View File
@@ -23,7 +23,7 @@ import { createSearchResultListItemExtension } from '@backstage/plugin-search-re
import { StackOverflowClient, stackOverflowApiRef } from './api';
/** @alpha */
const StackOverflowApi = createApiExtension({
const stackOverflowApi = createApiExtension({
factory: createApiFactory({
api: stackOverflowApiRef,
deps: { configApi: configApiRef },
@@ -32,7 +32,7 @@ const StackOverflowApi = createApiExtension({
});
/** @alpha */
const StackOverflowSearchResultListItem = createSearchResultListItemExtension({
const stackOverflowSearchResultListItem = createSearchResultListItemExtension({
predicate: result => result.type === 'stack-overflow',
component: () =>
import('./search/StackOverflowSearchResultListItem').then(
@@ -44,5 +44,5 @@ const StackOverflowSearchResultListItem = createSearchResultListItemExtension({
export default createPlugin({
id: 'stack-overflow',
// TODO: Migrate homepage cards when the declarative homepage plugin supports them
extensions: [StackOverflowApi, StackOverflowSearchResultListItem],
extensions: [stackOverflowApi, stackOverflowSearchResultListItem],
});