blob: c82f31776eab28390f2328b6e189c95dd70c127e [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 Scandolo035c5932016-12-14 09:55:15 -08008
Matteo Scandolof2c3ed62016-12-15 14:32:50 -08009export const xosDataSources = 'xosDataSources';
Matteo Scandolo035c5932016-12-14 09:55:15 -080010
11angular
Matteo Scandoloa4a47112016-12-16 10:06:13 -080012 .module('xosDataSources', ['ngCookies', 'ngResource'])
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080013 .service('ModelRest', ModelRest)
Matteo Scandolo035c5932016-12-14 09:55:15 -080014 .service('AuthService', AuthService)
15 .service('WebSocket', WebSocketEvent);
16
17angular
18 .module('xosDataSources')
19 .service('StoreHelpers', StoreHelpers)
Matteo Scandolo63e43eb2016-12-14 14:18:53 -080020 .service('SynchronizerStore', SynchronizerStore)
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080021 .service('ModelStore', ModelStore)
22 .service('ModelDefs', ModeldefsService);