How to enable Short types on supabase gen types typescript? #26533
Replies: 4 comments
-
I've found more explanations here: js docs Maybe it's good to update docs in generate types section |
Beta Was this translation helpful? Give feedback.
-
Thanks @piccinnigius! I think we should clarify that the helper types are manually written in a separate file. |
Beta Was this translation helpful? Give feedback.
-
To enable Short types in Supabase-generated types in TypeScript, you can follow these steps:
By following these steps, you can enable and use Short types in Supabase-generated types for TypeScript, ensuring accurate type definitions for your Supabase table columns. Adjust the types and mappings according to your specific Supabase schema and requirements. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, due to inactivity on this issue I've moved the issue over to discussions for future reference. |
Beta Was this translation helpful? Give feedback.
-
running
npx supabase gen types typescript
(1.85.0) generates only Database interface. I'm missing something?example from launch week post
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions