Update descriptions, protobufs & bugfixes

This commit is contained in:
Sacha Weatherstone
2022-10-03 20:35:03 +10:30
parent 26dbe0c032
commit a884fe28b3
21 changed files with 744 additions and 205 deletions
+3 -4
View File
@@ -2,10 +2,9 @@ import { IsBoolean, IsInt, Length } from "class-validator";
import type { Protobuf } from "@meshtastic/meshtasticjs";
export class ChannelSettingsValidation implements Protobuf.ChannelSettings {
@IsInt()
channelNum: number;
export class ChannelSettingsValidation
implements Omit<Protobuf.ChannelSettings, "channelNum">
{
psk: Uint8Array;
@Length(1, 30)
+3
View File
@@ -40,6 +40,9 @@ export class LoRaValidation implements Protobuf.Config_LoRaConfig {
@Min(0)
txPower: number;
@IsInt()
channelNum: number;
@IsArray()
ignoreIncoming: number[];
}