@readerseye2/cr_type 1.0.78 → 1.0.79
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.
|
@@ -62,3 +62,21 @@ export interface MonitorStoppedPayload {
|
|
|
62
62
|
export interface MonitorErrorPayload {
|
|
63
63
|
message: string;
|
|
64
64
|
}
|
|
65
|
+
/** 활성 모니터링 (서버 메모리) */
|
|
66
|
+
export interface ActiveMonitor {
|
|
67
|
+
targetSocketId: string;
|
|
68
|
+
adminSocketId: string;
|
|
69
|
+
userType: 'parent' | 'child';
|
|
70
|
+
userId: number;
|
|
71
|
+
userName: string;
|
|
72
|
+
parentIdx?: number;
|
|
73
|
+
startedAt: number;
|
|
74
|
+
s3Prefix: string;
|
|
75
|
+
chunkIndex: number;
|
|
76
|
+
eventBuffer: SocketViewerEvent[];
|
|
77
|
+
lastSnapshot: ViewerSnapshot | null;
|
|
78
|
+
currentReadingSessionId: string | null;
|
|
79
|
+
currentSectionId: string | null;
|
|
80
|
+
currentBookIdx: number | null;
|
|
81
|
+
intervalHandle: ReturnType<typeof setInterval> | null;
|
|
82
|
+
}
|