mirror of
https://github.com/supabase/supabase.git
synced 2026-06-12 17:27:58 +08:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
26 lines
461 B
TypeScript
26 lines
461 B
TypeScript
import type { ChartIntervals } from '@/types'
|
|
|
|
export const CHART_INTERVALS: ChartIntervals[] = [
|
|
{
|
|
key: '1hr',
|
|
label: 'Last 60 minutes',
|
|
startValue: 1,
|
|
startUnit: 'hour',
|
|
format: 'MMM D, h:mma',
|
|
},
|
|
{
|
|
key: '1day',
|
|
label: 'Last 24 hours',
|
|
startValue: 24,
|
|
startUnit: 'hour',
|
|
format: 'MMM D, ha',
|
|
},
|
|
{
|
|
key: '7day',
|
|
label: 'Last 7 days',
|
|
startValue: 7,
|
|
startUnit: 'day',
|
|
format: 'MMM D',
|
|
},
|
|
]
|