Convert realtime components to TS.
This commit is contained in:
1 parent
e67282d7d8
commit
8d31f43f0f
12 files changed
+75
-51
No files matched your search
+10
-1
@@ -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[];
|
||||
}
|
||||
Reference in new issue
Block a user