Rename ProofHintFlags to MediaMetadata

Also, introduce the MediaInterventionFlags class to not send all metadata across, just the info needed for showing the intervention flags.
This commit is contained in:
N-Pex 2025-10-23 10:13:14 +02:00
parent 5fcbcb77fb
commit 1aff02c7d4
13 changed files with 101 additions and 90 deletions

View file

@ -1,5 +1,5 @@
import { ComputedRef, Ref } from "vue";
import { Proof, ProofHintFlags } from "./proof";
import { Proof, MediaMetadata } from "./proof";
export class UploadPromise<Type> {
wrappedPromise: Promise<Type>;
@ -58,7 +58,7 @@ export type Attachment = {
useScaled: boolean;
src?: string;
proof?: Proof;
proofHintFlags?: ProofHintFlags;
mediaMetadata?: MediaMetadata;
thumbnail?: AttachmentThumbnail;
sendInfo: AttachmentSendInfo;
};