You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
502 B
26 lines
502 B
import type { Message } from "@bufbuild/protobuf";
|
|
import type { Protobuf } from "@meshtastic/js";
|
|
import { IsBoolean, IsInt } from "class-validator";
|
|
|
|
export class StoreForwardValidation
|
|
implements
|
|
Omit<
|
|
Protobuf.ModuleConfig.ModuleConfig_StoreForwardConfig,
|
|
keyof Message | "isServer"
|
|
>
|
|
{
|
|
@IsBoolean()
|
|
enabled: boolean;
|
|
|
|
@IsBoolean()
|
|
heartbeat: boolean;
|
|
|
|
@IsInt()
|
|
records: number;
|
|
|
|
@IsInt()
|
|
historyReturnMax: number;
|
|
|
|
@IsInt()
|
|
historyReturnWindow: number;
|
|
}
|
|
|