Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>MimeTypeAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface MimeTypeAction
import { type MimeTypeAction } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

MIME type action type.

Type Parameters

TInput extends Blob
TRequirement extends Requirement
TMessage extends ErrorMessage<MimeTypeIssue<TInput, TRequirement>> | undefined

Properties

readonly
type: "mime_type"

The action type.

readonly
reference: mimeType

The action reference.

readonly
expects: string

The expected property.

readonly
requirement: TRequirement

The MIME types.

readonly
message: TMessage

The error message.