decord/stable/source/actions/NoticeActionCreators.tsx

29 lines
782 B
TypeScript
Raw Permalink Normal View History

2026-10-06 22:12:49 +00:00
// Module ID: 16629
// Function ID: 16630
// Name: NoticeActionCreators
2026-10-06 22:12:49 +00:00
// Dependencies: [585, 2]
2026-10-06 22:12:49 +00:00
// Module 16629 (NoticeActionCreators)
import DispatcherDefault from "Dispatcher" /* 585 */;
import size from "module_2" /* 2 */;
2026-10-06 22:12:49 +00:00
let obj = {
show(type, message, buttonText, callback, id) {
2026-10-06 22:12:49 +00:00
let obj3;
const obj2 = { type: "NOTICE_SHOW", notice: obj3 };
obj3 = { id, type, message, buttonText, callback };
const obj = DispatcherDefault;
obj.dispatch(obj2);
},
dismiss(arg0) {
2026-10-06 22:12:49 +00:00
const dispatch = DispatcherDefault.dispatch;
const obj = { type: "NOTICE_DISMISS" };
DispatcherDefault;
const merged = Object.assign(arg0);
2026-10-06 22:12:49 +00:00
dispatch(obj);
}
};
2026-10-06 22:12:49 +00:00
const result = size.fileFinishedImporting("actions/NoticeActionCreators.tsx");
export default obj;