decord/source/modules/channel_permissions/native/ChannelPermissionsUtils.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

30 lines
1.5 KiB
TypeScript

// Module ID: 11701
// Function ID: 11702
// Name: channel_permissions/ChannelPermissionsUtils
// Dependencies: [1074, 1242, 4573, 9841, 1896, 11702, 2]
// Exports: openAddMembersActionSheet, openChannelMembersActionSheet
// Module 11701 (channel_permissions/ChannelPermissionsUtils)
import Constants from "Constants" /* 1074 */;
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1242 */;
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4573 */;
import size from "module_2" /* 2 */;
const AnalyticEvents = Constants.AnalyticEvents;
const result = size.fileFinishedImporting("modules/channel_permissions/native/ChannelPermissionsUtils.tsx");
export const openAddMembersActionSheet = function openAddMembersActionSheet(stateFromStores) {
let flag = arg1;
if (arg1 === undefined) {
flag = false;
}
AnalyticsUtilsDefault.track(AnalyticEvents.OPEN_POPOUT, { type: "Grant Channel Access" });
const obj2 = ActionSheetActionCreatorsDefault;
obj2.openLazy(asyncRequireImpl(9841, dependencyMap.paths), "channel-add-members-" + stateFromStores.id, { channel: stateFromStores, canSkip: flag });
};
export const openChannelMembersActionSheet = function openChannelMembersActionSheet(id, guild_id) {
AnalyticsUtilsDefault.track(AnalyticEvents.OPEN_POPOUT, { type: "Manage Channel Access" });
const obj2 = ActionSheetActionCreatorsDefault;
obj2.openLazy(asyncRequireImpl(11702, dependencyMap.paths), "channel-members-" + id, { channelId: id, guildId: guild_id });
};