add module (#141)
This commit is contained in:
@@ -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