mirror of
https://github.com/supabase/supabase.git
synced 2026-06-21 18:23:01 +08:00
* Add react-query mutations for columns APIs. * Use the new delete column mutation. * Remove the column store and replace all its methods with mutations from react-query. * Fix type errors. * Move some the meta store methods to be pure functions in sidepanel.utils. * Move the createColumn and updateColumn out of the metaStore. * Some refactors and fixes * Shift query invalidation when deleting column to mutation file instead of component file * reorder some code for my sanity * remove some @ts-ignores * remove more @ts-ignores * Update apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils.ts * Fix ForeignKeyFormatter crashing client --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com> Co-authored-by: Alaister Young <a@alaisteryoung.com> Co-authored-by: Alaister Young <alaister@users.noreply.github.com>