Skip to content
1 min read · 112 words

Interface: SerializedMedia

Shape returned by Media.toJSON. Metadata-only — bytes and the reader are stripped so naive event/log serialisation never materialises bytes.

Properties

PropertyType
byteLength?number
filenamestring
idstring
kind"audio" | "image" | "video" | "document"
mimeTypestring
modalityHazard"inert" | "extractable-instructions" | "opaque-perceptual"
source?string
stashRecord<string, MediaStashEntry>
trustTier"first-party" | "third-party-public" | "third-party-private"