decord/source/actions/native/InAppNotificationActionCreators.tsx

21 lines
566 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 9656
// Function ID: 9657
2026-07-23 10:11:24 +00:00
// Name: dispatcher
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 2]
2026-07-20 16:05:17 +00:00
2026-08-05 07:35:12 +00:00
// Module 9656 (dispatcher)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
2026-07-30 10:14:41 +00:00
enqueueNotification(buildResult) {
2026-07-29 08:29:29 +00:00
let obj = importDefault(709);
2026-07-30 10:14:41 +00:00
obj = { type: "ENQUEUE_IN_APP_NOTIFICATION", notification: buildResult };
2026-07-20 16:05:17 +00:00
obj.dispatch(obj);
},
clearNotification() {
2026-07-29 08:29:29 +00:00
importDefault(709).wait(() => {
callback(table[0]).dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
2026-07-20 16:05:17 +00:00
});
}
};