Alexandre Bodin 0f3f984ea7 Init migration v4
- Hooks registry
- D&P CT migrations
- i18N CT migrations
- Umzug with js / sql migrations
- Eslint updates
2021-09-13 12:03:12 +02:00

45 lines
739 B
JavaScript

module.exports = {
routes: [
{
method: 'GET',
path: '/d-p-cts',
handler: 'd-p-ct.find',
config: {
policies: [],
},
},
{
method: 'GET',
path: '/d-p-cts/:id',
handler: 'd-p-ct.findOne',
config: {
policies: [],
},
},
{
method: 'POST',
path: '/d-p-cts',
handler: 'd-p-ct.create',
config: {
policies: [],
},
},
{
method: 'PUT',
path: '/d-p-cts/:id',
handler: 'd-p-ct.update',
config: {
policies: [],
},
},
{
method: 'DELETE',
path: '/d-p-cts/:id',
handler: 'd-p-ct.delete',
config: {
policies: [],
},
},
],
};