/opt/canhelp/node_modules/zod/src/v4/core
NameSizeModeActions
tests/-0755rm
api.ts475080644editdlrm
checks.ts373010644editdlrm
config.ts4720644editdlrm
core.ts47560644editdlrm
doc.ts11920644editdlrm
errors.ts131540644editdlrm
function.ts62850644editdlrm
index.ts4990644editdlrm
json-schema.ts37090644editdlrm
parse.ts38220644editdlrm
regexes.ts69530644editdlrm
registries.ts28500644editdlrm
schemas.ts1184210644editdlrm
standard-schema.ts23270644editdlrm
to-json-schema.ts324230644editdlrm
util.ts228130644editdlrm
versions.ts830644editdlrm
zsf.ts66770644editdlrm
Edit: /opt/canhelp/node_modules/zod/src/v4/core/standard-schema.ts (2327B)
/** The Standard Schema interface. */ export interface StandardSchemaV1 { /** The Standard Schema properties. */ readonly "~standard": StandardSchemaV1.Props; } export declare namespace StandardSchemaV1 { /** The Standard Schema properties interface. */ export interface Props { /** The version number of the standard. */ readonly version: 1; /** The vendor name of the schema library. */ readonly vendor: string; /** Validates unknown input values. */ readonly validate: (value: unknown) => Result | Promise>; /** Inferred types associated with the schema. */ readonly types?: Types | undefined; } /** The result interface of the validate function. */ export type Result = SuccessResult | FailureResult; /** The result interface if validation succeeds. */ export interface SuccessResult { /** The typed output value. */ readonly value: Output; /** The non-existent issues. */ readonly issues?: undefined; } /** The result interface if validation fails. */ export interface FailureResult { /** The issues of failed validation. */ readonly issues: ReadonlyArray; } /** The issue interface of the failure output. */ export interface Issue { /** The error message of the issue. */ readonly message: string; /** The path of the issue, if any. */ readonly path?: ReadonlyArray | undefined; } /** The path segment interface of the issue. */ export interface PathSegment { /** The key representing a path segment. */ readonly key: PropertyKey; } /** The Standard Schema types interface. */ export interface Types { /** The input type of the schema. */ readonly input: Input; /** The output type of the schema. */ readonly output: Output; } /** Infers the input type of a Standard Schema. */ export type InferInput = NonNullable["input"]; /** Infers the output type of a Standard Schema. */ export type InferOutput = NonNullable["output"]; }