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

x/valibot/src/index.ts>SchemaWithPipe

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias SchemaWithPipe
Re-export
import { type SchemaWithPipe } from "https://deno.land/x/valibot@v0.35.0/src/index.ts";

Schema with pipe type.

Type Parameters

TPipe extends [BaseSchema<unknown, unknown, BaseIssue<unknown>>, ...PipeItem<unknown, unknown, BaseIssue<unknown>>[]]
definition: Omit<FirstTupleItem<TPipe>, "_run" | "_types"> & { readonly pipe: TPipe; readonly _types?: { readonly input: InferInput<FirstTupleItem<TPipe>>; readonly output: InferOutput<LastTupleItem<TPipe>>; readonly issue: InferIssue<TPipe[number]>; }; _run(dataset: Dataset<unknown, never>, config: Config<InferIssue<FirstTupleItem<TPipe>>>): Dataset<InferOutput<LastTupleItem<TPipe>>, InferIssue<TPipe[number]>>; }