full site update
This commit is contained in:
37
node_modules/zod-to-json-schema/README.md
generated
vendored
37
node_modules/zod-to-json-schema/README.md
generated
vendored
@@ -19,24 +19,6 @@ Does what it says on the tin; converts [Zod schemas](https://github.com/colinhac
|
||||
A great big thank you to our amazing sponsors! Please consider joining them through my [GitHub Sponsors page](https://github.com/sponsors/StefanTerdell). Every cent helps, but these fellas have really gone above and beyond 💚:
|
||||
|
||||
<table align="center" style="justify-content: center;align-items: center;display: flex;">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<p></p>
|
||||
<p>
|
||||
<a href="https://retool.com/?ref=stefanterdell&utm_source=github&utm_medium=referral&utm_campaign=stefanterdell">
|
||||
<picture height="45px">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/ac65013f-aeb4-48dd-a2ee-41040b69cbe6">
|
||||
<img alt="stainless" height="45px" src="https://github.com/colinhacks/zod/assets/3084745/5ef4c11b-efeb-4495-90a8-41b83f798600">
|
||||
</picture>
|
||||
</a>
|
||||
<br />
|
||||
Build AI apps and workflows with <a href="https://retool.com/products/ai?ref=stefanterdell&utm_source=github&utm_medium=referral&utm_campaign=stefanterdell">Retool AI</a>
|
||||
<br/>
|
||||
<a href="https://retool.com/?ref=stefanterdell&utm_source=github&utm_medium=referral&utm_campaign=stefanterdell" style="text-decoration:none;">retool.com</a>
|
||||
</p>
|
||||
<p></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<p></p>
|
||||
@@ -57,6 +39,24 @@ A great big thank you to our amazing sponsors! Please consider joining them thro
|
||||
<p></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<p></p>
|
||||
<p>
|
||||
<a href="https://retool.com/?ref=stefanterdell&utm_source=github&utm_medium=referral&utm_campaign=stefanterdell">
|
||||
<picture height="45px">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/colinhacks/zod/assets/3084745/ac65013f-aeb4-48dd-a2ee-41040b69cbe6">
|
||||
<img alt="stainless" height="45px" src="https://github.com/colinhacks/zod/assets/3084745/5ef4c11b-efeb-4495-90a8-41b83f798600">
|
||||
</picture>
|
||||
</a>
|
||||
<br />
|
||||
Build AI apps and workflows with <a href="https://retool.com/products/ai?ref=stefanterdell&utm_source=github&utm_medium=referral&utm_campaign=stefanterdell">Retool AI</a>
|
||||
<br/>
|
||||
<a href="https://retool.com/?ref=stefanterdell&utm_source=github&utm_medium=referral&utm_campaign=stefanterdell" style="text-decoration:none;">retool.com</a>
|
||||
</p>
|
||||
<p></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## Usage
|
||||
@@ -138,6 +138,7 @@ Instead of the schema name (or nothing), you can pass an options object as the s
|
||||
| **rejectedAdditionalProperties**?: `false` \| `undefined` | What value to give `additionalProperties` when rejected. See the section on additional properties for details. |
|
||||
| **override**?: callback | See section |
|
||||
| **postProcess**?: callback | See section |
|
||||
| **openAiAnyTypeName**?: string | Decides the name of a Json schema used to allow semi-arbitrary values in Open AI structured output. If any value in the Zod-schema resolves to any "any"-type schema it will reference a definition of this name. If no such definition is provided a default Json schema will be used. Defaults to "OpenAiAnyType" |
|
||||
|
||||
### Definitions
|
||||
|
||||
|
Reference in New Issue
Block a user