decord/source/modules/reactions/useCanRemoveAllReactions.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

25 lines
1,016 B
TypeScript

// Module ID: 11354
// Function ID: 11355
// Name: useCanRemoveAllReactions
// Dependencies: [4245, 1074, 7342, 504, 2]
// Exports: default
// Module 11354 (useCanRemoveAllReactions)
import PermissionStore from "PermissionStore" /* 4245 */;
const require = globalThis.__r;
const require = fn;
const Permissions = fn(1074).Permissions;
const size = fn(2);
const result = size.fileFinishedImporting("modules/reactions/useCanRemoveAllReactions.tsx");
export default function useCanRemoveAllReactions(channel) {
_require = channel;
isActiveChannelOrUnarchivableThread = require("ThreadHooks").useIsActiveChannelOrUnarchivableThread(channel);
const obj = require("ThreadHooks");
const items = [PermissionStore];
const items1 = [channel, isActiveChannelOrUnarchivableThread];
const obj2 = require("initialize");
return null != channel && require("initialize").useStateFromStores(items, () => PermissionStore.can(Permissions.MANAGE_MESSAGES, closure_0) && isActiveChannelOrUnarchivableThread, items1);
};