blob: 80d348ac5d5b5f8d20a1feaf84df015b5959c3b2 [file] [log] [blame]
Matteo Scandolof2c3ed62016-12-15 14:32:50 -08001import {ModelRest} from './rest/model.rest';
Matteo Scandolo035c5932016-12-14 09:55:15 -08002import {AuthService} from './rest/auth.rest';
3import {WebSocketEvent} from './websocket/global';
Matteo Scandolo1aee1982017-02-17 08:33:23 -08004import {XosModelStore} from './stores/model.store';
Matteo Scandolo035c5932016-12-14 09:55:15 -08005import {StoreHelpers} from './helpers/store.helpers';
Matteo Scandolo63e43eb2016-12-14 14:18:53 -08006import {SynchronizerStore} from './stores/synchronizer.store';
Matteo Scandolo1aee1982017-02-17 08:33:23 -08007import {XosModeldefsService} from './rest/modeldefs.rest';
Matteo Scandolo1c5905f2017-01-04 17:41:15 -08008import {xosCore} from '../core/index';
Matteo Scandolo86bc26a2017-01-18 11:06:47 -08009import {SearchService} from './helpers/search.service';
Matteo Scandolo1aee1982017-02-17 08:33:23 -080010import {XosModelDiscovererService} from './helpers/model-discoverer.service';
Matteo Scandolo035c5932016-12-14 09:55:15 -080011
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080012export const xosDataSources = 'xosDataSources';
Matteo Scandolo035c5932016-12-14 09:55:15 -080013
14angular
Matteo Scandolo1aee1982017-02-17 08:33:23 -080015 .module(xosDataSources, ['ngCookies', 'ngResource', xosCore])
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080016 .service('ModelRest', ModelRest)
Matteo Scandolo035c5932016-12-14 09:55:15 -080017 .service('AuthService', AuthService)
Matteo Scandolo86bc26a2017-01-18 11:06:47 -080018 .service('WebSocket', WebSocketEvent)
Matteo Scandolo035c5932016-12-14 09:55:15 -080019 .service('StoreHelpers', StoreHelpers)
Matteo Scandolo63e43eb2016-12-14 14:18:53 -080020 .service('SynchronizerStore', SynchronizerStore)
Matteo Scandolo1aee1982017-02-17 08:33:23 -080021 .service('XosModelStore', XosModelStore)
22 .service('XosModelDefs', XosModeldefsService)
Matteo Scandolo86bc26a2017-01-18 11:06:47 -080023 .service('SearchService', SearchService);
Matteo Scandolo1aee1982017-02-17 08:33:23 -080024
25angular
26 .module(xosDataSources)
27 .service('XosModelDiscoverer', XosModelDiscovererService);