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>
12 lines
408 B
Text
12 lines
408 B
Text
import { Schema } from 'effect';
|
|
import { ParseOptions } from 'effect/SchemaAST';
|
|
import { FieldValues, ResolverOptions, ResolverResult } from 'react-hook-form';
|
|
|
|
export type Resolver = <A extends FieldValues, I, TContext>(
|
|
schema: Schema.Schema<A, I>,
|
|
config?: ParseOptions,
|
|
) => (
|
|
values: FieldValues,
|
|
_context: TContext | undefined,
|
|
options: ResolverOptions<A>,
|
|
) => Promise<ResolverResult<A>>;
|