I'm trying to wrap the generic supabase client class in a typesafe way in my library. It seems the class has three type parameters with constraints, and my goal is to wrap them into a single type which I can pass around my library. I'm having trouble fulfilling the constraints even though I literally copy them into my wrapper type alias from the library.
Note- I had to copy some types from the supabase codebase since they are not exported; am I missing something or should the supabase team consider exporting these for the sake of library developers?
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.