Rocky_Mountain_Vending/.pnpm-store/v10/files/57/3f1ee6f2409bb7f5f20a9c0d804d0fac9da9183d825a958d3de820e60e183c8d77a492baedbaa222835661cc60406e65a7a4c8784aea2604ff8897d3e8a111
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

20 lines
598 B
Text

import { FieldValues, ResolverOptions, ResolverResult } from 'react-hook-form';
import { Struct, validate } from 'superstruct';
type Options = Parameters<typeof validate>[2];
export type Resolver = <T extends Struct<any, any>>(
schema: T,
options?: Options,
factoryOptions?: {
/**
* Return the raw input values rather than the parsed values.
* @default false
*/
raw?: boolean;
},
) => <TFieldValues extends FieldValues, TContext>(
values: TFieldValues,
context: TContext | undefined,
options: ResolverOptions<TFieldValues>,
) => ResolverResult<TFieldValues>;