Home / Function/ fetchTopAuthErrorCodes() — supabase Function Reference

fetchTopAuthErrorCodes() — supabase Function Reference

Architecture documentation for the fetchTopAuthErrorCodes() function in OverviewErrors.constants.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  48c77bae_54bd_021b_f1ba_3a3eb7ccee63["fetchTopAuthErrorCodes()"]
  88c80fb7_c47a_15ef_1c36_847eec2754b1["OverviewMetrics()"]
  88c80fb7_c47a_15ef_1c36_847eec2754b1 -->|calls| 48c77bae_54bd_021b_f1ba_3a3eb7ccee63
  76e33890_fc83_e08c_4508_11fc2d79986e["getDateRange()"]
  48c77bae_54bd_021b_f1ba_3a3eb7ccee63 -->|calls| 76e33890_fc83_e08c_4508_11fc2d79986e
  style 48c77bae_54bd_021b_f1ba_3a3eb7ccee63 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Auth/Overview/OverviewErrors.constants.ts lines 64–67

export const fetchTopAuthErrorCodes = async (projectRef: string) => {
  const { start, end } = getDateRange()
  return await fetchLogs(projectRef, AUTH_TOP_ERROR_CODES_SQL, start, end)
}

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free