move to alpha
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -237,11 +237,6 @@ export namespace coreServices {
|
||||
'root',
|
||||
'singleton'
|
||||
>;
|
||||
const rootSystemMetadata: ServiceRef<
|
||||
RootSystemMetadataService,
|
||||
'root',
|
||||
'singleton'
|
||||
>;
|
||||
}
|
||||
|
||||
// @public
|
||||
@@ -633,20 +628,6 @@ export interface RootServiceFactoryOptions<
|
||||
service: ServiceRef<TService, 'root', TInstances>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RootSystemMetadataService {
|
||||
// (undocumented)
|
||||
getInstalledPlugins: () => Promise<
|
||||
ReadonlyArray<RootSystemMetadataServicePluginInfo>
|
||||
>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RootSystemMetadataServicePluginInfo {
|
||||
// (undocumented)
|
||||
readonly pluginId: string;
|
||||
}
|
||||
|
||||
// @public
|
||||
export interface SchedulerService {
|
||||
createScheduledTaskRunner(
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export type {
|
||||
RootSystemMetadataServicePluginInfo,
|
||||
RootSystemMetadataService,
|
||||
} from './RootSystemMetadataService';
|
||||
|
||||
export type {
|
||||
ActionsRegistryService,
|
||||
ActionsRegistryActionOptions,
|
||||
@@ -22,11 +27,12 @@ export type {
|
||||
|
||||
export type { ActionsService, ActionsServiceAction } from './ActionsService';
|
||||
|
||||
export { actionsRegistryServiceRef, actionsServiceRef } from './refs';
|
||||
|
||||
import { createServiceRef } from '@backstage/backend-plugin-api';
|
||||
|
||||
export type {
|
||||
BackstageInstance,
|
||||
SystemMetadataService,
|
||||
} from './services/definitions/SystemMetadataService';
|
||||
export {
|
||||
actionsRegistryServiceRef,
|
||||
actionsServiceRef,
|
||||
rootSystemMetadataServiceRef,
|
||||
} from './refs';
|
||||
|
||||
@@ -45,3 +45,14 @@ export const actionsRegistryServiceRef = createServiceRef<
|
||||
>({
|
||||
id: 'alpha.core.actionsRegistry',
|
||||
});
|
||||
|
||||
/**
|
||||
* Read information about your current Backstage deployment.
|
||||
* @alpha
|
||||
*/
|
||||
export const rootSystemMetadataServiceRef = createServiceRef<
|
||||
import('./RootSystemMetadataService').RootSystemMetadataService
|
||||
>({
|
||||
id: 'alpha.core.rootSystemMetadata',
|
||||
scope: 'root',
|
||||
});
|
||||
|
||||
@@ -289,15 +289,4 @@ export namespace coreServices {
|
||||
id: 'core.rootInstanceMetadata',
|
||||
scope: 'root',
|
||||
});
|
||||
|
||||
/**
|
||||
* Read information about your current Backstage deployment.
|
||||
* @public
|
||||
*/
|
||||
export const rootSystemMetadata = createServiceRef<
|
||||
import('./RootSystemMetadataService').RootSystemMetadataService
|
||||
>({
|
||||
id: 'core.rootSystemMetadata',
|
||||
scope: 'root',
|
||||
});
|
||||
}
|
||||
|
||||
@@ -72,10 +72,6 @@ export type {
|
||||
SchedulerServiceTaskScheduleDefinition,
|
||||
SchedulerServiceTaskScheduleDefinitionConfig,
|
||||
} from './SchedulerService';
|
||||
export type {
|
||||
RootSystemMetadataServicePluginInfo,
|
||||
RootSystemMetadataService,
|
||||
} from './RootSystemMetadataService';
|
||||
export type {
|
||||
UrlReaderService,
|
||||
UrlReaderServiceReadTreeOptions,
|
||||
|
||||
Reference in New Issue
Block a user