chore: fixed better namespacing for the routeRefs
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
import { AllureApiClient, allureApiRef } from './api';
|
||||
|
||||
export const allureRouteRef = createRouteRef({
|
||||
id: 'allure-report',
|
||||
id: 'allure',
|
||||
});
|
||||
|
||||
export const allurePlugin = createPlugin({
|
||||
|
||||
@@ -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'],
|
||||
});
|
||||
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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',
|
||||
});
|
||||
|
||||
@@ -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',
|
||||
});
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -30,7 +30,7 @@ export const rootRouteRef = createRouteRef({
|
||||
});
|
||||
|
||||
export const rootNextRouteRef = createRouteRef({
|
||||
id: 'search-next',
|
||||
id: 'search:next',
|
||||
});
|
||||
|
||||
export const searchPlugin = createPlugin({
|
||||
|
||||
@@ -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',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user