release-2021-11-18 packages/core-app-api/src/app/types.ts:209

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
This commit is contained in:
Colton Padden
2021-12-15 12:50:10 -05:00
parent 17de72e406
commit 0cad4e741f
3 changed files with 2 additions and 37 deletions
+2 -1
View File
@@ -2,4 +2,5 @@
'@backstage/core-app-api': patch
---
Remove deprecated `@backstage/core-app-api@createApp` which has been replaced by `@backstage/app-defaults#createApp`
- Remove deprecated `@backstage/core-app-api@createApp` which has been replaced by `@backstage/app-defaults#createApp`
- Remove deprecated type `BackstagePluginWithAnyOutput`
-13
View File
@@ -282,19 +282,6 @@ export type BackstageApp = {
getRouter(): ComponentType<{}>;
};
// @public @deprecated
export type BackstagePluginWithAnyOutput = Omit<
BackstagePlugin<any, any>,
'output'
> & {
output(): (
| PluginOutput
| {
type: string;
}
)[];
};
// @public
export class BitbucketAuth {
// (undocumented)
-23
View File
@@ -203,29 +203,6 @@ export type AppRouteBinder = <
>,
) => void;
/**
* Internal helper type that represents a plugin with any type of output.
*
* @public
* @remarks
* @deprecated Will be removed
*
* The `type: string` type is there to handle output from newer or older plugin
* API versions that might not be supported by this version of the app API, but
* we don't want to break at the type checking level. We only use this more
* permissive type for the `createApp` options, as we otherwise want to stick
* to using the type for the outputs that we know about in this version of the
* app api.
*
* TODO(freben): This should be marked internal but that's not supported by the api report generation tools yet
*/
export type BackstagePluginWithAnyOutput = Omit<
BackstagePlugin<any, any>,
'output'
> & {
output(): (PluginOutput | { type: string })[];
};
/**
* The options accepted by {@link createApp}.
*