Cherry.Portfolio.Timeline.Item (cherry v0.1.0-rc.3)

Copy Markdown View Source

One dated timeline entry with its kind made explicit.

Summary

Types

t()

@type t() :: %Cherry.Portfolio.Timeline.Item{
  date: Date.t(),
  entry:
    Cherry.Portfolio.Position.t()
    | Cherry.Portfolio.Project.t()
    | Cherry.Portfolio.Talk.t()
    | Cherry.Portfolio.Education.t(),
  kind: :position | :project | :talk | :education
}