SongGuess
    Preparing search index...

    Variable ServerMessageSchemaConst

    ServerMessageSchema: ZodUnion<
        readonly [
            ZodObject<
                {
                    error: ZodOptional<ZodString>;
                    sourceMessage: ZodUnion<
                        readonly [
                            ZodUnion<
                                readonly [
                                    ZodObject<
                                        {
                                            players: ZodRecord<(...), (...)>;
                                            state: ZodLiteral<(...)>;
                                            type: ZodDefault<(...)>;
                                            uuid: ZodString;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<
                                        {
                                            filteredSongsCount: ZodNumber;
                                            playlists: ZodOptional<(...)>;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<
                                        {
                                            advancedSongFiltering: ZodBoolean;
                                            audioStartPosition: ZodNullable<(...)>;
                                            distractionsPreferSameArtist: ZodBoolean;
                                            endWhenAnswered: ZodBoolean;
                                            gameMode: ZodLiteral<(...)>;
                                            multipleChoiceAnswersCount: ZodInt;
                                            playerPickTimeout: ZodNumber;
                                            roundsCount: ZodNumber;
                                            timePerQuestion: ZodNumber;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<{ countdown: ZodInt; type: ZodDefault<(...)> }, $strip>,
                                    ZodUnion<
                                        readonly [ZodObject<(...), (...)>, ZodObject<(...), (...)>],
                                    >,
                                    ZodObject<
                                        {
                                            gamePhase: ZodEnum<(...)>;
                                            question: ZodOptional<(...)>;
                                            roundCurrent: ZodInt;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<
                                        { songs: ZodArray<(...)>; type: ZodDefault<(...)> },
                                        $strip,
                                    >,
                                    ZodObject<
                                        {
                                            entry: ZodCustom<(...), (...)>;
                                            level: ZodLiteral<(...)>;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<
                                        { messages: ZodCustom<(...), (...)>; type: ZodDefault<(...)> },
                                        $strip,
                                    >,
                                    ZodObject<
                                        {
                                            duration: ZodNumber;
                                            offset: ZodNumber;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                ],
                            >,
                            ZodUnion<
                                readonly [
                                    ZodObject<
                                        {
                                            type: ZodDefault<(...)>;
                                            username: ZodCustomStringFormat<(...)>;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<
                                        { playlists: ZodArray<(...)>; type: ZodDefault<(...)> },
                                        $strip,
                                    >,
                                    ZodObject<
                                        { index: ZodNullable<(...)>; type: ZodDefault<(...)> },
                                        $strip,
                                    >,
                                    ZodObject<
                                        {
                                            advancedSongFiltering: ZodBoolean;
                                            audioStartPosition: ZodNullable<(...)>;
                                            distractionsPreferSameArtist: ZodBoolean;
                                            endWhenAnswered: ZodBoolean;
                                            gameMode: ZodLiteral<(...)>;
                                            multipleChoiceAnswersCount: ZodInt;
                                            playerPickTimeout: ZodNumber;
                                            roundsCount: ZodNumber;
                                            timePerQuestion: ZodNumber;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<{ type: ZodDefault<(...)> }, $strip>,
                                    ZodObject<
                                        {
                                            answer: ZodOptional<(...)>;
                                            answerIndex: ZodOptional<(...)>;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                    ZodObject<
                                        { type: ZodDefault<(...)>; where: ZodLiteral<(...)> },
                                        $strip,
                                    >,
                                    ZodObject<
                                        { playerName: ZodString; type: ZodDefault<(...)> },
                                        $strip,
                                    >,
                                    ZodObject<
                                        {
                                            song: ZodObject<(...), (...)>;
                                            startPos: ZodNumber;
                                            type: ZodDefault<(...)>;
                                        },
                                        $strip,
                                    >,
                                ],
                            >,
                            ZodObject<{ type: ZodDefault<ZodLiteral<"other">> }, $strip>,
                        ],
                    >;
                    type: ZodDefault<ZodLiteral<"confirmation">>;
                },
                $strip,
            >,
            ZodObject<
                { seq: ZodNumber; type: ZodDefault<ZodLiteral<"ping">> },
                $strip,
            >,
            ZodObject<
                { seq: ZodNumber; type: ZodDefault<ZodLiteral<"pong">> },
                $strip,
            >,
            ZodUnion<
                readonly [
                    ZodObject<
                        {
                            players: ZodRecord<
                                ZodString,
                                ZodObject<
                                    {
                                        answerData: ZodOptional<ZodObject<(...), (...)>>;
                                        color: ZodString;
                                        hasPicked: ZodOptional<ZodBoolean>;
                                        isHost: ZodBoolean;
                                        isSpectator: ZodBoolean;
                                        points: ZodNumber;
                                        username: ZodCustomStringFormat<"user">;
                                        uuid: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                            state: ZodLiteral<"lobby" | "results" | "ingame">;
                            type: ZodDefault<ZodLiteral<"room_state">>;
                            uuid: ZodString;
                        },
                        $strip,
                    >,
                    ZodObject<
                        {
                            filteredSongsCount: ZodNumber;
                            playlists: ZodOptional<
                                ZodArray<
                                    ZodObject<
                                        {
                                            cover: ZodNullable<(...)>;
                                            hrefURL: ZodUnion<(...)>;
                                            name: ZodString;
                                            songs: ZodArray<(...)>;
                                            subtitle: ZodOptional<(...)>;
                                        },
                                        $strip,
                                    >,
                                >,
                            >;
                            type: ZodDefault<ZodLiteral<"update_playlists">>;
                        },
                        $strip,
                    >,
                    ZodObject<
                        {
                            advancedSongFiltering: ZodBoolean;
                            audioStartPosition: ZodNullable<ZodNumber>;
                            distractionsPreferSameArtist: ZodBoolean;
                            endWhenAnswered: ZodBoolean;
                            gameMode: ZodLiteral<"multiple_choice" | "player_picks">;
                            multipleChoiceAnswersCount: ZodInt;
                            playerPickTimeout: ZodNumber;
                            roundsCount: ZodNumber;
                            timePerQuestion: ZodNumber;
                            type: ZodDefault<ZodLiteral<"room_config">>;
                        },
                        $strip,
                    >,
                    ZodObject<
                        { countdown: ZodInt; type: ZodDefault<ZodLiteral<"countdown">> },
                        $strip,
                    >,
                    ZodUnion<
                        readonly [
                            ZodObject<
                                {
                                    action: ZodLiteral<"load">;
                                    audioURL: ZodUnion<
                                        readonly [
                                            ZodURL,
                                            ZodCustomStringFormat<(...)>,
                                            ZodCustomStringFormat<(...)>,
                                        ],
                                    >;
                                    type: ZodDefault<ZodLiteral<"audio_control">>;
                                },
                                $strip,
                            >,
                            ZodObject<
                                {
                                    action: ZodLiteral<
                                        | "play"
                                        | "pause"
                                        | "play_countdown_running"
                                        | "play_countdown_end",
                                    >;
                                    type: ZodDefault<ZodLiteral<"audio_control">>;
                                },
                                $strip,
                            >,
                        ],
                    >,
                    ZodObject<
                        {
                            gamePhase: ZodEnum<typeof GamePhase>;
                            question: ZodOptional<
                                ZodUnion<
                                    readonly [
                                        ZodObject<
                                            {
                                                answerOptions: ...;
                                                correctAnswerIndex: ...;
                                                questionType: ...;
                                                startPos: ...;
                                            },
                                            $strip,
                                        >,
                                        ZodObject<
                                            {
                                                correctAnswer: ...;
                                                pickerId: ...;
                                                questionCount: ...;
                                                questionCurrent: ...;
                                                questionType: ...;
                                                startPos: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                >,
                            >;
                            roundCurrent: ZodInt;
                            type: ZodDefault<ZodLiteral<"round_state">>;
                        },
                        $strip,
                    >,
                    ZodObject<
                        {
                            songs: ZodArray<
                                ZodObject<
                                    {
                                        artist: ZodString;
                                        audioURL: ZodUnion<readonly [(...), (...), (...)]>;
                                        cover: ZodNullable<ZodUnion<(...)>>;
                                        hrefURL: ZodUnion<readonly [(...), (...), (...)]>;
                                        name: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                            type: ZodDefault<ZodLiteral<"update_played_songs">>;
                        },
                        $strip,
                    >,
                    ZodObject<
                        {
                            entry: ZodCustom<LogEntry, LogEntry>;
                            level: ZodLiteral<"error" | "info" | "warn" | "debug">;
                            type: ZodDefault<ZodLiteral<"add_log_message">>;
                        },
                        $strip,
                    >,
                    ZodObject<
                        {
                            messages: ZodCustom<LoggerStorage, LoggerStorage>;
                            type: ZodDefault<ZodLiteral<"update_log_messages">>;
                        },
                        $strip,
                    >,
                    ZodObject<
                        {
                            duration: ZodNumber;
                            offset: ZodNumber;
                            type: ZodDefault<ZodLiteral<"progressbar_update">>;
                        },
                        $strip,
                    >,
                ],
            >,
        ],
    > = ...

    A message sent from the server.