diff options
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/album.js | 3 | ||||
-rw-r--r-- | src/data/things/art-tag.js | 2 | ||||
-rw-r--r-- | src/data/things/artist.js | 3 | ||||
-rw-r--r-- | src/data/things/flash.js | 2 | ||||
-rw-r--r-- | src/data/things/news-entry.js | 2 | ||||
-rw-r--r-- | src/data/things/static-page.js | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js index d92dd434..01a232d0 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -5,11 +5,10 @@ import * as path from 'node:path'; import {input} from '#composite'; import find from '#find'; import {traverse} from '#node-utils'; +import {sortAlbumsTracksChronologically, sortChronologically} from '#sort'; import {empty} from '#sugar'; import Thing from '#thing'; import {isDate} from '#validators'; -import {sortAlbumsTracksChronologically, sortChronologically} - from '#wiki-data'; import {parseAdditionalFiles, parseContributors, parseDate, parseDimensions} from '#yaml'; diff --git a/src/data/things/art-tag.js b/src/data/things/art-tag.js index 69fbb526..3149b310 100644 --- a/src/data/things/art-tag.js +++ b/src/data/things/art-tag.js @@ -1,9 +1,9 @@ export const ART_TAG_DATA_FILE = 'tags.yaml'; import {input} from '#composite'; +import {sortAlphabetically, sortAlbumsTracksChronologically} from '#sort'; import Thing from '#thing'; import {isName} from '#validators'; -import {sortAlphabetically, sortAlbumsTracksChronologically} from '#wiki-data'; import {exposeUpdateValueOrContinue} from '#composite/control-flow'; diff --git a/src/data/things/artist.js b/src/data/things/artist.js index 6e61c28f..73acba69 100644 --- a/src/data/things/artist.js +++ b/src/data/things/artist.js @@ -6,10 +6,11 @@ import CacheableObject from '#cacheable-object'; import {colors} from '#cli'; import {input} from '#composite'; import find from '#find'; +import {sortAlphabetically} from '#sort'; import {stitchArrays, unique} from '#sugar'; import Thing from '#thing'; import {isName, validateArrayItems} from '#validators'; -import {getKebabCase, sortAlphabetically} from '#wiki-data'; +import {getKebabCase} from '#wiki-data'; import {withReverseContributionList} from '#composite/wiki-data'; diff --git a/src/data/things/flash.js b/src/data/things/flash.js index 4823f723..81de3272 100644 --- a/src/data/things/flash.js +++ b/src/data/things/flash.js @@ -2,9 +2,9 @@ export const FLASH_DATA_FILE = 'flashes.yaml'; import {input} from '#composite'; import find from '#find'; +import {sortFlashesChronologically} from '#sort'; import Thing from '#thing'; import {anyOf, isColor, isDirectory, isNumber, isString} from '#validators'; -import {sortFlashesChronologically} from '#wiki-data'; import {parseDate, parseContributors} from '#yaml'; import {exposeDependency, exposeUpdateValueOrContinue} diff --git a/src/data/things/news-entry.js b/src/data/things/news-entry.js index cb8e3648..43d1638e 100644 --- a/src/data/things/news-entry.js +++ b/src/data/things/news-entry.js @@ -1,7 +1,7 @@ export const NEWS_DATA_FILE = 'news.yaml'; +import {sortChronologically} from '#sort'; import Thing from '#thing'; -import {sortChronologically} from '#wiki-data'; import {parseDate} from '#yaml'; import {contentString, directory, name, simpleDate} diff --git a/src/data/things/static-page.js b/src/data/things/static-page.js index 69cbfa11..03274979 100644 --- a/src/data/things/static-page.js +++ b/src/data/things/static-page.js @@ -3,9 +3,9 @@ export const DATA_STATIC_PAGE_DIRECTORY = 'static-page'; import * as path from 'node:path'; import {traverse} from '#node-utils'; +import {sortAlphabetically} from '#sort'; import Thing from '#thing'; import {isName} from '#validators'; -import {sortAlphabetically} from '#wiki-data'; import {contentString, directory, name, simpleString} from '#composite/wiki-properties'; |