Switch to importing more things from the main js-sdk export (#11376)

This commit is contained in:
Michael Telatynski 2023-08-09 16:10:54 +01:00 committed by GitHub
parent e6c127915f
commit a1328d8ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 100 additions and 75 deletions

View file

@ -16,8 +16,7 @@ limitations under the License.
import React from "react";
import classNames from "classnames";
import { IPusher } from "matrix-js-sdk/src/@types/PushRules";
import { PUSHER_ENABLED } from "matrix-js-sdk/src/matrix";
import { IPusher, PUSHER_ENABLED } from "matrix-js-sdk/src/matrix";
import { LocalNotificationSettings } from "matrix-js-sdk/src/@types/local_notifications";
import { formatDate } from "../../../../DateUtils";

View file

@ -15,8 +15,7 @@ limitations under the License.
*/
import React, { ForwardedRef, forwardRef } from "react";
import { IPusher } from "matrix-js-sdk/src/@types/PushRules";
import { PUSHER_DEVICE_ID } from "matrix-js-sdk/src/matrix";
import { IPusher, PUSHER_DEVICE_ID } from "matrix-js-sdk/src/matrix";
import { LocalNotificationSettings } from "matrix-js-sdk/src/@types/local_notifications";
import { _t } from "../../../../languageHandler";

View file

@ -25,9 +25,9 @@ import {
PUSHER_DEVICE_ID,
PUSHER_ENABLED,
UNSTABLE_MSC3852_LAST_SEEN_UA,
MatrixError,
} from "matrix-js-sdk/src/matrix";
import { VerificationRequest } from "matrix-js-sdk/src/crypto-api";
import { MatrixError } from "matrix-js-sdk/src/http-api";
import { logger } from "matrix-js-sdk/src/logger";
import { LocalNotificationSettings } from "matrix-js-sdk/src/@types/local_notifications";
import { CryptoEvent } from "matrix-js-sdk/src/crypto";