UNPKG

@botonic/plugin-hubtype-analytics

Version:

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

21 lines 824 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HtEventFeedback = void 0; const types_1 = require("../types"); const ht_event_1 = require("./ht-event"); class HtEventFeedback extends ht_event_1.HtEvent { constructor(event, requestData) { super(event, requestData); this.type = types_1.EventType.WebEvent; this.action = event.action; this.feedback_target_id = event.feedbackTargetId; this.feedback_group_id = event.feedbackGroupId; this.possible_options = event.possibleOptions; this.possible_values = event.possibleValues; this.option = event.option; this.value = event.value; this.comment = event.comment; } } exports.HtEventFeedback = HtEventFeedback; //# sourceMappingURL=ht-event-feedback.js.map