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;