diff options
Diffstat (limited to 'src/card_db.js')
| -rw-r--r-- | src/card_db.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/card_db.js b/src/card_db.js new file mode 100644 index 0000000..b9b991f --- /dev/null +++ b/src/card_db.js @@ -0,0 +1,25 @@ +let cardDb = {}; +let altId = {}; + +function setCardDb(d) { + cardDb = d; +} + +function getCardDb() { + return cardDb; +} + +function getAltId() { + return altId; +} + +function setAltId(x) { + altId = x; +} + +export { + getCardDb, + setCardDb, + getAltId, + setAltId, +}; |
