How to infer type of a nested object from app router output? - tRPC