- Updated StorageFactory to create basic storage providers and key builders. - Simplified StorageProvider interface to focus on basic CRUD operations. - Enhanced MeetStorageService to handle domain-specific logic while delegating storage operations. - Implemented Redis caching for room data to improve performance. - Added error handling and logging improvements throughout the service. - Removed deprecated methods and streamlined object retrieval processes. refactor: update storage service and interfaces to include user key handling and improve initialization logic refactor: update beforeAll hooks in recording tests to clear rooms and recordings refactor: optimize integration recordings test command Revert "refactor: optimize integration recordings test command" This reverts commit d517a44fa282b91613f8c55130916c2af5f07267. refactor: enhance Redis cache storage operations refactor: streamline test setup and teardown for security and recordings APIs
32 lines
884 B
TypeScript
32 lines
884 B
TypeScript
/**
|
|
* Interface representing the preferences for a room.
|
|
*/
|
|
export interface MeetRoomPreferences {
|
|
chatPreferences: MeetChatPreferences;
|
|
recordingPreferences: MeetRecordingPreferences;
|
|
virtualBackgroundPreferences: MeetVirtualBackgroundPreferences;
|
|
}
|
|
|
|
/**
|
|
* Interface representing the preferences for recording.
|
|
*/
|
|
export interface MeetRecordingPreferences {
|
|
enabled: boolean;
|
|
allowAccessTo?: MeetRecordingAccess;
|
|
}
|
|
|
|
export const enum MeetRecordingAccess {
|
|
ADMIN = 'admin', // Only admins can access the recording
|
|
ADMIN_MODERATOR = 'admin-moderator', // Admins and moderators can access
|
|
ADMIN_MODERATOR_PUBLISHER = 'admin-moderator-publisher', // Admins, moderators and publishers can access
|
|
PUBLIC = 'public', // Everyone can access
|
|
}
|
|
|
|
export interface MeetChatPreferences {
|
|
enabled: boolean;
|
|
}
|
|
|
|
export interface MeetVirtualBackgroundPreferences {
|
|
enabled: boolean;
|
|
}
|