import non-alpha imports from the main package

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-08-08 15:00:45 +02:00
parent a58fc22210
commit dfb01bedda
2 changed files with 6 additions and 22 deletions
@@ -3,11 +3,8 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
// @public (undocumented)
export interface BackendFeature {
// (undocumented)
$$type: '@backstage/BackendFeature';
}
import { BackendFeature } from '@backstage/backend-plugin-api';
import { ServiceRef } from '@backstage/backend-plugin-api';
// @alpha (undocumented)
export interface FeatureDiscoveryService {
@@ -23,17 +20,5 @@ export const featureDiscoveryServiceRef: ServiceRef<
'root'
>;
// @public
export type ServiceRef<
TService,
TScope extends 'root' | 'plugin' = 'root' | 'plugin',
> = {
id: string;
scope: TScope;
T: TService;
toString(): string;
$$type: '@backstage/ServiceRef';
};
// (No @packageDocumentation comment for this package)
```
+4 -5
View File
@@ -14,8 +14,10 @@
* limitations under the License.
*/
import { createServiceRef } from './services';
import { BackendFeature } from './wiring';
import {
BackendFeature,
createServiceRef,
} from '@backstage/backend-plugin-api';
/** @alpha */
export interface FeatureDiscoveryService {
@@ -31,6 +33,3 @@ export const featureDiscoveryServiceRef =
id: 'core.featureDiscovery',
scope: 'root',
});
export type { ServiceRef } from './services';
export type { BackendFeature };