The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Rename Functions folder in interfaces to be consistent
Joshen Limefd0dbac9c29
diff --git a/studio/components/interfaces/functions/CommandRender.tsx b/studio/components/interfaces/Functionsx/CommandRender.tsxsimilarity index 100%rename from studio/components/interfaces/functions/CommandRender.tsxrename to studio/components/interfaces/Functionsx/CommandRender.tsxdiff --git a/studio/components/interfaces/functions/FunctionLayout.tsx b/studio/components/interfaces/Functionsx/FunctionLayout.tsxsimilarity index 100%rename from studio/components/interfaces/functions/FunctionLayout.tsxrename to studio/components/interfaces/Functionsx/FunctionLayout.tsxdiff --git a/studio/components/interfaces/functions/FunctionLogsItem.tsx b/studio/components/interfaces/Functionsx/FunctionLogsItem.tsxsimilarity index 100%rename from studio/components/interfaces/functions/FunctionLogsItem.tsxrename to studio/components/interfaces/Functionsx/FunctionLogsItem.tsxdiff --git a/studio/components/interfaces/functions/Functions.Constants.ts b/studio/components/interfaces/Functionsx/Functions.Constants.tssimilarity index 100%rename from studio/components/interfaces/functions/Functions.Constants.tsrename to studio/components/interfaces/Functionsx/Functions.Constants.tsdiff --git a/studio/components/interfaces/functions/Functions.data.ts b/studio/components/interfaces/Functionsx/Functions.data.tssimilarity index 100%rename from studio/components/interfaces/functions/Functions.data.tsrename to studio/components/interfaces/Functionsx/Functions.data.tsdiff --git a/studio/components/interfaces/functions/Functions.types.ts b/studio/components/interfaces/Functionsx/Functions.types.tssimilarity index 100%rename from studio/components/interfaces/functions/Functions.types.tsrename to studio/components/interfaces/Functionsx/Functions.types.tsdiff --git a/studio/components/interfaces/functions/FunctionsLayout.tsx b/studio/components/interfaces/Functionsx/FunctionsLayout.tsxsimilarity index 100%rename from studio/components/interfaces/functions/FunctionsLayout.tsxrename to studio/components/interfaces/Functionsx/FunctionsLayout.tsxdiff --git a/studio/components/interfaces/functions/FunctionsListItem.tsx b/studio/components/interfaces/Functionsx/FunctionsListItem.tsxsimilarity index 100%rename from studio/components/interfaces/functions/FunctionsListItem.tsxrename to studio/components/interfaces/Functionsx/FunctionsListItem.tsxdiff --git a/studio/components/interfaces/functions/FunctionsNav.tsx b/studio/components/interfaces/Functionsx/FunctionsNav.tsxsimilarity index 100%rename from studio/components/interfaces/functions/FunctionsNav.tsxrename to studio/components/interfaces/Functionsx/FunctionsNav.tsxdiff --git a/studio/pages/project/[ref]/functions/[id]/details.tsx b/studio/pages/project/[ref]/functions/[id]/details.tsxindex 9b5c7ee31b4..0d59bbb2e45 100644--- a/studio/pages/project/[ref]/functions/[id]/details.tsx+++ b/studio/pages/project/[ref]/functions/[id]/details.tsx@@ -1,8 +1,8 @@import { observer } from 'mobx-react-lite'import { useStore, withAuth } from 'hooks'-import FunctionLayout from 'components/interfaces/functions/FunctionLayout'-import CommandRender from 'components/interfaces/functions/CommandRender'+import FunctionLayout from 'components/interfaces/Functions/FunctionLayout'+import CommandRender from 'components/interfaces/Functions/CommandRender'import { useRouter } from 'next/router'import { useEffect, useState } from 'react'import { toJS } from 'mobx'diff --git a/studio/pages/project/[ref]/functions/[id]/index.tsx b/studio/pages/project/[ref]/functions/[id]/index.tsxindex aa234eeeb69..f6101704e26 100644--- a/studio/pages/project/[ref]/functions/[id]/index.tsx+++ b/studio/pages/project/[ref]/functions/[id]/index.tsx@@ -14,7 +14,7 @@ import ChartHandler from 'components/to-be-cleaned/Charts/ChartHandler'import { get } from 'lib/common/fetch'import { API_URL, DATE_FORMAT } from 'lib/constants'-import FunctionLayout from 'components/interfaces/functions/FunctionLayout'+import FunctionLayout from 'components/interfaces/Functions/FunctionLayout'const CHART_INTERVALS = [{diff --git a/studio/pages/project/[ref]/functions/[id]/invocations.tsx b/studio/pages/project/[ref]/functions/[id]/invocations.tsxindex de138ab142b..f79813d07c3 100644--- a/studio/pages/project/[ref]/functions/[id]/invocations.tsx+++ b/studio/pages/project/[ref]/functions/[id]/invocations.tsx@@ -5,7 +5,7 @@ import { observer } from 'mobx-react-lite'import { withAuth } from 'hooks'import { LOG_TYPE_LABEL_MAPPING } from 'components/interfaces/Settings/Logs'import LogsPreviewer from 'components/interfaces/Settings/Logs/LogsPreviewer'-import FunctionLayout from 'components/interfaces/functions/FunctionLayout'+import FunctionLayout from 'components/interfaces/Functions/FunctionLayout'/*** Placeholder page for logs previewers until we figure out where to slot themdiff --git a/studio/pages/project/[ref]/functions/[id]/logs-old.tsx b/studio/pages/project/[ref]/functions/[id]/logs-old.tsxindex c6e448c7108..be74a2b0201 100644--- a/studio/pages/project/[ref]/functions/[id]/logs-old.tsx+++ b/studio/pages/project/[ref]/functions/[id]/logs-old.tsx@@ -18,9 +18,9 @@ import {import { withAuth } from 'hooks'import Table from 'components/to-be-cleaned/Table'-import FunctionLayout from 'components/interfaces/functions/FunctionLayout'-import FunctionLogsItem from 'components/interfaces/functions/FunctionLogsItem'-import { LOGS_DATA } from 'components/interfaces/functions/Functions.data'+import FunctionLayout from 'components/interfaces/Functions/FunctionLayout'+import FunctionLogsItem from 'components/interfaces/Functions/FunctionLogsItem'+import { LOGS_DATA } from 'components/interfaces/Functions/Functions.data'const EmptyFunctions = () => {return (diff --git a/studio/pages/project/[ref]/functions/[id]/logs.tsx b/studio/pages/project/[ref]/functions/[id]/logs.tsxindex 31096934378..302732a41b4 100644--- a/studio/pages/project/[ref]/functions/[id]/logs.tsx+++ b/studio/pages/project/[ref]/functions/[id]/logs.tsx@@ -5,7 +5,7 @@ import { observer } from 'mobx-react-lite'import { withAuth } from 'hooks'import { LOG_TYPE_LABEL_MAPPING } from 'components/interfaces/Settings/Logs'import LogsPreviewer from 'components/interfaces/Settings/Logs/LogsPreviewer'-import FunctionLayout from 'components/interfaces/functions/FunctionLayout'+import FunctionLayout from 'components/interfaces/Functions/FunctionLayout'/*** Placeholder page for logs previewers until we figure out where to slot themdiff --git a/studio/pages/project/[ref]/functions/[id]/triggers.tsx b/studio/pages/project/[ref]/functions/[id]/triggers.tsxindex 266c6006540..49f235f0302 100644--- a/studio/pages/project/[ref]/functions/[id]/triggers.tsx+++ b/studio/pages/project/[ref]/functions/[id]/triggers.tsx@@ -1,7 +1,7 @@import { observer } from 'mobx-react-lite'import { withAuth } from 'hooks'-import FunctionLayout from 'components/interfaces/functions/FunctionLayout'+import FunctionLayout from 'components/interfaces/Functions/FunctionLayout'const PageLayout = () => {return <FunctionLayout>Triggers</FunctionLayout>