UNPKG

ravendb

Version:
12 lines 871 B
import { DocumentSessionAttachmentsBase } from "./DocumentSessionAttachmentsBase.js"; import { IAttachmentsSessionOperations } from "./IAttachmentsSessionOperations.js"; import { InMemoryDocumentSessionOperations } from "./InMemoryDocumentSessionOperations.js"; import { AttachmentResult } from "../Attachments/index.js"; export declare class DocumentSessionAttachments extends DocumentSessionAttachmentsBase implements IAttachmentsSessionOperations { constructor(session: InMemoryDocumentSessionOperations); exists(documentId: string, name: string): Promise<boolean>; get(entity: object, name: string): Promise<AttachmentResult>; get(documentId: string, name: string): Promise<AttachmentResult>; getRevision(documentId: string, name: string, changeVector: string): Promise<AttachmentResult>; } //# sourceMappingURL=DocumentSessionAttachments.d.ts.map