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

    Class ZodEffects<T, Output, Input>

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _input: Input
    _output: Output
    _type: Output
    spa: (
        data: unknown,
        params?: Partial<Zod.ParseParams>,
    ) => Promise<Zod.SafeParseReturnType<Input, Output>>

    Alias of safeParseAsync

    create: <I extends Zod.ZodTypeAny>(
        schema: I,
        effect: Zod.Effect<I["_output"]>,
        params?: Zod.RawCreateParams,
    ) => Zod.ZodEffects<I, I["_output"], Zod.input<I>>
    createWithPreprocess: <I extends Zod.ZodTypeAny>(
        preprocess: (arg: unknown, ctx: Zod.RefinementCtx) => unknown,
        schema: I,
        params?: Zod.RawCreateParams,
    ) => Zod.ZodEffects<I, I["_output"], unknown>

    Accessors

    • get description(): undefined | string

      Returns undefined | string

    Methods

    • Parameters

      • description: string

      Returns this

    • Returns T

    • Returns T