Variable AudioControlMessageSchemaConst
AudioControlMessageSchema: ZodUnion<
readonly [
ZodObject<
{
action: ZodLiteral<"load">;
audioURL: ZodUnion<
readonly [
ZodURL,
ZodCustomStringFormat<"SoundCloudSong">,
ZodCustomStringFormat<"YTSong">,
],
>;
type: ZodDefault<ZodLiteral<"audio_control">>;
},
$strip,
>,
ZodObject<
{
action: ZodLiteral<
"play"
| "pause"
| "play_countdown_running"
| "play_countdown_end",
>;
type: ZodDefault<ZodLiteral<"audio_control">>;
},
$strip,
>,
],
> = ...
Schema for messages controlling audio playback during the game.