use new packages for imports & new webserial transport
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
import { Protobuf } from "@meshtastic/core";
|
||||
import {
|
||||
IsBoolean,
|
||||
IsEnum,
|
||||
@@ -10,8 +10,7 @@ import {
|
||||
} from "class-validator";
|
||||
|
||||
export class ChannelValidation
|
||||
implements Omit<Protobuf.Channel.Channel, keyof Message | "settings">
|
||||
{
|
||||
implements Omit<Protobuf.Channel.Channel, keyof Message | "settings"> {
|
||||
@IsNumber()
|
||||
index: number;
|
||||
|
||||
@@ -22,8 +21,7 @@ export class ChannelValidation
|
||||
}
|
||||
|
||||
export class Channel_SettingsValidation
|
||||
implements Omit<Protobuf.Channel.ChannelSettings, keyof Message | "psk">
|
||||
{
|
||||
implements Omit<Protobuf.Channel.ChannelSettings, keyof Message | "psk"> {
|
||||
@IsNumber()
|
||||
channelNum: number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user