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