services -> domains
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user