diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-05-22 12:00:01 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-05-22 12:00:23 -0300 |
commit | f6bd91ea9beef64e0ff0865560219a64a367bb5b (patch) | |
tree | 053700f2bc57d395148d90b77daa6e4e3cb4a849 /src/data/things.js | |
parent | 3b542d286f66e54cb10507fb196a61b7b2f1ee94 (diff) |
divide referenced-by lists by configurable groups
...instead of hard-coding 'em
Diffstat (limited to 'src/data/things.js')
-rw-r--r-- | src/data/things.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data/things.js b/src/data/things.js index 8f460e49..18efac47 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -1388,13 +1388,22 @@ WikiInfo.propertyDescriptors = { update: {validate: isURL} }, - // Feature toggles + divideTrackListsByGroupsByRef: Thing.common.referenceList(Group), + // Feature toggles enableFlashesAndGames: Thing.common.flag(false), enableListings: Thing.common.flag(false), enableNews: Thing.common.flag(false), enableArtTagUI: Thing.common.flag(false), enableGroupUI: Thing.common.flag(false), + + // Update only + + groupData: Thing.common.wikiData(Group), + + // Expose only + + divideTrackListsByGroups: Thing.common.dynamicThingsFromReferenceList('divideTrackListsByGroupsByRef', 'groupData', find.group), }; // -> Language |