update meshtastic.js package version
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
Length,
|
||||
} from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class ChannelValidation
|
||||
implements Omit<Protobuf.Channel, keyof Protobuf.native.Message | "settings">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsEnum, IsInt } from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class BluetoothValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsEnum, IsInt } from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class DeviceValidation
|
||||
implements Omit<Protobuf.Config_DeviceConfig, keyof Protobuf.native.Message>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsEnum, IsInt } from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class DisplayValidation
|
||||
implements Omit<Protobuf.Config_DisplayConfig, keyof Protobuf.native.Message>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsArray, IsBoolean, IsEnum, IsInt, Max, Min } from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class LoRaValidation
|
||||
implements Omit<Protobuf.Config_LoRaConfig, keyof Protobuf.native.Message>
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
Length,
|
||||
} from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class NetworkValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt, IsNumber } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class PositionValidation
|
||||
implements Omit<Protobuf.Config_PositionConfig, keyof Protobuf.native.Message>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt, Max, Min } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class PowerValidation
|
||||
implements Omit<Protobuf.Config_PowerConfig, keyof Protobuf.native.Message>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class AmbientLightingValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsEnum, IsInt } from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class AudioValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsEnum, IsInt, Length } from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class CannedMessageValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt, Length } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class DetectionSensorValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class ExternalNotificationValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsString, Length } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class MQTTValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt, Length } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class NeighborInfoValidation
|
||||
implements
|
||||
@@ -14,4 +14,4 @@ export class NeighborInfoValidation
|
||||
|
||||
@IsInt()
|
||||
updateInterval: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class RangeTestValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsEnum, IsInt } from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class SerialValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class StoreForwardValidation
|
||||
implements
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IsBoolean, IsInt } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import type { Protobuf } from "@meshtastic/js";
|
||||
|
||||
export class TelemetryValidation
|
||||
implements
|
||||
|
||||
Reference in New Issue
Block a user