UNPKG

@configurator/ravendb

Version:
19 lines (18 loc) 630 B
import { DocumentInfo } from "./DocumentInfo"; import { InMemoryDocumentSessionOperations } from "./InMemoryDocumentSessionOperations"; 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(): IterableIterator<[string, DocumentInfo]>; getTrackedEntities(session: InMemoryDocumentSessionOperations): Map<string, EntityInfo>; } export declare class EntityInfo { id: string; entity: object; isDeleted: boolean; }