parsePropertyReference() — supabase Function Reference
Architecture documentation for the parsePropertyReference() function in Reference.typeSpec.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 0833a3f0_6296_6d9b_2836_a3d390df1b64["parsePropertyReference()"] f6b7a4fb_ecfd_92ba_efea_5ac203d49fe1["parseModInternal()"] f6b7a4fb_ecfd_92ba_efea_5ac203d49fe1 -->|calls| 0833a3f0_6296_6d9b_2836_a3d390df1b64 f6b7a4fb_ecfd_92ba_efea_5ac203d49fe1["parseModInternal()"] 0833a3f0_6296_6d9b_2836_a3d390df1b64 -->|calls| f6b7a4fb_ecfd_92ba_efea_5ac203d49fe1 style 0833a3f0_6296_6d9b_2836_a3d390df1b64 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/features/docs/Reference.typeSpec.ts lines 396–435
function parsePropertyReference(
node: any,
map: Map<number, any>,
currentPath: Array<string>,
res: ModuleTypes,
processingRefs: Set<number>
) {
const refType = node.type
if (refType?.type !== 'reference') {
return
}
const referent = map.get(refType.target ?? refType.id)
if (!referent) {
return
}
if (processingRefs.has(referent.id)) {
return
}
const isForwardedNamespace =
referent?.variant === 'declaration' &&
(referent.kind === KIND_INTERFACE ||
referent.kind === KIND_CLASS ||
referent.kind === KIND_MODULE)
if (!isForwardedNamespace) {
return
}
const parentPath =
currentPath.length > 0 && currentPath[currentPath.length - 1]?.startsWith('@supabase/')
? currentPath
: currentPath.slice(0, -1)
processingRefs.add(referent.id)
parseModInternal(referent, map, parentPath, res, processingRefs)
processingRefs.delete(referent.id)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does parsePropertyReference() do?
parsePropertyReference() is a function in the supabase codebase.
What does parsePropertyReference() call?
parsePropertyReference() calls 1 function(s): parseModInternal.
What calls parsePropertyReference()?
parsePropertyReference() is called by 1 function(s): parseModInternal.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free