7 lines
No EOL
342 B
TypeScript
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 } |