53 lines
2.6 KiB
TypeScript
53 lines
2.6 KiB
TypeScript
// Module ID: 9085
|
|
// Function ID: 9086
|
|
// Name: confirmCancelFriendRequest
|
|
// Dependencies: [19, 21, 4859, 9086, 9087, 9088, 9095, 9096, 9097, 2]
|
|
// Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection
|
|
|
|
// Module 9085 (confirmCancelFriendRequest)
|
|
import noopAll from "noop" /* 19 */;
|
|
import useAlertStore from "useAlertStore" /* 4859 */;
|
|
import UserProfileConfirmCancelFriendRequestDefault from "UserProfileConfirmCancelFriendRequest" /* 9086 */;
|
|
import UserProfileConfirmRemoveFriendDefault from "UserProfileConfirmRemoveFriend" /* 9087 */;
|
|
import UserProfileConfirmRemoveGameFriendDefault from "UserProfileConfirmRemoveGameFriend" /* 9088 */;
|
|
import UserProfileConfirmVideoUnstableConnectionDefault from "UserProfileConfirmVideoUnstableConnection" /* 9095 */;
|
|
import UserProfileAlertUserReportedDefault from "UserProfileAlertUserReported" /* 9096 */;
|
|
import UserProfileConfirmThreadRemoveDefault from "UserProfileConfirmThreadRemove" /* 9097 */;
|
|
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, {}));
|
|
};
|