Skip to content

Commit

Permalink
core-plugin-api: Remove exports of unused types
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Haals <johan.haals@gmail.com>
  • Loading branch information
jhaals committed Nov 15, 2021
1 parent 3e6762b commit 7df99cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-taxis-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@backstage/core-plugin-api': minor
---

Remove exports of unused types(`RouteOptions` and `RoutePath`).
2 changes: 0 additions & 2 deletions packages/core-plugin-api/src/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,4 @@ export type {
PluginConfig,
PluginHooks,
PluginOutput,
RouteOptions,
RoutePath,
} from './types';
17 changes: 0 additions & 17 deletions packages/core-plugin-api/src/plugin/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 7df99cd

Please sign in to comment.