mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Convert realtime components to TS.
This commit is contained in:
parent
e67282d7d8
commit
8d31f43f0f
12 changed files with 75 additions and 51 deletions
|
|
@ -180,7 +180,7 @@ export interface DateRange {
|
|||
endDate: Date;
|
||||
value: string;
|
||||
unit?: TimeUnit;
|
||||
selectedUnit?: TimeUnit;
|
||||
selectedUnit?: { num: number; unit: TimeUnit };
|
||||
}
|
||||
|
||||
export interface QueryFilters {
|
||||
|
|
@ -207,3 +207,12 @@ export interface QueryOptions {
|
|||
joinSession?: boolean;
|
||||
columns?: { [key: string]: string };
|
||||
}
|
||||
|
||||
export interface RealtimeData {
|
||||
pageviews: any[];
|
||||
sessions: any[];
|
||||
events: any[];
|
||||
timestamp: number;
|
||||
countries?: any[];
|
||||
visitors?: any[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue