mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
feat(annotations): add bounded dashboard highlights route
Return a user-scoped highlights shelf while preserving the existing single-highlight endpoint. Align calendar dashboard figures with each reader's timezone and completed attempts.
This commit is contained in:
@@ -191,6 +191,9 @@ export interface HighlightOfTheDayWidgetData {
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
/** Bounded Home shelf returned by GET /dashboard/widgets/highlights. */
|
||||
export type HighlightsWidgetData = HighlightOfTheDayWidgetData[];
|
||||
|
||||
export type ChallengeType = "short-read" | "genre-explorer" | "finish-oldest" | "streak-builder" | "new-author" | "page-milestone";
|
||||
|
||||
export interface MonthlyChallengeWidgetData {
|
||||
|
||||
Reference in New Issue
Block a user