backend-app-api: mark healthServiceFactory as public
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -18,6 +18,7 @@ import { ErrorRequestHandler } from 'express';
|
||||
import { Express as Express_2 } from 'express';
|
||||
import { Format } from 'logform';
|
||||
import { Handler } from 'express';
|
||||
import { HealthService } from '@backstage/backend-plugin-api';
|
||||
import { HelmetOptions } from 'helmet';
|
||||
import * as http from 'http';
|
||||
import { HttpAuthService } from '@backstage/backend-plugin-api';
|
||||
@@ -126,6 +127,9 @@ export const discoveryServiceFactory: () => ServiceFactory<
|
||||
// @public @deprecated (undocumented)
|
||||
export type ExtendedHttpServer = ExtendedHttpServer_2;
|
||||
|
||||
// @public (undocumented)
|
||||
export const healthServiceFactory: () => ServiceFactory<HealthService, 'root'>;
|
||||
|
||||
// @public @deprecated
|
||||
export class HostDiscovery implements DiscoveryService {
|
||||
static fromConfig(
|
||||
|
||||
@@ -20,6 +20,9 @@ import {
|
||||
} from '@backstage/backend-plugin-api';
|
||||
import { createHealthRouter } from './createHealthRouter';
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export const healthServiceFactory = createServiceFactory({
|
||||
service: coreServices.health,
|
||||
deps: {
|
||||
|
||||
Reference in New Issue
Block a user