typings: Add MeetRoomRoleAndPermissions interface
This commit is contained in:
parent
2ae88d28b6
commit
81db83129b
@ -1,3 +1,4 @@
|
||||
import { ParticipantPermissions, ParticipantRole } from './participant.js';
|
||||
import { MeetRoomPreferences } from './room-preferences.js';
|
||||
|
||||
interface BaseRoomOptions {
|
||||
@ -6,6 +7,7 @@ interface BaseRoomOptions {
|
||||
preferences?: MeetRoomPreferences;
|
||||
// maxParticipants?: number | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for creating or configuring a room.
|
||||
*/
|
||||
@ -22,6 +24,11 @@ export interface MeetRoom extends BaseRoomOptions {
|
||||
markedForDeletion?: boolean;
|
||||
}
|
||||
|
||||
export interface MeetRoomRoleAndPermissions {
|
||||
role: ParticipantRole;
|
||||
permissions: ParticipantPermissions;
|
||||
}
|
||||
|
||||
export type MeetRoomFilters = {
|
||||
maxItems?: number;
|
||||
nextPageToken?: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user