Minor fixes, start channel editor migration
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
import { IsBoolean, IsInt, IsNumber, IsString, Length } from "class-validator";
|
||||
import {
|
||||
IsBoolean,
|
||||
IsEnum,
|
||||
IsInt,
|
||||
IsNumber,
|
||||
IsString,
|
||||
Length
|
||||
} from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
|
||||
@@ -9,12 +16,12 @@ export class ChannelSettingsValidation
|
||||
@IsBoolean()
|
||||
enabled: boolean;
|
||||
|
||||
@IsString()
|
||||
psk: string;
|
||||
|
||||
@IsNumber()
|
||||
channelNum: number;
|
||||
|
||||
@IsString()
|
||||
psk: string;
|
||||
|
||||
@Length(0, 11)
|
||||
name: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user