@rendley/sdk - v1.12.7
    Preparing search index...

    Class ZodDefault<T>

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _input: undefined | T["_input"]
    _output: noUndefined
    spa: (
        data: unknown,
        params?: Partial<Zod.ParseParams>,
    ) => Promise<
        Zod.SafeParseReturnType<
            undefined
            | T["_input"],
            noUndefined<T["_output"]>,
        >,
    >

    Alias of safeParseAsync

    create: <T_1 extends Zod.ZodTypeAny>(
        type: T_1,
        params: {
            description?: string;
            errorMap?: Zod.ZodErrorMap;
            invalid_type_error?: string;
            required_error?: string;
        } & { default: T_1["_input"]
        | (() => noUndefined<T_1["_input"]>) },
    ) => Zod.ZodDefault<T_1>

    Accessors

    • get description(): undefined | string

      Returns undefined | string

    Methods

    • Parameters

      • description: string

      Returns this

    • Returns T