core-plugin-api: Remove exports of unused types

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-11-10 15:10:17 +01:00
parent 3e6762ba3f
commit 7df99cdb77
3 changed files with 5 additions and 19 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-plugin-api': minor
---
Remove exports of unused types(`RouteOptions` and `RoutePath`).
@@ -25,6 +25,4 @@ export type {
PluginConfig,
PluginHooks,
PluginOutput,
RouteOptions,
RoutePath,
} from './types';
@@ -17,23 +17,6 @@
import { RouteRef, SubRouteRef, ExternalRouteRef } from '../routing';
import { AnyApiFactory } from '../apis/system';
/**
* Route configuration.
*
* @public
*/
export type RouteOptions = {
// Whether the route path must match exactly, defaults to true.
exact?: boolean;
};
/**
* Type alias for paths.
*
* @public
*/
export type RoutePath = string;
/**
* Replace with using {@link RouteRef}s.
*