/
opt
/
canhelp
/
node_modules
/
better-auth
/
node_modules
/
zod
/
v4
/
core
/
/opt/canhelp/node_modules/better-auth/node_modules/zod/v4/core
mkdir
upload
Name
Size
Mode
Actions
api.cjs
31472
0644
edit
dl
rm
api.d.cts
31840
0644
edit
dl
rm
api.d.ts
31834
0644
edit
dl
rm
api.js
27841
0644
edit
dl
rm
checks.cjs
21559
0644
edit
dl
rm
checks.d.cts
12814
0644
edit
dl
rm
checks.d.ts
12810
0644
edit
dl
rm
checks.js
20005
0644
edit
dl
rm
core.cjs
2745
0644
edit
dl
rm
core.d.cts
2252
0644
edit
dl
rm
core.d.ts
2249
0644
edit
dl
rm
core.js
2459
0644
edit
dl
rm
doc.cjs
1199
0644
edit
dl
rm
doc.d.cts
348
0644
edit
dl
rm
doc.d.ts
348
0644
edit
dl
rm
doc.js
1088
0644
edit
dl
rm
errors.cjs
7457
0644
edit
dl
rm
errors.d.cts
8808
0644
edit
dl
rm
errors.d.ts
8803
0644
edit
dl
rm
errors.js
6123
0644
edit
dl
rm
index.cjs
2609
0644
edit
dl
rm
index.d.cts
610
0644
edit
dl
rm
index.d.ts
594
0644
edit
dl
rm
index.js
594
0644
edit
dl
rm
json-schema-generator.cjs
3492
0644
edit
dl
rm
json-schema-generator.d.cts
2587
0644
edit
dl
rm
json-schema-generator.d.ts
2583
0644
edit
dl
rm
json-schema-generator.js
3218
0644
edit
dl
rm
json-schema-processors.cjs
24504
0644
edit
dl
rm
json-schema-processors.d.cts
3384
0644
edit
dl
rm
json-schema-processors.d.ts
3381
0644
edit
dl
rm
json-schema-processors.js
20882
0644
edit
dl
rm
json-schema.cjs
77
0644
edit
dl
rm
json-schema.d.cts
2764
0644
edit
dl
rm
json-schema.d.ts
2764
0644
edit
dl
rm
json-schema.js
11
0644
edit
dl
rm
package.json
104
0644
edit
dl
rm
parse.cjs
6565
0644
edit
dl
rm
parse.d.cts
3833
0644
edit
dl
rm
parse.d.ts
3829
0644
edit
dl
rm
parse.js
4528
0644
edit
dl
rm
regexes.cjs
10708
0644
edit
dl
rm
regexes.d.cts
3457
0644
edit
dl
rm
regexes.d.ts
3457
0644
edit
dl
rm
regexes.js
8840
0644
edit
dl
rm
registries.cjs
1717
0644
edit
dl
rm
registries.d.cts
1633
0644
edit
dl
rm
registries.d.ts
1631
0644
edit
dl
rm
registries.js
1512
0644
edit
dl
rm
schemas.cjs
79277
0644
edit
dl
rm
schemas.d.cts
51355
0644
edit
dl
rm
schemas.d.ts
51346
0644
edit
dl
rm
schemas.js
76984
0644
edit
dl
rm
standard-schema.cjs
77
0644
edit
dl
rm
standard-schema.d.cts
6321
0644
edit
dl
rm
standard-schema.d.ts
6321
0644
edit
dl
rm
standard-schema.js
11
0644
edit
dl
rm
to-json-schema.cjs
16833
0644
edit
dl
rm
to-json-schema.d.cts
5626
0644
edit
dl
rm
to-json-schema.d.ts
5621
0644
edit
dl
rm
to-json-schema.js
16397
0644
edit
dl
rm
util.cjs
23197
0644
edit
dl
rm
util.d.cts
11916
0644
edit
dl
rm
util.d.ts
11912
0644
edit
dl
rm
util.js
21335
0644
edit
dl
rm
versions.cjs
168
0644
edit
dl
rm
versions.d.cts
109
0644
edit
dl
rm
versions.d.ts
109
0644
edit
dl
rm
versions.js
70
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/better-auth/node_modules/zod/v4/core/standard-schema.d.cts
(6321B)
/** The Standard interface. */ export interface StandardTypedV1<Input = unknown, Output = Input> { /** The Standard properties. */ readonly "~standard": StandardTypedV1.Props<Input, Output>; } export declare namespace StandardTypedV1 { /** The Standard properties interface. */ interface Props<Input = unknown, Output = Input> { /** The version number of the standard. */ readonly version: 1; /** The vendor name of the schema library. */ readonly vendor: string; /** Inferred types associated with the schema. */ readonly types?: Types<Input, Output> | undefined; } /** The Standard types interface. */ interface Types<Input = unknown, Output = Input> { /** 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. */ type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"]; /** Infers the output type of a Standard. */ type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"]; } /** The Standard Schema interface. */ export interface StandardSchemaV1<Input = unknown, Output = Input> { /** The Standard Schema properties. */ readonly "~standard": StandardSchemaV1.Props<Input, Output>; } export declare namespace StandardSchemaV1 { /** The Standard Schema properties interface. */ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> { /** Validates unknown input values. */ readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>; } /** The result interface of the validate function. */ type Result<Output> = SuccessResult<Output> | FailureResult; /** The result interface if validation succeeds. */ interface SuccessResult<Output> { /** The typed output value. */ readonly value: Output; /** The absence of issues indicates success. */ readonly issues?: undefined; } interface Options { /** Implicit support for additional vendor-specific parameters, if needed. */ readonly libraryOptions?: Record<string, unknown> | undefined; } /** The result interface if validation fails. */ interface FailureResult { /** The issues of failed validation. */ readonly issues: ReadonlyArray<Issue>; } /** The issue interface of the failure output. */ interface Issue { /** The error message of the issue. */ readonly message: string; /** The path of the issue, if any. */ readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined; } /** The path segment interface of the issue. */ interface PathSegment { /** The key representing a path segment. */ readonly key: PropertyKey; } /** The Standard types interface. */ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> { } /** Infers the input type of a Standard. */ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>; /** Infers the output type of a Standard. */ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>; } /** The Standard JSON Schema interface. */ export interface StandardJSONSchemaV1<Input = unknown, Output = Input> { /** The Standard JSON Schema properties. */ readonly "~standard": StandardJSONSchemaV1.Props<Input, Output>; } export declare namespace StandardJSONSchemaV1 { /** The Standard JSON Schema properties interface. */ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> { /** Methods for generating the input/output JSON Schema. */ readonly jsonSchema: Converter; } /** The Standard JSON Schema converter interface. */ interface Converter { /** Converts the input type to JSON Schema. May throw if conversion is not supported. */ readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>; /** Converts the output type to JSON Schema. May throw if conversion is not supported. */ readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>; } /** The target version of the generated JSON Schema. * * It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use. * * The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`. * * All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target. */ type Target = "draft-2020-12" | "draft-07" | "openapi-3.0" | ({} & string); /** The options for the input/output methods. */ interface Options { /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */ readonly target: Target; /** Implicit support for additional vendor-specific parameters, if needed. */ readonly libraryOptions?: Record<string, unknown> | undefined; } /** The Standard types interface. */ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> { } /** Infers the input type of a Standard. */ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>; /** Infers the output type of a Standard. */ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>; } export interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> { } /** * An interface that combines StandardJSONSchema and StandardSchema. */ export interface StandardSchemaWithJSON<Input = unknown, Output = Input> { "~standard": StandardSchemaWithJSONProps<Input, Output>; }
Save
cmd:
run