diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-09-30 21:37:54 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-09-30 21:37:54 -0300 |
commit | 06ea3f5e50fc3c72d24c4e4002279a451c41a08c (patch) | |
tree | dd5511047f4c5f729a9706977cc5494110066b9f /src/data | |
parent | 3feae74688339ff37bbf6269c00363c132b1106f (diff) |
validators: isAdditionalName: expect name as content string
In practice additional names are presented as content strings, so this is just improved accuracy.
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/validators.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/validators.js b/src/data/validators.js index 354de6fa..4bdbe5cd 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -918,7 +918,7 @@ export function validateWikiData({ } export const isAdditionalName = validateProperties({ - name: isName, + name: isContentString, annotation: optional(isContentString), // TODO: This only allows indicating sourcing from a track. |