Rocky_Mountain_Vending/.pnpm-store/v10/files/db/e7cbb11ce56de1d08e7c94b18585a2515a9870d95519373195fd984241902f9d735ba4bacce6d5f686e9fa71c9c1f937fb80afa4f4233c77fa22466b139330
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

30 lines
754 B
Text

import {
FieldName,
FieldValues,
ResolverOptions,
ResolverResult,
} from 'react-hook-form';
import * as Vest from 'vest';
export type ICreateResult<
TValues extends FieldValues = FieldValues,
TContext = any,
> = ReturnType<
typeof Vest.create<
any,
any,
(values: TValues, names?: FieldName<TValues>[], context?: TContext) => void
>
>;
export type Resolver = <TValues extends FieldValues, TContext>(
schema: ICreateResult<TValues, TContext>,
schemaOptions?: never,
factoryOptions?: { mode?: 'async' | 'sync'; rawValues?: boolean },
) => (
values: TValues,
context: TContext | undefined,
options: ResolverOptions<TValues>,
) => Promise<ResolverResult<TValues>>;
export type VestErrors = Record<string, string[]>;