diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2024-10-30 15:45:13 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2024-10-30 16:04:28 -0300 |
| commit | fb319c8e0bf69d9925389edf674de938ea489e25 (patch) | |
| tree | a60bd4f07ce72b9da394a3bf4db8fee91842eb78 /src/data/validators.js | |
| parent | 859d1777a4f6f6d583466aaf72357d4d611f3909 (diff) | |
data, content: remove shared and inferred additional names
Removes:
- inferredAdditionalNameList (#composite/things/track) etc
- sharedAdditionalNameList (#composite/things/track) etc
- "specificAlbumExclusive" / "This Album Only" field
- "from" property / "on {ALBUMS}" accent (content)
- generateTrackAdditionalNamesBox (no leftover dynamics)
- related snapshot test
Diffstat (limited to 'src/data/validators.js')
| -rw-r--r-- | src/data/validators.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/data/validators.js b/src/data/validators.js index 22dc160c..31c7025a 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -920,21 +920,6 @@ export function validateWikiData({ export const isAdditionalName = validateProperties({ name: isContentString, annotation: optional(isContentString), - - // TODO: This only applies for tracks, not additional names - // in general. - specificAlbumExclusive: optional(isBoolean), - - // TODO: This only allows indicating sourcing from a track. - // That's okay for the current limited use of "from", but - // could be expanded later. - from: - // Double TODO: Explicitly allowing both references and - // live objects to co-exist is definitely weird, and - // altogether questions the way we define validators... - optional(anyOf( - validateReferenceList('track'), - validateWikiData({referenceType: 'track'}))), }); export const isAdditionalNameList = validateArrayItems(isAdditionalName); |