You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Sort imports in MatrixClient (#3734)
My IDE keeps trying to do this, so let's just do it in its own PR
This commit is contained in:
committed by
GitHub
parent
267b52099b
commit
23d244520c
@@ -55,34 +55,34 @@ import { IRoomEncryption, RoomList } from "./crypto/RoomList";
|
|||||||
import { logger } from "./logger";
|
import { logger } from "./logger";
|
||||||
import { SERVICE_TYPES } from "./service-types";
|
import { SERVICE_TYPES } from "./service-types";
|
||||||
import {
|
import {
|
||||||
|
Body,
|
||||||
|
ClientPrefix,
|
||||||
|
FileType,
|
||||||
HttpApiEvent,
|
HttpApiEvent,
|
||||||
HttpApiEventHandlerMap,
|
HttpApiEventHandlerMap,
|
||||||
Upload,
|
HTTPError,
|
||||||
UploadOpts,
|
|
||||||
MatrixError,
|
|
||||||
MatrixHttpApi,
|
|
||||||
Method,
|
|
||||||
retryNetworkOperation,
|
|
||||||
ClientPrefix,
|
|
||||||
MediaPrefix,
|
|
||||||
IdentityPrefix,
|
IdentityPrefix,
|
||||||
IHttpOpts,
|
IHttpOpts,
|
||||||
FileType,
|
|
||||||
UploadResponse,
|
|
||||||
HTTPError,
|
|
||||||
IRequestOpts,
|
IRequestOpts,
|
||||||
Body,
|
MatrixError,
|
||||||
|
MatrixHttpApi,
|
||||||
|
MediaPrefix,
|
||||||
|
Method,
|
||||||
|
retryNetworkOperation,
|
||||||
|
Upload,
|
||||||
|
UploadOpts,
|
||||||
|
UploadResponse,
|
||||||
} from "./http-api";
|
} from "./http-api";
|
||||||
import {
|
import {
|
||||||
Crypto,
|
Crypto,
|
||||||
CryptoEvent,
|
CryptoEvent,
|
||||||
CryptoEventHandlerMap,
|
CryptoEventHandlerMap,
|
||||||
fixBackupKey,
|
fixBackupKey,
|
||||||
ICryptoCallbacks,
|
|
||||||
ICheckOwnCrossSigningTrustOpts,
|
ICheckOwnCrossSigningTrustOpts,
|
||||||
|
ICryptoCallbacks,
|
||||||
|
IRoomKeyRequestBody,
|
||||||
isCryptoAvailable,
|
isCryptoAvailable,
|
||||||
VerificationMethod,
|
VerificationMethod,
|
||||||
IRoomKeyRequestBody,
|
|
||||||
} from "./crypto";
|
} from "./crypto";
|
||||||
import { DeviceInfo } from "./crypto/deviceinfo";
|
import { DeviceInfo } from "./crypto/deviceinfo";
|
||||||
import { decodeRecoveryKey } from "./crypto/recoverykey";
|
import { decodeRecoveryKey } from "./crypto/recoverykey";
|
||||||
@@ -110,7 +110,7 @@ import { VerificationRequest } from "./crypto/verification/request/VerificationR
|
|||||||
import { VerificationBase as Verification } from "./crypto/verification/Base";
|
import { VerificationBase as Verification } from "./crypto/verification/Base";
|
||||||
import * as ContentHelpers from "./content-helpers";
|
import * as ContentHelpers from "./content-helpers";
|
||||||
import { CrossSigningInfo, DeviceTrustLevel, ICacheCallbacks, UserTrustLevel } from "./crypto/CrossSigning";
|
import { CrossSigningInfo, DeviceTrustLevel, ICacheCallbacks, UserTrustLevel } from "./crypto/CrossSigning";
|
||||||
import { Room, NotificationCountType, RoomEvent, RoomEventHandlerMap, RoomNameState } from "./models/room";
|
import { NotificationCountType, Room, RoomEvent, RoomEventHandlerMap, RoomNameState } from "./models/room";
|
||||||
import { RoomMemberEvent, RoomMemberEventHandlerMap } from "./models/room-member";
|
import { RoomMemberEvent, RoomMemberEventHandlerMap } from "./models/room-member";
|
||||||
import { IPowerLevelsContent, RoomStateEvent, RoomStateEventHandlerMap } from "./models/room-state";
|
import { IPowerLevelsContent, RoomStateEvent, RoomStateEventHandlerMap } from "./models/room-state";
|
||||||
import {
|
import {
|
||||||
@@ -119,8 +119,10 @@ import {
|
|||||||
IContextResponse,
|
IContextResponse,
|
||||||
ICreateRoomOpts,
|
ICreateRoomOpts,
|
||||||
IEventSearchOpts,
|
IEventSearchOpts,
|
||||||
|
IFilterResponse,
|
||||||
IGuestAccessOpts,
|
IGuestAccessOpts,
|
||||||
IJoinRoomOpts,
|
IJoinRoomOpts,
|
||||||
|
INotificationsResponse,
|
||||||
IPaginateOpts,
|
IPaginateOpts,
|
||||||
IPresenceOpts,
|
IPresenceOpts,
|
||||||
IRedactOpts,
|
IRedactOpts,
|
||||||
@@ -129,15 +131,14 @@ import {
|
|||||||
IRoomDirectoryOptions,
|
IRoomDirectoryOptions,
|
||||||
ISearchOpts,
|
ISearchOpts,
|
||||||
ISendEventResponse,
|
ISendEventResponse,
|
||||||
INotificationsResponse,
|
|
||||||
IFilterResponse,
|
|
||||||
ITagsResponse,
|
|
||||||
IStatusResponse,
|
IStatusResponse,
|
||||||
|
ITagsResponse,
|
||||||
KnockRoomOpts,
|
KnockRoomOpts,
|
||||||
} from "./@types/requests";
|
} from "./@types/requests";
|
||||||
import {
|
import {
|
||||||
EventType,
|
EventType,
|
||||||
LOCAL_NOTIFICATION_SETTINGS_PREFIX,
|
LOCAL_NOTIFICATION_SETTINGS_PREFIX,
|
||||||
|
MSC3912_RELATION_BASED_REDACTIONS_PROP,
|
||||||
MsgType,
|
MsgType,
|
||||||
PUSHER_ENABLED,
|
PUSHER_ENABLED,
|
||||||
RelationType,
|
RelationType,
|
||||||
@@ -146,7 +147,6 @@ import {
|
|||||||
UNSTABLE_MSC3088_ENABLED,
|
UNSTABLE_MSC3088_ENABLED,
|
||||||
UNSTABLE_MSC3088_PURPOSE,
|
UNSTABLE_MSC3088_PURPOSE,
|
||||||
UNSTABLE_MSC3089_TREE_SUBTYPE,
|
UNSTABLE_MSC3089_TREE_SUBTYPE,
|
||||||
MSC3912_RELATION_BASED_REDACTIONS_PROP,
|
|
||||||
} from "./@types/event";
|
} from "./@types/event";
|
||||||
import { IdServerUnbindResult, IImageInfo, JoinRule, Preset, Visibility } from "./@types/partials";
|
import { IdServerUnbindResult, IImageInfo, JoinRule, Preset, Visibility } from "./@types/partials";
|
||||||
import { EventMapper, eventMapperFor, MapperOpts } from "./event-mapper";
|
import { EventMapper, eventMapperFor, MapperOpts } from "./event-mapper";
|
||||||
@@ -178,29 +178,29 @@ import {
|
|||||||
} from "./@types/PushRules";
|
} from "./@types/PushRules";
|
||||||
import { IThreepid } from "./@types/threepids";
|
import { IThreepid } from "./@types/threepids";
|
||||||
import { CryptoStore, OutgoingRoomKeyRequest } from "./crypto/store/base";
|
import { CryptoStore, OutgoingRoomKeyRequest } from "./crypto/store/base";
|
||||||
import { GroupCall, IGroupCallDataChannelOptions, GroupCallIntent, GroupCallType } from "./webrtc/groupCall";
|
import { GroupCall, GroupCallIntent, GroupCallType, IGroupCallDataChannelOptions } from "./webrtc/groupCall";
|
||||||
import { MediaHandler } from "./webrtc/mediaHandler";
|
import { MediaHandler } from "./webrtc/mediaHandler";
|
||||||
import {
|
import {
|
||||||
LoginTokenPostResponse,
|
|
||||||
ILoginFlowsResponse,
|
ILoginFlowsResponse,
|
||||||
IRefreshTokenResponse,
|
IRefreshTokenResponse,
|
||||||
SSOAction,
|
|
||||||
LoginResponse,
|
|
||||||
LoginRequest,
|
LoginRequest,
|
||||||
|
LoginResponse,
|
||||||
|
LoginTokenPostResponse,
|
||||||
|
SSOAction,
|
||||||
} from "./@types/auth";
|
} from "./@types/auth";
|
||||||
import { TypedEventEmitter } from "./models/typed-event-emitter";
|
import { TypedEventEmitter } from "./models/typed-event-emitter";
|
||||||
import { MAIN_ROOM_TIMELINE, ReceiptType } from "./@types/read_receipts";
|
import { MAIN_ROOM_TIMELINE, ReceiptType } from "./@types/read_receipts";
|
||||||
import { MSC3575SlidingSyncRequest, MSC3575SlidingSyncResponse, SlidingSync } from "./sliding-sync";
|
import { MSC3575SlidingSyncRequest, MSC3575SlidingSyncResponse, SlidingSync } from "./sliding-sync";
|
||||||
import { SlidingSyncSdk } from "./sliding-sync-sdk";
|
import { SlidingSyncSdk } from "./sliding-sync-sdk";
|
||||||
import {
|
import {
|
||||||
|
determineFeatureSupport,
|
||||||
FeatureSupport,
|
FeatureSupport,
|
||||||
Thread,
|
Thread,
|
||||||
THREAD_RELATION_TYPE,
|
THREAD_RELATION_TYPE,
|
||||||
determineFeatureSupport,
|
|
||||||
ThreadFilterType,
|
ThreadFilterType,
|
||||||
threadFilterTypeToFilter,
|
threadFilterTypeToFilter,
|
||||||
} from "./models/thread";
|
} from "./models/thread";
|
||||||
import { MBeaconInfoEventContent, M_BEACON_INFO } from "./@types/beacon";
|
import { M_BEACON_INFO, MBeaconInfoEventContent } from "./@types/beacon";
|
||||||
import { UnstableValue } from "./NamespacedValue";
|
import { UnstableValue } from "./NamespacedValue";
|
||||||
import { ToDeviceMessageQueue } from "./ToDeviceMessageQueue";
|
import { ToDeviceMessageQueue } from "./ToDeviceMessageQueue";
|
||||||
import { ToDeviceBatch } from "./models/ToDeviceMessage";
|
import { ToDeviceBatch } from "./models/ToDeviceMessage";
|
||||||
|
|||||||
Reference in New Issue
Block a user