summaryrefslogtreecommitdiff
path: root/src/services/waybills.service.ts
blob: 7aea1e303739aa16dd9fc915c8db78ab1b41ee1a (plain)
1
2
3
4
5
6
7
8
9
10
import { Application } from '@feathersjs/express';
import service from 'feathers-mongoose';
import Model from '../models/waybill/waybill.model';

const waybills = service({ Model });

export default (app: Application): void => {
  app.use('/waybills', waybills);
};