From ec383372233d3101166e64e95769cc77f0c6a411 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 11 Aug 2021 14:59:52 -0700 Subject: [PATCH] Start migrating RoomMemberStore.js to TypeScript --- src/matrix/storage/idb/Transaction.js | 2 +- src/matrix/storage/idb/schema.js | 2 +- .../idb/stores/{RoomMemberStore.js => RoomMemberStore.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/matrix/storage/idb/stores/{RoomMemberStore.js => RoomMemberStore.ts} (100%) diff --git a/src/matrix/storage/idb/Transaction.js b/src/matrix/storage/idb/Transaction.js index 055f8959..4a7b66fe 100644 --- a/src/matrix/storage/idb/Transaction.js +++ b/src/matrix/storage/idb/Transaction.js @@ -23,7 +23,7 @@ import {InviteStore} from "./stores/InviteStore"; import {TimelineEventStore} from "./stores/TimelineEventStore"; import {TimelineRelationStore} from "./stores/TimelineRelationStore"; import {RoomStateStore} from "./stores/RoomStateStore"; -import {RoomMemberStore} from "./stores/RoomMemberStore.js"; +import {RoomMemberStore} from "./stores/RoomMemberStore"; import {TimelineFragmentStore} from "./stores/TimelineFragmentStore.js"; import {PendingEventStore} from "./stores/PendingEventStore.js"; import {UserIdentityStore} from "./stores/UserIdentityStore.js"; diff --git a/src/matrix/storage/idb/schema.js b/src/matrix/storage/idb/schema.js index fdfc78d7..d0d9cf16 100644 --- a/src/matrix/storage/idb/schema.js +++ b/src/matrix/storage/idb/schema.js @@ -1,6 +1,6 @@ import {iterateCursor, reqAsPromise} from "./utils"; import {RoomMember, EVENT_TYPE as MEMBER_EVENT_TYPE} from "../../room/members/RoomMember.js"; -import {RoomMemberStore} from "./stores/RoomMemberStore.js"; +import {RoomMemberStore} from "./stores/RoomMemberStore"; import {SessionStore} from "./stores/SessionStore"; import {encodeScopeTypeKey} from "./stores/OperationStore.js"; diff --git a/src/matrix/storage/idb/stores/RoomMemberStore.js b/src/matrix/storage/idb/stores/RoomMemberStore.ts similarity index 100% rename from src/matrix/storage/idb/stores/RoomMemberStore.js rename to src/matrix/storage/idb/stores/RoomMemberStore.ts