@readerseye2/cr_type 1.0.121 → 1.0.123
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.
- package/dist/book/book-api.type.d.ts +15 -15
- package/dist/book/book-api.type.js +2 -2
- package/dist/book/book-log.type.d.ts +14 -14
- package/dist/book/book-log.type.js +2 -2
- package/dist/book/book.const.d.ts +274 -274
- package/dist/book/book.const.js +119 -119
- package/dist/book/legacy.book.type.d.ts +164 -164
- package/dist/book/legacy.book.type.js +41 -41
- package/dist/gaze/eye-tracker.types.d.ts +1 -1
- package/dist/socket/socket-serverToClientEvents.type.d.ts +11 -1
- package/package.json +27 -27
|
@@ -2,7 +2,7 @@ import { MessageReadResponse, MessageResponse, NoticeMessageResult } from "./soc
|
|
|
2
2
|
import { ViewerSnapshot } from "./reading-section.types";
|
|
3
3
|
import { ViewerEvent } from "./viewer-events.types";
|
|
4
4
|
import { ConnectedUser, ConnectedUsersGrouped } from "./connected-user.types";
|
|
5
|
-
import { UnifiedSessionInfo, SessionSegmentChangedPayload, UnifiedChunkFile, SessionHistoryListResult, SessionHistoryGetResult, UnifiedChunksResult, UnifiedSegmentResult, SessionHistoryDeleteResult } from "./unified-session.types";
|
|
5
|
+
import { UnifiedSessionInfo, SessionSegmentChangedPayload, UnifiedChunkFile, GazeDataPayload, SessionHistoryListResult, SessionHistoryGetResult, UnifiedChunksResult, UnifiedSegmentResult, SessionHistoryDeleteResult } from "./unified-session.types";
|
|
6
6
|
export interface ServerToClientEvents {
|
|
7
7
|
connect: () => void;
|
|
8
8
|
disconnect: () => void;
|
|
@@ -39,6 +39,11 @@ export interface ServerToClientEvents {
|
|
|
39
39
|
sessionId: string;
|
|
40
40
|
events: ViewerEvent[];
|
|
41
41
|
}) => void;
|
|
42
|
+
/** 구독 중인 세션의 실시간 시선 데이터 (~1초 간격) */
|
|
43
|
+
'session:gaze': (payload: {
|
|
44
|
+
sessionId: string;
|
|
45
|
+
gazeData: GazeDataPayload;
|
|
46
|
+
}) => void;
|
|
42
47
|
/** 구독 중인 세션의 세그먼트 변경 (섹션 변경) */
|
|
43
48
|
'session:segment-changed': (payload: SessionSegmentChangedPayload) => void;
|
|
44
49
|
/** 구독 중인 세션의 청크 (10초 간격) */
|
|
@@ -85,6 +90,11 @@ export interface SessionServerToClientEvents {
|
|
|
85
90
|
sessionId: string;
|
|
86
91
|
events: ViewerEvent[];
|
|
87
92
|
}) => void;
|
|
93
|
+
/** 구독 중인 세션 실시간 시선 데이터 (~1초 간격) */
|
|
94
|
+
'session:gaze': (payload: {
|
|
95
|
+
sessionId: string;
|
|
96
|
+
gazeData: GazeDataPayload;
|
|
97
|
+
}) => void;
|
|
88
98
|
/** 세그먼트 변경 (섹션 변경) */
|
|
89
99
|
'session:segment-changed': (payload: SessionSegmentChangedPayload) => void;
|
|
90
100
|
/** 실시간 청크 (10초 간격, 구독자에게) */
|
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@readerseye2/cr_type",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "CheckReading shared TypeScript types",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"deploy_npm": "npm version patch && npm publish --access public",
|
|
12
|
-
"build": "tsc --project tsconfig.json",
|
|
13
|
-
"prepare": "npm run build"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/bnri/CR_type.git"
|
|
18
|
-
},
|
|
19
|
-
"author": "guripong",
|
|
20
|
-
"license": "MIT",
|
|
21
|
-
"publishConfig": {
|
|
22
|
-
"access": "public"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"typescript": "^5.8.3"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@readerseye2/cr_type",
|
|
3
|
+
"version": "1.0.123",
|
|
4
|
+
"description": "CheckReading shared TypeScript types",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"deploy_npm": "npm version patch && npm publish --access public",
|
|
12
|
+
"build": "tsc --project tsconfig.json",
|
|
13
|
+
"prepare": "npm run build"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/bnri/CR_type.git"
|
|
18
|
+
},
|
|
19
|
+
"author": "guripong",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"typescript": "^5.8.3"
|
|
26
|
+
}
|
|
27
|
+
}
|