From 66bcc31ec42d91d40b5a46ccbe1652ee7056b208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Thu, 21 Oct 2021 16:36:41 +0200 Subject: [PATCH] some more fixup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- packages/core-plugin-api/api-report.md | 6 ------ packages/core-plugin-api/src/deprecatedTypes.ts | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/core-plugin-api/api-report.md b/packages/core-plugin-api/api-report.md index 0347b4b018..575d0b755f 100644 --- a/packages/core-plugin-api/api-report.md +++ b/packages/core-plugin-api/api-report.md @@ -683,13 +683,9 @@ export const oauthRequestApiRef: ApiRef; // @public export type OAuthScope = string | string[]; -// Warning: (ae-missing-release-tag) "Observable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public @deprecated export type Observable = Observable_2; -// Warning: (ae-missing-release-tag) "Observer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public @deprecated export type Observer = Observer_2; @@ -897,8 +893,6 @@ export type SubRouteRef = { params: ParamKeys; }; -// Warning: (ae-missing-release-tag) "Subscription" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public @deprecated export type Subscription = Subscription_2; diff --git a/packages/core-plugin-api/src/deprecatedTypes.ts b/packages/core-plugin-api/src/deprecatedTypes.ts index 605dc72ee3..4b24614e17 100644 --- a/packages/core-plugin-api/src/deprecatedTypes.ts +++ b/packages/core-plugin-api/src/deprecatedTypes.ts @@ -23,6 +23,7 @@ import { /** * Observer interface for consuming an Observer, see TC39. * + * @public * @deprecated Please use the same type from `@backstage/types` instead */ export type Observer = CoreObserver; @@ -30,6 +31,7 @@ export type Observer = CoreObserver; /** * Subscription returned when subscribing to an Observable, see TC39. * + * @public * @deprecated Please use the same type from `@backstage/types` instead */ export type Subscription = CoreSubscription; @@ -42,6 +44,7 @@ export type Subscription = CoreSubscription; * This is used as a common return type for observable values and can be created * using many different observable implementations, such as zen-observable or RxJS 5. * + * @public * @deprecated Please use the same type from `@backstage/types` instead */ export type Observable = CoreObservable;