(schema: T)
| 13 | z.preprocess(value => (value === "" ? undefined : value), schema.optional()); |
| 14 | |
| 15 | const emptyStringAsDefault = <T extends z.ZodTypeAny>(schema: T) => |
| 16 | z.preprocess(value => (value === "" ? undefined : value), schema); |
| 17 | |
| 18 | // Ethereum address schema: validates 0x followed by 40 hex characters |
| 19 | const ethereumAddress = z |
no outgoing calls
no test coverage detected
searching dependent graphs…