Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export (#11368)
This commit is contained in:
parent
b08bdf7e0d
commit
368b6b9355
40 changed files with 106 additions and 73 deletions
|
@ -27,6 +27,7 @@ import {
|
|||
EventType,
|
||||
CryptoApi,
|
||||
DeviceVerificationStatus,
|
||||
Device,
|
||||
} from "matrix-js-sdk/src/matrix";
|
||||
import {
|
||||
Phase,
|
||||
|
@ -34,7 +35,6 @@ import {
|
|||
VerificationRequestEvent,
|
||||
} from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest";
|
||||
import { UserTrustLevel } from "matrix-js-sdk/src/crypto/CrossSigning";
|
||||
import { Device } from "matrix-js-sdk/src/models/device";
|
||||
import { defer } from "matrix-js-sdk/src/utils";
|
||||
import { EventEmitter } from "events";
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||
|
||||
import { act, render, waitFor } from "@testing-library/react";
|
||||
import React, { ComponentProps } from "react";
|
||||
import { User } from "matrix-js-sdk/src/models/user";
|
||||
import { User, TypedEventEmitter, Device, MatrixClient } from "matrix-js-sdk/src/matrix";
|
||||
import { mocked, Mocked } from "jest-mock";
|
||||
import {
|
||||
EmojiMapping,
|
||||
|
@ -28,7 +28,6 @@ import {
|
|||
VerifierEvent,
|
||||
VerifierEventHandlerMap,
|
||||
} from "matrix-js-sdk/src/crypto-api/verification";
|
||||
import { TypedEventEmitter, Device, MatrixClient } from "matrix-js-sdk/src/matrix";
|
||||
|
||||
import VerificationPanel from "../../../../src/components/views/right_panel/VerificationPanel";
|
||||
import { flushPromises, stubClient } from "../../../test-utils";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue