decord/source/actions/NoticeActionCreators.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

24 lines
658 B
TypeScript

// Module ID: 16805
// Function ID: 16806
// Name: dispatcher
// Dependencies: [573, 2]
// Module 16805 (dispatcher)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
const result = set.fileFinishedImporting("actions/NoticeActionCreators.tsx");
export default {
show(type, message, buttonText, callback, id) {
let obj = dispatcherDefault;
obj = { id, type, message, buttonText, callback };
obj.dispatch({ type: "NOTICE_SHOW", notice: obj });
},
dismiss(arg0) {
let obj = dispatcherDefault;
obj = { type: "NOTICE_DISMISS" };
const merged = Object.assign(arg0);
obj.dispatch(obj);
}
};