services -> domains

This commit is contained in:
2026-07-10 20:46:22 +00:00
parent 3c99d26830
commit 79c0c32b98
45 changed files with 1447 additions and 1270 deletions

View File

@@ -7,7 +7,7 @@ export interface Status {
// ========================================
// Global Config Types (Wild Central level)
// Endpoint: /api/v1/config
// Endpoint: /api/v1/state
// File: {dataDir}/state.yaml
// ========================================
@@ -17,7 +17,7 @@ export interface HAProxyCustomRoute {
backend: string;
}
export interface GlobalConfig {
export interface CentralState {
operator?: {
email?: string;
};
@@ -48,15 +48,14 @@ export interface GlobalConfig {
ddns?: {
enabled?: boolean;
provider?: string;
records?: string[];
intervalMinutes?: number;
};
};
}
export interface GlobalConfigResponse {
export interface CentralStateResponse {
configured: boolean;
config?: GlobalConfig;
state?: CentralState;
message?: string;
}