decord/source/modules/push_feedback/PushFeedbackActions.tsx

21 lines
778 B
TypeScript
Raw Normal View History

// Module ID: 11559
// Function ID: 11560
2026-07-20 16:05:17 +00:00
// Name: receivedNotification
2026-09-02 09:53:35 +00:00
// Dependencies: [706, 2]
2026-07-20 16:05:17 +00:00
// Exports: handleSurveyCleanup, receivedNotification
// Module 11559 (receivedNotification)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import dispatcherDefault from "dispatcher" /* 706 */;
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/push_feedback/PushFeedbackActions.tsx");
2026-07-20 16:05:17 +00:00
export const receivedNotification = function receivedNotification(messageId, channelId, tracking_type) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "PUSH_FEEDBACK_RECEIVED_NOTIFICATION", messageId, channelId, notificationType: tracking_type };
obj.dispatch(obj);
};
export const handleSurveyCleanup = function handleSurveyCleanup() {
2026-08-24 06:08:38 +00:00
dispatcherDefault.dispatch({ type: "PUSH_FEEDBACK_CLEANUP" });
2026-07-20 16:05:17 +00:00
};