Skip to content

Reference

tilttek/writing-goals
TypeRole
WritingGoalsKeeps goals, logs and corrects counts, answers plans on the author's today, erases an author
GoalA target in words or pages, from a first day to a deadline, its curve, writing days and timezone
DayA date without a time, counted in days since 1970-01-01
UnitWords or pages
Curve, CurveShapeThe weight of each writing day; linear, front-loaded, back-loaded or custom
WritingDaysThe days of the week the author writes, less the dates set aside
ProgressThe counts of each day
PlannerShares what remains among the writing days left
Plan, DailyQuotaA goal as it stands on one day; the quota of one writing day
Event\GoalReachedDispatched when a count brings a goal to its target
Contract\GoalStore, Store\InMemoryGoalStoreWhere the goals are kept
Contract\LogStore, Store\InMemoryLogStoreWhere the counts are kept
Exception\WritingGoalsException and its two exceptionsExceptions