/home/techb158/balavpn.abdallabala.com/node_modules/zod/v4/core
NameSizeModeActions
api.cjs264650666editdlrm
api.d.cts294450666editdlrm
api.d.ts294400666editdlrm
api.js229830666editdlrm
checks.cjs210980666editdlrm
checks.d.cts127820666editdlrm
checks.d.ts127780666editdlrm
checks.js195440666editdlrm
core.cjs23090666editdlrm
core.d.cts18110666editdlrm
core.d.ts18080666editdlrm
core.js20850666editdlrm
doc.cjs11990666editdlrm
doc.d.cts3530666editdlrm
doc.d.ts3530666editdlrm
doc.js10880666editdlrm
errors.cjs76500666editdlrm
errors.d.cts78930666editdlrm
errors.d.ts78890666editdlrm
errors.js63160666editdlrm
function.cjs40120666editdlrm
function.d.cts35970666editdlrm
function.d.ts35930666editdlrm
function.js27170666editdlrm
index.cjs21630666editdlrm
index.d.cts5140666editdlrm
index.d.ts4990666editdlrm
index.js4990666editdlrm
json-schema.cjs770666editdlrm
json-schema.d.cts26760666editdlrm
json-schema.d.ts26760666editdlrm
json-schema.js110666editdlrm
parse.cjs39570666editdlrm
parse.d.cts15050666editdlrm
parse.d.ts15010666editdlrm
parse.js25520666editdlrm
regexes.cjs70620666editdlrm
regexes.d.cts27620666editdlrm
regexes.d.ts27620666editdlrm
regexes.js64110666editdlrm
registries.cjs16760666editdlrm
registries.d.cts16460666editdlrm
registries.d.ts16440666editdlrm
registries.js14850666editdlrm
schemas.cjs648430666editdlrm
schemas.d.cts446980666editdlrm
schemas.d.ts446910666editdlrm
schemas.js626520666editdlrm
standard-schema.cjs770666editdlrm
standard-schema.d.cts24030666editdlrm
standard-schema.d.ts24030666editdlrm
standard-schema.js110666editdlrm
to-json-schema.cjs359100666editdlrm
to-json-schema.d.cts37290666editdlrm
to-json-schema.d.ts37260666editdlrm
to-json-schema.js356870666editdlrm
util.cjs164380666editdlrm
util.d.cts107500666editdlrm
util.d.ts107460666editdlrm
util.js150040666editdlrm
versions.cjs1680666editdlrm
versions.d.cts1090666editdlrm
versions.d.ts1090666editdlrm
versions.js700666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/zod/v4/core/errors.d.cts (7893B)
import type { $ZodCheck, $ZodStringFormats } from "./checks.cjs"; import { $constructor } from "./core.cjs"; import type { $ZodType } from "./schemas.cjs"; import * as util from "./util.cjs"; export interface $ZodIssueBase { readonly code?: string; readonly input?: unknown; readonly path: PropertyKey[]; readonly message: string; } export interface $ZodIssueInvalidType extends $ZodIssueBase { readonly code: "invalid_type"; readonly expected: $ZodType["_zod"]["def"]["type"]; readonly input: Input; } export interface $ZodIssueTooBig extends $ZodIssueBase { readonly code: "too_big"; readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {}); readonly maximum: number | bigint; readonly inclusive?: boolean; readonly exact?: boolean; readonly input: Input; } export interface $ZodIssueTooSmall extends $ZodIssueBase { readonly code: "too_small"; readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {}); readonly minimum: number | bigint; /** True if the allowable range includes the minimum */ readonly inclusive?: boolean; /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */ readonly exact?: boolean; readonly input: Input; } export interface $ZodIssueInvalidStringFormat extends $ZodIssueBase { readonly code: "invalid_format"; readonly format: $ZodStringFormats | (string & {}); readonly pattern?: string; readonly input: string; } export interface $ZodIssueNotMultipleOf extends $ZodIssueBase { readonly code: "not_multiple_of"; readonly divisor: number; readonly input: Input; } export interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase { readonly code: "unrecognized_keys"; readonly keys: string[]; readonly input: Record; } export interface $ZodIssueInvalidUnion extends $ZodIssueBase { readonly code: "invalid_union"; readonly errors: $ZodIssue[][]; readonly input: unknown; } export interface $ZodIssueInvalidKey extends $ZodIssueBase { readonly code: "invalid_key"; readonly origin: "map" | "record"; readonly issues: $ZodIssue[]; readonly input: Input; } export interface $ZodIssueInvalidElement extends $ZodIssueBase { readonly code: "invalid_element"; readonly origin: "map" | "set"; readonly key: unknown; readonly issues: $ZodIssue[]; readonly input: Input; } export interface $ZodIssueInvalidValue extends $ZodIssueBase { readonly code: "invalid_value"; readonly values: util.Primitive[]; readonly input: Input; } export interface $ZodIssueCustom extends $ZodIssueBase { readonly code: "custom"; readonly params?: Record | undefined; readonly input: unknown; } export interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat { format: Exclude<$ZodStringFormats, "regex" | "jwt" | "starts_with" | "ends_with" | "includes">; } export interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat { format: "regex"; pattern: string; } export interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat { format: "jwt"; algorithm?: string; } export interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat { format: "starts_with"; prefix: string; } export interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat { format: "ends_with"; suffix: string; } export interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat { format: "includes"; includes: string; } export type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes; export type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom; export type $ZodIssueCode = $ZodIssue["code"]; export type $ZodRawIssue = T extends any ? RawIssue : never; type RawIssue = util.Flatten & { /** The input data */ readonly input?: unknown; /** The schema or check that originated this issue. */ readonly inst?: $ZodType | $ZodCheck; /** @deprecated Internal use only. If `true`, Zod will continue executing validation despite this issue. */ readonly continue?: boolean | undefined; } & Record>; export interface $ZodErrorMap { (issue: $ZodRawIssue): { message: string; } | string | undefined | null; } export interface $ZodError extends Error { type: T; issues: $ZodIssue[]; _zod: { output: T; def: $ZodIssue[]; }; stack?: string; name: string; } export declare const $ZodError: $constructor<$ZodError>; interface $ZodRealError extends $ZodError { } export declare const $ZodRealError: $constructor<$ZodRealError>; export type $ZodFlattenedError = _FlattenedError; type _FlattenedError = { formErrors: U[]; fieldErrors: { [P in keyof T]?: U[]; }; }; export declare function flattenError(error: $ZodError): _FlattenedError; export declare function flattenError(error: $ZodError, mapper?: (issue: $ZodIssue) => U): _FlattenedError; type _ZodFormattedError = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError; } : T extends any[] ? { [k: number]: $ZodFormattedError; } : T extends object ? util.Flatten<{ [K in keyof T]?: $ZodFormattedError; }> : any; export type $ZodFormattedError = { _errors: U[]; } & util.Flatten<_ZodFormattedError>; export declare function formatError(error: $ZodError): $ZodFormattedError; export declare function formatError(error: $ZodError, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError; export type $ZodErrorTree = T extends [any, ...any[]] ? { errors: U[]; items?: { [K in keyof T]?: $ZodErrorTree; }; } : T extends any[] ? { errors: U[]; items?: Array<$ZodErrorTree>; } : T extends object ? { errors: U[]; properties?: { [K in keyof T]?: $ZodErrorTree; }; } : { errors: U[]; }; export declare function treeifyError(error: $ZodError): $ZodErrorTree; export declare function treeifyError(error: $ZodError, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree; /** Format a ZodError as a human-readable string in the following form. * * From * * ```ts * ZodError { * issues: [ * { * expected: 'string', * code: 'invalid_type', * path: [ 'username' ], * message: 'Invalid input: expected string' * }, * { * expected: 'number', * code: 'invalid_type', * path: [ 'favoriteNumbers', 1 ], * message: 'Invalid input: expected number' * } * ]; * } * ``` * * to * * ``` * username * ✖ Expected number, received string at "username * favoriteNumbers[0] * ✖ Invalid input: expected number * ``` */ export declare function toDotPath(path: (string | number | symbol)[]): string; interface BaseError { issues: $ZodIssueBase[]; } export declare function prettifyError(error: BaseError): string; export {};