From 05cf5f17622e12018631041a3cde6c19d07d0b70 Mon Sep 17 00:00:00 2001 From: Alisson Fabiano Date: Thu, 11 Aug 2022 16:18:01 +0100 Subject: [PATCH] chore: add forgotten file Signed-off-by: Alisson Fabiano --- plugins/azure-devops/src/plugin.ts | 9 +++++++++ plugins/azure-devops/src/routes.ts | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/plugins/azure-devops/src/plugin.ts b/plugins/azure-devops/src/plugin.ts index ccd183eee9..eaed6e2af9 100644 --- a/plugins/azure-devops/src/plugin.ts +++ b/plugins/azure-devops/src/plugin.ts @@ -24,6 +24,7 @@ import { azurePullRequestDashboardRouteRef, azureGitTagsEntityContentRouteRef, azurePullRequestsEntityContentRouteRef, + azureReadMeEntityContentRouteRef, } from './routes'; import { createApiFactory, @@ -100,3 +101,11 @@ export const EntityAzurePullRequestsContent = azureDevOpsPlugin.provide( mountPoint: azurePullRequestsEntityContentRouteRef, }), ); + +export const EntityAzureReadMeContent = azureDevOpsPlugin.provide( + createRoutableExtension({ + name: 'EntityAzureReadMeContent', + component: () => import('./components/ReadMeCard').then(m => m.ReadMeCard), + mountPoint: azureReadMeEntityContentRouteRef, + }), +); diff --git a/plugins/azure-devops/src/routes.ts b/plugins/azure-devops/src/routes.ts index 4ed35bbe12..418cd89a53 100644 --- a/plugins/azure-devops/src/routes.ts +++ b/plugins/azure-devops/src/routes.ts @@ -31,3 +31,7 @@ export const azureGitTagsEntityContentRouteRef = createRouteRef({ export const azurePullRequestsEntityContentRouteRef = createRouteRef({ id: 'azure-pull-requests-entity-content', }); + +export const azureReadMeEntityContentRouteRef = createRouteRef({ + id: 'azure-read-me-entity-content', +});