Charis
3b7052b5a9
cleanup: fix import order and prefixes for studio/data ( #44501 )
2026-04-03 09:15:57 +02:00
Ivan Vasilov
4da5d019ae
chore: Migrate some stray queryKeys to the RQ 5 syntax ( #40086 )
...
Fix some stray queryKeys.
2025-11-04 09:33:49 +01:00
Ivan Vasilov
8b657165b5
chore: Migrate to use custom type for ReactQuery queries and mutations ( #40073 )
...
* Add custom types for queries, mutations and infinite queries.
* Migrate all queries to use the new type.
* Migrate all infinite queries to useCustomInfiniteQueryOptions.
* Migrate all mutations to use useCustomMutationOptions.
* Add type to all imports in `types` folder.
2025-11-03 13:18:13 +01:00
Alaister Young and Joshen Lim
8855d05803
chore(studio): swap react-query to object syntax ( #39842 )
...
* chore(studio): swap react-query to object syntax
* Fix small issues found
* Fix realtime settings
* Nit
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-10-27 09:38:27 +01:00
Andrew Valleteau
31aad403de
fix(studio): early fail query when x-connection-encrypted is invalid ( #35331 )
...
* fix(studio): early fail query when x-connection-encrypted is invalid
* fix(studio): uniformize readDatabase and projectDetails connString handling
* chore: update api types
* chore: add connectionString null option
* fix: only enforce x-connection-encrypted on platform
* chore: refactor connString check in a single point
* chore: fix guard logic
* chore: fix pgMetaGuard
* chore: fix types
2025-05-08 12:11:03 +02:00
Alaister Young and Joshen Lim
6c592dec99
chore: remove useExecuteSqlQuery() part 2 ( #30467 )
...
* foreign-key-constraints
* update entity-types stale time
* schemas query
* deprecate useExecuteSqlQuery
* users count query
* database size query
* indexes query
* keywords query
* migrations query
* table columns
* database functions
* database roles query
* fdws query
* replication lag query
* ongoing queries query
* vault secrets query
* remove unneeded staleTime: 0
* max connections query
* fix entity types key in tests
* Some fixes
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-11-18 05:15:37 +00:00
Alaister Young
8e47d317fa
chore: pg-meta functions ( #26881 )
...
* start pg-meta functions
* pg meta create function
* pg meta database functions update and delete
* fix ts
* update execute sql error type
* update execute sql error type
* remove duplicate database functions query
2024-06-03 23:21:19 +08:00
Bobbie Soedirgo
1d58f2a11b
chore: use @supabase/pg-meta for role queries ( #22821 )
...
* chore: use @supabase/pg-meta for role queries
* chore: prettier
* fix: typo
2024-04-17 16:19:49 +07:00
Kevin Grüneberg
f9a55935f5
chore: use type imports for types/interfaces ( #21738 )
2024-03-04 20:48:22 +08:00
Kevin Grüneberg
d12332ea5a
chore: xmas cleanup ( #19938 )
2024-01-04 17:27:49 +01:00
Joshen Lim and Alaister Young
5649330f96
Chore/deprecate roles store ( #19718 )
...
* Init RQ for database roles
* Shift all use of roles from pg meta mobx store to RQ
* Deprecate and remove roles pg meta mobx store
* Fix import
* Fix
* Address comments
* remove function child
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2023-12-19 15:02:57 +07:00