Update external notification settings

This commit is contained in:
Sacha Weatherstone
2022-12-28 12:51:50 +11:00
parent cfe3e5659f
commit b1f86466f0
2 changed files with 101 additions and 4 deletions
@@ -5,6 +5,7 @@ import type { Protobuf } from "@meshtastic/meshtasticjs";
export class ExternalNotificationValidation
implements Protobuf.ModuleConfig_ExternalNotificationConfig
{
@IsBoolean()
enabled: boolean;
@IsInt()
@@ -13,15 +14,36 @@ export class ExternalNotificationValidation
@IsInt()
output: number;
@IsInt()
outputVibra: number;
@IsInt()
outputBuzzer: number;
@IsBoolean()
active: boolean;
@IsBoolean()
alertMessage: boolean;
@IsBoolean()
alertMessageVibra: boolean
@IsBoolean()
alertMessageBuzzer: boolean
@IsBoolean()
alertBell: boolean;
@IsBoolean()
alertBellVibra: boolean;
@IsBoolean()
alertBellBuzzer: boolean;
@IsBoolean()
usePwm: boolean;
@IsInt()
nagTimeout: number;
}