Home / Function/ isEdgeFunction() — supabase Function Reference

isEdgeFunction() — supabase Function Reference

Architecture documentation for the isEdgeFunction() function in EditHookPanel.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  a16bda06_09eb_3b5e_0a88_01a55a9f527f["isEdgeFunction()"]
  2fd526da_e282_fb5d_bb33_b211accacf07["EditHookPanel()"]
  2fd526da_e282_fb5d_bb33_b211accacf07 -->|calls| a16bda06_09eb_3b5e_0a88_01a55a9f527f
  93eaf812_5506_abc1_9cec_a4ad05017e49["FormContents()"]
  93eaf812_5506_abc1_9cec_a4ad05017e49 -->|calls| a16bda06_09eb_3b5e_0a88_01a55a9f527f
  style a16bda06_09eb_3b5e_0a88_01a55a9f527f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx lines 29–39

export const isEdgeFunction = ({
  ref,
  restUrlTld,
  url,
}: {
  ref?: string
  restUrlTld?: string
  url: string
}) =>
  url.includes(`https://${ref}.functions.supabase.${restUrlTld}/`) ||
  url.includes(`https://${ref}.supabase.${restUrlTld}/functions/`)

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free