Developer-DAO / DAO-job-board

A job board connecting DAOs with talent.
https://devdao-job-board.vercel.app/
82 stars 34 forks source link

try changing the generate-types command #158

Closed JoviDeCroock closed 2 years ago

JoviDeCroock commented 2 years ago

On Windows I was having issues with the command, when changing to --command it works more elegantly on windows.

This however made me notice that something seems to have changed in supabase as going from actually generating types to generating none feels weird 😅 The error we're getting is "no matches found" however when I surf to it directly I see a complete swagger 2 document.

Noticed that surfing directly to it works so this could be a bug in openapi-typescript, for the time being I've created a script that writes the types to a temp json file and then deletes the json file after creating the types

Also deleted a residual file from the move packages --> client

vercel[bot] commented 2 years ago

@JoviDeCroock is attempting to deploy a commit to the Developerdao Team on Vercel.

A member of the Team first needs to authorize it.

carlomigueldy commented 2 years ago

Btw @PBillingsby, @JoviDeCroock did a work-around by creating his own script 🤯 you can pull from main to your branch to receive the fix.