From d44444823f66a6bbd35da9906ae4f9cb40e6d480 Mon Sep 17 00:00:00 2001 From: neon <18559658+neonsolstice@users.noreply.github.com> Date: Thu, 22 Oct 2026 16:23:47 +0000 Subject: [PATCH] feat(types): advertise reading history to clients List reading-history in SERVER_FEATURES so the iOS app shows History, and its links from Activity and a book's Timeline, only on servers that serve the routes. Ref #1630 --- packages/types/src/app-info.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/types/src/app-info.ts b/packages/types/src/app-info.ts index 379b66940..223f8b3aa 100644 --- a/packages/types/src/app-info.ts +++ b/packages/types/src/app-info.ts @@ -41,6 +41,11 @@ export const SERVER_FEATURES = [ "relative-date-ranges", /** The `format` book filter accepts `epub:readalong` for EPUBs with media overlays. */ "read-along-filter", + /** + * `GET /reading-history` (offset pages, the first carrying every month's size), `/summary`, + * `/:attemptId/marks` and `PATCH /:attemptId/rating`. + */ + "reading-history", ] as const; export type ServerFeature = (typeof SERVER_FEATURES)[number];