decord/source/modules/user_profile/native/UserProfileAlertUtils.tsx

46 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 11895
// Function ID: 11896
2026-07-20 16:05:17 +00:00
// Name: confirmCancelFriendRequest
2026-08-06 08:05:19 +00:00
// Dependencies: [19, 21, 4625, 11896, 11897, 11898, 11899, 11900, 11901, 2]
2026-07-20 16:05:17 +00:00
// Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection
2026-08-06 08:05:19 +00:00
// Module 11895 (confirmCancelFriendRequest)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
const require = arg1;
const result = require("useAlertStore").fileFinishedImporting("modules/user_profile/native/UserProfileAlertUtils.tsx");
2026-07-20 16:05:17 +00:00
export const confirmCancelFriendRequest = function confirmCancelFriendRequest(arg0) {
2026-08-06 08:05:19 +00:00
let obj = require(4625) /* useAlertStore */;
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(arg0);
2026-08-06 08:05:19 +00:00
obj.openAlert("cancel-friend-request", jsx(importDefault(11896), {}));
2026-07-20 16:05:17 +00:00
};
export const confirmRemoveFriend = function confirmRemoveFriend(arg0) {
2026-08-06 08:05:19 +00:00
let obj = require(4625) /* useAlertStore */;
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(arg0);
2026-08-06 08:05:19 +00:00
obj.openAlert("remove-friend", jsx(importDefault(11897), {}));
2026-07-20 16:05:17 +00:00
};
export const confirmRemoveGameFriend = function confirmRemoveGameFriend(arg0) {
2026-08-06 08:05:19 +00:00
let obj = require(4625) /* useAlertStore */;
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(arg0);
2026-08-06 08:05:19 +00:00
obj.openAlert("remove-game-friend", jsx(importDefault(11898), {}));
2026-07-20 16:05:17 +00:00
};
export const confirmVideoUnstableConnection = function confirmVideoUnstableConnection(onConfirm) {
2026-08-06 08:05:19 +00:00
let obj = require(4625) /* useAlertStore */;
2026-07-20 16:05:17 +00:00
obj = { onConfirm };
2026-08-06 08:05:19 +00:00
obj.openAlert("video-unstable-connection", jsx(importDefault(11899), { onConfirm }));
2026-07-20 16:05:17 +00:00
};
export const alertUserReported = function alertUserReported() {
2026-08-06 08:05:19 +00:00
require(4625) /* useAlertStore */.openAlert("user-reported", jsx(importDefault(11900), {}));
2026-07-20 16:05:17 +00:00
};
export const confirmThreadRemove = function confirmThreadRemove(arg0) {
2026-08-06 08:05:19 +00:00
let obj = require(4625) /* useAlertStore */;
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(arg0);
2026-08-06 08:05:19 +00:00
obj.openAlert("thread-remove", jsx(importDefault(11901), {}));
2026-07-20 16:05:17 +00:00
};