Adds visitor dashboard and related features
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
export interface StatsSummary {
|
||||
total_unique_visitors: number;
|
||||
}
|
||||
|
||||
export interface TimeSeriesPoint {
|
||||
date: string;
|
||||
unique_visitors: number;
|
||||
}
|
||||
|
||||
export interface GeoStat {
|
||||
country: string;
|
||||
country_code: string;
|
||||
latitude: number | null;
|
||||
longitude: number | null;
|
||||
visitors: number;
|
||||
}
|
||||
|
||||
export interface ParseProgress {
|
||||
file: string;
|
||||
current: number;
|
||||
total: number;
|
||||
}
|
||||
|
||||
export interface ParseResult {
|
||||
files_processed: number;
|
||||
rows_inserted: number;
|
||||
}
|
||||
|
||||
export type TimePreset = 'yesterday' | '7d' | '30d' | '90d' | 'year' | 'custom';
|
||||
Reference in New Issue
Block a user