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>
7 lines
479 B
Text
7 lines
479 B
Text
import * as t from 'io-ts';
|
|
import { FieldError, FieldValues, ResolverOptions, ResolverResult } from 'react-hook-form';
|
|
export type Resolver = <T, TFieldValues extends FieldValues, TContext>(codec: t.Decoder<FieldValues, T>) => (values: TFieldValues, _context: TContext | undefined, options: ResolverOptions<TFieldValues>) => ResolverResult<TFieldValues>;
|
|
export type ErrorObject = Record<string, FieldError>;
|
|
export type FieldErrorWithPath = FieldError & {
|
|
path: string;
|
|
};
|