bupkis
API
Assertions
Preparing search index...
bupkis
z
core
$ZodCodecDef
Interface $ZodCodecDef<A, B>
interface
$ZodCodecDef
<
A
extends
SomeType
=
z
.
core
.
$ZodType
,
B
extends
SomeType
=
z
.
core
.
$ZodType
,
>
{
transform
:
(
value
:
z
.
core
.
output
<
A
>
,
payload
:
ParsePayload
<
z
.
core
.
output
<
A
>
>
,
)
=>
z
.
core
.
input
<
B
>
;
reverseTransform
:
(
value
:
z
.
core
.
input
<
B
>
,
payload
:
ParsePayload
<
z
.
core
.
input
<
B
>
>
,
)
=>
z
.
core
.
output
<
A
>
;
type
:
"pipe"
;
in
:
A
;
out
:
B
;
error
?:
$ZodErrorMap
<
never
>
;
checks
?:
z
.
core
.
$ZodCheck
<
never
>
[]
;
}
Type Parameters
A
extends
SomeType
=
z
.
core
.
$ZodType
B
extends
SomeType
=
z
.
core
.
$ZodType
Hierarchy (
View Summary
)
$ZodPipeDef
<
A
,
B
>
$ZodCodecDef
Index
Properties
transform
reverse
Transform
type
in
out
error?
checks?
Properties
transform
transform
:
(
value
:
z
.
core
.
output
<
A
>
,
payload
:
ParsePayload
<
z
.
core
.
output
<
A
>
>
,
)
=>
z
.
core
.
input
<
B
>
Only defined inside $ZodCodec instances.
reverse
Transform
reverseTransform
:
(
value
:
z
.
core
.
input
<
B
>
,
payload
:
ParsePayload
<
z
.
core
.
input
<
B
>
>
,
)
=>
z
.
core
.
output
<
A
>
Only defined inside $ZodCodec instances.
type
type
:
"pipe"
in
in
:
A
out
out
:
B
Optional
error
error
?:
$ZodErrorMap
<
never
>
Optional
checks
checks
?:
z
.
core
.
$ZodCheck
<
never
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
transform
reverse
Transform
type
in
out
error
checks
API
Assertions
GitHub
npm
bupkis
Loading...
Only defined inside $ZodCodec instances.