package sihl-type

  1. Overview
  2. Docs
val names : string list
val created_at : ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm
val content_html : ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm
val content_text : ([< `Read | `Set_and_create ], t, string) 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, string) Fieldslib.Field.t_with_perm
val make_creator : id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'a -> ('b -> string) * 'c) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'd -> ('e -> string) * 'f) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'g -> ('h -> string) * 'i) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'j -> ('k -> string) * 'l) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'm -> ('n -> Ptime.t) * 'o) -> 'p -> ('q -> t) * 'r
val create : id:string -> name:string -> content_text:string -> content_html:string -> created_at:Ptime.t -> t
val map : id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> string) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> string) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> string) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> string) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> Ptime.t) -> t
val iter : id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> unit) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> unit) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> unit) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> unit) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> unit) -> unit
val fold : init:'a -> id: ('b -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'c) -> name: ('d -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'e) -> content_text: ('f -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'g) -> content_html: ('h -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'i) -> created_at: ('j -> ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'k) -> 'l
val map_poly : ([< `Read | `Set_and_create ], t, 'a) Fieldslib.Field.user -> 'b list
val for_all : id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> bool) -> bool
val exists : id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> bool) -> bool
val to_list : id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'a) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'b) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'c) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'd) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'e) -> 'f list
module Direct : sig ... end