cli
cli copied to clipboard
Materalized views aren't available in generated typescript types
Bug report
Describe the bug
The generated typescript definitions from Supabase CLI do not include definitions for materalized views under Database['public']['Views']
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Create a database with a materalized view
- Initialise supabase to generate tyhpes
- Try to access generated types for materialized view
- See error
Expected behavior
Supabase generated type definitions should include materialized views under the ['public']['Views'] schema
System information
- OS: macOS
- Version of supabase: latest CLI
- Version of Node.js: 18.3.0
thanks for this report @madeleineostoja - transferring it to the CLI team