Merge pull request #160 from pdxlocations/paxcounter

Add Paxcounter Config
This commit is contained in:
Sacha Weatherstone authored and GitHub committed 2024-02-20 00:45:47 +11:00
commit 7a39e078c0
4 files changed
+75

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import type { Message } from "@bufbuild/protobuf";
import type { Protobuf } from "@meshtastic/js";
import { IsBoolean, IsInt } from "class-validator";
export class PaxcounterValidation
implements
Omit<Protobuf.ModuleConfig.ModuleConfig_PaxcounterConfig, keyof Message>
{
@IsBoolean()
enabled: boolean;
@IsInt()
paxcounterUpdateInterval: number;
}