@readerseye2/cr_type 1.0.134 → 1.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -152,6 +152,8 @@ export interface ChildSectionProgress {
|
|
|
152
152
|
totalBlinks: number;
|
|
153
153
|
/** 찾아본 단어 목록 (unique text 기준) */
|
|
154
154
|
lookedUpWords: LookedUpWord[];
|
|
155
|
+
/** 개별 퀴즈 결과 (quizId 기준 최신 1건만 유지, 재시도 시 덮어쓰기) */
|
|
156
|
+
quizResults: QuizAttemptResult[];
|
|
155
157
|
quizScore: number;
|
|
156
158
|
quizMaxScore: number;
|
|
157
159
|
quizCorrectCount: number;
|
|
@@ -327,6 +329,41 @@ export interface ReadingAccumulatedState {
|
|
|
327
329
|
quizMaxScore: number;
|
|
328
330
|
estimatedReadingScore: number;
|
|
329
331
|
}
|
|
332
|
+
export interface ChildDailySummary {
|
|
333
|
+
childIdx: number;
|
|
334
|
+
/** KST 기준 날짜 "YYYY-MM-DD" */
|
|
335
|
+
date: string;
|
|
336
|
+
totalReadMs: number;
|
|
337
|
+
sessionCount: number;
|
|
338
|
+
/** 오늘 읽은 bookIdx 목록 (unique) */
|
|
339
|
+
booksRead: number[];
|
|
340
|
+
/** 오늘 스크롤 GI 합 (세션별 누적) */
|
|
341
|
+
totalScrolledGICount: number;
|
|
342
|
+
/** 오늘 시선 확인 GI 합 (세션별 누적) */
|
|
343
|
+
totalGazeReadGICount: number;
|
|
344
|
+
avgConcentrationPercent: number | null;
|
|
345
|
+
avgFocusRatio: number | null;
|
|
346
|
+
avgReadingSpeedWPM: number | null;
|
|
347
|
+
totalQuizScore: number;
|
|
348
|
+
totalQuizMaxScore: number;
|
|
349
|
+
totalBlinks: number;
|
|
350
|
+
totalLookedUpWords: number;
|
|
351
|
+
/** 집중도 가중합 (concentrationPercent × durationMs 누적) */
|
|
352
|
+
_weightedConcentrationMs: number;
|
|
353
|
+
/** 집중도 분모 (concentration 데이터가 있는 세션의 durationMs 누적) */
|
|
354
|
+
_concentrationDurationMs: number;
|
|
355
|
+
/** 속도 가중합 (speedWPM × durationMs 누적) */
|
|
356
|
+
_weightedSpeedMs: number;
|
|
357
|
+
/** 속도 분모 (speed 데이터가 있는 세션의 durationMs 누적) */
|
|
358
|
+
_speedDurationMs: number;
|
|
359
|
+
/** focusRatio 가중합 */
|
|
360
|
+
_weightedFocusRatioMs: number;
|
|
361
|
+
/** focusRatio 분모 */
|
|
362
|
+
_focusRatioDurationMs: number;
|
|
363
|
+
lastSessionId: string;
|
|
364
|
+
createdAt: string;
|
|
365
|
+
updatedAt: string;
|
|
366
|
+
}
|
|
330
367
|
/** GET /api/reading-progress/:bookIdx */
|
|
331
368
|
export interface ChildBookProgressResponse {
|
|
332
369
|
bookmark: ChildBookBookmark | null;
|