BeechCMS / @beechcms/core / MagicBytesValidationResult
Interface: MagicBytesValidationResult
Result of a file magic bytes signature validation.
Properties
detectedMime?
optionaldetectedMime?:string
Detected canonical primary MIME type if valid or identified.
error?
optionalerror?:string
Human-readable error description when validation fails.
valid
valid:
boolean
Whether the byte buffer matches the declared format signature.