24 lines
658 B
TypeScript
24 lines
658 B
TypeScript
// Module ID: 16154
|
|
// Function ID: 16155
|
|
// Name: dispatcher
|
|
// Dependencies: [709, 2]
|
|
|
|
// Module 16154 (dispatcher)
|
|
import set from "set" /* 2 */;
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
|
|
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);
|
|
}
|
|
};
|