SongGuess
Preparing search index...
schemas/ServerMessageSchemas
RoundStateMessageSchema
Variable RoundStateMessageSchema
Const
RoundStateMessageSchema
:
ZodObject
<
{
gamePhase
:
ZodEnum
<
typeof
GamePhase
>
;
question
:
ZodOptional
<
ZodUnion
<
readonly
[
ZodObject
<
{
answerOptions
:
ZodArray
<
ZodString
>
;
correctAnswerIndex
:
ZodOptional
<
ZodInt
>
;
questionType
:
ZodLiteral
<
"multiple_choice"
>
;
startPos
:
ZodNumber
;
}
,
$strip
,
>
,
ZodObject
<
{
correctAnswer
:
ZodOptional
<
ZodObject
<
{
artist
:
ZodString
;
audioURL
:
ZodUnion
<
(...)
>
;
cover
:
ZodNullable
<
(...)
>
;
hrefURL
:
ZodUnion
<
(...)
>
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
pickerId
:
ZodString
;
questionCount
:
ZodInt
;
questionCurrent
:
ZodInt
;
questionType
:
ZodLiteral
<
"player_picks"
>
;
startPos
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
>
,
>
;
roundCurrent
:
ZodInt
;
type
:
ZodDefault
<
ZodLiteral
<
"round_state"
>
>
;
}
,
$strip
,
>
= ...
Schema for messages containing information about the current round state.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
SongGuess
Loading...
Schema for messages containing information about the current round state.