mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Use protopiler for protocol buffers
Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user