Implemented additional API functions: * dispatch_timeline/4 * dispatch_event_by_id/4 * get_timeline/3 * put_timeline/3 * post_timeline/3 * make_json_404/2, make_json_405/2, make_json_500/1 Implemented ts_timeline:lookup/2 Implemented ts_entry:lookup/2
13 lines
349 B
Erlang
13 lines
349 B
Erlang
-record(ts_timeline, {
|
|
ref, % {username, timelineid}
|
|
created,% {{year, month, day}, {hour, minute, second}}
|
|
desc
|
|
}).
|
|
|
|
-record(ts_entry, {
|
|
ref, % {username, timelineid, entryid}
|
|
timestamp, % gregorian seconds
|
|
mark, % String description of entry
|
|
notes % String with further notes about the entry
|
|
}).
|