decord/source/modules/guild_onboarding_home/useResourceChannels.tsx
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

24 lines
905 B
TypeScript

// Module ID: 16636
// Function ID: 16637
// Name: useResourceChannels
// Dependencies: [1957, 4794, 563, 2]
// Exports: default
// Module 16636 (useResourceChannels)
import ChannelStore from "ChannelStore" /* 1957 */;
import GuildOnboardingHomeSettingsStore from "GuildOnboardingHomeSettingsStore" /* 4794 */;
const require = globalThis.__r;
const require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/guild_onboarding_home/useResourceChannels.tsx");
export default function useResourceChannels(arg0) {
_require = arg0;
const items = [GuildOnboardingHomeSettingsStore, ChannelStore];
return require("useStateFromStores").useStateFromStoresArray(items, () => {
const resourceChannels = GuildOnboardingHomeSettingsStore.getResourceChannels(closure_0);
return resourceChannels.filter((channelId) => null != channel.getChannel(channelId.channelId));
});
};