feat(03-01): extend Progress type, add LessonPhase, update rate limits
- Progress: added totalCorrect, totalErrors, errorKeyCounts, lastPlayedLevels - New LessonPhase type: discover | practice | words - Rate limits: 10 text / 5 image per day (was 1 each) - Updated screens.ts with new Progress field defaults - Updated existing tests for new rate limits and Progress shape Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,8 +14,14 @@ export interface Progress {
|
||||
sessionDates: string[]; // ISO date strings (days only)
|
||||
selectedCharacter: CompanionType;
|
||||
selectedLayout: KeyboardLayout;
|
||||
totalCorrect: number;
|
||||
totalErrors: number;
|
||||
errorKeyCounts: Record<string, number>;
|
||||
lastPlayedLevels: number[]; // last 3 played levels for review mechanic
|
||||
}
|
||||
|
||||
export type LessonPhase = "discover" | "practice" | "words";
|
||||
|
||||
// Companion assets store
|
||||
export interface CompanionAssets {
|
||||
characterType: CompanionType;
|
||||
|
||||
Reference in New Issue
Block a user