diff options
| author | 2026-09-08 00:54:36 -0700 | |
|---|---|---|
| committer | 2026-09-08 00:54:36 -0700 | |
| commit | cababf71f9411266191d4b1295c030ea533c942c (patch) | |
| tree | 407c8c5424263d8563b3713b8cabfd953bbd4a2b /src/app.phel | |
| parent | 528cbf2ef570894aaf919ed3da0d3cd129a2c8e8 (diff) | |
| download | lezer-cababf71f9411266191d4b1295c030ea533c942c.tar.gz lezer-cababf71f9411266191d4b1295c030ea533c942c.zip | |
Add reading session and progress tables
Each book can have multiple reading sessions, when something is re-read later.
Each session has multiple progress updates. Each progress update has a separate
total number of pages because the total can change for ebooks depending on the
device and the settings that are used.
Diffstat (limited to 'src/app.phel')
| -rw-r--r-- | src/app.phel | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.phel b/src/app.phel index 7df561f..41565bf 100644 --- a/src/app.phel +++ b/src/app.phel @@ -14,6 +14,7 @@ :get {:handler routes/ping-handler} :post {:handler routes/ping-handler}}] ["/book" {:post {:handler routes/book-create-handler}}] + ["/book/{id}/session" {:post {:handler routes/book-session-create-handler}}] ["/author/{id}" {:name :author :get {:handler routes/author-view-handler}}]])) |
