core-plugin-api: Remove exports of unused types
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user