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

x/valibot/src/types/metadata.ts>BaseMetadata

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface BaseMetadata
import { type BaseMetadata } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/types/metadata.ts";

Base metadata type.

Properties

readonly
kind: "metadata"

The object kind.

readonly
type: string

The metadata type.

readonly
reference: (...args: any[]) => BaseMetadata<any>

The metadata reference.

readonly
optional
~types: { readonly input: TInput; readonly output: TInput; readonly issue: never; } | undefined

The input, output and issue type.