feat(stats): add Speed trait and 4 new archetypes to Reading DNA widget

This commit is contained in:
neon
2026-04-28 13:50:26 -06:00
parent 006c2c4948
commit a41ce07834
7 changed files with 185 additions and 16 deletions
+3 -7
View File
@@ -92,13 +92,7 @@ export interface HighlightOfTheDayWidgetData {
createdAt: string;
}
export type ChallengeType =
| "short-read"
| "genre-explorer"
| "finish-oldest"
| "streak-builder"
| "new-author"
| "page-milestone";
export type ChallengeType = "short-read" | "genre-explorer" | "finish-oldest" | "streak-builder" | "new-author" | "page-milestone";
export interface MonthlyChallengeWidgetData {
challengeType: ChallengeType;
@@ -139,10 +133,12 @@ export interface ReadingDnaWidgetData {
varietyScore: number;
rhythmScore: number;
timeScore: number;
speedScore: number;
lengthLabel: string;
varietyLabel: string;
rhythmLabel: string;
timeLabel: string;
speedLabel: string;
booksAnalyzed: number;
}