@karmaniverous/get-dotenv
    Preparing search index...

    Interface $ZodCUIDInternalsInternal

    interface $ZodCUIDInternals {
        bag: LoosePartial<
            {
                contentEncoding: string;
                format: string;
                maximum: number;
                minimum: number;
                patterns: Set<RegExp>;
            },
        >;
        constr: new (def: any) => z.core.$ZodType;
        def: $ZodStringFormatDef<"cuid">;
        deferred: AnyFunc[] | undefined;
        input: string;
        issc: $ZodIssueInvalidStringFormat;
        isst: $ZodIssueInvalidType;
        onattach: ((schema: z.core.$ZodType) => void)[];
        optin?: "optional";
        optout?: "optional";
        output: string;
        parent?: z.core.$ZodType<
            unknown,
            unknown,
            $ZodTypeInternals<unknown, unknown>,
        >;
        pattern: RegExp;
        propValues?: PropValues;
        toJSONSchema?: () => unknown;
        traits: Set<string>;
        values?: PrimitiveSet;
        version: { major: 4; minor: 1; patch: number };
        check(payload: ParsePayload<string>): MaybeAsync<void>;
        parse(
            payload: ParsePayload<any>,
            ctx: ParseContextInternal,
        ): MaybeAsync<ParsePayload<unknown>>;
        run(
            payload: ParsePayload<any>,
            ctx: ParseContextInternal,
        ): MaybeAsync<ParsePayload<unknown>>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    bag: LoosePartial<
        {
            contentEncoding: string;
            format: string;
            maximum: number;
            minimum: number;
            patterns: Set<RegExp>;
        },
    >

    A catchall object for bag metadata related to this schema. Commonly modified by checks using onattach.

    constr: new (def: any) => z.core.$ZodType

    The constructor function of this schema.

    def: $ZodStringFormatDef<"cuid">

    Schema definition.

    deferred: AnyFunc[] | undefined

    List of deferred initializers.

    input: string

    The inferred input type

    The set of issues this check might throw.

    Internal API, use with caution (not deprecated)

    onattach: ((schema: z.core.$ZodType) => void)[]
    optin?: "optional"
    optout?: "optional"
    output: string

    The inferred output type

    parent?: z.core.$ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

    The parent of this schema. Only set during certain clone operations.

    pattern: RegExp

    Internal API, use with caution (not deprecated)

    propValues?: PropValues

    A set of literal discriminators used for the fast path in discriminated unions.

    toJSONSchema?: () => unknown

    An optional method used to override toJSONSchema logic.

    traits: Set<string>

    Stores identifiers for the set of traits implemented by this schema.

    values?: PrimitiveSet

    The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().

    Defined on: enum, const, literal, null, undefined Passthrough: optional, nullable, branded, default, catch, pipe Todo: unions?

    version: { major: 4; minor: 1; patch: number }

    The @zod/core version of this schema

    Methods