Use rome and initial format
This commit is contained in:
@@ -25,4 +25,10 @@ export class DeviceValidation
|
||||
|
||||
@IsInt()
|
||||
nodeInfoBroadcastSecs: number;
|
||||
|
||||
@IsBoolean()
|
||||
doubleTapAsButtonPress: boolean;
|
||||
|
||||
@IsBoolean()
|
||||
isManaged: boolean;
|
||||
}
|
||||
|
||||
@@ -31,4 +31,7 @@ export class DisplayValidation
|
||||
|
||||
@IsBoolean()
|
||||
headingBold: boolean;
|
||||
|
||||
@IsBoolean()
|
||||
wakeOnTapOrMotion: boolean;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
IsIP,
|
||||
IsOptional,
|
||||
IsString,
|
||||
Length
|
||||
Length,
|
||||
} from "class-validator";
|
||||
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
|
||||
@@ -3,8 +3,7 @@ import { IsBoolean, IsInt, IsNumber } from "class-validator";
|
||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
|
||||
export class PositionValidation
|
||||
implements
|
||||
Omit<Protobuf.Config_PositionConfig, keyof Protobuf.native.Message>
|
||||
implements Omit<Protobuf.Config_PositionConfig, keyof Protobuf.native.Message>
|
||||
{
|
||||
@IsInt()
|
||||
positionBroadcastSecs: number;
|
||||
@@ -32,4 +31,10 @@ export class PositionValidation
|
||||
|
||||
@IsInt()
|
||||
txGpio: number;
|
||||
|
||||
@IsInt()
|
||||
broadcastSmartMinimumDistance: number;
|
||||
|
||||
@IsInt()
|
||||
broadcastSmartMinimumIntervalSecs: number;
|
||||
}
|
||||
|
||||
@@ -30,4 +30,7 @@ export class PowerValidation
|
||||
|
||||
@IsInt()
|
||||
minWakeSecs: number;
|
||||
|
||||
@IsInt()
|
||||
deviceBatteryInaAddress: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user