Continuing work on the API.
The id_counter module now includes the record directly in the source. Fixed many typos and small syntax errors. Added ts_api:dispatch_user/2 to handle different HTTP methods. Added method placeholder stubs to ts_api. Implemented ts_api:list_entries/3. Added ts_user record and ts_user module. Implemented ts_entry:list/4, the more generic guts of the other list functions. Created ts_entry:list_asc/3 and ts_entry:list_desc/3. Fixed ts_json:encode_datetime/1.
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
-record(ts_user, {
|
||||
username,
|
||||
pwd,
|
||||
pwd_salt,
|
||||
name,
|
||||
email,
|
||||
join_date
|
||||
}).
|
||||
|
||||
-record(ts_timeline, {
|
||||
ref, % {username, timelineid}
|
||||
created,% {{year, month, day}, {hour, minute, second}}
|
||||
|
Reference in New Issue
Block a user