How to get context type of protectedProcedure?
I want to keep my logic outside of the routes by using functions and just calling them in the router. Is there a way to get the type of the context with the procedures applied, i.e., I want to get types
ProtectedProcedureContext
and PublicProcedureContext
to use as input types for a function. How to?3 Replies