indentation on route filter

This commit is contained in:
Carlos Jimenez Ruiz 2021-05-11 12:53:08 +02:00
parent ac917b6115
commit d4eedc69e1
1 changed files with 29 additions and 20 deletions

View File

@ -10,58 +10,67 @@ module.exports = Self => {
accepts: [
{
arg: 'filter',
type: 'Object',
type: 'object',
description: 'Filter defining where, order, offset, and limit - must be a JSON-encoded string',
http: {source: 'query'}
}, {
},
{
arg: 'search',
type: 'String',
type: 'string',
description: 'Searchs the route by id',
http: {source: 'query'}
}, {
},
{
arg: 'workerFk',
type: 'Integer',
type: 'integer',
description: 'The worker id',
http: {source: 'query'}
}, {
},
{
arg: 'agencyModeFk',
type: 'Integer',
type: 'integer',
description: 'The agencyMode id',
http: {source: 'query'}
}, {
},
{
arg: 'to',
type: 'Date',
type: 'date',
description: 'The to date filter',
http: {source: 'query'}
}, {
},
{
arg: 'from',
type: 'Date',
type: 'date',
description: 'The to date filter',
http: {source: 'query'}
}, {
},
{
arg: 'vehicleFk',
type: 'Integer',
type: 'integer',
description: 'The vehicle id',
http: {source: 'query'}
}, {
},
{
arg: 'm3',
type: 'Number',
type: 'number',
description: 'The m3 filter',
http: {source: 'query'}
}, {
},
{
arg: 'warehouseFk',
type: 'Number',
type: 'number',
description: 'The warehouse filter',
http: {source: 'query'}
}, {
},
{
arg: 'description',
type: 'String',
type: 'string',
description: 'The description filter',
http: {source: 'query'}
}
],
returns: {
type: ['Object'],
type: ['object'],
root: true
},
http: {