UNPKG

ravendb

Version:
17 lines 796 B
import { SessionCountersBase } from "./SessionCountersBase.js"; import { ISessionDocumentCounters } from "./ISessionDocumentCounters.js"; import { InMemoryDocumentSessionOperations } from "./InMemoryDocumentSessionOperations.js"; export declare class SessionDocumentCounters extends SessionCountersBase implements ISessionDocumentCounters { constructor(session: InMemoryDocumentSessionOperations, entity: object); constructor(session: InMemoryDocumentSessionOperations, documentId: string); getAll(): Promise<{ [key: string]: number; }>; get(counter: string): Promise<number | null>; get(counters: string[]): Promise<{ [key: string]: number; }>; private _getCounter; private _getCounters; } //# sourceMappingURL=SessionDocumentCounters.d.ts.map