Home / Function/ normalizeRefPath() — supabase Function Reference

normalizeRefPath() — supabase Function Reference

Architecture documentation for the normalizeRefPath() function in Reference.generated.singleton.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  bd372304_1928_cee8_9784_b94a645c8868["normalizeRefPath()"]
  f6fdb326_7578_ab30_cfb3_855e5c138e6d["getTypeSpec()"]
  f6fdb326_7578_ab30_cfb3_855e5c138e6d -->|calls| bd372304_1928_cee8_9784_b94a645c8868
  bb5ba605_30d1_dfdc_e400_8c23a3d446c1["normalizeRefPath()"]
  bd372304_1928_cee8_9784_b94a645c8868 -->|calls| bb5ba605_30d1_dfdc_e400_8c23a3d446c1
  style bd372304_1928_cee8_9784_b94a645c8868 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Reference.generated.singleton.ts lines 30–32

function normalizeRefPath(path: string) {
  return path.replace(/\.index(?=\.|$)/g, '').replace(/\.+/g, '.')
}

Subdomains

Called By

Frequently Asked Questions

What does normalizeRefPath() do?
normalizeRefPath() is a function in the supabase codebase.
What does normalizeRefPath() call?
normalizeRefPath() calls 1 function(s): normalizeRefPath.
What calls normalizeRefPath()?
normalizeRefPath() is called by 1 function(s): getTypeSpec.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free