Use protopiler for protocol buffers

Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
Fedor Indutny
2026-03-10 15:31:29 -07:00
committed by GitHub
parent b0e19f334e
commit c4ee32e9ee
97 changed files with 6197 additions and 6362 deletions

View File

@@ -126,10 +126,15 @@ export type AttachmentForUIType = AttachmentType & {
};
};
export type UploadedAttachmentType = Proto.IAttachmentPointer &
export type UploadedAttachmentType = Omit<
Proto.AttachmentPointer.Params,
'attachmentIdentifier'
> &
Readonly<{
// Required fields
cdnKey: string;
attachmentIdentifier: Readonly<{
cdnKey: string;
}>;
key: Uint8Array;
size: number;
digest: Uint8Array;