mirror of
https://github.com/supabase/supabase.git
synced 2026-06-24 22:59:10 +08:00
19 lines
354 B
TypeScript
19 lines
354 B
TypeScript
export type DataPoint = {
|
|
id?: string
|
|
loopId?: number | string
|
|
period_start: string
|
|
periodStartFormatted?: string
|
|
} & {
|
|
// Attribute name will be the key
|
|
[key: string]: string | number
|
|
}
|
|
|
|
export interface AnalyticsData {
|
|
data: DataPoint[]
|
|
format: string
|
|
total: number
|
|
totalAverage: number
|
|
yAxisLimit: number
|
|
hasNoData?: boolean
|
|
}
|