Skip to content

Commit 122362f

Browse files
Feedback
1 parent 973dbff commit 122362f

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

packages/firestore/src/local/indexeddb_remote_document_cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface IndexedDbRemoteDocumentCache extends RemoteDocumentCache {
6767
* The RemoteDocumentCache for IndexedDb. To construct, invoke
6868
* `newIndexedDbRemoteDocumentCache()`.
6969
*/
70-
export class IndexedDbRemoteDocumentCacheImpl implements RemoteDocumentCache {
70+
class IndexedDbRemoteDocumentCacheImpl implements IndexedDbRemoteDocumentCache {
7171
/**
7272
* @param serializer The document serializer.
7373
* @param indexManager The query indexes that need to be maintained.

packages/firestore/src/local/memory_remote_document_cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface MemoryRemoteDocumentCache extends RemoteDocumentCache {
6161
* The memory-only RemoteDocumentCache for IndexedDb. To construct, invoke
6262
* `newMemoryRemoteDocumentCache()`.
6363
*/
64-
class MemoryRemoteDocumentCacheImpl implements RemoteDocumentCache {
64+
class MemoryRemoteDocumentCacheImpl implements MemoryRemoteDocumentCache {
6565
/** Underlying cache of documents and their read times. */
6666
private docs = documentEntryMap();
6767

packages/firestore/test/unit/local/test_remote_document_cache.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ import { SnapshotVersion } from '../../../src/core/snapshot_version';
2020
import { Persistence } from '../../../src/local/persistence';
2121
import { PersistencePromise } from '../../../src/local/persistence_promise';
2222
import { RemoteDocumentCache } from '../../../src/local/remote_document_cache';
23-
import {
24-
IndexedDbRemoteDocumentCache,
25-
remoteDocumentCacheGetNewDocumentChanges
26-
} from '../../../src/local/indexeddb_remote_document_cache';
23+
import { remoteDocumentCacheGetNewDocumentChanges } from '../../../src/local/indexeddb_remote_document_cache';
2724
import { RemoteDocumentChangeBuffer } from '../../../src/local/remote_document_change_buffer';
2825
import {
2926
DocumentKeySet,
@@ -33,7 +30,6 @@ import {
3330
} from '../../../src/model/collections';
3431
import { MaybeDocument } from '../../../src/model/document';
3532
import { DocumentKey } from '../../../src/model/document_key';
36-
import { debugAssert } from '../../../src/util/assert';
3733

3834
/**
3935
* A wrapper around a RemoteDocumentCache that automatically creates a

0 commit comments

Comments
 (0)