Rocky_Mountain_Vending/.pnpm-store/v10/files/e3/76c4825d9282b0c26ba998f57b96b615d14b6476157ef72d599812d9c8d311683f18b206ba9b7239fbb4a821a6b67c1c02e6e441cc25cdf8501120a8345622
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

19 lines
645 B
Text

import type { NopeObject } from 'nope-validator/lib/cjs/NopeObject';
import type {
FieldValues,
ResolverOptions,
ResolverResult,
} from 'react-hook-form';
type ValidateOptions = Parameters<NopeObject['validate']>[2];
type Context = Parameters<NopeObject['validate']>[1];
export type Resolver = <T extends NopeObject>(
schema: T,
schemaOptions?: ValidateOptions,
resolverOptions?: { mode?: 'async' | 'sync'; rawValues?: boolean },
) => <TFieldValues extends FieldValues, TContext extends Context>(
values: TFieldValues,
context: TContext | undefined,
options: ResolverOptions<TFieldValues>,
) => ResolverResult<TFieldValues>;