fix: hotfix mix
gitea/salix/pipeline/pr-master This commit looks good
Details
gitea/salix/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
26b0ea647d
commit
acccb4abc3
|
@ -83,6 +83,14 @@ module.exports = Self => {
|
||||||
arg: 'daysOnward',
|
arg: 'daysOnward',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
description: 'The days onward'
|
description: 'The days onward'
|
||||||
|
}, {
|
||||||
|
arg: 'shipped',
|
||||||
|
type: 'date',
|
||||||
|
description: 'The shipped date'
|
||||||
|
}, {
|
||||||
|
arg: 'landed',
|
||||||
|
type: 'date',
|
||||||
|
description: 'The landed date'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
returns: {
|
returns: {
|
||||||
|
@ -108,6 +116,10 @@ module.exports = Self => {
|
||||||
: {'t.ref': {like: `%${value}%`}};
|
: {'t.ref': {like: `%${value}%`}};
|
||||||
case 'ref':
|
case 'ref':
|
||||||
return {'t.ref': {like: `%${value}%`}};
|
return {'t.ref': {like: `%${value}%`}};
|
||||||
|
case 'shipped':
|
||||||
|
return {'t.shipped': value};
|
||||||
|
case 'landed':
|
||||||
|
return {'t.landed': value};
|
||||||
case 'shippedFrom':
|
case 'shippedFrom':
|
||||||
return {'t.shipped': {gte: value}};
|
return {'t.shipped': {gte: value}};
|
||||||
case 'shippedTo':
|
case 'shippedTo':
|
||||||
|
|
Loading…
Reference in New Issue