Initial 1.3.x rework
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { IsBoolean, IsInt } from "class-validator";
|
||||
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
|
||||
export class PositionValidation implements Protobuf.Config_PositionConfig {
|
||||
@IsInt()
|
||||
positionBroadcastSecs: number;
|
||||
|
||||
@IsBoolean()
|
||||
positionBroadcastSmartDisabled: boolean;
|
||||
|
||||
@IsBoolean()
|
||||
fixedPosition: boolean;
|
||||
|
||||
@IsBoolean()
|
||||
gpsDisabled: boolean;
|
||||
|
||||
@IsInt()
|
||||
gpsUpdateInterval: number;
|
||||
|
||||
@IsInt()
|
||||
gpsAttemptTime: number;
|
||||
|
||||
@IsInt()
|
||||
positionFlags: number;
|
||||
}
|
||||
Reference in New Issue
Block a user