@configurator/ravendb
Version:
RavenDB client for Node.js
19 lines (18 loc) • 630 B
TypeScript
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;
}