pip-services-imagesets-node
Version:
Image library microservice in Node.js
11 lines (10 loc) • 635 B
TypeScript
import { IAttachmentsClientV1 } from 'pip-clients-attachments-node';
import { ImageSetV1 } from '../data/version1/ImageSetV1';
export declare class AttachmentsConnector {
private _attachmentsClient;
constructor(_attachmentsClient: IAttachmentsClientV1);
private extractAttachmentIds;
addAttachments(correlationId: string, imageset: ImageSetV1, callback: (err: any) => void): void;
updateAttachments(correlationId: string, oldImageSet: ImageSetV1, newImageSet: ImageSetV1, callback: (err: any) => void): void;
removeAttachments(correlationId: string, imageset: ImageSetV1, callback: (err: any) => void): void;
}