Generic query type - tRPC