msal
Version:
Microsoft Authentication Library for js
30 lines (29 loc) • 852 B
TypeScript
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;
}