Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/actions/metadata/metadata.ts>MetadataAction

The modular and type safe schema library for validating structural data 🤖
Latest
interface MetadataAction
implements BaseMetadata<TInput>
import { type MetadataAction } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/metadata/metadata.ts";

Metadata action type.

Type Parameters

TInput
TMetadata extends Record<string, unknown>

Properties

readonly
type: "metadata"

The action type.

readonly
reference: metadata

The action reference.

readonly
metadata: TMetadata

The metadata object.