blob: 7f559f21172708e5748f4605ccb2120887334321 (
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,
] as ServiceParams[];
services.forEach((service: any) => registerServiceHooks(service.route));
export default services;
|