/** * #telemetry.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ /** Any statistical data event from the web view for analytics. */ export type WebViewTelemetryEffect = { /** Event type. Eg, `click` or `web-view-loaded`. */ event?: string | undefined; click?: WebViewTelemetryClickEffect | undefined; loaded?: WebViewTelemetryLoadedEffect | undefined; metrics?: WebViewTelemetryMetricsEffect | undefined; }; /** Maps to DOM `click` event. See https://docs.google.com/document/d/1J9MKJrHW16YSsBTii0LSXViAQvwq6MTQJAmjf2EyPaw/edit?tab=t.0 */ export type WebViewTelemetryClickEffect = { /** * `click`. * * @deprecated */ event: string; /** Click definition: 'strict' or 'default'. */ definition: string; /** Element track ID for the click event. */ elemTrackId?: string | undefined; }; /** Maps to DOM `load` event. */ export type WebViewTelemetryLoadedEffect = { /** * `web-view-loaded`. * * @deprecated */ event: string; /** Load start time in fractional UTC milliseconds. */ timeStart: number; /** Load end time in fractional UTC milliseconds. */ timeEnd: number; /** Load duration in fractional milliseconds. */ duration: number; }; /** A performance metric that should be mapped to a `DevplatformBaseTrace` event on the client. */ export type WebViewTelemetryMetric = { /** Name of the transaction used in the event. */ spanName: string; /** Start time in fractional UTC milliseconds. */ timeStart: number; /** End time in fractional UTC milliseconds. */ timeEnd: number; }; /** A collection of performance metrics for the client to send as v2 events. */ export type WebViewTelemetryMetricsEffect = { /** A collection of performance metrics. */ metrics: WebViewTelemetryMetric[]; }; //# sourceMappingURL=telemetry.d.ts.map