FelixNgFender / Mu2Mi

The Open Source AI Musical Toolkit
https://mu2mi.com
MIT License
24 stars 1 forks source link

refactor: reduce Zod schema duplication #3

Closed FelixNgFender closed 6 months ago

FelixNgFender commented 6 months ago

When Zod schemas are defined on the client boundary, you cannot export that schema and re-use it on server-only code. Figure out a way to share schemas and reduce code duplication between two sides.