blob: 04c58dbe946ac0a6069bac3d5dd77424a8a01472 [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 Scandolof2c3ed62016-12-15 14:32:50 -08004import {ModelStore} 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 Scandolof2c3ed62016-12-15 14:32:50 -08007import {ModeldefsService} 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 Scandolo035c5932016-12-14 09:55:15 -080010
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080011export const xosDataSources = 'xosDataSources';
Matteo Scandolo035c5932016-12-14 09:55:15 -080012
13angular
Matteo Scandolo1c5905f2017-01-04 17:41:15 -080014 .module('xosDataSources', ['ngCookies', 'ngResource', xosCore])
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080015 .service('ModelRest', ModelRest)
Matteo Scandolo035c5932016-12-14 09:55:15 -080016 .service('AuthService', AuthService)
Matteo Scandolo86bc26a2017-01-18 11:06:47 -080017 .service('WebSocket', WebSocketEvent)
Matteo Scandolo035c5932016-12-14 09:55:15 -080018 .service('StoreHelpers', StoreHelpers)
Matteo Scandolo63e43eb2016-12-14 14:18:53 -080019 .service('SynchronizerStore', SynchronizerStore)
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080020 .service('ModelStore', ModelStore)
Matteo Scandolo86bc26a2017-01-18 11:06:47 -080021 .service('ModelDefs', ModeldefsService)
22 .service('SearchService', SearchService);