allow anyone controll room option

This commit is contained in:
2026-08-27 15:41:21 +02:00
parent b2c1d67283
commit 72152e2d45
16 changed files with 328 additions and 11 deletions
+5
View File
@@ -44,6 +44,7 @@ export type PokerRoom = {
current_round: number;
revealed: boolean;
state_version: number;
allow_participant_controls: boolean;
statistics: RoomStatistics | null;
deck: RoomDeck;
players: RoomPlayer[];
@@ -94,6 +95,8 @@ export type RoomHeaderProps = Pick<
'id' | 'title' | 'join_code' | 'is_favorite'
> & {
canFavorite: boolean;
isModerator: boolean;
allowParticipantControls: boolean;
presenterMode: boolean;
};
@@ -142,6 +145,7 @@ export type RoomStateChange =
| 'cards_revealed'
| 'votes_reset'
| 'next_round'
| 'permissions_updated'
| 'room_reopened'
| 'room_closed'
| 'room_deleted';
@@ -157,6 +161,7 @@ export type RoomRealtimeState = Pick<
| 'current_round'
| 'revealed'
| 'state_version'
| 'allow_participant_controls'
| 'statistics'
| 'players'
>;