typings: Rename room-related interfaces and properties for consistency
This commit is contained in:
parent
5376ef0846
commit
c619760296
@ -1,20 +1,20 @@
|
|||||||
/**
|
/**
|
||||||
* Interface representing the preferences for a room.
|
* Interface representing the preferences for a room.
|
||||||
*/
|
*/
|
||||||
export interface RoomPreferences {
|
export interface MeetRoomPreferences {
|
||||||
chatPreferences: ChatPreferences;
|
chatPreferences: MeetChatPreferences;
|
||||||
recordingPreferences: RecordingPreferences;
|
recordingPreferences: MeetRecordingPreferences;
|
||||||
virtualBackgroundPreferences: VirtualBackgroundPreferences;
|
virtualBackgroundPreferences: MeetVirtualBackgroundPreferences;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Interface representing the preferences for recording.
|
* Interface representing the preferences for recording.
|
||||||
*/
|
*/
|
||||||
export interface RecordingPreferences {
|
export interface MeetRecordingPreferences {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
}
|
}
|
||||||
export interface ChatPreferences {
|
export interface MeetChatPreferences {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
}
|
}
|
||||||
export interface VirtualBackgroundPreferences {
|
export interface MeetVirtualBackgroundPreferences {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
import { RoomPreferences } from './room-preferences.js';
|
import { MeetRoomPreferences } from './room-preferences.js';
|
||||||
|
|
||||||
interface BaseRoomOptions {
|
interface BaseRoomOptions {
|
||||||
expirationDate: number;
|
expirationDate: number;
|
||||||
roomNamePrefix?: string;
|
roomIdPrefix?: string;
|
||||||
preferences?: RoomPreferences;
|
preferences?: MeetRoomPreferences;
|
||||||
maxParticipants?: number | null;
|
// maxParticipants?: number | null;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Options for creating or configuring a room.
|
* Options for creating or configuring a room.
|
||||||
@ -15,7 +15,7 @@ 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 {
|
||||||
roomName: string;
|
roomId: string;
|
||||||
creationDate: number;
|
creationDate: number;
|
||||||
moderatorRoomUrl: string;
|
moderatorRoomUrl: string;
|
||||||
publisherRoomUrl: string;
|
publisherRoomUrl: string;
|
||||||
|
|||||||
@ -3,9 +3,9 @@
|
|||||||
*/
|
*/
|
||||||
export interface TokenOptions {
|
export interface TokenOptions {
|
||||||
/**
|
/**
|
||||||
* The name of the room to join.
|
* The unique identifier for the room.
|
||||||
*/
|
*/
|
||||||
roomName: string;
|
roomId: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of the participant.
|
* The name of the participant.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user