Recapp Code Reference
    Preparing search index...

    Variable questionSchemaConst

    questionSchema: ZodObject<
        {
            answerOrderFixed: ZodDefault<ZodOptional<ZodBoolean>>;
            answers: ZodArray<
                ZodObject<
                    { correct: ZodBoolean; text: ZodString },
                    "strip",
                    ZodTypeAny,
                    { correct: boolean; text: string },
                    { correct: boolean; text: string },
                >,
                "many",
            >;
            approved: ZodBoolean;
            archived: ZodOptional<
                ZodEffects<
                    ZodObject<
                        { type: ZodEnum<["Timestamp"]>; value: ZodNumber },
                        "strip",
                        ZodTypeAny,
                        { type: "Timestamp"; value: number },
                        { type: "Timestamp"; value: number },
                    >,
                    Timestamp,
                    { type: "Timestamp"; value: number },
                >,
            >;
            authorFingerprint: ZodOptional<ZodString>;
            authorId: ZodBranded<ZodString, "UID">;
            authorName: ZodOptional<ZodString>;
            created: ZodEffects<
                ZodObject<
                    { type: ZodEnum<["Timestamp"]>; value: ZodNumber },
                    "strip",
                    ZodTypeAny,
                    { type: "Timestamp"; value: number },
                    { type: "Timestamp"; value: number },
                >,
                Timestamp,
                { type: "Timestamp"; value: number },
            >;
            editMode: ZodBoolean;
            hint: ZodOptional<ZodString>;
            quiz: ZodBranded<ZodString, "UID">;
            statistics: ZodOptional<
                ZodUnion<
                    [
                        ZodObject<
                            {
                                answers: ZodArray<ZodString, "many">;
                                archived: ZodOptional<
                                    ZodEffects<
                                        ZodObject<
                                            { type: ...; value: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { type: ...; value: ... },
                                            { type: ...; value: ... },
                                        >,
                                        Timestamp,
                                        { type: "Timestamp"; value: number },
                                    >,
                                >;
                                created: ZodEffects<
                                    ZodObject<
                                        { type: ZodEnum<(...)>; value: ZodNumber },
                                        "strip",
                                        ZodTypeAny,
                                        { type: "Timestamp"; value: number },
                                        { type: "Timestamp"; value: number },
                                    >,
                                    Timestamp,
                                    { type: "Timestamp"; value: number },
                                >;
                                groupName: ZodString;
                                maximumParticipants: ZodNumber;
                                participants: ZodNumber;
                                questionId: ZodBranded<ZodString, "UID">;
                                quizId: ZodBranded<ZodString, "UID">;
                                tag: ZodEnum<["TextElementStatistics"]>;
                                uid: ZodBranded<ZodString, "UID">;
                                updated: ZodEffects<
                                    ZodObject<
                                        { type: ZodEnum<(...)>; value: ZodNumber },
                                        "strip",
                                        ZodTypeAny,
                                        { type: "Timestamp"; value: number },
                                        { type: "Timestamp"; value: number },
                                    >,
                                    Timestamp,
                                    { type: "Timestamp"; value: number },
                                >;
                                wrong: ZodNumber;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                answers: string[];
                                archived?: Timestamp;
                                created: Timestamp;
                                groupName: string;
                                maximumParticipants: number;
                                participants: number;
                                questionId: string & BRAND<"UID">;
                                quizId: string & BRAND<"UID">;
                                tag: "TextElementStatistics";
                                uid: string & BRAND<"UID">;
                                updated: Timestamp;
                                wrong: number;
                            },
                            {
                                answers: string[];
                                archived?: { type: "Timestamp"; value: number };
                                created: { type: "Timestamp"; value: number };
                                groupName: string;
                                maximumParticipants: number;
                                participants: number;
                                questionId: string;
                                quizId: string;
                                tag: "TextElementStatistics";
                                uid: string;
                                updated: { type: "Timestamp"; value: number };
                                wrong: number;
                            },
                        >,
                        ZodObject<
                            {
                                answers: ZodArray<ZodNumber, "many">;
                                archived: ZodOptional<
                                    ZodEffects<
                                        ZodObject<
                                            { type: ...; value: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { type: ...; value: ... },
                                            { type: ...; value: ... },
                                        >,
                                        Timestamp,
                                        { type: "Timestamp"; value: number },
                                    >,
                                >;
                                created: ZodEffects<
                                    ZodObject<
                                        { type: ZodEnum<(...)>; value: ZodNumber },
                                        "strip",
                                        ZodTypeAny,
                                        { type: "Timestamp"; value: number },
                                        { type: "Timestamp"; value: number },
                                    >,
                                    Timestamp,
                                    { type: "Timestamp"; value: number },
                                >;
                                groupName: ZodString;
                                maximumParticipants: ZodNumber;
                                participants: ZodNumber;
                                passed: ZodNumber;
                                questionId: ZodBranded<ZodString, "UID">;
                                quizId: ZodBranded<ZodString, "UID">;
                                tag: ZodEnum<["ChoiceElementStatistics"]>;
                                uid: ZodBranded<ZodString, "UID">;
                                updated: ZodEffects<
                                    ZodObject<
                                        { type: ZodEnum<(...)>; value: ZodNumber },
                                        "strip",
                                        ZodTypeAny,
                                        { type: "Timestamp"; value: number },
                                        { type: "Timestamp"; value: number },
                                    >,
                                    Timestamp,
                                    { type: "Timestamp"; value: number },
                                >;
                                wrong: ZodNumber;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                answers: number[];
                                archived?: Timestamp;
                                created: Timestamp;
                                groupName: string;
                                maximumParticipants: number;
                                participants: number;
                                passed: number;
                                questionId: string & BRAND<"UID">;
                                quizId: string & BRAND<"UID">;
                                tag: "ChoiceElementStatistics";
                                uid: string & BRAND<"UID">;
                                updated: Timestamp;
                                wrong: number;
                            },
                            {
                                answers: number[];
                                archived?: { type: "Timestamp"; value: number };
                                created: { type: "Timestamp"; value: number };
                                groupName: string;
                                maximumParticipants: number;
                                participants: number;
                                passed: number;
                                questionId: string;
                                quizId: string;
                                tag: "ChoiceElementStatistics";
                                uid: string;
                                updated: { type: "Timestamp"; value: number };
                                wrong: number;
                            },
                        >,
                    ],
                >,
            >;
            text: ZodString;
            type: ZodEnum<["SINGLE", "MULTIPLE", "TEXT"]>;
            uid: ZodBranded<ZodString, "UID">;
            updated: ZodEffects<
                ZodObject<
                    { type: ZodEnum<["Timestamp"]>; value: ZodNumber },
                    "strip",
                    ZodTypeAny,
                    { type: "Timestamp"; value: number },
                    { type: "Timestamp"; value: number },
                >,
                Timestamp,
                { type: "Timestamp"; value: number },
            >;
        },
        "strip",
        ZodTypeAny,
        {
            answerOrderFixed: boolean;
            answers: { correct: boolean; text: string }[];
            approved: boolean;
            archived?: Timestamp;
            authorFingerprint?: string;
            authorId: string & BRAND<"UID">;
            authorName?: string;
            created: Timestamp;
            editMode: boolean;
            hint?: string;
            quiz: string & BRAND<"UID">;
            statistics?:
                | {
                    answers: string[];
                    archived?: Timestamp;
                    created: Timestamp;
                    groupName: string;
                    maximumParticipants: number;
                    participants: number;
                    questionId: string & BRAND<"UID">;
                    quizId: string & BRAND<"UID">;
                    tag: "TextElementStatistics";
                    uid: string & BRAND<"UID">;
                    updated: Timestamp;
                    wrong: number;
                }
                | {
                    answers: number[];
                    archived?: Timestamp;
                    created: Timestamp;
                    groupName: string;
                    maximumParticipants: number;
                    participants: number;
                    passed: number;
                    questionId: string & BRAND<"UID">;
                    quizId: string & BRAND<"UID">;
                    tag: "ChoiceElementStatistics";
                    uid: string & BRAND<"UID">;
                    updated: Timestamp;
                    wrong: number;
                };
            text: string;
            type: "SINGLE"
            | "MULTIPLE"
            | "TEXT";
            uid: string & BRAND<"UID">;
            updated: Timestamp;
        },
        {
            answerOrderFixed?: boolean;
            answers: { correct: boolean; text: string }[];
            approved: boolean;
            archived?: { type: "Timestamp"; value: number };
            authorFingerprint?: string;
            authorId: string;
            authorName?: string;
            created: { type: "Timestamp"; value: number };
            editMode: boolean;
            hint?: string;
            quiz: string;
            statistics?:
                | {
                    answers: string[];
                    archived?: { type: "Timestamp"; value: number };
                    created: { type: "Timestamp"; value: number };
                    groupName: string;
                    maximumParticipants: number;
                    participants: number;
                    questionId: string;
                    quizId: string;
                    tag: "TextElementStatistics";
                    uid: string;
                    updated: { type: "Timestamp"; value: number };
                    wrong: number;
                }
                | {
                    answers: number[];
                    archived?: { type: "Timestamp"; value: number };
                    created: { type: "Timestamp"; value: number };
                    groupName: string;
                    maximumParticipants: number;
                    participants: number;
                    passed: number;
                    questionId: string;
                    quizId: string;
                    tag: "ChoiceElementStatistics";
                    uid: string;
                    updated: { type: "Timestamp"; value: number };
                    wrong: number;
                };
            text: string;
            type: "SINGLE"
            | "MULTIPLE"
            | "TEXT";
            uid: string;
            updated: { type: "Timestamp"; value: number };
        },
    > = ...