Added types for session data.

This commit is contained in:
Mike Cao 2024-04-18 14:23:14 -07:00
parent 32cfb74c49
commit 4ca4be4445
5 changed files with 25 additions and 22 deletions

View file

@ -230,3 +230,20 @@ export interface RealtimeData {
countries?: any[];
visitors?: any[];
}
export interface SessionData {
id: string;
websiteId: string;
visitId: string;
hostname: string;
browser: string;
os: string;
device: string;
screen: string;
language: string;
country: string;
subdivision1: string;
subdivision2: string;
city: string;
ownerId: string;
}