decord/source/modules/guild_progress/GuildProgressActionCreators.tsx

32 lines
856 B
TypeScript
Raw Normal View History

// Module ID: 12477
// Function ID: 12478
2026-07-23 10:11:24 +00:00
// Name: dispatcher
// Dependencies: [573, 2]
2026-07-20 16:05:17 +00:00
// Module 12477 (dispatcher)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/guild_progress/GuildProgressActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
createProgress(id) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "GUILD_PROGRESS_INITIALIZE", guildId: id };
obj.dispatch(obj);
},
markCompletedProgressSeen(id) {
2026-08-24 06:08:38 +00:00
importDefault = id;
dispatcherDefault.wait(() => {
let obj = id(closure_1_1[0]);
2026-07-23 10:11:24 +00:00
obj = { type: "GUILD_PROGRESS_COMPLETED_SEEN", guildId: id };
2026-07-20 16:05:17 +00:00
return obj.dispatch(obj);
});
},
dismissProgress(id) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "GUILD_PROGRESS_DISMISS", guildId: id };
obj.dispatch(obj);
}
};