diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2025-11-26 21:38:50 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2025-11-26 21:38:50 -0400 |
| commit | ef1ec90608dc4a8cffbff2488ae3491a9efa7349 (patch) | |
| tree | cfe75022946392343047451ee558e883e3b88dd5 /src/data/things/artwork.js | |
| parent | 320ea651bdb2ed58d79e7f5fc11c6a65f88ad047 (diff) | |
data: Artwork: chop withDate
It wasn't even used to compute the date property...
Diffstat (limited to 'src/data/things/artwork.js')
| -rw-r--r-- | src/data/things/artwork.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/data/things/artwork.js b/src/data/things/artwork.js index 688cccb3..6ec524c2 100644 --- a/src/data/things/artwork.js +++ b/src/data/things/artwork.js @@ -62,8 +62,7 @@ import { wikiData, } from '#composite/wiki-properties'; -import {withContainingArtworkList, withDate} - from '#composite/things/artwork'; +import {withContainingArtworkList} from '#composite/things/artwork'; export class Artwork extends Thing { static [Thing.referenceType] = 'artwork'; @@ -135,11 +134,9 @@ export class Artwork extends Thing { artistContribsArtistProperty: simpleString(), artistContribs: [ - withDate(), - withResolvedContribs({ from: input.updateValue({validate: isContributionList}), - date: '#date', + date: 'date', thingProperty: input.thisProperty(), artistProperty: 'artistContribsArtistProperty', }), |