As you can notice, 7 months ago, I used supabase version #1(which was active then). I am sure they changed something in version #2(active now). Also, Supabase added more examples with NestJS - maybe you could find something for yourself. Please, let us know the best way it should be done in version #2 - Thanks!