2.0 Overhaul start

This commit is contained in:
Sacha Weatherstone
2022-09-22 16:35:40 +10:00
parent 4e45990ef5
commit a73eab1ea6
87 changed files with 2880 additions and 3573 deletions
+3 -6
View File
@@ -1,16 +1,13 @@
import { IsBoolean, IsEnum } from "class-validator";
import { IsBoolean, IsEnum } from 'class-validator';
import { Protobuf } from "@meshtastic/meshtasticjs";
import { Protobuf } from '@meshtastic/meshtasticjs';
export class DeviceValidation implements Protobuf.Config_DeviceConfig {
@IsEnum(Protobuf.Config_DeviceConfig_Role)
role: Protobuf.Config_DeviceConfig_Role;
@IsBoolean()
serialDisabled: boolean;
@IsBoolean()
factoryReset: boolean;
serialEnabled: boolean;
@IsBoolean()
debugLogEnabled: boolean;