@readerseye2/cr_type 1.0.135 → 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.
|
@@ -329,6 +329,41 @@ export interface ReadingAccumulatedState {
|
|
|
329
329
|
quizMaxScore: number;
|
|
330
330
|
estimatedReadingScore: number;
|
|
331
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
|
+
}
|
|
332
367
|
/** GET /api/reading-progress/:bookIdx */
|
|
333
368
|
export interface ChildBookProgressResponse {
|
|
334
369
|
bookmark: ChildBookBookmark | null;
|