« get me outta code hell

make Album.coverArtDate more reliably available - 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:
author(quasar) nebula <qznebula@protonmail.com>2022-04-15 19:14:43 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-04-15 19:14:43 -0300
commit7809f00b00b584356f1f0430c83045eb0f38cefd (patch)
tree5f46243dfd49f428d20b0a0e717b442daadb4f99 /src/data/patches.js
parent403754d46dcb1d8cf72cf25b49e9b66a5e98140f (diff)
make Album.coverArtDate more reliably available
Fixes sorting issues.
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 {},
+});