diff --git a/lib/contributions.mli b/lib/contributions.mli index aec24b5..8773e76 100644 --- a/lib/contributions.mli +++ b/lib/contributions.mli @@ -1,5 +1,20 @@ type t +module Datetime : sig + type t = string +end + +type item = { + repo : string; + kind : [`Issue | `PR | `Review of string | `New_repo ]; + date: Datetime.t; + url : string; + title : string; + body : string; +} + +module Repo_map : Map.S with type key = string + val fetch : period:(string * string) -> token:Token.t -> Yojson.Safe.t val of_json : from:string -> Yojson.Safe.t -> t