2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 9211
|
|
|
|
|
// Function ID: 9212
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: usePendingFolderGuildIds
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [4382, 1979, 504, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: default, getPendingFolderGuildIds
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 9211 (usePendingFolderGuildIds)
|
2026-09-05 10:56:28 +00:00
|
|
|
import initialize from "initialize" /* 504 */;
|
|
|
|
|
import closure_2 from "handleGatewayJoinRequestUpdate" /* 4382 */;
|
|
|
|
|
import closure_3 from "createGuildRecordFromRust" /* 1979 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/guilds_bar/usePendingFolderGuildIds.tsx");
|
2026-07-29 08:29:29 +00:00
|
|
|
|
|
|
|
|
export default function usePendingFolderGuildIds() {
|
2026-08-24 06:08:38 +00:00
|
|
|
let items = [closure_2, closure_3];
|
|
|
|
|
return initialize.useStateFromStoresArray(items, () => {
|
|
|
|
|
const items = [closure_2, closure_3];
|
2026-07-29 08:29:29 +00:00
|
|
|
[obj, obj2] = items;
|
|
|
|
|
let guilds;
|
|
|
|
|
const guildIds = obj.computeGuildIds();
|
|
|
|
|
guilds = obj2.getGuilds();
|
|
|
|
|
return guildIds.filter((arg0) => null == table[arg0]);
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
export const getPendingFolderGuildIds = function getPendingFolderGuildIds() {
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp = arg0;
|
|
|
|
|
if (arg0 === undefined) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const items = [closure_2, closure_3];
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp = items;
|
|
|
|
|
}
|
|
|
|
|
[obj, obj2] = tmp;
|
|
|
|
|
let guilds;
|
|
|
|
|
const guildIds = obj.computeGuildIds();
|
|
|
|
|
guilds = obj2.getGuilds();
|
2026-07-23 10:11:24 +00:00
|
|
|
return guildIds.filter((arg0) => null == table[arg0]);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|