tRPC procedure

A callable tRPC pipeline that parses input, runs middleware and a resolver, and may validate output.