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 -> 'c -> ('b -> string) * 'd) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> 'd -> ('b -> string option) * 'e) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'e -> ('b -> int) * 'f) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'f -> ('b -> Ptime.t) * 'g) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'g -> ('b -> int) * 'h) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> 'h -> ('b -> Status.t) * 'i) -> 'a -> ('b -> t) * 'i
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: ('a -> ([< `Read | `Set_and_create ], t, Sihl_database.Id.t) Fieldslib.Field.t_with_perm -> 'b) -> name: ('b -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'c) -> input: ('c -> ([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> 'd) -> tries: ('d -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'e) -> next_run_at: ('e -> ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'f) -> max_tries: ('f -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'g) -> status: ('g -> ([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> 'h) -> 'h
val map_poly : ([< `Read | `Set_and_create ], t, 'a) Fieldslib.Field.user -> 'a 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 -> 'a) -> input: (([< `Read | `Set_and_create ], t, string option) Fieldslib.Field.t_with_perm -> 'a) -> tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'a) -> next_run_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'a) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'a) -> status: (([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm -> 'a) -> 'a list
module Direct : sig ... end
OCaml

Innovation. Community. Security.