Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
571 B
Text
13 lines
571 B
Text
import { FieldValues, Resolver } from 'react-hook-form';
|
|
import * as Yup from 'yup';
|
|
export declare function yupResolver<TFieldValues extends FieldValues>(schema: Yup.ObjectSchema<TFieldValues> | ReturnType<typeof Yup.lazy<Yup.ObjectSchema<TFieldValues>>>, schemaOptions?: Parameters<(typeof schema)['validate']>[1], resolverOptions?: {
|
|
/**
|
|
* @default async
|
|
*/
|
|
mode?: 'async' | 'sync';
|
|
/**
|
|
* Return the raw input values rather than the parsed values.
|
|
* @default false
|
|
*/
|
|
raw?: boolean;
|
|
}): Resolver<Yup.InferType<typeof schema>>;
|