import { type PartialCheckActionAsync } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/actions/partialCheck/index.ts";
Partial check action async type.
TODO: Should we add a pathList
property?
Type Parameters
TInput extends PartialInput
TSelection extends PartialInput
TMessage extends ErrorMessage<PartialCheckIssue<TSelection>> | undefined
Properties
readonly
requirement: (input: TSelection) => MaybePromise<boolean>The validation function.
readonly
message: TMessageThe error message.