WIP Generic data handling and caching

Add basic support for reimbursements via new, generic data handling
functions.
This commit is contained in:
2020-06-27 16:35:04 +02:00
parent 4a9dd5ff09
commit 95743330e4
8 changed files with 1409 additions and 519 deletions
+6 -1
View File
@@ -13,7 +13,8 @@ export default class BrowserCacheService extends Service {
super(...arguments);
this.stores = {
contributors: createStore('contributors'),
contributions: createStore('contributions')
contributions: createStore('contributions'),
reimbursements: createStore('reimbursements')
}
}
@@ -24,4 +25,8 @@ export default class BrowserCacheService extends Service {
get contributions() {
return this.stores.contributions;
}
get reimbursements() {
return this.stores.reimbursements;
}
}