@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
47 lines (46 loc) • 1.77 kB
TypeScript
import { z } from 'zod';
export declare const lightsActionCommandSchema: z.ZodEnum<{
readonly SHOW_COLOR: "ShowColor";
readonly SHOW_EFFECT: "ShowEffect";
}>;
export declare const lightsEffectSchema: z.ZodEnum<{
readonly SHOW_UV_COLOR: "SHOW_UV_COLOR";
readonly POWER_OFF: "POWER_OFF";
readonly START_GAME: "START_GAME";
readonly GAME_OVER: "GAME_OVER";
readonly FINAL_LAP: "FINAL_LAP";
readonly YELLOW_FLAG: "YELLOW_FLAG";
readonly RED_FLAG: "RED_FLAG";
readonly PULSE: "PULSE";
}>;
export declare const showLightsColorParamsSchema: z.ZodObject<{
address: z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodLiteral<"all">]>;
timeDuration: z.ZodNumber;
color: z.ZodString;
}, z.core.$strip>;
export declare const showLightsEffectParamsSchema: z.ZodObject<{
addresses: z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodLiteral<"all">]>;
effect: z.ZodEnum<{
readonly SHOW_UV_COLOR: "SHOW_UV_COLOR";
readonly POWER_OFF: "POWER_OFF";
readonly START_GAME: "START_GAME";
readonly GAME_OVER: "GAME_OVER";
readonly FINAL_LAP: "FINAL_LAP";
readonly YELLOW_FLAG: "YELLOW_FLAG";
readonly RED_FLAG: "RED_FLAG";
readonly PULSE: "PULSE";
}>;
timeDuration: z.ZodNumber;
}, z.core.$strip>;
export declare const lightsModuleStatusSchema: z.ZodObject<{
currentEffect: z.ZodNullable<z.ZodEnum<{
readonly SHOW_UV_COLOR: "SHOW_UV_COLOR";
readonly POWER_OFF: "POWER_OFF";
readonly START_GAME: "START_GAME";
readonly GAME_OVER: "GAME_OVER";
readonly FINAL_LAP: "FINAL_LAP";
readonly YELLOW_FLAG: "YELLOW_FLAG";
readonly RED_FLAG: "RED_FLAG";
readonly PULSE: "PULSE";
}>>;
}, z.core.$strip>;