Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val questions : t -> QuestionAnswer.t list
val description : t -> string
val label : t -> string
val template_uuid : t -> string
val uuid : t -> string
val set_questions : QuestionAnswer.t list -> t -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val make :
uuid:string ->
template_uuid:string ->
label:string ->
description:string ->
?questions:QuestionAnswer.t list ->
unit ->
t
val is_ready_for_submission : t -> bool
val set_question_to_optional : (Question.t * 'a) -> Question.t * 'a
val set_question_with_id_to_optional :
question_id:string ->
questions:(Question.t * 'a) list ->
(Question.t * 'a) list
val answer : t -> QuestionAnswer.t list -> (Event.t list, string list) Result.t