@signalapp/mock-server
Version:
Mock Signal Server for writing tests
9 lines (8 loc) • 323 B
TypeScript
import { signalservice as Proto } from '../../protos/compiled';
export type Attachment = {
key: Buffer<ArrayBuffer>;
blob: Buffer<ArrayBuffer>;
digest: Buffer<ArrayBuffer>;
size: number;
};
export declare function attachmentToPointer(cdnKey: string, attachment: Attachment): Proto.AttachmentPointer.Params;