/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/util.d.cts (10750B)
import type * as checks from "./checks.cjs"; import type { $ZodConfig } from "./core.cjs"; import type * as errors from "./errors.cjs"; import type * as schemas from "./schemas.cjs"; export type JSONType = string | number | boolean | null | JSONType[] | { [key: string]: JSONType; }; export type JWTAlgorithm = "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | (string & {}); export type IPVersion = "v4" | "v6"; export type MimeTypes = "application/json" | "application/xml" | "application/x-www-form-urlencoded" | "application/javascript" | "application/pdf" | "application/zip" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/octet-stream" | "application/graphql" | "text/html" | "text/plain" | "text/css" | "text/javascript" | "text/csv" | "image/png" | "image/jpeg" | "image/gif" | "image/svg+xml" | "image/webp" | "audio/mpeg" | "audio/ogg" | "audio/wav" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "font/woff" | "font/woff2" | "font/ttf" | "font/otf" | "multipart/form-data" | (string & {}); export type ParsedTypes = "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "file" | "date" | "array" | "map" | "set" | "nan" | "null" | "promise"; export type AssertEqual = (() => V extends T ? 1 : 2) extends () => V extends U ? 1 : 2 ? true : false; export type AssertNotEqual = (() => V extends T ? 1 : 2) extends () => V extends U ? 1 : 2 ? false : true; export type AssertExtends = T extends U ? T : never; export type IsAny = 0 extends 1 & T ? true : false; export type Omit = Pick>; export type OmitKeys = Pick>; export type MakePartial = Omit & InexactPartial>; export type MakeRequired = Omit & Required>; export type Exactly = T & Record, never>; export type NoUndefined = T extends undefined ? never : T; export type Whatever = {} | undefined | null; export type LoosePartial = InexactPartial & { [k: string]: unknown; }; export type Mask = { [K in Keys]?: true; }; export type Writeable = { -readonly [P in keyof T]: T[P]; } & {}; export type InexactPartial = { [P in keyof T]?: T[P] | undefined; }; export type EmptyObject = Record; export type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | { readonly [Symbol.toStringTag]: string; } | Date | Error | Generator | Promise | RegExp; export type MakeReadonly = T extends Map ? ReadonlyMap : T extends Set ? ReadonlySet : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array ? ReadonlyArray : T extends BuiltIn ? T : Readonly; export type SomeObject = Record; export type Identity = T; export type Flatten = Identity<{ [k in keyof T]: T[k]; }>; export type Mapped = { [k in keyof T]: T[k]; }; export type Prettify = { [K in keyof T]: T[K]; } & {}; export type NoNeverKeys = { [k in keyof T]: [T[k]] extends [never] ? never : k; }[keyof T]; export type NoNever = Identity<{ [k in NoNeverKeys]: k extends keyof T ? T[k] : never; }>; export type Extend = Flatten; export type TupleItems = ReadonlyArray; export type AnyFunc = (...args: any[]) => any; export type IsProp = T[K] extends AnyFunc ? never : K; export type MaybeAsync = T | Promise; export type KeyOf = keyof OmitIndexSignature; export type OmitIndexSignature = { [K in keyof T as string extends K ? never : K extends string ? K : never]: T[K]; }; export type ExtractIndexSignature = { [K in keyof T as string extends K ? K : K extends string ? never : K]: T[K]; }; export type Keys = keyof OmitIndexSignature; export type SchemaClass = { new (def: T["_zod"]["def"]): T; }; export type EnumValue = string | number; export type EnumLike = Readonly>; export type ToEnum = Flatten<{ [k in T]: k; }>; export type KeysEnum = ToEnum>; export type KeysArray = Flatten<(keyof T & string)[]>; export type Literal = string | number | bigint | boolean | null | undefined; export type LiteralArray = Array; export type Primitive = string | number | symbol | bigint | boolean | null | undefined; export type PrimitiveArray = Array; export type HasSize = { size: number; }; export type HasLength = { length: number; }; export type Numeric = number | bigint | Date; export type SafeParseResult = SafeParseSuccess | SafeParseError; export type SafeParseSuccess = { success: true; data: T; error?: never; }; export type SafeParseError = { success: false; data?: never; error: errors.$ZodError; }; export type PropValues = Record>; export type PrimitiveSet = Set; export declare function assertEqual(val: AssertEqual): AssertEqual; export declare function assertNotEqual(val: AssertNotEqual): AssertNotEqual; export declare function assertIs(_arg: T): void; export declare function assertNever(_x: never): never; export declare function assert(_: any): asserts _ is T; export declare function getEnumValues(entries: EnumLike): EnumValue[]; export declare function joinValues(array: T, separator?: string): string; export declare function jsonStringifyReplacer(_: string, value: any): any; export declare function cached(getter: () => T): { value: T; }; export declare function nullish(input: any): boolean; export declare function cleanRegex(source: string): string; export declare function floatSafeRemainder(val: number, step: number): number; export declare function defineLazy(object: T, key: K, getter: () => T[K]): void; export declare function assignProp(target: T, prop: K, value: K extends keyof T ? T[K] : any): void; export declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any; export declare function promiseAllObject(promisesObj: T): Promise<{ [k in keyof T]: Awaited; }>; export declare function randomString(length?: number): string; export declare function esc(str: string): string; export declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void; export declare function isObject(data: any): data is Record; export declare const allowsEval: { value: boolean; }; export declare function isPlainObject(o: any): o is Record; export declare function numKeys(data: any): number; export declare const getParsedType: (data: any) => ParsedTypes; export declare const propertyKeyTypes: Set; export declare const primitiveTypes: Set; export declare function escapeRegex(str: string): string; export declare function clone(inst: T, def?: T["_zod"]["def"], params?: { parent: boolean; }): T; export type EmptyToNever = keyof T extends never ? never : T; export type Normalize = T extends undefined ? never : T extends Record ? Flatten<{ [k in keyof Omit]: T[k]; } & ("error" extends keyof T ? { error?: Exclude; } : unknown)> : never; export declare function normalizeParams(_params: T): Normalize; export declare function createTransparentProxy(getter: () => T): T; export declare function stringifyPrimitive(value: any): string; export declare function optionalKeys(shape: schemas.$ZodShape): string[]; export type CleanKey = T extends `?${infer K}` ? K : T extends `${infer K}?` ? K : T; export type ToCleanMap = { [k in keyof T]: k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k; }; export type FromCleanMap = { [k in keyof T as k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k]: k; }; export declare const NUMBER_FORMAT_RANGES: Record; export declare const BIGINT_FORMAT_RANGES: Record; export declare function pick(schema: schemas.$ZodObject, mask: Record): any; export declare function omit(schema: schemas.$ZodObject, mask: object): any; export declare function extend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any; export declare function merge(a: schemas.$ZodObject, b: schemas.$ZodObject): any; export declare function partial(Class: SchemaClass | null, schema: schemas.$ZodObject, mask: object | undefined): any; export declare function required(Class: SchemaClass, schema: schemas.$ZodObject, mask: object | undefined): any; export type Constructor = new (...args: Def) => T; export declare function aborted(x: schemas.ParsePayload, startIndex?: number): boolean; export declare function prefixIssues(path: PropertyKey, issues: errors.$ZodRawIssue[]): errors.$ZodRawIssue[]; export declare function unwrapMessage(message: string | { message: string; } | undefined | null): string | undefined; export declare function finalizeIssue(iss: errors.$ZodRawIssue, ctx: schemas.ParseContextInternal | undefined, config: $ZodConfig): errors.$ZodIssue; export declare function getSizableOrigin(input: any): "set" | "map" | "file" | "unknown"; export declare function getLengthableOrigin(input: any): "array" | "string" | "unknown"; export declare function issue(_iss: string, input: any, inst: any): errors.$ZodRawIssue; export declare function issue(_iss: errors.$ZodRawIssue): errors.$ZodRawIssue; export declare function cleanEnum(obj: Record): EnumValue[]; export declare abstract class Class { constructor(..._args: any[]); }