level-up/shared/gameEvents.ts
Moritz Ruth 88f0632194
All checks were successful
Build / build (push) Successful in 1m14s
Update dependencies, containerize, add build workflow
2025-03-03 00:35:21 +01:00

7 lines
No EOL
342 B
TypeScript

import type { InteractionQueueItem } from "./script/types"
export type GameEvent =
| { type: "room-changed"; roomId: string }
| { type: "interaction-queued"; item: InteractionQueueItem }
| { type: "interaction-votes-changed"; id: string; votes: number }
| { type: "object-visibility-changed"; id: string; isVisible: boolean }