Skip to main content
Module

x/valibot/src/actions/mimeType/mimeType.ts>MimeTypeAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface MimeTypeAction
import { type MimeTypeAction } from "https://deno.land/x/valibot@v0.35.0/src/actions/mimeType/mimeType.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.