decord/source/modules/guild_onboarding_home/useResourceChannels.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

24 lines
905 B
TypeScript

// Module ID: 16675
// Function ID: 16676
// Name: useResourceChannels
// Dependencies: [1958, 4826, 563, 2]
// Exports: default
// Module 16675 (useResourceChannels)
import ChannelStore from "ChannelStore" /* 1958 */;
import GuildOnboardingHomeSettingsStore from "GuildOnboardingHomeSettingsStore" /* 4826 */;
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));
});
};