53 lines
2.6 KiB
TypeScript
53 lines
2.6 KiB
TypeScript
// Module ID: 9089
|
|
// Function ID: 9090
|
|
// Name: confirmCancelFriendRequest
|
|
// Dependencies: [19, 21, 4860, 9090, 9091, 9092, 9099, 9100, 9101, 2]
|
|
// Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection
|
|
|
|
// Module 9089 (confirmCancelFriendRequest)
|
|
import noopAll from "noop" /* 19 */;
|
|
import useAlertStore from "useAlertStore" /* 4860 */;
|
|
import UserProfileConfirmCancelFriendRequestDefault from "UserProfileConfirmCancelFriendRequest" /* 9090 */;
|
|
import UserProfileConfirmRemoveFriendDefault from "UserProfileConfirmRemoveFriend" /* 9091 */;
|
|
import UserProfileConfirmRemoveGameFriendDefault from "UserProfileConfirmRemoveGameFriend" /* 9092 */;
|
|
import UserProfileConfirmVideoUnstableConnectionDefault from "UserProfileConfirmVideoUnstableConnection" /* 9099 */;
|
|
import UserProfileAlertUserReportedDefault from "UserProfileAlertUserReported" /* 9100 */;
|
|
import UserProfileConfirmThreadRemoveDefault from "UserProfileConfirmThreadRemove" /* 9101 */;
|
|
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, {}));
|
|
};
|