mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
14 lines
471 B
JavaScript
14 lines
471 B
JavaScript
'use strict';
|
|
|
|
const eventDbCreator = require('./event');
|
|
const clientInstancesDbCreator = require('./client-instances');
|
|
const clientMetricsDbCreator = require('./client-metrics');
|
|
const clientStrategiesDbCreator = require('./client-strategies');
|
|
|
|
module.exports = (db) => ({
|
|
eventDb: eventDbCreator(db),
|
|
clientInstancesDb: clientInstancesDbCreator(db),
|
|
clientMetricsDb: clientMetricsDbCreator(db),
|
|
clientStrategiesDb: clientStrategiesDbCreator(db),
|
|
});
|