@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
31 lines (30 loc) • 1.17 kB
TypeScript
import { z } from 'zod';
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>;