Chronicle::Models::ProjectActivity
Inherits JSON::Serializable < Reference < Object
Aggregated activity metrics correlated by project.
Constructors
new(pull : JSON::PullParser)
Sourcenew(project : String, total_focus_seconds : Float64 = 0.0, window_count : Int32 = 0, commands : Array(ShellEvent) = [] of ShellEvent, commits : Array(GitCommit) = [] of GitCommit, journals : Array(JournalEntry) = [] of JournalEntry, top_apps : Hash(String, Float64) = Hash(String, Float64).new(0.0))
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
commands
Sourcecommits
Sourcejournals
Sourceproject
Sourcetop_apps
Sourcetotal_focus_seconds
Sourcewindow_count
Source