blob: 7a14a9a681dee7caf8f6420395b810f90f726beb [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 Scandolo035c5932016-12-14 09:55:15 -08009
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080010export const xosDataSources = 'xosDataSources';
Matteo Scandolo035c5932016-12-14 09:55:15 -080011
12angular
Matteo Scandolo1c5905f2017-01-04 17:41:15 -080013 .module('xosDataSources', ['ngCookies', 'ngResource', xosCore])
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080014 .service('ModelRest', ModelRest)
Matteo Scandolo035c5932016-12-14 09:55:15 -080015 .service('AuthService', AuthService)
16 .service('WebSocket', WebSocketEvent);
17
18angular
19 .module('xosDataSources')
20 .service('StoreHelpers', StoreHelpers)
Matteo Scandolo63e43eb2016-12-14 14:18:53 -080021 .service('SynchronizerStore', SynchronizerStore)
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080022 .service('ModelStore', ModelStore)
23 .service('ModelDefs', ModeldefsService);