@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user