plugins: refactor DI extension IDs

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-11-22 13:41:57 +01:00
parent b21f33deda
commit 36c94b8462
21 changed files with 76 additions and 73 deletions
-2
View File
@@ -29,7 +29,6 @@ import { rootRouteRef } from './plugin';
/** @alpha */
export const TechRadarPage = createPageExtension({
id: 'plugin.techradar.page',
defaultPath: '/tech-radar',
routeRef: convertLegacyRouteRef(rootRouteRef),
configSchema: createSchemaFromZod(z =>
@@ -49,7 +48,6 @@ export const TechRadarPage = createPageExtension({
});
const sampleTechRadarApi = createApiExtension({
api: techRadarApiRef,
factory() {
return createApiFactory(techRadarApiRef, new SampleTechRadarApi());
},