Closed martinheidegger closed 8 years ago
hmmm could you give an example ?
The current chapter.json contains region
for reference link Part of my proposal is to move the place of the regions to one central logic
. The chapter 'spec' already doesn't include the region anymore. But that the output of list
should contain the region (compiled by the central logic):
{
"osaka": {
"region": "Asia", // <--- here
"location": {
"name": "Osaka",
"country": "JP",
"lat": 34.6937378,
"lng": 135.5021651
},
"twitter": "nodeschoolosa",
"name": "Osaka",
"events": {}
},
}
PR #31 exists, closing this issue
Right now the list method only returns a array of chapters but since the
chapter-designation.js
file exists it would be good if the area was automatically added to each item in the list.A PR that fills the json resulting from
list
with an area lookup would be mighty welcome.