@temporary-name/json-schema 1.9.3-alpha.d9b25e999833b2b788712bccd5957f10e42416b0 → 1.9.3-alpha.dff27b31c00072e392d67d0cd8ca5b94835839f9
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.dff27b31c00072e392d67d0cd8ca5b94835839f9",
|
|
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/server": "1.9.3-alpha.
|
|
33
|
-
"@temporary-name/shared": "1.9.3-alpha.
|
|
34
|
-
"@temporary-name/zod": "1.9.3-alpha.
|
|
35
|
-
"@temporary-name/interop": "1.9.3-alpha.
|
|
32
|
+
"@temporary-name/server": "1.9.3-alpha.dff27b31c00072e392d67d0cd8ca5b94835839f9",
|
|
33
|
+
"@temporary-name/shared": "1.9.3-alpha.dff27b31c00072e392d67d0cd8ca5b94835839f9",
|
|
34
|
+
"@temporary-name/zod": "1.9.3-alpha.dff27b31c00072e392d67d0cd8ca5b94835839f9",
|
|
35
|
+
"@temporary-name/interop": "1.9.3-alpha.dff27b31c00072e392d67d0cd8ca5b94835839f9"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {},
|
|
38
38
|
"scripts": {
|