diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 10:16:36 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 10:29:50 -0400 |
commit | 5457b88f8d3d234af0b08d15f3c6249f6649aac3 (patch) | |
tree | c07cee2cbfcd35d8b4a373915f59e6b619531241 /src/data/composite/wiki-data | |
parent | 7a3038b982c4d318e146698527070f096591aa4f (diff) |
data: move sorting & generic functions out of #wiki-data
Diffstat (limited to 'src/data/composite/wiki-data')
-rw-r--r-- | src/data/composite/wiki-data/withResolvedContribs.js | 3 | ||||
-rw-r--r-- | src/data/composite/wiki-data/withThingsSortedAlphabetically.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/data/composite/wiki-data/withResolvedContribs.js b/src/data/composite/wiki-data/withResolvedContribs.js index eda24160..77b0f96d 100644 --- a/src/data/composite/wiki-data/withResolvedContribs.js +++ b/src/data/composite/wiki-data/withResolvedContribs.js @@ -5,9 +5,8 @@ import {input, templateCompositeFrom} from '#composite'; import find from '#find'; -import {stitchArrays} from '#sugar'; +import {filterMultipleArrays, stitchArrays} from '#sugar'; import {is, isContributionList} from '#validators'; -import {filterMultipleArrays} from '#wiki-data'; import { raiseOutputWithoutDependency, diff --git a/src/data/composite/wiki-data/withThingsSortedAlphabetically.js b/src/data/composite/wiki-data/withThingsSortedAlphabetically.js index d2487e42..5e85fa6a 100644 --- a/src/data/composite/wiki-data/withThingsSortedAlphabetically.js +++ b/src/data/composite/wiki-data/withThingsSortedAlphabetically.js @@ -5,8 +5,8 @@ // a list so same-name entries are beside each other. import {input, templateCompositeFrom} from '#composite'; +import {compareCaseLessSensitive, normalizeName} from '#sort'; import {validateWikiData} from '#validators'; -import {compareCaseLessSensitive, normalizeName} from '#wiki-data'; import {raiseOutputWithoutDependency} from '#composite/control-flow'; import {withMappedList, withSortedList, withPropertiesFromList} |