feat: change range offer to use date range

add date range type
change availability filter
This commit is contained in:
Wieland Schöbl
2021-05-03 16:57:38 +02:00
committed by Jovan Krunić
parent 56b03aa0b9
commit 9c6972af78
9 changed files with 103 additions and 27 deletions

View File

@@ -43,8 +43,10 @@
"offers": [
{
"availability": "in stock",
"availabilityStarts": "2017-01-30T00:00:00.000Z",
"availabilityEnds": "2017-01-30T23:59:59.999Z",
"availabilityRange": {
"gte": "2017-01-30T00:00:00.000Z",
"lte": "2017-01-30T23:59:59.999Z"
},
"prices": {
"default": 6.5,
"student": 5,