decord/source/modules/push_feedback/PushFeedbackActions.tsx

21 lines
778 B
TypeScript
Raw Normal View History

// Module ID: 11632
// Function ID: 11633
2026-07-20 16:05:17 +00:00
// Name: receivedNotification
// Dependencies: [573, 2]
2026-07-20 16:05:17 +00:00
// Exports: handleSurveyCleanup, receivedNotification
// Module 11632 (receivedNotification)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
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
};