Hiyve Components - v1.0.0
    Preparing search index...

    A quiz or form.

    interface QuizBlock {
        id: string;
        maxAttempts?: number;
        passMark?: number;
        questions: Question[];
        required: boolean;
        scoring: QuizScoring;
        title?: string;
        type: "quiz";
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: string

    Stable block id.

    maxAttempts?: number

    How many times the quiz can be answered. Only for 'auto' scoring; none means as often as the client likes. A required quiz with a pass mark that is out of attempts stays incomplete until the provider steps in.

    passMark?: number

    Score needed to pass (0–1). Only for 'auto' scoring; the block completes once passed.

    questions: Question[]

    Questions, in order.

    required: boolean

    Whether the block counts toward completing its lesson.

    scoring: QuizScoring

    How the quiz is scored.

    title?: string

    Optional heading shown above the block.

    type: "quiz"