« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/patches.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/patches.js')
-rw-r--r--src/data/patches.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/data/patches.js b/src/data/patches.js
new file mode 100644
index 0000000..3b9c8c3
--- /dev/null
+++ b/src/data/patches.js
@@ -0,0 +1,25 @@
+export class PatchManager {
+    patches = [];
+}
+
+export class Patch {
+    static type = class {};
+
+    static inputDescriptors = {};
+    static outputDescriptors = {};
+}
+
+const patches = {};
+
+patches.common = {};
+
+Object.assign(patches.common, {
+});
+
+patches.hsmusic = {};
+
+Object.assign(patches.hsmusic, {
+    Album: class extends Patch {},
+    Artist: class extends Patch {},
+    Track: class extends Patch {},
+});