From d8c87f10dab2a8c1b58ab82d4503bad03b988a2d Mon Sep 17 00:00:00 2001 From: Christian Marker / Intility AS Date: Tue, 20 Sep 2022 20:42:32 +0200 Subject: [PATCH] revert: revert exported viewTechDocRouteRef Signed-off-by: Christian Marker / Intility AS --- plugins/catalog/api-report.md | 10 ---------- plugins/catalog/src/index.ts | 2 -- plugins/catalog/src/routes.ts | 4 ---- 3 files changed, 16 deletions(-) diff --git a/plugins/catalog/api-report.md b/plugins/catalog/api-report.md index adc6d78206..377b62a1e6 100644 --- a/plugins/catalog/api-report.md +++ b/plugins/catalog/api-report.md @@ -437,14 +437,4 @@ export type SystemDiagramCardClassKey = | 'componentNode' | 'apiNode' | 'resourceNode'; - -// @public -export const viewTechDocRouteRef: ExternalRouteRef< - { - name: string; - kind: string; - namespace: string; - }, - true ->; ``` diff --git a/plugins/catalog/src/index.ts b/plugins/catalog/src/index.ts index 63b22cec45..886039e329 100644 --- a/plugins/catalog/src/index.ts +++ b/plugins/catalog/src/index.ts @@ -70,5 +70,3 @@ export type { HasResourcesCardProps } from './components/HasResourcesCard'; export type { HasSubcomponentsCardProps } from './components/HasSubcomponentsCard'; export type { HasSystemsCardProps } from './components/HasSystemsCard'; export type { RelatedEntitiesCardProps } from './components/RelatedEntitiesCard'; - -export { viewTechDocRouteRef } from './routes'; diff --git a/plugins/catalog/src/routes.ts b/plugins/catalog/src/routes.ts index d75077fed3..5c0d195d74 100644 --- a/plugins/catalog/src/routes.ts +++ b/plugins/catalog/src/routes.ts @@ -24,10 +24,6 @@ export const createComponentRouteRef = createExternalRouteRef({ optional: true, }); -/** - * Route ref for linking to Tech docs page - * @public (undocumented) - */ export const viewTechDocRouteRef = createExternalRouteRef({ id: 'view-techdoc', optional: true,