Skip to content

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

chore: skip import of combined JS spec for non-JS docs (#28133)

Kevin Grüneberg43240e0de113
diff --git a/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx b/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx
index fb85f51b023..88a3c92b5a9 100644
--- a/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_csharp_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -30,7 +29,6 @@ export default function CSharpReference(props) {
menuId={MenuId.RefCSharpV1}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec as TypeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx b/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx
index b5b5f35127a..dbe2b37b63d 100644
--- a/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -28,7 +27,6 @@ export default function JSReference(props) {
menuId={MenuId.RefCSharpV0}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/dart/crawlers/[...slug].tsx b/apps/docs/pages/reference/dart/crawlers/[...slug].tsx
index 0ea7d9bcaed..dbac0378cc2 100644
--- a/apps/docs/pages/reference/dart/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/dart/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_dart_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -29,7 +28,6 @@ export default function DartReference(props) {
menuId={MenuId.RefDartV2}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx
index 7945563e867..f4cba86e1d0 100644
--- a/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_dart_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -28,7 +27,6 @@ export default function DartReference(props) {
menuId={MenuId.RefDartV1}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx
index d4647642a7f..436b17db4a9 100644
--- a/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx
@@ -1,5 +1,5 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
+import typeSpec from '~/spec/enrichments/tsdoc_v1/combined.json'
import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
diff --git a/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx b/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx
index ec9ba3975f7..984d6e26168 100644
--- a/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_kt_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -29,7 +28,6 @@ export default function KotlinReference(props) {
menuId={MenuId.RefKotlinV2}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx
index eccaa115e21..cf1f619d02b 100644
--- a/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_kt_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -28,7 +27,6 @@ export default function KotlinReference(props) {
menuId={MenuId.RefKotlinV1}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/python/[...slug].tsx b/apps/docs/pages/reference/python/[...slug].tsx
index 6cb06b74b6c..2dc649bf144 100644
--- a/apps/docs/pages/reference/python/[...slug].tsx
+++ b/apps/docs/pages/reference/python/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_py_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -16,7 +15,6 @@ export default function PyReference(props) {
menuId={MenuId.RefPythonV2}
sections={sections}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/python/crawlers/[...slug].tsx b/apps/docs/pages/reference/python/crawlers/[...slug].tsx
index 8534a8767ae..e530945156e 100644
--- a/apps/docs/pages/reference/python/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/python/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_py_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -29,7 +28,6 @@ export default function PyReference(props) {
menuId={MenuId.RefPythonV2}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/swift/crawlers/[...slug].tsx b/apps/docs/pages/reference/swift/crawlers/[...slug].tsx
index 9763d9c668b..f47cb85ea6e 100644
--- a/apps/docs/pages/reference/swift/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/swift/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_swift_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -29,7 +28,6 @@ export default function SwiftReference(props) {
menuId={MenuId.RefSwiftV2}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
diff --git a/apps/docs/pages/reference/swift/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/swift/v1/crawlers/[...slug].tsx
index 0156927cbe0..d5838fe8d72 100644
--- a/apps/docs/pages/reference/swift/v1/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/swift/v1/crawlers/[...slug].tsx
@@ -1,5 +1,4 @@
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
-import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_swift_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -28,7 +27,6 @@ export default function SwiftReference(props) {
menuId={MenuId.RefSwiftV1}
sections={filteredSection}
spec={spec}
- typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>