Stint.Record (stint v0.1.0)

Copy Markdown View Source

One stint — a bounded period of activity by one owner on one item, with second-resolution start/end.

owner_id and item are opaque strings; the library never interprets them. meta is a free-form map, shallow-merged on every extension (last write wins per key) — useful for "what was I on when the stint ended" facts like a chapter number.

Summary

Types

t()

@type t() :: %Stint.Record{
  __meta__: term(),
  ended_at: term(),
  id: term(),
  inserted_at: term(),
  item: term(),
  meta: term(),
  owner_id: term(),
  seconds: term(),
  started_at: term(),
  updated_at: term()
}