Home / Function/ normalizeRefPath() — supabase Function Reference

normalizeRefPath() — supabase Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/docs/features/docs/Reference.typeSpec.ts lines 284–286

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

Subdomains

Frequently Asked Questions

What does normalizeRefPath() do?
normalizeRefPath() is a function in the supabase codebase.
What calls normalizeRefPath()?
normalizeRefPath() is called by 2 function(s): buildRefPath, normalizeRefPath.

Analyze Your Own Codebase

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

Try Supermodel Free