mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-15 08:26:09 +00:00
allow anyone controll room option
This commit is contained in:
@@ -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'
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user