53 lines
2.6 KiB
TypeScript
53 lines
2.6 KiB
TypeScript
// Module ID: 9033
|
|
// Function ID: 9034
|
|
// Name: confirmCancelFriendRequest
|
|
// Dependencies: [19, 21, 4827, 9034, 9035, 9036, 9043, 9044, 9045, 2]
|
|
// Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection
|
|
|
|
// Module 9033 (confirmCancelFriendRequest)
|
|
import noopAll from "noop" /* 19 */;
|
|
import useAlertStore from "useAlertStore" /* 4827 */;
|
|
import UserProfileConfirmCancelFriendRequestDefault from "UserProfileConfirmCancelFriendRequest" /* 9034 */;
|
|
import UserProfileConfirmRemoveFriendDefault from "UserProfileConfirmRemoveFriend" /* 9035 */;
|
|
import UserProfileConfirmRemoveGameFriendDefault from "UserProfileConfirmRemoveGameFriend" /* 9036 */;
|
|
import UserProfileConfirmVideoUnstableConnectionDefault from "UserProfileConfirmVideoUnstableConnection" /* 9043 */;
|
|
import UserProfileAlertUserReportedDefault from "UserProfileAlertUserReported" /* 9044 */;
|
|
import UserProfileConfirmThreadRemoveDefault from "UserProfileConfirmThreadRemove" /* 9045 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
|
|
require = arg1;
|
|
noopAll;
|
|
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileAlertUtils.tsx");
|
|
|
|
export const confirmCancelFriendRequest = function confirmCancelFriendRequest(arg0) {
|
|
let obj = useAlertStore;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("cancel-friend-request", jsx(UserProfileConfirmCancelFriendRequestDefault, {}));
|
|
};
|
|
export const confirmRemoveFriend = function confirmRemoveFriend(arg0) {
|
|
let obj = useAlertStore;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("remove-friend", jsx(UserProfileConfirmRemoveFriendDefault, {}));
|
|
};
|
|
export const confirmRemoveGameFriend = function confirmRemoveGameFriend(arg0) {
|
|
let obj = useAlertStore;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("remove-game-friend", jsx(UserProfileConfirmRemoveGameFriendDefault, {}));
|
|
};
|
|
export const confirmVideoUnstableConnection = function confirmVideoUnstableConnection(onConfirm) {
|
|
let obj = useAlertStore;
|
|
obj = { onConfirm };
|
|
obj.openAlert("video-unstable-connection", jsx(UserProfileConfirmVideoUnstableConnectionDefault, { onConfirm }));
|
|
};
|
|
export const alertUserReported = function alertUserReported() {
|
|
useAlertStore.openAlert("user-reported", jsx(UserProfileAlertUserReportedDefault, {}));
|
|
};
|
|
export const confirmThreadRemove = function confirmThreadRemove(arg0) {
|
|
let obj = useAlertStore;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("thread-remove", jsx(UserProfileConfirmThreadRemoveDefault, {}));
|
|
};
|