KC's Workspace
Github
Preparing search index...
@kcws/actkits
z
core
ToJSONSchemaContext
Interface ToJSONSchemaContext
interface
ToJSONSchemaContext
{
counter
:
number
;
cycles
:
"throw"
|
"ref"
;
external
?:
{
defs
:
Record
<
string
,
BaseSchema
>
;
registry
:
$ZodRegistry
<
{
id
?:
string
}
>
;
uri
?:
(
id
:
string
)
=>
string
;
}
;
io
:
"output"
|
"input"
;
metadataRegistry
:
$ZodRegistry
<
Record
<
string
,
any
>
>
;
override
:
(
ctx
:
{
jsonSchema
:
z
.
core
.
JSONSchema
.
JSONSchema
;
path
:
(
string
|
number
)
[]
;
zodSchema
:
z
.
core
.
$ZodType
;
}
,
)
=>
void
;
processors
:
Record
<
string
,
z
.
core
.
Processor
>
;
reused
:
"ref"
|
"inline"
;
seen
:
Map
<
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
,
Seen
,
>
;
target
:
|
"draft-04"
|
"draft-07"
|
"draft-2020-12"
|
"openapi-3.0"
|
{}
&
string
;
unrepresentable
:
"any"
|
"throw"
;
}
Index
Properties
counter
cycles
external?
io
metadata
Registry
override
processors
reused
seen
target
unrepresentable
Properties
counter
counter
:
number
cycles
cycles
:
"throw"
|
"ref"
Optional
external
external
?:
{
defs
:
Record
<
string
,
BaseSchema
>
;
registry
:
$ZodRegistry
<
{
id
?:
string
}
>
;
uri
?:
(
id
:
string
)
=>
string
;
}
io
io
:
"output"
|
"input"
metadata
Registry
metadataRegistry
:
$ZodRegistry
<
Record
<
string
,
any
>
>
override
override
:
(
ctx
:
{
jsonSchema
:
z
.
core
.
JSONSchema
.
JSONSchema
;
path
:
(
string
|
number
)
[]
;
zodSchema
:
z
.
core
.
$ZodType
;
}
,
)
=>
void
processors
processors
:
Record
<
string
,
z
.
core
.
Processor
>
reused
reused
:
"ref"
|
"inline"
seen
seen
:
Map
<
z
.
core
.
$ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
,
Seen
,
>
target
target
:
"draft-04"
|
"draft-07"
|
"draft-2020-12"
|
"openapi-3.0"
|
{}
&
string
unrepresentable
unrepresentable
:
"any"
|
"throw"
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Properties
counter
cycles
external
io
metadata
Registry
override
processors
reused
seen
target
unrepresentable
Github
KC's Workspace
Loading...