typings: Rename recording-related enums and interfaces for clarity
This commit is contained in:
parent
4f6eb1d7e3
commit
c8703868d1
@ -1,4 +1,4 @@
|
||||
export const enum RecordingStatus {
|
||||
export const enum MeetRecordingStatus {
|
||||
STARTING = 'STARTING',
|
||||
STARTED = 'STARTED',
|
||||
STOPPING = 'STOPPING',
|
||||
@ -7,7 +7,7 @@ export const enum RecordingStatus {
|
||||
READY = 'READY'
|
||||
}
|
||||
|
||||
export const enum RecordingOutputMode {
|
||||
export const enum MeetRecordingOutputMode {
|
||||
COMPOSED = 'COMPOSED',
|
||||
INDIVIDUAL = 'INDIVIDUAL'
|
||||
}
|
||||
@ -15,15 +15,16 @@ export const enum RecordingOutputMode {
|
||||
/**
|
||||
* Interface representing a recording
|
||||
*/
|
||||
export interface RecordingInfo {
|
||||
export interface MeetRecordingInfo {
|
||||
id: string;
|
||||
roomName: string;
|
||||
// TODO: Delete roomId
|
||||
roomId: string;
|
||||
outputMode: RecordingOutputMode;
|
||||
status: RecordingStatus;
|
||||
outputMode: MeetRecordingOutputMode;
|
||||
status: MeetRecordingStatus;
|
||||
filename?: string;
|
||||
creationDate?: number;
|
||||
endDate?: number;
|
||||
startedAt?: number;
|
||||
endedAt?: number;
|
||||
duration?: number;
|
||||
size?: number;
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { RecordingStatus } from './recording.model.js';
|
||||
import { MeetRecordingStatus } from './recording.model.js';
|
||||
|
||||
export interface OpenViduWebhookEvent {
|
||||
creationDate: number;
|
||||
@ -16,7 +16,7 @@ export interface RecordingWebhookData {
|
||||
recordingId: string;
|
||||
filename?: string;
|
||||
roomName: string;
|
||||
status: RecordingStatus;
|
||||
status: MeetRecordingStatus;
|
||||
}
|
||||
|
||||
export interface RoomWebhookData {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user