decord/source/modules/guild_identity/GuildIdentityActionCreators.tsx

44 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 9817
// Function ID: 76256
2026-07-20 16:05:17 +00:00
// Name: _saveGuildIdentityChanges
2026-07-24 07:16:23 +00:00
// Dependencies: [5, 653, 686, 507, 7941, 7938, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearErrors, initGuildIdentitySettings, resetAllPending, resetPendingMemberChanges, resetPendingProfileChanges, saveGuildIdentityChanges, setCurrentGuild
2026-07-24 07:16:23 +00:00
// Module 9817 (_saveGuildIdentityChanges)
2026-07-23 10:11:24 +00:00
import SafetyScannedUploadSurface from "SafetyScannedUploadSurface";
import { Endpoints } from "ME";
const require = arg1;
2026-07-20 16:05:17 +00:00
function _saveGuildIdentityChanges() {
// CreateGeneratorClosureLongIndex (0x67)
const obj = callback(tmp);
return obj(...arguments);
}
2026-07-23 10:11:24 +00:00
const result = require("dispatcher").fileFinishedImporting("modules/guild_identity/GuildIdentityActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const saveGuildIdentityChanges = function saveGuildIdentityChanges(id, guildMemberChangesForUpdateRequest) {
return _saveGuildIdentityChanges(...arguments);
};
export const setCurrentGuild = function setCurrentGuild(id) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "USER_PROFILE_SETTINGS_SET_GUILD", guildId: id };
obj.dispatch(obj);
};
export const initGuildIdentitySettings = function initGuildIdentitySettings(id) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "USER_PROFILE_SETTINGS_INIT", guildId: id };
obj.dispatch(obj);
};
export const resetPendingMemberChanges = function resetPendingMemberChanges() {
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch({ type: "USER_PROFILE_SETTINGS_RESET_PENDING_ACCOUNT_CHANGES" });
2026-07-20 16:05:17 +00:00
};
export const resetPendingProfileChanges = function resetPendingProfileChanges() {
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch({ type: "USER_PROFILE_SETTINGS_RESET_PENDING_PROFILE_CHANGES" });
2026-07-20 16:05:17 +00:00
};
export const resetAllPending = function resetAllPending() {
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch({ type: "USER_PROFILE_SETTINGS_RESET_PENDING_CHANGES" });
2026-07-20 16:05:17 +00:00
};
export const clearErrors = function clearErrors() {
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch({ type: "USER_PROFILE_SETTINGS_CLEAR_ERRORS" });
2026-07-20 16:05:17 +00:00
};