blob: b6897ed368223fe5495e5c82566bb586fb084199 [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 Scandoloaa024ff2017-01-04 15:04:46 -08008import {ModelHelpers} from './helpers/model.helpers';
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 Scandoloaa024ff2017-01-04 15:04:46 -080013 .module('xosDataSources', ['ngCookies', 'ngResource'])
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 Scandoloaa024ff2017-01-04 15:04:46 -080021 .service('ModelHelpers', ModelHelpers)
Matteo Scandolo63e43eb2016-12-14 14:18:53 -080022 .service('SynchronizerStore', SynchronizerStore)
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080023 .service('ModelStore', ModelStore)
24 .service('ModelDefs', ModeldefsService);