In my development setup, I have a VueJs and Typescript Front End app along with a PHP server that is in the process of being converted to NestJs. Both of these projects reside in the same Monorepo, allowing me to share types for DTOs between them.
I am exploring the idea of creating a helper that can analyze the routes in Nest and automatically generate corresponding Interfaces in Typescript. This would enable me to have Typescript types for each route whenever I perform a post/get operation. Is this feasible, or am I just dreaming?
Thank you in advance for any insight!