From a5232ebbd87d2222138aa6d7bd074d476cb17584 Mon Sep 17 00:00:00 2001
From: "(quasar) nebula" <qznebula@protonmail.com>
Date: Tue, 10 May 2022 21:57:53 -0300
Subject: remove unused BuildDirective code

---
 src/data/things.js | 13 -------------
 src/data/yaml.js   |  9 ---------
 2 files changed, 22 deletions(-)

(limited to 'src/data')

diff --git a/src/data/things.js b/src/data/things.js
index 97e70cde..85358305 100644
--- a/src/data/things.js
+++ b/src/data/things.js
@@ -90,9 +90,6 @@ export class WikiInfo extends CacheableObject {}
 // -> Language
 export class Language extends CacheableObject {}
 
-// -> BuildDirective
-export class BuildDirective extends CacheableObject {}
-
 // Before initializing property descriptors, set additional independent
 // constants on the classes (which are referenced later).
 
@@ -1638,13 +1635,3 @@ Object.assign(Language.prototype, {
     countTimesUsed: countHelper('timesUsed'),
     countTracks: countHelper('tracks'),
 });
-
-// -> BuildDirective
-
-BuildDirective.propertyDescriptors = {
-    // Update & expose
-
-    directive: Thing.common.directory(),
-    baseDirectory: Thing.common.directory(),
-    language: Thing.common.simpleString(),
-};
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 7e2d824a..21b56d43 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -11,7 +11,6 @@ import {
     Album,
     Artist,
     ArtTag,
-    BuildDirective,
     Flash,
     FlashAct,
     Group,
@@ -400,14 +399,6 @@ export const processWikiInfoDocument = makeProcessDocument(WikiInfo, {
     }
 });
 
-export const processBuildDirectiveDocument = makeProcessDocument(BuildDirective, {
-    propertyFieldMapping: {
-        directive: 'Directive',
-        baseDirectory: 'Base Directory',
-        language: 'Language',
-    }
-});
-
 export const processHomepageLayoutDocument = makeProcessDocument(HomepageLayout, {
     propertyFieldMapping: {
         sidebarContent: 'Sidebar Content'
-- 
cgit 1.3.0-6-gf8a5