Report whether a data: URL MIME type is on the whitelist.
Parameters
mimeType: string
The MIME type extracted from a data: URL, e.g. image/png.
Returns boolean
true when the type is explicitly allowed.
Remarks
Exposed so callers that need a different failure mode (a result object rather
than a throw, as in utils/validators/general-validators.ts) can share this
whitelist instead of re-deriving one.
Report whether a
data:URL MIME type is on the whitelist.