Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update supabase types #12

Merged
merged 3 commits into from
Dec 11, 2023
Merged

feat: update supabase types #12

merged 3 commits into from
Dec 11, 2023

Conversation

altaywtf
Copy link
Contributor

@altaywtf altaywtf commented Dec 10, 2023

  • updates types to match latest schema
  • saves generated types as database-generated
  • creates a utility to extract supbase tables conveniently: Table<'account'> for example 👍 : https://supabase.com/docs/guides/api/rest/generating-types#type-shorthands
  • installs supabase as a dev dependency, this allows us to local installation instead of global supabase cli. also ensures that we're on the same version 👍
  • adds .eslintignore to ignore types folder

Copy link

vercel bot commented Dec 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
beecast ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2023 9:20am

Copy link
Contributor Author

altaywtf commented Dec 10, 2023

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@altaywtf altaywtf marked this pull request as ready for review December 10, 2023 20:26
@altaywtf altaywtf self-assigned this Dec 10, 2023
@altaywtf
Copy link
Contributor Author

altaywtf commented Dec 10, 2023

we may consider updating them on a schedule as suggested: https://supabase.com/docs/guides/api/rest/generating-types#update-types-automatically-with-github-actions

🥴 maybe later™️

@okanisildar
Copy link
Owner

I had to update the account table based on the needs while I was developing can you re-generate the types for DB?

@altaywtf
Copy link
Contributor Author

I had to update the account table based on the needs while I was developing can you re-generate the types for DB?

@okanisildar done 👍

@okanisildar okanisildar merged commit f0cd6c3 into main Dec 11, 2023
5 checks passed
@okanisildar okanisildar deleted the feat_update_supabase-types branch December 11, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants