From a074fd54107c51c4fcbfedbbf6df6eca539d19d3 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 26 Jan 2026 15:14:38 -0400 Subject: data, yaml: split yaml loading specs into src/data/files --- src/data/things/Artist.js | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/data/things/Artist.js') diff --git a/src/data/things/Artist.js b/src/data/things/Artist.js index 85bdc006..f518e31e 100644 --- a/src/data/things/Artist.js +++ b/src/data/things/Artist.js @@ -1,5 +1,3 @@ -const ARTIST_DATA_FILE = 'artists.yaml'; - import {inspect} from 'node:util'; import CacheableObject from '#cacheable-object'; @@ -11,7 +9,6 @@ import {parseArtistAliases, parseArtwork} from '#yaml'; import { sortAlbumsTracksChronologically, sortArtworksChronologically, - sortAlphabetically, sortContributionsChronologically, } from '#sort'; @@ -325,21 +322,6 @@ export class Artist extends Thing { }, }; - static [Thing.getYamlLoadingSpec] = ({ - documentModes: {allInOne}, - thingConstructors: {Artist}, - }) => ({ - title: `Process artists file`, - file: ARTIST_DATA_FILE, - - documentMode: allInOne, - documentThing: Artist, - - sort({artistData}) { - sortAlphabetically(artistData); - }, - }); - [inspect.custom]() { const parts = []; -- cgit 1.3.0-6-gf8a5