UNPKG

@botonic/plugin-hubtype-analytics

Version:

Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord

17 lines 734 B
import { EventType } from '../types'; import { HtEvent } from './ht-event'; export class HtEventWebviewEnd extends HtEvent { constructor(event, requestData) { super(event, requestData); this.type = EventType.WebEvent; this.action = event.action; this.flow_thread_id = event.flowThreadId; this.webview_thread_id = event.webviewThreadId; this.webview_name = event.webviewName; this.webview_end_step_name = event.webviewStepName; this.webview_end_step_n = event.webviewStepNumber; this.webview_end_fail_type = event.webviewEndFailType; this.webview_end_fail_message = event.webviewEndFailMessage; } } //# sourceMappingURL=ht-event-webview-end.js.map