Need help inferring types of nested model
I'm new to drizzle, so obvious skill issue here, but how can I infer types from models with specific relations selected?
I know of
Ideally I'd want to infer the type i get from something like this:
I know of
InferSelectModel but I don't see a way to include relations.Ideally I'd want to infer the type i get from something like this: