plugins: export catalogTranslationRef

Signed-off-by: Bruno Bastos Guimaraes <bruno.guimaraes@serpro.gov.br>
This commit is contained in:
Bruno Bastos Guimaraes
2024-05-21 08:38:18 -03:00
parent 2c3f493ee3
commit a2d26490e6
3 changed files with 16 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Variable 'catalogTranslationRef' is exported in translation.ts, but it was forgotten to also add it to the alpha entrypoint, so the code never became "visible"
+10
View File
@@ -11,6 +11,16 @@ import { ExtensionDefinition } from '@backstage/frontend-plugin-api';
import { ExternalRouteRef } from '@backstage/frontend-plugin-api';
import { PortableSchema } from '@backstage/frontend-plugin-api';
import { RouteRef } from '@backstage/frontend-plugin-api';
import { TranslationRef } from '@backstage/core-plugin-api/alpha';
// @alpha (undocumented)
export const catalogTranslationRef: TranslationRef<
'catalog',
{
readonly 'indexPage.title': '{{orgName}} Catalog';
readonly 'indexPage.createButtonTitle': 'Create';
}
>;
// @alpha (undocumented)
export function createCatalogFilterExtension<
+1
View File
@@ -16,3 +16,4 @@
export * from './alpha/index';
export { default } from './alpha/index';
export { catalogTranslationRef } from './translation';