decord/beta/source/modules/push_feedback/PushFeedbackActions.tsx

22 lines
812 B
TypeScript
Raw Normal View History

2026-10-02 13:37:24 +00:00
// Module ID: 10992
// Function ID: 10993
// Name: PushFeedbackActions
2026-10-02 13:37:24 +00:00
// Dependencies: [585, 2]
// Exports: handleSurveyCleanup, receivedNotification
2026-10-02 13:37:24 +00:00
// Module 10992 (PushFeedbackActions)
import DispatcherDefault from "Dispatcher" /* 585 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/push_feedback/PushFeedbackActions.tsx");
export const receivedNotification = function receivedNotification(messageId, channelId, tracking_type) {
2026-10-01 14:13:23 +00:00
const obj = DispatcherDefault;
const obj2 = { type: "PUSH_FEEDBACK_RECEIVED_NOTIFICATION", messageId, channelId, notificationType: tracking_type };
obj.dispatch(obj2);
};
export const handleSurveyCleanup = function handleSurveyCleanup() {
2026-10-01 14:13:23 +00:00
const obj = DispatcherDefault;
obj.dispatch({ type: "PUSH_FEEDBACK_CLEANUP" });
};