Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
id : string;
member_id : string;
label : string;
questionnaires : (string * Ask.Model.Questionnaire.t) list;
created_at : Ptime.t;
updated_at : Ptime.t;
}
val create :
member_id:string ->
member_label:string ->
questionnaires:(string * Ask.Model.Questionnaire.t) list ->
(Model.Handler.t, string) Stdlib.result Lwt.t
val find :
member_id:string ->
?label:string ->
unit ->
Model.Handler.t option Lwt.t
val find_questionnaire_with_label :
member_id:string ->
?member_label:string ->
questionnaire_label:Stdlib.String.t ->
unit ->
Ask.Model.Questionnaire.t option Lwt.t
val update :
Model.Handler.t ->
?member_label:string ->
?questionnaires:(string * Ask.Model.Questionnaire.t) list ->
unit ->
(string, string) Stdlib.result Lwt.t
val delete : Model.Handler.t -> unit Lwt.t
val start : unit -> unit Lwt.t
val stop : 'a -> unit Lwt.t
val lifecycle : Sihl.Container.lifecycle
val register : unit -> Sihl.Container.Service.t