45 lines
1.9 KiB
TypeScript
45 lines
1.9 KiB
TypeScript
// Module ID: 11649
|
|
// Function ID: 90400
|
|
// Name: confirmCancelFriendRequest
|
|
// Dependencies: [31, 33, 4473, 11650, 11651, 11652, 11653, 11654, 11655, 2]
|
|
// Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection
|
|
|
|
// Module 11649 (confirmCancelFriendRequest)
|
|
import "result";
|
|
import { jsx } from "jsxProd";
|
|
|
|
const require = arg1;
|
|
const result = require("useAlertStore").fileFinishedImporting("modules/user_profile/native/UserProfileAlertUtils.tsx");
|
|
|
|
export const confirmCancelFriendRequest = function confirmCancelFriendRequest(arg0) {
|
|
let obj = require(4473) /* useAlertStore */;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("cancel-friend-request", jsx(importDefault(11650), {}));
|
|
};
|
|
export const confirmRemoveFriend = function confirmRemoveFriend(arg0) {
|
|
let obj = require(4473) /* useAlertStore */;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("remove-friend", jsx(importDefault(11651), {}));
|
|
};
|
|
export const confirmRemoveGameFriend = function confirmRemoveGameFriend(arg0) {
|
|
let obj = require(4473) /* useAlertStore */;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("remove-game-friend", jsx(importDefault(11652), {}));
|
|
};
|
|
export const confirmVideoUnstableConnection = function confirmVideoUnstableConnection(onConfirm) {
|
|
let obj = require(4473) /* useAlertStore */;
|
|
obj = { onConfirm };
|
|
obj.openAlert("video-unstable-connection", jsx(importDefault(11653), { onConfirm }));
|
|
};
|
|
export const alertUserReported = function alertUserReported() {
|
|
require(4473) /* useAlertStore */.openAlert("user-reported", jsx(importDefault(11654), {}));
|
|
};
|
|
export const confirmThreadRemove = function confirmThreadRemove(arg0) {
|
|
let obj = require(4473) /* useAlertStore */;
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.openAlert("thread-remove", jsx(importDefault(11655), {}));
|
|
};
|