The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
temp fix
Joshen Lime2055282cdc2
diff --git a/apps/temp-docs/components/Navigation/DocSearch.tsx b/apps/temp-docs/components/Navigation/DocSearch.tsxindex 535034083e5..041d95a3131 100644--- a/apps/temp-docs/components/Navigation/DocSearch.tsx+++ b/apps/temp-docs/components/Navigation/DocSearch.tsx@@ -65,7 +65,7 @@ export function SearchProvider({ children }: any) {initialQuery={initialQuery}initialScrollY={window.scrollY}// searchParameters={{- // facetFilters: 'version:v3',+ // facetFilters: 'version:v2',// distinct: 1,// }}placeholder="Search documentation"@@ -83,6 +83,7 @@ export function SearchProvider({ children }: any) {hitComponent={Hit}transformItems={(items) => {return items.map((item, index) => {+ console.log('transformItems', item)// We transform the absolute URL into a relative URL to// leverage Next's preloading.const a = document.createElement('a')@@ -114,6 +115,7 @@ export function SearchProvider({ children }: any) {// @ts-ignorefunction Hit({ hit, children }) {+ console.log('Hit', { hit })return (<Link href={hit.url}><adiff --git a/apps/temp-docs/scripts/build-search.js b/apps/temp-docs/scripts/build-search.jsindex 3adf56a0012..aa480d25986 100644--- a/apps/temp-docs/scripts/build-search.js+++ b/apps/temp-docs/scripts/build-search.js@@ -73,11 +73,16 @@ async function walk(dir) {description,url,source,- content,+ // content,type: 'lvl1',hierarchy: {lvl0: 'Core Concepts',- lvl1: title,+ lvl1: 'Dark Mode',+ lvl2: title,+ lvl3: null,+ lvl4: null,+ lvl5: null,+ lvl6: null,},}