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

@@ -11,9 +11,11 @@
],
"offers": [
{
"availabilityEnds": "2017-03-27T23:59:59.000Z",
"availabilityStarts": "2017-03-27T00:00:00.000Z",
"availability": "in stock",
"availabilityRange": {
"gte": "2017-03-27T00:00:00.000Z",
"lte": "2017-03-27T23:59:59.000Z"
},
"inPlace": {
"type": "room",
"name": "Cafeteria LEVEL",