Interface: SerializedMedia
Shape returned by Media.toJSON. Metadata-only — bytes and the reader are stripped so naive event/log serialisation never materialises bytes.
Properties
| Property | Type |
|---|---|
byteLength? | number |
filename | string |
id | string |
kind | "audio" | "image" | "video" | "document" |
mimeType | string |
modalityHazard | "inert" | "extractable-instructions" | "opaque-perceptual" |
source? | string |
stash | Record<string, MediaStashEntry> |
trustTier | "first-party" | "third-party-public" | "third-party-private" |