The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update parser
Kang Mingb955aebd97af
diff --git a/spec/parser/tsdoc.ts b/spec/parser/tsdoc.tsindex 757c51caa4f..f73ab60a623 100644--- a/spec/parser/tsdoc.ts+++ b/spec/parser/tsdoc.ts@@ -69,6 +69,17 @@ function dereferenceReducer(child: any, kv: KV) {if (!!child.parameters) {child.parameters.forEach((x: any) => dereferenceReducer(x, kv))}+ if (+ !!child.type &&+ !!child.type.declaration &&+ !!child.type.declaration.children &&+ child.type.type === 'reflection'+ ) {+ child.type.declaration.children.forEach((x: any) =>+ dereferenceReducer(x, kv)+ )+ }+const final = { ...child }if (// For now I can only dereference parameters@@ -81,6 +92,14 @@ function dereferenceReducer(child: any, kv: KV) {const dereferenced = kv[final.type.id]final.type.dereferenced = dereferenced || {}return final+ } else if (+ final.kindString === 'Property' &&+ final.type?.type === 'reference' &&+ final.type?.id+ ) {+ const dereferenced = kv[final.type.id]+ final.type.dereferenced = dereferenced || {}+ return final} else if (final.kindString === 'Type alias' &&final.type?.type === 'union'