typings: Add MeetRoomRoleAndPermissions interface
This commit is contained in:
parent
2ae88d28b6
commit
81db83129b
@ -1,11 +1,13 @@
|
||||
import { ParticipantPermissions, ParticipantRole } from './participant.js';
|
||||
import { MeetRoomPreferences } from './room-preferences.js';
|
||||
|
||||
interface BaseRoomOptions {
|
||||
autoDeletionDate?: number;
|
||||
roomIdPrefix?: string;
|
||||
preferences?: MeetRoomPreferences;
|
||||
// maxParticipants?: number | null;
|
||||
autoDeletionDate?: number;
|
||||
roomIdPrefix?: string;
|
||||
preferences?: MeetRoomPreferences;
|
||||
// maxParticipants?: number | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for creating or configuring a room.
|
||||
*/
|
||||
@ -15,15 +17,20 @@ export type MeetRoomOptions = BaseRoomOptions;
|
||||
* Interface representing the response received when a room is created.
|
||||
*/
|
||||
export interface MeetRoom extends BaseRoomOptions {
|
||||
roomId: string;
|
||||
creationDate: number;
|
||||
moderatorRoomUrl: string;
|
||||
publisherRoomUrl: string;
|
||||
markedForDeletion?: boolean;
|
||||
roomId: string;
|
||||
creationDate: number;
|
||||
moderatorRoomUrl: string;
|
||||
publisherRoomUrl: string;
|
||||
markedForDeletion?: boolean;
|
||||
}
|
||||
|
||||
export interface MeetRoomRoleAndPermissions {
|
||||
role: ParticipantRole;
|
||||
permissions: ParticipantPermissions;
|
||||
}
|
||||
|
||||
export type MeetRoomFilters = {
|
||||
maxItems?: number;
|
||||
nextPageToken?: string;
|
||||
fields?: string;
|
||||
};
|
||||
maxItems?: number;
|
||||
nextPageToken?: string;
|
||||
fields?: string;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user