2026-08-08 06:10:11 +00:00
|
|
|
// Module ID: 5955
|
|
|
|
|
// Function ID: 5956
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: useGuildIdsToFetchSoundsFor
|
2026-08-08 06:10:11 +00:00
|
|
|
// Dependencies: [19, 1891, 4749, 647, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGuildIdsToFetchSoundsFor, useGuildIdsToFetchSoundsFor
|
|
|
|
|
|
2026-08-08 06:10:11 +00:00
|
|
|
// Module 5955 (useGuildIdsToFetchSoundsFor)
|
2026-07-29 08:29:29 +00:00
|
|
|
import { useMemo } from "noop";
|
|
|
|
|
import createGuildRecordFromRust from "createGuildRecordFromRust";
|
|
|
|
|
import handleSoundCreateOrUpdate from "handleSoundCreateOrUpdate";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
const result = require("handleSoundCreateOrUpdate").fileFinishedImporting("modules/soundboard/useGuildIdsToFetchSoundsFor.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useGuildIdsToFetchSoundsFor = function useGuildIdsToFetchSoundsFor() {
|
2026-07-29 08:29:29 +00:00
|
|
|
const items = [createGuildRecordFromRust];
|
|
|
|
|
stateFromStoresArray = stateFromStoresArray(stateFromStores[3]).useStateFromStoresArray(items, () => guildIds.getGuildIds());
|
2026-07-23 10:11:24 +00:00
|
|
|
const obj = stateFromStoresArray(stateFromStores[3]);
|
2026-07-29 08:29:29 +00:00
|
|
|
const items1 = [handleSoundCreateOrUpdate];
|
|
|
|
|
stateFromStores = stateFromStoresArray(stateFromStores[3]).useStateFromStores(items1, () => sounds.getSounds());
|
2026-07-20 16:05:17 +00:00
|
|
|
const items2 = [stateFromStoresArray, stateFromStores];
|
2026-07-29 08:29:29 +00:00
|
|
|
return useMemo(() => {
|
|
|
|
|
const stateFromStoresArray = stateFromStores;
|
|
|
|
|
return stateFromStoresArray.filter((arg0) => null == closure_0.get(arg0));
|
|
|
|
|
}, items2);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const getGuildIdsToFetchSoundsFor = function getGuildIdsToFetchSoundsFor() {
|
2026-07-23 10:11:24 +00:00
|
|
|
guildIds = guildIds.getGuildIds();
|
2026-07-29 08:29:29 +00:00
|
|
|
const sounds2 = sounds.getSounds();
|
|
|
|
|
return guildIds.filter((arg0) => null == closure_0.get(arg0));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|