« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/thing/art-tag.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/thing/art-tag.js')
-rw-r--r--src/thing/art-tag.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/thing/art-tag.js b/src/thing/art-tag.js
deleted file mode 100644
index 4b09d88..0000000
--- a/src/thing/art-tag.js
+++ /dev/null
@@ -1,37 +0,0 @@
-import Thing from './thing.js';
-
-import {
-    isBoolean,
-    isColor,
-    isDirectory,
-    isName,
-} from './validators.js';
-
-export default class ArtTag extends Thing {
-    static [Thing.referenceType] = 'tag';
-
-    static propertyDescriptors = {
-        // Update & expose
-
-        name: {
-            flags: {update: true, expose: true},
-            update: {validate: isName}
-        },
-
-        directory: {
-            flags: {update: true, expose: true},
-            update: {validate: isDirectory},
-            expose: Thing.directoryExpose
-        },
-
-        color: {
-            flags: {update: true, expose: true},
-            update: {validate: isColor}
-        },
-
-        isContentWarning: {
-            flags: {update: true, expose: true},
-            update: {validate: isBoolean, default: false}
-        },
-    };
-}