Promote translation refs from alpha to stable entry points
Add each plugin and package translation ref to the corresponding stable entry point, changing the JSDoc tag from @alpha to @public. The alpha entry points now re-export with a @deprecated annotation so existing consumers continue to work. Affected packages: core-components, api-docs, catalog, catalog-graph, catalog-import, catalog-react, home, home-react, kubernetes, kubernetes-cluster, kubernetes-react, notifications, org, scaffolder, scaffolder-react, search, search-react, user-settings. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -23,7 +23,13 @@
|
||||
*
|
||||
* @packageDocumentation
|
||||
*/
|
||||
export { homeReactTranslationRef } from './translation';
|
||||
import { homeReactTranslationRef as _homeReactTranslationRef } from './translation';
|
||||
|
||||
/**
|
||||
* @public
|
||||
* @deprecated Import from `@backstage/plugin-home-react` instead.
|
||||
*/
|
||||
export const homeReactTranslationRef = _homeReactTranslationRef;
|
||||
export {
|
||||
HomePageWidgetBlueprint,
|
||||
type HomePageWidgetBlueprintParams,
|
||||
|
||||
@@ -31,3 +31,4 @@ export type {
|
||||
CardConfig,
|
||||
} from './extensions';
|
||||
export * from './overridableComponents';
|
||||
export { homeReactTranslationRef } from './translation';
|
||||
|
||||
@@ -17,9 +17,9 @@ import { createTranslationRef } from '@backstage/frontend-plugin-api';
|
||||
|
||||
/**
|
||||
* Translation reference for the home-react plugin.
|
||||
* Contains localized text strings for home page components and settings modals.
|
||||
* Contains localized text strings for home page components and widgets.
|
||||
*
|
||||
* @alpha
|
||||
* @public
|
||||
*/
|
||||
export const homeReactTranslationRef = createTranslationRef({
|
||||
id: 'home-react',
|
||||
|
||||
Reference in New Issue
Block a user