From 0cad4e741f14308df256699915b26e6f51897029 Mon Sep 17 00:00:00 2001 From: Colton Padden Date: Wed, 15 Dec 2021 12:50:10 -0500 Subject: [PATCH] release-2021-11-18 packages/core-app-api/src/app/types.ts:209 Signed-off-by: Colton Padden --- .changeset/new-waves-rule.md | 3 ++- packages/core-app-api/api-report.md | 13 ------------- packages/core-app-api/src/app/types.ts | 23 ----------------------- 3 files changed, 2 insertions(+), 37 deletions(-) diff --git a/.changeset/new-waves-rule.md b/.changeset/new-waves-rule.md index abea57d81b..108e80274d 100644 --- a/.changeset/new-waves-rule.md +++ b/.changeset/new-waves-rule.md @@ -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` diff --git a/packages/core-app-api/api-report.md b/packages/core-app-api/api-report.md index e963f64465..55f87ec1eb 100644 --- a/packages/core-app-api/api-report.md +++ b/packages/core-app-api/api-report.md @@ -282,19 +282,6 @@ export type BackstageApp = { getRouter(): ComponentType<{}>; }; -// @public @deprecated -export type BackstagePluginWithAnyOutput = Omit< - BackstagePlugin, - 'output' -> & { - output(): ( - | PluginOutput - | { - type: string; - } - )[]; -}; - // @public export class BitbucketAuth { // (undocumented) diff --git a/packages/core-app-api/src/app/types.ts b/packages/core-app-api/src/app/types.ts index a538ccd366..4b20aeff7e 100644 --- a/packages/core-app-api/src/app/types.ts +++ b/packages/core-app-api/src/app/types.ts @@ -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, - 'output' -> & { - output(): (PluginOutput | { type: string })[]; -}; - /** * The options accepted by {@link createApp}. *