chore: fixed better namespacing for the routeRefs

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-11-17 20:43:14 +01:00
parent 7c55fae208
commit 06065c6003
8 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ import {
import { AllureApiClient, allureApiRef } from './api';
export const allureRouteRef = createRouteRef({
id: 'allure-report',
id: 'allure',
});
export const allurePlugin = createPlugin({
+1 -1
View File
@@ -25,7 +25,7 @@ export const rootRoute = createRouteRef({
export const catalogRouteRef = rootRoute;
export const entityRoute = createRouteRef({
id: 'catalog-entity',
id: 'catalog:entity',
params: ['namespace', 'kind', 'name'],
});
+2 -2
View File
@@ -25,11 +25,11 @@ export const rootRouteRef = createRouteRef({
});
export const projectGrowthAlertRef = createRouteRef({
id: 'cost-insights-investigating-growth',
id: 'cost-insights:investigating-growth',
});
export const unlabeledDataflowAlertRef = createRouteRef({
id: 'cost-insights-labeling-jobs',
id: 'cost-insights:labeling-jobs',
});
export const costInsightsPlugin = createPlugin({
+2 -2
View File
@@ -20,8 +20,8 @@ export const rootRouteRef = createRouteRef({
id: 'gcp-projects',
});
export const projectRouteRef = createRouteRef({
id: 'gcp-projects-project',
id: 'gcp-projects:project',
});
export const newProjectRouteRef = createRouteRef({
id: 'gcp-projects-new',
id: 'gcp-projects:new',
});
+2 -2
View File
@@ -21,10 +21,10 @@ export const gitOpsClusterListRoute = createRouteRef({
});
export const gitOpsClusterDetailsRoute = createRouteRef({
id: 'gitops-cluster-details',
id: 'gitops-cluster:details',
params: ['owner', 'repo'],
});
export const gitOpsClusterCreateRoute = createRouteRef({
id: 'gitops-cluster-create',
id: 'gitops-cluster:create',
});
+3 -3
View File
@@ -29,15 +29,15 @@ export const rootRouteRef = createRouteRef({
});
export const viewAuditRouteRef = createRouteRef({
id: 'lighthouse-audit',
id: 'lighthouse:audit',
});
export const createAuditRouteRef = createRouteRef({
id: 'lighthouse-create-audit',
id: 'lighthouse:create-audit',
});
export const entityContentRouteRef = createRouteRef({
id: 'lighthouse-entity-content',
id: 'lighthouse:entity-content',
});
export const lighthousePlugin = createPlugin({
+1 -1
View File
@@ -30,7 +30,7 @@ export const rootRouteRef = createRouteRef({
});
export const rootNextRouteRef = createRouteRef({
id: 'search-next',
id: 'search:next',
});
export const searchPlugin = createPlugin({
+3 -3
View File
@@ -17,14 +17,14 @@
import { createRouteRef } from '@backstage/core-plugin-api';
export const rootRouteRef = createRouteRef({
id: 'techdocs-index-page',
id: 'techdocs:index-page',
});
export const rootDocsRouteRef = createRouteRef({
id: 'techdocs-reader-page',
id: 'techdocs:reader-page',
params: ['namespace', 'kind', 'name'],
});
export const rootCatalogDocsRouteRef = createRouteRef({
id: 'catalog-techdocs-reader-view',
id: 'techdocs:catalog-reader-view',
});