package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val names : string list
val status : ([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm
val max_tries : ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm
val next_run_at : ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm
val tries : ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm
val input : ([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm
val name : ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm
val id : ([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm
val make_creator : id: (([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> 'a -> ('b -> Sihl_database.Id.t) * 'c) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'd -> ('e -> string) * 'f) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> 'g -> ('h -> string option) * 'i) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'j -> ('k -> int) * 'l) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'm -> ('n -> Ptime.t) * 'o) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'p -> ('q -> int) * 'r) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> 's -> ('t -> Status.t) * 'u) -> 'v -> ('w -> t) * 'x
val create : id:Sihl_database.Id.t -> name:string -> input:string option -> tries:int -> next_run_at:Ptime.t -> max_tries:int -> status:Status.t -> t
val map : id: (([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> Sihl_database.Id.t) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> string) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> string option) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> int) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> Ptime.t) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> int) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> Status.t) -> t
val iter : id: (([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> unit) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> unit) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> unit) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> unit) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> unit) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> unit) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> unit) -> unit
val fold : init:'a -> id: ('b -> ([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> 'c) -> name: ('d -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'e) -> input: ('f -> ([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> 'g) -> tries: ('h -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'i) -> next_run_at: ('j -> ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'k) -> max_tries: ('l -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'm) -> status: ('n -> ([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> 'o) -> 'p
val map_poly : ([< `Read | `Set_and_create ], t, 'a) Fieldslib.Field.user -> 'b list
val for_all : id: (([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> bool) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> bool) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> bool) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> bool) -> bool
val exists : id: (([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> bool) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> bool) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> bool) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> bool) -> bool
val to_list : id: (([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> 'a) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'b) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> 'c) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'd) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'e) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'f) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> 'g) -> 'h list
module Direct : sig ... end