how to use the same Zod validation both client and server's procedure input

Bbackbone3/18/2023
When submitting forms, I need the same validation. How to reduce the repeated code?
Nnlucas3/18/2023
Pop your Zod types in a library and import into both