refactored system settings

This commit is contained in:
2025-09-12 13:28:14 +01:00
parent d03f73f751
commit 7588326cbe
19 changed files with 363 additions and 232 deletions

View File

@@ -159,3 +159,19 @@ export interface Prop {
value: string;
datatype: string;
}
export type SystemValues = {
deviceName: string;
sntpServer: string;
sntpInterval: number;
timeZone: string;
softwareUpdate?: File | null;
};
export type SystemValuesErrors = {
deviceName?: string | undefined;
sntpServer?: string | undefined;
sntpInterval?: string | undefined;
timeZone?: string | undefined;
softwareUpdate?: File | null;
};