Module

x/pothos/packages/plugin-validation/index.ts>ValidationOptions

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias ValidationOptions
import { type ValidationOptions } from "https://dotland.deno.dev/x/pothos@release-1691259632/packages/plugin-validation/index.ts";
definition: RefineConstraint<T> | RefineConstraint<T>[] | (T extends number ? NumberValidationOptions<T> : T extends bigint ? BigIntValidationOptions<T> : T extends boolean ? BooleanValidationOptions<T> : T extends string ? StringValidationOptions<T> : T extends Date ? DateValidationOptions<T> : T extends unknown[] ? ArrayValidationOptions<T> : T extends object ? ObjectValidationOptions<T> : BaseValidationOptions<T>)
import ValidationOptions
import { ValidationOptions } from "https://dotland.deno.dev/x/pothos@release-1691259632/packages/plugin-validation/index.ts";