Rename HealthService to RootHealthService

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2024-06-13 13:39:33 +02:00
parent 506fc23556
commit 0c62151404
11 changed files with 31 additions and 25 deletions
@@ -17,7 +17,13 @@
/**
* @public
*/
export interface HealthService {
export interface RootHealthService {
/**
* Get the liveness status of the backend.
*/
getLiveness(): Promise<{ status: number; payload?: any }>;
/**
* Get the readiness status of the backend.
*/
getReadiness(): Promise<{ status: number; payload?: any }>;
}
@@ -32,7 +32,7 @@ export type {
export type { RootConfigService } from './RootConfigService';
export type { DatabaseService } from './DatabaseService';
export type { DiscoveryService } from './DiscoveryService';
export type { HealthService } from './HealthService';
export type { RootHealthService } from './RootHealthService';
export type {
HttpRouterService,
HttpRouterServiceAuthPolicy,