package fred

  1. Overview
  2. Docs
type sources = {
  1. realtime_start : string;
  2. realtime_end : string;
  3. order_by : string option;
  4. sort_order : string option;
  5. count : int option;
  6. offset : int option;
  7. limit : int option;
  8. sources : source list;
}

Container for sources data

and source = {
  1. id : int;
  2. realtime_start_ : string;
  3. realtime_end_ : string;
  4. name : string;
}
val show_sources : sources -> Ppx_deriving_runtime.string
val show_source : source -> Ppx_deriving_runtime.string
type order_by =
  1. | SourceID
  2. | Name
  3. | RealtimeStart
  4. | RealtimeEnd

Sources' order by options

val order_by_to_string : order_by -> string
OCaml

Innovation. Community. Security.