Best way to implement input based validation on a router procedure - tRPC