Variable controlRequestSchemaConst
controlRequestSchema: ZodUnion<
[
ZodObject<
{
action: ZodEnum<
["play", "pause", "resume", "next", "previous", "stop", "leave"],
>;
},
"strip",
ZodTypeAny,
{
action: | "leave"
| "play"
| "pause"
| "resume"
| "stop"
| "next"
| "previous";
},
{
action: | "leave"
| "play"
| "pause"
| "resume"
| "stop"
| "next"
| "previous";
},
>,
ZodObject<
{ action: ZodLiteral<"join">; channelId: ZodString },
"strip",
ZodTypeAny,
{ action: "join"; channelId: string },
{ action: "join"; channelId: string },
>,
ZodObject<
{ action: ZodLiteral<"playTrack">; bookId: ZodString },
"strip",
ZodTypeAny,
{ action: "playTrack"; bookId: string },
{ action: "playTrack"; bookId: string },
>,
],
> = ...