* feat: add sign in with solana (web3) configuration UI
* Regenerate the api types.
* fix tiny things
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Couple of DB changes to set up for exposing error codes via the API:
- Add a content schema to keep things organized since we'll be syncing
all content to the DB now. This is exposed via the API so it can be
queried via PostgREST.
- Add tables for tracking error codes.
- Add some utility functions for common tasks.
Don't know why I was using string interpolation instead of GraphQL
variables for the GitHub API calls, leading to all kinds of escaping
problems. Changed to using GraphQL variables properly.
* fix(studio): fallback to count estimate if exact count query timeout
* If the table is partitioned, use estimated count always.
* Minor cleanup.
* fix: add all dependencies to useEffect array
* chore: handle null
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Create index with HNSW fails on prod because it has a version of
pgvector < 0.5.0. Removing for now because the index isn't critical
(we're not using any at the moment and we have few enough rows that it
works fine).
* Created a new blog post about the data API
* ci: Autofix updates from GitHub workflow
* fix: add author
---------
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
* fix: move table create update delete to query route
* chore: implement query to fetch a single table
* fix: retrieve table after update
* chore: assign type to update table payload
* chore: use updated table columns for edit
* chore: make executeSql castable with generic (#35685)
* Chore/refactor derivate more types from queries (#35687)
* chore: make executeSql castable with generic
* chore: derivate types from performed queries
- It allows to decouple more the frontend logic and the pg-meta/sql-query logic allowing to reduce the number of cast
and get closer types between what we do fetch and what we expect in our components
* fix: remove existing check
* chore: handle null comment and check
* fix: format check name as identifier
---------
Co-authored-by: avallete <andrew.valleteau@supabase.io>
Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>
* Fix the CronJob type because its name is optional.
* The Job previous runs page should be identified by job id, not job name because it can be undefined. Fix the tabs to show the job name by using additional query param.
* Add a tooltip explaining that cron jobs without names can't be edited.
* The parser for cron jobs should handle URLS with query params or hashes.
* Remove the .only description from the tests.
* Show Unknown for cron jobs which have "" as name.
* Fix a crash when a cron job has "1 second" (singular) as schedule.
* Calculate the next run properly when the schedule is "1 second".
* Show a simplified confirm modal when deleting a cron job without a name.