summaryrefslogtreecommitdiff
path: root/src/services/index.ts
blob: 2b0b17b16e5036ee718067b8bfeb32dd61c51f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import contractors from './contractors';
import waybills from './waybills';
import transfers from './transfers';
import products from './products';
import { registerServiceHooks } from '../hooks/useAPIClient';

const services = [
  contractors,
  products,
  waybills,
  transfers,
];

services.forEach(service => registerServiceHooks(service.route));

export default services;