API report updates for extension ID redesign
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
```ts
|
||||
import { BackstagePlugin } from '@backstage/frontend-plugin-api';
|
||||
import { Extension } from '@backstage/frontend-plugin-api';
|
||||
import { ExtensionDefinition } from '@backstage/frontend-plugin-api';
|
||||
import { RouteRef } from '@backstage/frontend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
@@ -17,7 +17,10 @@ const _default: BackstagePlugin<
|
||||
export default _default;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const TechRadarPage: Extension<{
|
||||
export const sampleTechRadarApi: ExtensionDefinition<{}>;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const TechRadarPage: ExtensionDefinition<{
|
||||
height: number;
|
||||
width: number;
|
||||
title: string;
|
||||
|
||||
@@ -47,6 +47,7 @@ export const TechRadarPage = createPageExtension({
|
||||
import('./components').then(m => <m.RadarPage {...config} />),
|
||||
});
|
||||
|
||||
/** @alpha */
|
||||
export const sampleTechRadarApi = createApiExtension({
|
||||
factory() {
|
||||
return createApiFactory(techRadarApiRef, new SampleTechRadarApi());
|
||||
|
||||
Reference in New Issue
Block a user