The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
strong typing variables in TableEditorMenu
Nikhil Nayak92faefb06eea
diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsxindex 483e40c6489..f799d59b177 100644--- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx@@ -20,7 +20,7 @@ import {IconLoader,IconRefreshCw,} from '@supabase/ui'-import { PostgresTable } from '@supabase/postgres-meta'+import { PostgresSchema, PostgresTable } from '@supabase/postgres-meta'import Base64 from 'lib/base64'import { useStore } from 'hooks'@@ -74,8 +74,8 @@ const TableEditorMenu: FC<Props> = ({setIsRefreshing(false)}- const schemas: any[] = meta.schemas.list()- const tables: any[] = meta.tables.list((table: PostgresTable) => table.schema === selectedSchema)+ const schemas: PostgresSchema[] = meta.schemas.list()+ const tables: PostgresTable[] = meta.tables.list((table: PostgresTable) => table.schema === selectedSchema)const schemaTables =searchText.length === 0