fix import
This commit is contained in:
@@ -7,6 +7,7 @@ Please see LICENSE in the repository root for full details.
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
type CallMembership,
|
type CallMembership,
|
||||||
|
type IRTCNotificationContent,
|
||||||
type MatrixRTCSession,
|
type MatrixRTCSession,
|
||||||
MatrixRTCSessionEvent,
|
MatrixRTCSessionEvent,
|
||||||
} from "matrix-js-sdk/lib/matrixrtc";
|
} from "matrix-js-sdk/lib/matrixrtc";
|
||||||
@@ -33,11 +34,11 @@ import {
|
|||||||
EventType,
|
EventType,
|
||||||
type Room as MatrixRoom,
|
type Room as MatrixRoom,
|
||||||
RoomEvent,
|
RoomEvent,
|
||||||
type IRTCNotificationContent,
|
|
||||||
} from "matrix-js-sdk";
|
} from "matrix-js-sdk";
|
||||||
|
|
||||||
import { type Behavior } from "../Behavior";
|
import { type Behavior } from "../Behavior";
|
||||||
import { type Epoch, mapEpoch, type ObservableScope } from "../ObservableScope";
|
import { type Epoch, mapEpoch, type ObservableScope } from "../ObservableScope";
|
||||||
|
|
||||||
export type AutoLeaveReason = "allOthersLeft" | "timeout" | "decline";
|
export type AutoLeaveReason = "allOthersLeft" | "timeout" | "decline";
|
||||||
export type CallPickupState =
|
export type CallPickupState =
|
||||||
| "unknown"
|
| "unknown"
|
||||||
@@ -82,6 +83,7 @@ export interface Props {
|
|||||||
options: { waitForCallPickup?: boolean; autoLeaveWhenOthersLeft?: boolean };
|
options: { waitForCallPickup?: boolean; autoLeaveWhenOthersLeft?: boolean };
|
||||||
localUser: { deviceId: string; userId: string };
|
localUser: { deviceId: string; userId: string };
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @returns two observables:
|
* @returns two observables:
|
||||||
* `callPickupState$` The current call pickup state of the call.
|
* `callPickupState$` The current call pickup state of the call.
|
||||||
|
|||||||
Reference in New Issue
Block a user