@ms-cloudpack/common-types-browser
Advanced tools
Comparing version 0.5.3 to 0.5.4
export {}; // Make this a module | ||
/** Client and server side object for Cloudpack to detect app-specific page load time entry */ | ||
export interface PageLoadTimePerformanceEntry { | ||
/** The name of the performance mark/measure to query. */ | ||
name: string; | ||
/** The type of performance entry to query. | ||
* @default 'mark' */ | ||
type?: 'mark' | 'measure'; | ||
/** The maximum time in milliseconds to wait for the performance mark to be set. | ||
* @default 5 mins */ | ||
timeout?: number; | ||
} | ||
/** Client-side context object for a Cloudpack session, used for API requests and telemetry. */ | ||
@@ -15,2 +27,4 @@ export interface PageSessionContext { | ||
requestPath: string; | ||
/** Cloudpack will query this performance entry to determine the page load time. */ | ||
pageLoadTimePerformanceEntry?: PageLoadTimePerformanceEntry; | ||
} | ||
@@ -17,0 +31,0 @@ |
{ | ||
"name": "@ms-cloudpack/common-types-browser", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Types for Cloudpack browser globals.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
4313
72