UNPKG

idea-toolbox

Version:
46 lines (45 loc) 975 B
import { Resource } from './resource.model'; import { ISOString } from './epoch'; export declare class ClientInfo extends Resource { /** * Current timestamp from the client. */ timestamp: ISOString; /** * Info about the client's platform. */ platform: string; /** * The client's screen width. */ screenWidth: number; /** * The client's screen height. */ screenHeight: number; /** * Whether the client is in landscape mode; otherwise, portrait. */ isLandscape: boolean; /** * The current url on the client. */ url: string; /** * The page referrer of the client. */ referrer: string; /** * Whether the client was online at the time of the error. */ isOnline: boolean; /** * The client's language. */ language: string; /** * The client's user agent. */ userAgent: string; load(x: any): void; }