UNPKG

@battle-racing/br-common-lib

Version:

Common library for all Battle Racing Repositorios

42 lines (41 loc) 1.46 kB
import { z } from 'zod'; export declare const speedStatusSchema: z.ZodEnum<{ readonly ACTIVATED: "Activated"; readonly DEACTIVATED: "Deactivated"; readonly UNKNOWN: "Unknown"; readonly ERROR: "Error"; readonly STANDBY: "Standby"; readonly CHANGING_SPEED: "Changing Speed"; readonly IN_EMERGENCY: "In Emergency"; }>; export declare const speedModuleStatusSchema: z.ZodObject<{ speedStatus: z.ZodEnum<{ readonly ACTIVATED: "Activated"; readonly DEACTIVATED: "Deactivated"; readonly UNKNOWN: "Unknown"; readonly ERROR: "Error"; readonly STANDBY: "Standby"; readonly CHANGING_SPEED: "Changing Speed"; readonly IN_EMERGENCY: "In Emergency"; }>; battery12V: z.ZodNumber; currentSpeed: z.ZodNumber; ADCVoltage: z.ZodNumber; DACVoltage: z.ZodNumber; currentDefaultSpeedConfig: z.ZodNumber; }, z.core.$strip>; export declare const speedActionCommandSchema: z.ZodEnum<{ readonly ACTIVATE: "Activate"; readonly DEACTIVATE: "Deactivate"; readonly CHANGE_SPEED: "ChangeSpeed"; readonly CONFIGURE: "Configure"; readonly RESTART: "Restart"; }>; export declare const speedChangeOptionsSchema: z.ZodObject<{ speed: z.ZodNumber; forUnlimitedTime: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; export declare const speedConfigurationSchema: z.ZodObject<{ defaultSpeed: z.ZodNumber; timeDuration: z.ZodNumber; }, z.core.$strip>;