Matteo Scandolo | f2c3ed6 | 2016-12-15 14:32:50 -0800 | [diff] [blame] | 1 | import {ModelRest} from './rest/model.rest'; |
Matteo Scandolo | 035c593 | 2016-12-14 09:55:15 -0800 | [diff] [blame] | 2 | import {AuthService} from './rest/auth.rest'; |
| 3 | import {WebSocketEvent} from './websocket/global'; |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 4 | import {XosModelStore} from './stores/model.store'; |
Matteo Scandolo | 035c593 | 2016-12-14 09:55:15 -0800 | [diff] [blame] | 5 | import {StoreHelpers} from './helpers/store.helpers'; |
Matteo Scandolo | 63e43eb | 2016-12-14 14:18:53 -0800 | [diff] [blame] | 6 | import {SynchronizerStore} from './stores/synchronizer.store'; |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 7 | import {XosModeldefsService} from './rest/modeldefs.rest'; |
Matteo Scandolo | 1c5905f | 2017-01-04 17:41:15 -0800 | [diff] [blame] | 8 | import {xosCore} from '../core/index'; |
Matteo Scandolo | 86bc26a | 2017-01-18 11:06:47 -0800 | [diff] [blame] | 9 | import {SearchService} from './helpers/search.service'; |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 10 | import {XosModelDiscovererService} from './helpers/model-discoverer.service'; |
Matteo Scandolo | 035c593 | 2016-12-14 09:55:15 -0800 | [diff] [blame] | 11 | |
Matteo Scandolo | f2c3ed6 | 2016-12-15 14:32:50 -0800 | [diff] [blame] | 12 | export const xosDataSources = 'xosDataSources'; |
Matteo Scandolo | 035c593 | 2016-12-14 09:55:15 -0800 | [diff] [blame] | 13 | |
| 14 | angular |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 15 | .module(xosDataSources, ['ngCookies', 'ngResource', xosCore]) |
Matteo Scandolo | f2c3ed6 | 2016-12-15 14:32:50 -0800 | [diff] [blame] | 16 | .service('ModelRest', ModelRest) |
Matteo Scandolo | 035c593 | 2016-12-14 09:55:15 -0800 | [diff] [blame] | 17 | .service('AuthService', AuthService) |
Matteo Scandolo | 86bc26a | 2017-01-18 11:06:47 -0800 | [diff] [blame] | 18 | .service('WebSocket', WebSocketEvent) |
Matteo Scandolo | 035c593 | 2016-12-14 09:55:15 -0800 | [diff] [blame] | 19 | .service('StoreHelpers', StoreHelpers) |
Matteo Scandolo | 63e43eb | 2016-12-14 14:18:53 -0800 | [diff] [blame] | 20 | .service('SynchronizerStore', SynchronizerStore) |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 21 | .service('XosModelStore', XosModelStore) |
| 22 | .service('XosModelDefs', XosModeldefsService) |
Matteo Scandolo | 86bc26a | 2017-01-18 11:06:47 -0800 | [diff] [blame] | 23 | .service('SearchService', SearchService); |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 24 | |
| 25 | angular |
| 26 | .module(xosDataSources) |
| 27 | .service('XosModelDiscoverer', XosModelDiscovererService); |