Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

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.tsx
similarity index 100%
rename from studio/components/interfaces/functions/CommandRender.tsx
rename to studio/components/interfaces/Functionsx/CommandRender.tsx
diff --git a/studio/components/interfaces/functions/FunctionLayout.tsx b/studio/components/interfaces/Functionsx/FunctionLayout.tsx
similarity index 100%
rename from studio/components/interfaces/functions/FunctionLayout.tsx
rename to studio/components/interfaces/Functionsx/FunctionLayout.tsx
diff --git a/studio/components/interfaces/functions/FunctionLogsItem.tsx b/studio/components/interfaces/Functionsx/FunctionLogsItem.tsx
similarity index 100%
rename from studio/components/interfaces/functions/FunctionLogsItem.tsx
rename to studio/components/interfaces/Functionsx/FunctionLogsItem.tsx
diff --git a/studio/components/interfaces/functions/Functions.Constants.ts b/studio/components/interfaces/Functionsx/Functions.Constants.ts
similarity index 100%
rename from studio/components/interfaces/functions/Functions.Constants.ts
rename to studio/components/interfaces/Functionsx/Functions.Constants.ts
diff --git a/studio/components/interfaces/functions/Functions.data.ts b/studio/components/interfaces/Functionsx/Functions.data.ts
similarity index 100%
rename from studio/components/interfaces/functions/Functions.data.ts
rename to studio/components/interfaces/Functionsx/Functions.data.ts
diff --git a/studio/components/interfaces/functions/Functions.types.ts b/studio/components/interfaces/Functionsx/Functions.types.ts
similarity index 100%
rename from studio/components/interfaces/functions/Functions.types.ts
rename to studio/components/interfaces/Functionsx/Functions.types.ts
diff --git a/studio/components/interfaces/functions/FunctionsLayout.tsx b/studio/components/interfaces/Functionsx/FunctionsLayout.tsx
similarity index 100%
rename from studio/components/interfaces/functions/FunctionsLayout.tsx
rename to studio/components/interfaces/Functionsx/FunctionsLayout.tsx
diff --git a/studio/components/interfaces/functions/FunctionsListItem.tsx b/studio/components/interfaces/Functionsx/FunctionsListItem.tsx
similarity index 100%
rename from studio/components/interfaces/functions/FunctionsListItem.tsx
rename to studio/components/interfaces/Functionsx/FunctionsListItem.tsx
diff --git a/studio/components/interfaces/functions/FunctionsNav.tsx b/studio/components/interfaces/Functionsx/FunctionsNav.tsx
similarity index 100%
rename from studio/components/interfaces/functions/FunctionsNav.tsx
rename to studio/components/interfaces/Functionsx/FunctionsNav.tsx
diff --git a/studio/pages/project/[ref]/functions/[id]/details.tsx b/studio/pages/project/[ref]/functions/[id]/details.tsx
index 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.tsx
index 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.tsx
index 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 them
diff --git a/studio/pages/project/[ref]/functions/[id]/logs-old.tsx b/studio/pages/project/[ref]/functions/[id]/logs-old.tsx
index 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.tsx
index 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 them
diff --git a/studio/pages/project/[ref]/functions/[id]/triggers.tsx b/studio/pages/project/[ref]/functions/[id]/triggers.tsx
index 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>