Merge pull request #25708 from backstage/rugvip/data-ref-ids
frontend-plugin-api: update extension data ref declaration to allow embedding of ID in type
This commit is contained in:
@@ -31,7 +31,9 @@ const rootRouteRef = createRouteRef();
|
||||
/**
|
||||
* @alpha
|
||||
*/
|
||||
export const titleExtensionDataRef = createExtensionDataRef<string>('title');
|
||||
export const titleExtensionDataRef = createExtensionDataRef<string>().with({
|
||||
id: 'title',
|
||||
});
|
||||
|
||||
const homePage = createPageExtension({
|
||||
defaultPath: '/home',
|
||||
|
||||
Reference in New Issue
Block a user