ravendb
Version:
RavenDB client for Node.js
12 lines • 871 B
TypeScript
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