services thingy
This commit is contained in:
parent
1dca924b83
commit
cdc344c528
2 changed files with 20 additions and 11 deletions
|
|
@ -1,3 +1,18 @@
|
|||
class ServicesProvider {
|
||||
constructor() {}
|
||||
|
||||
provide() {
|
||||
return {
|
||||
invitesService,
|
||||
nostrService,
|
||||
loginService,
|
||||
sessionService,
|
||||
profileService,
|
||||
offerService,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
const invitesService = require('../services/invitesService');
|
||||
const nostrService = require('../services/nostrService');
|
||||
const loginService = require('../services/loginService');
|
||||
|
|
@ -5,11 +20,4 @@ const sessionService = require('../services/sessionService');
|
|||
const profileService = require('../services/profileService');
|
||||
const offerService = require('../services/offerService');
|
||||
|
||||
module.exports = {
|
||||
invitesService,
|
||||
nostrService,
|
||||
loginService,
|
||||
sessionService,
|
||||
profileService,
|
||||
offerService,
|
||||
};
|
||||
module.exports = ServicesProvider;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue