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

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface MetadataAction
implements BaseMetadata<TInput>
import { type MetadataAction } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/metadata/index.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.