@thegeem/protocol 0.1.16 → 0.1.17
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/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -501,6 +501,8 @@ interface QuestionView {
|
|
|
501
501
|
correctAnswerIndex: number | null;
|
|
502
502
|
imageName?: string;
|
|
503
503
|
videoName?: string;
|
|
504
|
+
/** For video questions: seconds into the clip to stop playback (so the answer isn't shown). Absent = play through. */
|
|
505
|
+
videoStopTime?: number;
|
|
504
506
|
}
|
|
505
507
|
interface GameStateView {
|
|
506
508
|
status: GameStatus;
|
package/dist/index.d.ts
CHANGED
|
@@ -501,6 +501,8 @@ interface QuestionView {
|
|
|
501
501
|
correctAnswerIndex: number | null;
|
|
502
502
|
imageName?: string;
|
|
503
503
|
videoName?: string;
|
|
504
|
+
/** For video questions: seconds into the clip to stop playback (so the answer isn't shown). Absent = play through. */
|
|
505
|
+
videoStopTime?: number;
|
|
504
506
|
}
|
|
505
507
|
interface GameStateView {
|
|
506
508
|
status: GameStatus;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegeem/protocol",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "Geem's wire protocol — shared zod schemas + TypeScript types for talking to the Geem game server over Socket.IO. The source of truth all clients implement against.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://geem.tv",
|