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

    Class ZodMap<Key, Value>

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _input: Map
    _output: Map
    _type: Map
    spa: (
        data: unknown,
        params?: Partial<Zod.ParseParams>,
    ) => Promise<
        Zod.SafeParseReturnType<
            Map<Key["_input"], Value["_input"]>,
            Map<Key["_output"], Value["_output"]>,
        >,
    >

    Alias of safeParseAsync

    create: <
        Key_1 extends Zod.ZodTypeAny = Zod.ZodTypeAny,
        Value_1 extends Zod.ZodTypeAny = Zod.ZodTypeAny,
    >(
        keyType: Key_1,
        valueType: Value_1,
        params?: Zod.RawCreateParams,
    ) => Zod.ZodMap<Key_1, Value_1>

    Accessors

    • get description(): undefined | string

      Returns undefined | string

    • get keySchema(): Key

      Returns Key

    Methods

    • Parameters

      • description: string

      Returns this