Skip to content

BeechCMS


BeechCMS / @beechcms/forms-react / ClientMagicBytesResult

Interface: ClientMagicBytesResult ​

Result of client-side file magic bytes validation before form upload.

Properties ​

error? ​

optional error?: string

Validation error message if the file is invalid or mismatched.


valid ​

valid: boolean

Whether the file matches its declared MIME signature.