refactor: Renamed azurePrsRootRouteRef to azurePullRequestDashboardRouteRef.

Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
This commit is contained in:
Marley Powell
2021-11-12 11:23:45 +00:00
parent caa2bc31f1
commit fa6c26f68d
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import { SvgIconProps } from '@material-ui/core';
// @public (undocumented)
export const azureDevOpsPlugin: BackstagePlugin<
{
azurePrsRoot: RouteRef<undefined>;
azurePullRequestDashboard: RouteRef<undefined>;
azurePipelinesEntityContent: RouteRef<undefined>;
},
{}
+3 -3
View File
@@ -16,7 +16,7 @@
import {
azurePipelinesEntityContentRouteRef,
azurePrsRootRouteRef,
azurePullRequestDashboardRouteRef,
} from './routes';
import {
createApiFactory,
@@ -45,7 +45,7 @@ export const azureDevOpsPlugin = createPlugin({
}),
],
routes: {
azurePrsRoot: azurePrsRootRouteRef,
azurePullRequestDashboard: azurePullRequestDashboardRouteRef,
azurePipelinesEntityContent: azurePipelinesEntityContentRouteRef,
},
});
@@ -55,7 +55,7 @@ export const AzurePullRequestsPage = azureDevOpsPlugin.provide(
name: 'AzurePullRequestsPage',
component: () =>
import('./components/PullRequestsPage').then(m => m.PullRequestsPage),
mountPoint: azurePrsRootRouteRef,
mountPoint: azurePullRequestDashboardRouteRef,
}),
);
+1 -1
View File
@@ -16,7 +16,7 @@
import { createRouteRef } from '@backstage/core-plugin-api';
export const azurePrsRootRouteRef = createRouteRef({
export const azurePullRequestDashboardRouteRef = createRouteRef({
path: '',
title: 'Azure Pull Requests',
});