Interface ParamWithSchema<T>

Interface representing a parameter with a required Zod schema.

interface ParamWithSchema<T> {
    schema: ZodType<T, ZodTypeDef, T>;
    val: T;
}

Type Parameters

  • T

    The type of the parameter value.

Properties

Properties

schema: ZodType<T, ZodTypeDef, T>

A required Zod schema for validating the parameter value.

val: T

The value of the parameter.