refactor: move location from the dish to its offers

This commit is contained in:
Michel Jonathan Schmitz
2019-02-22 10:02:11 +01:00
parent ac08d226e9
commit d2eeaeffd8
9 changed files with 102 additions and 51 deletions

View File

@@ -27,6 +27,16 @@
"employee": 2.85
},
"provider": {
"name": "Studentenwerk",
"origin": {
"indexed": "2018-09-11T12:30:00Z",
"name": "Dummy",
"type": "remote"
},
"type": "organization",
"uid": "3b9b3df6-3a7a-58cc-922f-c7335c002634"
},
"inPlace": {
"geo": {
"point": {
"type": "Point",

View File

@@ -14,10 +14,20 @@
"student": 2.45,
"employee": 2.45
},
"provider": {
"name": "Studentenwerk",
"origin": {
"indexed": "2018-09-11T12:30:00Z",
"name": "Dummy",
"type": "remote"
},
"type": "organization",
"uid": "3b9b3df6-3a7a-58cc-922f-c7335c002634"
},
"availability": "in stock",
"availabilityStarts": "2017-01-30T00:00:00.000Z",
"availabilityEnds": "2017-01-30T23:59:59.999Z",
"provider": {
"inPlace": {
"geo": {
"point": {
"type": "Point",

View File

@@ -14,12 +14,7 @@
"availabilityEnds": "2017-03-27T23:59:59.000Z",
"availabilityStarts": "2017-03-27T00:00:00.000Z",
"availability": "in stock",
"prices": {
"student": 4.9,
"employee": 6.5
},
"price": 6.5,
"provider": {
"inPlace": {
"type": "room",
"name": "Cafeteria LEVEL",
"categories": [
@@ -44,6 +39,21 @@
"name": "Dummy",
"type": "remote"
}
},
"prices": {
"student": 4.9,
"employee": 6.5
},
"price": 6.5,
"provider": {
"name": "Studentenwerk",
"origin": {
"indexed": "2018-09-11T12:30:00Z",
"name": "Dummy",
"type": "remote"
},
"type": "organization",
"uid": "3b9b3df6-3a7a-58cc-922f-c7335c002634"
}
}
],