This commit is contained in:
Kevin Grüneberg committed 2024-07-20 13:52:19 +08:00
1 parent dea181e70d
commit 31c3ba2bc5
36 files changed
+8 -1871

No files matched your search

@@ -5,7 +5,6 @@ import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
import handleRefStaticProps from '~/lib/mdx/handleRefStaticProps'
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' assert { type: 'json' }
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' assert { type: 'json' }
import spec from '~/spec/supabase_js_v2.yml' assert { type: 'yml' }
const sections = flattenSections(clientLibsCommonSections)
@@ -17,7 +16,6 @@ export default function JSReference(props) {
menuId={MenuId.RefJavaScriptV2}
sections={sections}
spec={spec}
typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
@@ -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_js_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -29,7 +28,6 @@ export default function JSReference(props) {
menuId={MenuId.RefJavaScriptV2}
sections={filteredSection}
spec={spec}
typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>
@@ -5,7 +5,6 @@ import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
import handleRefStaticProps from '~/lib/mdx/handleRefStaticProps'
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' assert { type: 'json' }
import typeSpec from '~/spec/enrichments/tsdoc_v1/combined.json' assert { type: 'json' }
import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' }
const sections = flattenSections(clientLibsCommonSections)
@@ -17,7 +16,6 @@ export default function JSReference(props) {
menuId={MenuId.RefJavaScriptV1}
sections={sections}
spec={spec}
typeSpec={typeSpec}
pageProps={props}
type="client-lib"
isOldVersion
@@ -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_js_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
@@ -29,7 +28,6 @@ export default function JSReference(props) {
menuId={MenuId.RefJavaScriptV1}
sections={filteredSection}
spec={spec}
typeSpec={typeSpec}
pageProps={props}
type="client-lib"
/>