decord/source/actions/NoticeActionCreators.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

24 lines
658 B
TypeScript

// Module ID: 16808
// Function ID: 16809
// Name: dispatcher
// Dependencies: [573, 2]
// Module 16808 (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);
}
};