update meshtastic.js package version

This commit is contained in:
Sacha Weatherstone
2023-12-26 22:16:45 +10:00
parent dcab2c33d0
commit a4a5061171
54 changed files with 455 additions and 466 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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>
+1 -1
View File
@@ -7,7 +7,7 @@ import {
Length,
} from "class-validator";
import { Protobuf } from "@meshtastic/meshtasticjs";
import { Protobuf } from "@meshtastic/js";
export class NetworkValidation
implements
+1 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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
+2 -2
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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