GeoLeaf Core API - v3.0.0
    Preparing search index...
    • 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.

      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.