package ocsigen-start

  1. Overview
  2. Docs
val id_of_json : Deriving_Json_lexer.lexbuf -> id
val id_to_json : Buffer.t -> id -> unit
val id_json : id Deriving_Json.t
type t = Os_types.User.t = {
  1. userid : id;
  2. fn : string;
  3. ln : string;
  4. avatar : string option;
  5. language : string option;
}
val of_json : Deriving_Json_lexer.lexbuf -> t
val to_json : Buffer.t -> t -> unit
val json : t Deriving_Json.t
val userid_of_user : Os_types.User.t -> Os_types.User.id
val firstname_of_user : Os_types.User.t -> string
val lastname_of_user : Os_types.User.t -> string
val avatar_of_user : Os_types.User.t -> string option
val avatar_uri_of_avatar : ?absolute_path:bool -> string -> Eliom_content.Xml.uri
val avatar_uri_of_user : ?absolute_path:bool -> Os_types.User.t -> Eliom_content.Xml.uri option
val language_of_user : Os_types.User.t -> string option
val fullname_of_user : Os_types.User.t -> string
val is_complete : Os_types.User.t -> bool