Home / Function/ getDateRange() — supabase Function Reference

getDateRange() — supabase Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/studio/components/interfaces/Auth/Overview/OverviewErrors.constants.ts lines 16–21

export const getDateRange = () => {
  return {
    start: dayjs().subtract(24, 'hour').toISOString(),
    end: dayjs().toISOString(),
  }
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free