diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-01-07 21:47:34 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-01-07 21:47:34 -0400 |
commit | 782a63e25304b7f17b216a231d243f3154ae1128 (patch) | |
tree | b867d1fddba0cf1603c847c25ef18058dc9e67fa /src/upd8.js | |
parent | 5b7a195b7075ee83501aeb65a421a81c3e360542 (diff) |
quarantine hard-coded official/fandomAlbumData
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/upd8.js b/src/upd8.js index 6d6990bf..d5a5c2a7 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -112,9 +112,6 @@ import { } from './util/serialize.js'; */ -// Pensive emoji! -import { OFFICIAL_GROUP_DIRECTORY } from './util/magic-constants.js'; - import FileSizePreloader from './file-size-preloader.js'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); @@ -495,9 +492,7 @@ async function main() { progressCallAll('Caching all data values', Object.entries(wikiData) .filter(([key]) => key !== 'listingSpec' && - key !== 'listingTargetSpec' && - key !== 'officialAlbumData' && - key !== 'fandomAlbumData') + key !== 'listingTargetSpec') .map(([key, value]) => key === 'wikiInfo' ? [key, [value]] : key === 'homepageLayout' ? [key, [value]] : @@ -589,11 +584,6 @@ async function main() { } } - wikiData.officialAlbumData = wikiData.albumData - .filter((album) => album.groups.some((group) => group.directory === OFFICIAL_GROUP_DIRECTORY)); - wikiData.fandomAlbumData = wikiData.albumData - .filter((album) => album.groups.every((group) => group.directory !== OFFICIAL_GROUP_DIRECTORY)); - const urls = generateURLs(urlSpec); const fileSizePreloader = new FileSizePreloader(); |