DB Models for Image, Album, based on Data
This commit is contained in:
1 parent
b829885b00
commit
b69c19239e
5 files changed
+106
-16
No files matched your search
@@ -0,0 +1,13 @@
|
||||
const store = new Map()
|
||||
|
||||
class Data {
|
||||
static setStore(Class, collection) {
|
||||
store.set(Class, collection)
|
||||
}
|
||||
|
||||
static getStore(Class) {
|
||||
return store.get(Class)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Data
|
||||
Reference in new issue
Block a user