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 -> 'c -> ('b -> string) * 'd) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'd -> ('b -> string) * 'e) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'e -> ('b -> string) * 'f) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'f -> ('b -> Ptime.t) * 'g) -> 'a -> ('b -> t) * 'g
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: ('a -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'b) -> name: ('b -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'c) -> content_text: ('c -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'd) -> content_html: ('d -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'e) -> created_at: ('e -> ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'f) -> 'f
val map_poly : ([< `Read | `Set_and_create ], t, 'a) Fieldslib.Field.user -> 'a 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 -> 'a) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'a) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'a) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> 'a) -> 'a list
module Direct : sig ... end
OCaml

Innovation. Community. Security.