@temporary-name/json-schema 1.9.3-alpha.76a5d8c6a7525b4b17df3f9565304645f0922ab3 → 1.9.3-alpha.7af249c626ccabe97d83025ab05ba3fbad2321c8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zod4/index.d.mts +3 -3
- package/dist/zod4/index.d.ts +3 -3
- package/package.json +5 -5
package/dist/zod4/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONSchema, SchemaConvertOptions, ConditionalSchemaConverter } from '@temporary-name/server/openapi';
|
|
2
2
|
import { Interceptor } from '@temporary-name/shared';
|
|
3
|
-
import {
|
|
3
|
+
import { core } from '@temporary-name/zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import { $ZodType, $input, $output } from 'zod/v4/core';
|
|
6
6
|
|
|
@@ -58,8 +58,8 @@ declare class ZodToJsonSchemaConverter implements ConditionalSchemaConverter {
|
|
|
58
58
|
private readonly undefinedJsonSchema;
|
|
59
59
|
private readonly interceptors;
|
|
60
60
|
constructor(options?: ZodToJsonSchemaConverterOptions);
|
|
61
|
-
condition(schema:
|
|
62
|
-
convert(schema:
|
|
61
|
+
condition(schema: core.$ZodType | undefined): boolean;
|
|
62
|
+
convert(schema: core.$ZodType | undefined, options: SchemaConvertOptions): [required: boolean, jsonSchema: Exclude<JSONSchema, boolean>];
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
package/dist/zod4/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONSchema, SchemaConvertOptions, ConditionalSchemaConverter } from '@temporary-name/server/openapi';
|
|
2
2
|
import { Interceptor } from '@temporary-name/shared';
|
|
3
|
-
import {
|
|
3
|
+
import { core } from '@temporary-name/zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import { $ZodType, $input, $output } from 'zod/v4/core';
|
|
6
6
|
|
|
@@ -58,8 +58,8 @@ declare class ZodToJsonSchemaConverter implements ConditionalSchemaConverter {
|
|
|
58
58
|
private readonly undefinedJsonSchema;
|
|
59
59
|
private readonly interceptors;
|
|
60
60
|
constructor(options?: ZodToJsonSchemaConverterOptions);
|
|
61
|
-
condition(schema:
|
|
62
|
-
convert(schema:
|
|
61
|
+
condition(schema: core.$ZodType | undefined): boolean;
|
|
62
|
+
convert(schema: core.$ZodType | undefined, options: SchemaConvertOptions): [required: boolean, jsonSchema: Exclude<JSONSchema, boolean>];
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporary-name/json-schema",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.3-alpha.
|
|
4
|
+
"version": "1.9.3-alpha.7af249c626ccabe97d83025ab05ba3fbad2321c8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.stainless.com/",
|
|
7
7
|
"repository": {
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"zod": "^4.1.11",
|
|
32
|
-
"@temporary-name/
|
|
33
|
-
"@temporary-name/server": "1.9.3-alpha.
|
|
34
|
-
"@temporary-name/
|
|
35
|
-
"@temporary-name/
|
|
32
|
+
"@temporary-name/shared": "1.9.3-alpha.7af249c626ccabe97d83025ab05ba3fbad2321c8",
|
|
33
|
+
"@temporary-name/server": "1.9.3-alpha.7af249c626ccabe97d83025ab05ba3fbad2321c8",
|
|
34
|
+
"@temporary-name/zod": "1.9.3-alpha.7af249c626ccabe97d83025ab05ba3fbad2321c8",
|
|
35
|
+
"@temporary-name/interop": "1.9.3-alpha.7af249c626ccabe97d83025ab05ba3fbad2321c8"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {},
|
|
38
38
|
"scripts": {
|