services thingy

This commit is contained in:
counterweight 2025-03-06 01:09:45 +01:00
parent 1dca924b83
commit cdc344c528
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
2 changed files with 20 additions and 11 deletions

View file

@ -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;