diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-16 16:59:09 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-16 17:00:46 +0100 |
commit | c2ee8fd9ab6754275d7423152681236a46cf36a9 (patch) | |
tree | c7306f6575f89e3b66226fdaf7af342b0dc973c2 /packages/idb-bridge | |
parent | 35a7b76a7d935dc2c749fd39ac80c6af1096b795 (diff) |
cleanup, avoid some circular deps
Diffstat (limited to 'packages/idb-bridge')
-rw-r--r-- | packages/idb-bridge/src/BridgeIDBCursor.ts | 3 | ||||
-rw-r--r-- | packages/idb-bridge/src/BridgeIDBObjectStore.ts | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/packages/idb-bridge/src/BridgeIDBCursor.ts b/packages/idb-bridge/src/BridgeIDBCursor.ts index c12c8c333..ebf71da0d 100644 --- a/packages/idb-bridge/src/BridgeIDBCursor.ts +++ b/packages/idb-bridge/src/BridgeIDBCursor.ts @@ -22,12 +22,10 @@ import BridgeIDBRequest from "./BridgeIDBRequest"; import compareKeys from "./util/cmp"; import { DataError, - InvalidAccessError, InvalidStateError, ReadOnlyError, TransactionInactiveError, } from "./util/errors"; -import extractKey from "./util/extractKey"; import structuredClone from "./util/structuredClone"; import { CursorRange, @@ -41,7 +39,6 @@ import { RecordGetRequest, ResultLevel, Backend, - DatabaseTransaction, RecordStoreRequest, StoreLevel, } from "./backend-interface"; diff --git a/packages/idb-bridge/src/BridgeIDBObjectStore.ts b/packages/idb-bridge/src/BridgeIDBObjectStore.ts index 22bcc32f8..bb84b4454 100644 --- a/packages/idb-bridge/src/BridgeIDBObjectStore.ts +++ b/packages/idb-bridge/src/BridgeIDBObjectStore.ts @@ -24,16 +24,11 @@ import BridgeIDBTransaction from "./BridgeIDBTransaction"; import { ConstraintError, - DataError, InvalidAccessError, InvalidStateError, - NotFoundError, ReadOnlyError, - TransactionInactiveError, } from "./util/errors"; -import extractKey from "./util/extractKey"; import fakeDOMStringList from "./util/fakeDOMStringList"; -import structuredClone from "./util/structuredClone"; import { FakeDOMStringList, BridgeIDBCursorDirection, |