Update descriptions, protobufs & bugfixes
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -40,6 +40,9 @@ export class LoRaValidation implements Protobuf.Config_LoRaConfig {
|
||||
@Min(0)
|
||||
txPower: number;
|
||||
|
||||
@IsInt()
|
||||
channelNum: number;
|
||||
|
||||
@IsArray()
|
||||
ignoreIncoming: number[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user