add module (#141)
This commit is contained in:
1 parent
7256454ea7
commit
a8c45ccb32
4 files changed
+79
-3
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { IsBoolean, IsInt, Length } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
|
||||
export class NeighborInfoValidation
|
||||
implements
|
||||
Omit<
|
||||
Protobuf.ModuleConfig_NeighborInfoConfig,
|
||||
keyof Protobuf.native.Message
|
||||
>
|
||||
{
|
||||
@IsBoolean()
|
||||
enabled: boolean;
|
||||
|
||||
@IsInt()
|
||||
updateInterval: number;
|
||||
}
|
||||
Reference in new issue
Block a user