ASF - v1.0.0
    Preparing search index...

    Type Alias QuestionnaireContext

    type QuestionnaireContext = {
        questionnaire: Questionnaire;
        buildQuestionnaire: (level: LevelWithTranslation) => void;
        completeGeneralQuestion: (index?: number) => Promise<void>;
        completeSpecifQuestion: (
            state: boolean,
            indexG: number,
            indexS: number,
        ) => Promise<void>;
        markRequirements: (
            args: {
                state: boolean;
                indexG: number;
                indexS: number;
                indexR: number;
            }[],
        ) => void;
        clearQuestionnaire: (onlyQuestions?: boolean) => void;
        addTips: (tips: number[]) => void;
    }
    Index

    Properties

    questionnaire: Questionnaire
    buildQuestionnaire: (level: LevelWithTranslation) => void
    completeGeneralQuestion: (index?: number) => Promise<void>
    completeSpecifQuestion: (
        state: boolean,
        indexG: number,
        indexS: number,
    ) => Promise<void>
    markRequirements: (
        args: { state: boolean; indexG: number; indexS: number; indexR: number }[],
    ) => void
    clearQuestionnaire: (onlyQuestions?: boolean) => void
    addTips: (tips: number[]) => void