diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-01-26 15:14:38 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-01-26 15:14:38 -0400 |
| commit | a074fd54107c51c4fcbfedbbf6df6eca539d19d3 (patch) | |
| tree | 4fec08106aa3054c1954c5fa4ade0fb880c5eeb3 /src/data/things/sorting-rule | |
| parent | 796e4bc1452b918bbf50a2e802b308f6ac20f2c2 (diff) | |
data, yaml: split yaml loading specs into src/data/files
Diffstat (limited to 'src/data/things/sorting-rule')
| -rw-r--r-- | src/data/things/sorting-rule/SortingRule.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/data/things/sorting-rule/SortingRule.js b/src/data/things/sorting-rule/SortingRule.js index 4ce9d97a..5d4bba99 100644 --- a/src/data/things/sorting-rule/SortingRule.js +++ b/src/data/things/sorting-rule/SortingRule.js @@ -1,5 +1,3 @@ -const SORTING_RULE_DATA_FILE = 'sorting-rules.yaml'; - import {V} from '#composite'; import {unique} from '#sugar'; import Thing from '#thing'; @@ -34,20 +32,6 @@ export class SortingRule extends Thing { }, }; - static [Thing.getYamlLoadingSpec] = ({ - documentModes: {allInOne}, - thingConstructors: {DocumentSortingRule}, - }) => ({ - title: `Process sorting rules file`, - file: SORTING_RULE_DATA_FILE, - - documentMode: allInOne, - documentThing: document => - (document['Sort Documents'] - ? DocumentSortingRule - : null), - }); - check(opts) { return this.constructor.check(this, opts); } |