feat: fix private prefix

This commit is contained in:
DarkSky
2022-08-04 18:55:23 +08:00
parent c63d5da4df
commit 1a43ce4d02
11 changed files with 65 additions and 64 deletions
+7 -7
View File
@@ -107,18 +107,18 @@ export class BlockIndexer<
B extends BlockInstance<C>,
C extends ContentOperation
> {
readonly _adapter: A;
readonly _idb: BlockIdbInstance;
private readonly _adapter: A;
private readonly _idb: BlockIdbInstance;
readonly _blockIndexer: DocumentIndexer<IndexMetadata>;
readonly _blockMetadata: LRUCache<string, QueryMetadata>;
readonly _eventBus: BlockEventBus;
private readonly _blockIndexer: DocumentIndexer<IndexMetadata>;
private readonly _blockMetadata: LRUCache<string, QueryMetadata>;
private readonly _eventBus: BlockEventBus;
readonly _blockBuilder: (
private readonly _blockBuilder: (
block: BlockInstance<C>
) => Promise<BaseBlock<B, C>>;
readonly _delayIndex: { documents: Map<string, BaseBlock<B, C>> };
private readonly _delayIndex: { documents: Map<string, BaseBlock<B, C>> };
constructor(
adapter: A,