frontend-plugin-api: use api ref ID as namespace + allow namespace override for plugins

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-11-24 14:26:01 +01:00
parent c1d5dfbe13
commit 1b241c3901
12 changed files with 85 additions and 106 deletions
+1 -3
View File
@@ -49,9 +49,7 @@ export const TechRadarPage = createPageExtension({
/** @alpha */
export const sampleTechRadarApi = createApiExtension({
factory() {
return createApiFactory(techRadarApiRef, new SampleTechRadarApi());
},
factory: createApiFactory(techRadarApiRef, new SampleTechRadarApi()),
});
/** @alpha */