Files
gardentron/server/src/config.types.ts
2023-06-18 12:15:12 +02:00

17 lines
301 B
TypeScript

export type Configuration = {
timeout: number;
threshold: number;
check_interval: number;
moisture: Moisture;
water_low: boolean;
};
export type Moisture = {
thresholds: Thresholds;
};
export type Thresholds = {
lower: { [key: string]: number };
upper: { [key: string]: number };
};