chore: review comments

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-08-21 15:10:30 +02:00
parent 62cce6cecd
commit b76af88f1e
6 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
'@backstage/frontend-app-api': patch
---
Move implementations for some APIs to `ApiExtensions` instead that are discovered from the tree
Moved several implementations of built-in APIs from being hardcoded in the app to instead be provided as API extensions. This moves all API-related inputs from the `app` extension to the respective API extensions. For example, extensions created with `ThemeBlueprint` are now attached to the `themes` input of `api:app-theme` rather than the `app` extension.
@@ -32,8 +32,6 @@ import { AppThemeSelector } from '@backstage/core-app-api';
/**
* Contains the themes installed into the app.
*
* @public
*/
export const AppThemeApi = ApiBlueprint.makeWithOverrides({
name: 'app-theme',
@@ -25,8 +25,6 @@ import { DefaultComponentsApi } from '../apis/implementations/ComponentsApi';
/**
* Contains the shareable components installed into the app.
*
* @public
*/
export const ComponentsApi = ApiBlueprint.makeWithOverrides({
name: 'components',
@@ -24,8 +24,6 @@ import { LocalStorageFeatureFlags } from '../../../core-app-api/src/apis/impleme
/**
* Contains the shareable icons installed into the app.
*
* @public
*/
export const FeatureFlagsApi = ApiBlueprint.make({
name: 'feature-flags',
@@ -26,8 +26,6 @@ import { DefaultIconsApi } from '../apis/implementations/IconsApi';
/**
* Contains the shareable icons installed into the app.
*
* @public
*/
export const IconsApi = ApiBlueprint.makeWithOverrides({
name: 'icons',
@@ -29,8 +29,6 @@ import { I18nextTranslationApi } from '../../../core-app-api/src/apis/implementa
/**
* Contains translations that are installed in the app.
*
* @public
*/
export const TranslationsApi = ApiBlueprint.makeWithOverrides({
name: 'translations',