3
Generate `enum` based on DB enums
Source: supabase/supabase#14613 · opened by @bombillazo
Hello, it would benefit our TS development if the Supabase type generator generates enum`s based on the Enum constructs extracted from the database.
Although I know they are not strictly types, they are commonly used in TS development. I envision it looking something like:
Although I know they are not strictly types, they are commonly used in TS development. I envision it looking something like:
No pledges yet. Be the first to back this.
Comments
Similar requests
Extension to the current "Copy as Markdown" function
1 vote · 0 comments
Add schema-aware Functions, Args, and Returns helper types to generated Supabase TypeScript types
1 vote · 0 comments
access to enum unions in db.types.ts (CLI: supabase gen types typescript)
8 votes · 0 comments
DBT Cloud Console
3 votes · 0 comments
Native TypeScript Enums
2 votes · 0 comments
No comments yet.