UNPKG

ravendb

Version:
19 lines 674 B
import { DocumentInfo } from "./DocumentInfo.js"; import { InMemoryDocumentSessionOperations } from "./InMemoryDocumentSessionOperations.js"; export declare class DocumentsById { _inner: Map<string, DocumentInfo>; constructor(); getValue(id: string): DocumentInfo; add(info: DocumentInfo): void; remove(id: string): boolean; clear(): void; getCount(): number; entries(): MapIterator<[string, DocumentInfo]>; getTrackedEntities(session: InMemoryDocumentSessionOperations): Map<string, EntityInfo>; } export declare class EntityInfo { id: string; entity: object; isDeleted: boolean; } //# sourceMappingURL=DocumentsById.d.ts.map