How to get response type depending on the input params? - tRPC