Aller au contenu
English

NoulQuestion

import type { NoulQuestion } from "@elie-laloum/outpost";
  • typeRequis
    "noul"
    Discriminant noul. Renvoyer une probabilité pour le résultat oui.
  • instructionsRequis
    string
    Instructions textuelles non vides pour cette question.
  • criteriaOptionnel
    { readonly true: string; readonly false: string; } | undefined
    Descriptions facultatives et non vides des deux résultats true et false.
export interface NoulQuestion {
  readonly type: "noul";
  readonly instructions: string;
  readonly criteria?: {
    readonly true: string;
    readonly false: string;
  };
}