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';
|
import { MeetRoomPreferences } from './room-preferences.js';
|
||||||
|
|
||||||
interface BaseRoomOptions {
|
interface BaseRoomOptions {
|
||||||
autoDeletionDate?: number;
|
autoDeletionDate?: number;
|
||||||
roomIdPrefix?: string;
|
roomIdPrefix?: string;
|
||||||
preferences?: MeetRoomPreferences;
|
preferences?: MeetRoomPreferences;
|
||||||
// maxParticipants?: number | null;
|
// maxParticipants?: number | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Options for creating or configuring a room.
|
* 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.
|
* Interface representing the response received when a room is created.
|
||||||
*/
|
*/
|
||||||
export interface MeetRoom extends BaseRoomOptions {
|
export interface MeetRoom extends BaseRoomOptions {
|
||||||
roomId: string;
|
roomId: string;
|
||||||
creationDate: number;
|
creationDate: number;
|
||||||
moderatorRoomUrl: string;
|
moderatorRoomUrl: string;
|
||||||
publisherRoomUrl: string;
|
publisherRoomUrl: string;
|
||||||
markedForDeletion?: boolean;
|
markedForDeletion?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface MeetRoomRoleAndPermissions {
|
||||||
|
role: ParticipantRole;
|
||||||
|
permissions: ParticipantPermissions;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type MeetRoomFilters = {
|
export type MeetRoomFilters = {
|
||||||
maxItems?: number;
|
maxItems?: number;
|
||||||
nextPageToken?: string;
|
nextPageToken?: string;
|
||||||
fields?: string;
|
fields?: string;
|
||||||
};
|
};
|
||||||
Loading…
x
Reference in New Issue
Block a user