« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util/magic-constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/magic-constants.js')
-rw-r--r--src/util/magic-constants.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util/magic-constants.js b/src/util/magic-constants.js
new file mode 100644
index 0000000..3174dae
--- /dev/null
+++ b/src/util/magic-constants.js
@@ -0,0 +1,11 @@
+// Magic constants only! These are hard-coded, and any use of them should be
+// considered a flaw in the codebase - areas where we use hard-coded behavior
+// to support one use of the wiki software (i.e. HSMusic, usually), rather than
+// implementing the feature more generally/customizably.
+//
+// All such uses should eventually be replaced with better code in due time
+// (TM).
+
+export const UNRELEASED_TRACKS_DIRECTORY = 'unreleased-tracks';
+export const OFFICIAL_GROUP_DIRECTORY = 'official';
+export const FANDOM_GROUP_DIRECTORY = 'fandom';