UNPKG

msal

Version:
30 lines (29 loc) 852 B
import TelemetryEvent from "./TelemetryEvent"; export interface InProgressEvents { [key: string]: TelemetryEvent; } export interface EventCount { [eventName: string]: number; } export interface EventCountByCorrelationId { [correlationId: string]: EventCount; } export interface CompletedEvents { [correlationId: string]: Array<TelemetryEvent>; } export declare type TelemetryEmitter = (events: Array<object>) => void; export interface TelemetryPlatform { sdk?: string; sdkVersion?: string; applicationName: string; applicationVersion: string; networkInformation?: NetworkInformation; } export interface TelemetryConfig { platform: TelemetryPlatform; onlySendFailureTelemetry?: boolean; clientId: string; } export interface NetworkInformation { connectionSpeed: string; }