UNPKG
@nucypher/taco
Version:
ceramicDemo (0.4.0)
dev-viem (0.7.0-dev.viem)
devnet (0.7.0-alpha.12)
latest (0.6.0)
mainnet (0.6.0)
testnet (0.6.0)
0.7.0-dev.viem
0.7.0-alpha.12
0.7.0-alpha.11
0.7.0-alpha.10
0.7.0-alpha.9
0.7.0-alpha.8
0.7.0-alpha.7
0.7.0-alpha.6
0.7.0-alpha.5
0.7.0-alpha.4
0.7.0-alpha.3
0.7.0-alpha.2
0.7.0-alpha.1
0.7.0-alpha.0
0.6.0
0.6.0-alpha.3
0.6.0-alpha.2
0.6.0-alpha.1
0.6.0-alpha.0
0.5.0
0.4.0
0.3.0
0.2.7
0.2.6
0.2.5
0.2.4
0.2.2
0.2.0
0.1.0
0.1.0-rc.7
0.1.0-rc.6
0.1.0-rc.5
0.1.0-rc.4
0.1.0-rc.3
0.1.0-rc.2
0.1.0-rc.1
0.1.0-rc.0
### [`nucypher/taco-web`](../../README.md)
github.com/nucypher/taco-web
nucypher/taco-web
@nucypher/taco
/
dist
/
es
/
conditions
/
zod.d.ts
4 lines
(3 loc)
•
282 B
TypeScript
View Raw
1
2
3
4
import
{
Primitive
, z }
from
'zod'
;
declare
function
createUnionSchema<T
extends
readonly
Primitive
[]>(
values
: T): z.
ZodNever
| z.
ZodLiteral
<
Primitive
> | z.
ZodUnion
<[z.
ZodLiteral
<
Primitive
>, z.
ZodLiteral
<
Primitive
>, ...z.
ZodLiteral
<
Primitive
>[]]>;
export
default
createUnionSchema;