mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 14:03:48 +00:00
24 lines
499 B
TypeScript
24 lines
499 B
TypeScript
export const CONTROL_PLANE_ROUTES = {
|
|
health: "/health",
|
|
version: "/version",
|
|
} as const;
|
|
|
|
export interface NextcloudBackendStatus {
|
|
configured: boolean;
|
|
baseUrl: string;
|
|
provider: "nextcloud";
|
|
}
|
|
|
|
export interface ControlPlaneHealthResponse {
|
|
service: "control-plane";
|
|
status: "ok";
|
|
timestamp: string;
|
|
uptimeSeconds: number;
|
|
nextcloud: NextcloudBackendStatus;
|
|
}
|
|
|
|
export interface ControlPlaneVersionResponse {
|
|
service: "control-plane";
|
|
version: string;
|
|
apiVersion: "v1";
|
|
}
|