2021-01-18 12:32:19 +01:00
|
|
|
const FeatureToggleService = require('./feature-toggle-service');
|
2020-09-28 21:54:44 +02:00
|
|
|
const ProjectService = require('./project-service');
|
|
|
|
const StateService = require('./state-service');
|
2020-12-17 19:22:30 +01:00
|
|
|
const ClientMetricsService = require('./client-metrics');
|
2021-01-18 12:32:19 +01:00
|
|
|
const TagTypeService = require('./tag-type-service');
|
|
|
|
const TagService = require('./tag-service');
|
|
|
|
const StrategyService = require('./strategy-service');
|
2020-09-28 21:54:44 +02:00
|
|
|
|
|
|
|
module.exports.createServices = (stores, config) => ({
|
2021-01-18 12:32:19 +01:00
|
|
|
featureToggleService: new FeatureToggleService(stores, config),
|
2020-09-28 21:54:44 +02:00
|
|
|
projectService: new ProjectService(stores, config),
|
|
|
|
stateService: new StateService(stores, config),
|
2021-01-18 12:32:19 +01:00
|
|
|
strategyService: new StrategyService(stores, config),
|
|
|
|
tagTypeService: new TagTypeService(stores, config),
|
|
|
|
tagService: new TagService(stores, config),
|
2020-12-17 19:22:30 +01:00
|
|
|
clientMetricsService: new ClientMetricsService(stores, config),
|
2020-09-28 21:54:44 +02:00
|
|
|
});
|