fix ErrorOccurredEvent structure for errorOccurred
This commit is contained in:
22
src/lib/jitsi-iframe-api.d.ts
vendored
22
src/lib/jitsi-iframe-api.d.ts
vendored
@@ -1430,16 +1430,18 @@ interface FaceLandmarkDetectedEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface ErrorOccurredEvent {
|
interface ErrorOccurredEvent {
|
||||||
/** Additional error details. */
|
error: {
|
||||||
details?: Record<string, unknown>;
|
/** Additional error details. */
|
||||||
/** The error message. */
|
details?: Record<string, unknown>;
|
||||||
message?: string;
|
/** The error message. */
|
||||||
/** The coded name of the error. */
|
message?: string;
|
||||||
name: string;
|
/** The coded name of the error. */
|
||||||
/** Error type/source: 'CONFIG', 'CONNECTION', 'CONFERENCE'. */
|
name: string;
|
||||||
type: ErrorType;
|
/** Error type/source: 'CONFIG', 'CONNECTION', 'CONFERENCE'. */
|
||||||
/** Whether this is a fatal error which triggered a reconnect overlay. */
|
type: ErrorType;
|
||||||
isFatal: boolean;
|
/** Whether this is a fatal error which triggered a reconnect overlay. */
|
||||||
|
isFatal: boolean;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
interface KnockingParticipantEvent {
|
interface KnockingParticipantEvent {
|
||||||
|
|||||||
Reference in New Issue
Block a user