backend-app-api: flip logic of health service
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -335,7 +335,18 @@ export type ExtensionPoint<T> = {
|
||||
export type ExtensionPointConfig = CreateExtensionPointOptions;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface HealthService {}
|
||||
export interface HealthService {
|
||||
// (undocumented)
|
||||
getLiveness(): Promise<{
|
||||
status: number;
|
||||
payload?: any;
|
||||
}>;
|
||||
// (undocumented)
|
||||
getReadiness(): Promise<{
|
||||
status: number;
|
||||
payload?: any;
|
||||
}>;
|
||||
}
|
||||
|
||||
// @public
|
||||
export interface HttpAuthService {
|
||||
|
||||
@@ -17,4 +17,7 @@
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export interface HealthService {}
|
||||
export interface HealthService {
|
||||
getLiveness(): Promise<{ status: number; payload?: any }>;
|
||||
getReadiness(): Promise<{ status: number; payload?: any }>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user