I agree that this stuff is getting out of hand.
The most important part of all that code is the part in the prisma calls, which would handle all the caching and request logic.
The rest is literally just making sure you name your stuff correctly and render it.
If you want actual type safety for your large client-side app, use rust/wasm. If your client side app is small, why do any of this?