From 39e9b828e6f3e3d473b84722d8b3a92e6c4f5587 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 12 Aug 2021 13:28:36 -0700 Subject: [PATCH] Start migrating schema to TypeScript --- src/matrix/storage/idb/StorageFactory.js | 2 +- src/matrix/storage/idb/{schema.js => schema.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/matrix/storage/idb/{schema.js => schema.ts} (100%) diff --git a/src/matrix/storage/idb/StorageFactory.js b/src/matrix/storage/idb/StorageFactory.js index 896dedd8..b8d13acc 100644 --- a/src/matrix/storage/idb/StorageFactory.js +++ b/src/matrix/storage/idb/StorageFactory.js @@ -17,7 +17,7 @@ limitations under the License. import {Storage} from "./Storage"; import { openDatabase, reqAsPromise } from "./utils"; import { exportSession, importSession } from "./export"; -import { schema } from "./schema.js"; +import { schema } from "./schema"; import { detectWebkitEarlyCloseTxnBug } from "./quirks.js"; const sessionName = sessionId => `hydrogen_session_${sessionId}`; diff --git a/src/matrix/storage/idb/schema.js b/src/matrix/storage/idb/schema.ts similarity index 100% rename from src/matrix/storage/idb/schema.js rename to src/matrix/storage/idb/schema.ts