« get me outta code hell

yaml: ignore "Review Points" fields for now - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-21 23:14:50 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-21 23:16:42 -0400
commit3e6f58bcce08a2b6f0b63ee6718c8e14e1abe7b7 (patch)
treeb036fbcab92431c2167c9d08e82b0de16d10392b /src
parent68dccc06e5b768714e4822604551346c4e3d4cd9 (diff)
yaml: ignore "Review Points" fields for now
Diffstat (limited to 'src')
-rw-r--r--src/data/yaml.js16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 9f2bd7a4..dd6da697 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -440,6 +440,8 @@ export const processAlbumDocument = makeProcessDocument(T.Album, {
     groups: 'Groups',
     artTags: 'Art Tags',
   },
+
+  ignoredFields: ['Review Points'],
 });
 
 export const processTrackSectionDocument = makeProcessDocument(T.TrackSectionHelper, {
@@ -505,6 +507,8 @@ export const processTrackDocument = makeProcessDocument(T.Track, {
     artTags: 'Art Tags',
   },
 
+  ignoredFields: ['Review Points'],
+
   invalidFieldCombinations: [
     {message: `Re-releases inherit references from the original`, fields: [
       'Originally Released As',
@@ -553,7 +557,7 @@ export const processArtistDocument = makeProcessDocument(T.Artist, {
     aliasNames: 'Aliases',
   },
 
-  ignoredFields: ['Dead URLs'],
+  ignoredFields: ['Dead URLs', 'Review Points'],
 });
 
 export const processFlashDocument = makeProcessDocument(T.Flash, {
@@ -576,6 +580,8 @@ export const processFlashDocument = makeProcessDocument(T.Flash, {
     featuredTracks: 'Featured Tracks',
     contributorContribs: 'Contributors',
   },
+
+  ignoredFields: ['Review Points'],
 });
 
 export const processFlashActDocument = makeProcessDocument(T.FlashAct, {
@@ -589,6 +595,8 @@ export const processFlashActDocument = makeProcessDocument(T.FlashAct, {
     jump: 'Jump',
     jumpColor: 'Jump Color',
   },
+
+  ignoredFields: ['Review Points'],
 });
 
 export const processNewsEntryDocument = makeProcessDocument(T.NewsEntry, {
@@ -613,6 +621,8 @@ export const processArtTagDocument = makeProcessDocument(T.ArtTag, {
     color: 'Color',
     isContentWarning: 'Is CW',
   },
+
+  ignoredFields: ['Review Points'],
 });
 
 export const processGroupDocument = makeProcessDocument(T.Group, {
@@ -624,6 +634,8 @@ export const processGroupDocument = makeProcessDocument(T.Group, {
 
     featuredAlbums: 'Featured Albums',
   },
+
+  ignoredFields: ['Review Points'],
 });
 
 export const processGroupCategoryDocument = makeProcessDocument(T.GroupCategory, {
@@ -643,6 +655,8 @@ export const processStaticPageDocument = makeProcessDocument(T.StaticPage, {
     script: 'Script',
     content: 'Content',
   },
+
+  ignoredFields: ['Review Points'],
 });
 
 export const processWikiInfoDocument = makeProcessDocument(T.WikiInfo, {