blob: 9d3471b91f27cfebbb3edf5f94880453f6e981c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import contractors from './contractors';
import waybills from './waybills';
import transfers from './transfers';
import products from './products';
import account from './account';
import { registerServiceHooks } from '../hooks/useAPIClient';
import { ServiceParams } from '../containers/Service/ServiceContext';
const services = [
contractors,
products,
waybills,
transfers,
account,
];
services.forEach(service => registerServiceHooks(service.route));
export default services;
|