package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type controls
val last : controls -> Sihl__.Data_ql.Page.t option
val next : controls -> Sihl__.Data_ql.Page.t option
val previous : controls -> Sihl__.Data_ql.Page.t option
val first : controls -> Sihl__.Data_ql.Page.t option
val pp_controls : Stdlib.Format.formatter -> controls -> unit
val show_controls : controls -> string
val equal_controls : controls -> controls -> bool
val controls_to_yojson : controls -> Yojson.Safe.t
val controls_of_yojson : Yojson.Safe.t -> controls Ppx_deriving_yojson_runtime.error_or
type 'a t = {
  1. member : 'a list;
  2. total_items : int;
  3. controls : controls;
}
val create : page:Sihl__.Data_ql.Page.t -> meta:Sihl__.Data_repo_core.Meta.t -> 'a list -> 'a t
val controls : 'a t -> controls
val total_items : 'a t -> int
val member : 'a t -> 'a list
val pp : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a t -> unit
val show : (Stdlib.Format.formatter -> 'a -> unit) -> 'a t -> string
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val to_yojson : ('a -> Yojson.Safe.t) -> 'a t -> Yojson.Safe.t
val of_yojson : (Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> 'a t Ppx_deriving_yojson_runtime.error_or
OCaml

Innovation. Community. Security.