Commit 48673e04 authored by Kushan Joshi's avatar Kushan Joshi Committed by GitHub

Merge pull request #3229 from kepta/sort-modules

Sort modules [eslint rule]
parents efc0be03 3ec8c501
......@@ -6,3 +6,4 @@ dist/*.js
dist/*.css
dist/img/*.svg
data/data.js
js/lib/id/*.js
{
"access_simple": {
"key": "access",
"type": "combo",
"label": "Allowed Access",
"placeholder": "yes",
"options": [
"permissive",
"private",
"customers",
"no"
]
},
"access_toilets": {
"key": "access",
"type": "combo",
"label": "Access",
"options": [
"yes",
"permissive",
"private",
"customers"
]
},
"access": {
"keys": [
"access",
......@@ -53,29 +76,6 @@
}
}
},
"access_simple": {
"key": "access",
"type": "combo",
"label": "Allowed Access",
"placeholder": "yes",
"options": [
"permissive",
"private",
"customers",
"no"
]
},
"access_toilets": {
"key": "access",
"type": "combo",
"label": "Access",
"options": [
"yes",
"permissive",
"private",
"customers"
]
},
"address": {
"type": "address",
"keys": [
......@@ -246,16 +246,16 @@
"type": "text",
"label": "Brand"
},
"building": {
"building_area": {
"key": "building",
"type": "combo",
"default": "yes",
"geometry": "area",
"label": "Building"
},
"building_area": {
"building": {
"key": "building",
"type": "combo",
"default": "yes",
"geometry": "area",
"label": "Building"
},
"capacity": {
......@@ -510,16 +510,16 @@
"label": "Fix Me",
"universal": true
},
"fuel": {
"key": "fuel",
"type": "combo",
"label": "Fuel"
},
"fuel_multi": {
"key": "fuel:",
"type": "multiCombo",
"label": "Fuel Types"
},
"fuel": {
"key": "fuel",
"type": "combo",
"label": "Fuel"
},
"gauge": {
"key": "gauge",
"type": "combo",
......@@ -600,11 +600,6 @@
"type": "text",
"label": "ICAO"
},
"incline": {
"key": "incline",
"type": "combo",
"label": "Incline"
},
"incline_steps": {
"key": "incline",
"type": "combo",
......@@ -616,6 +611,11 @@
}
}
},
"incline": {
"key": "incline",
"type": "combo",
"label": "Incline"
},
"information": {
"key": "information",
"type": "typeCombo",
......@@ -666,7 +666,7 @@
"type": "combo",
"label": "Layer"
},
"leaf_cycle": {
"leaf_cycle_singular": {
"key": "leaf_cycle",
"type": "combo",
"label": "Leaf Cycle",
......@@ -675,12 +675,11 @@
"evergreen": "Evergreen",
"deciduous": "Deciduous",
"semi_evergreen": "Semi-Evergreen",
"semi_deciduous": "Semi-Deciduous",
"mixed": "Mixed"
"semi_deciduous": "Semi-Deciduous"
}
}
},
"leaf_cycle_singular": {
"leaf_cycle": {
"key": "leaf_cycle",
"type": "combo",
"label": "Leaf Cycle",
......@@ -689,11 +688,12 @@
"evergreen": "Evergreen",
"deciduous": "Deciduous",
"semi_evergreen": "Semi-Evergreen",
"semi_deciduous": "Semi-Deciduous"
"semi_deciduous": "Semi-Deciduous",
"mixed": "Mixed"
}
}
},
"leaf_type": {
"leaf_type_singular": {
"key": "leaf_type",
"type": "combo",
"label": "Leaf Type",
......@@ -701,12 +701,11 @@
"options": {
"broadleaved": "Broadleaved",
"needleleaved": "Needleleaved",
"mixed": "Mixed",
"leafless": "Leafless"
}
}
},
"leaf_type_singular": {
"leaf_type": {
"key": "leaf_type",
"type": "combo",
"label": "Leaf Type",
......@@ -714,6 +713,7 @@
"options": {
"broadleaved": "Broadleaved",
"needleleaved": "Needleleaved",
"mixed": "Mixed",
"leafless": "Leafless"
}
}
......@@ -856,25 +856,25 @@
"type": "typeCombo",
"label": "Type"
},
"oneway": {
"oneway_yes": {
"key": "oneway",
"type": "check",
"label": "One Way",
"strings": {
"options": {
"undefined": "Assumed to be No",
"undefined": "Assumed to be Yes",
"yes": "Yes",
"no": "No"
}
}
},
"oneway_yes": {
"oneway": {
"key": "oneway",
"type": "check",
"label": "One Way",
"strings": {
"options": {
"undefined": "Assumed to be Yes",
"undefined": "Assumed to be No",
"yes": "Yes",
"no": "No"
}
......@@ -1001,16 +1001,16 @@
"type": "text",
"label": "Population"
},
"power": {
"key": "power",
"type": "typeCombo",
"label": "Type"
},
"power_supply": {
"key": "power_supply",
"type": "check",
"label": "Power Supply"
},
"power": {
"key": "power",
"type": "typeCombo",
"label": "Type"
},
"railway": {
"key": "railway",
"type": "typeCombo",
......@@ -1055,13 +1055,13 @@
"type": "number",
"label": "Rooms"
},
"route": {
"key": "route",
"route_master": {
"key": "route_master",
"type": "combo",
"label": "Type"
},
"route_master": {
"key": "route_master",
"route": {
"key": "route",
"type": "combo",
"label": "Type"
},
......@@ -1091,6 +1091,19 @@
"type": "check",
"label": "Seasonal"
},
"service_rail": {
"key": "service",
"type": "combo",
"label": "Service Type",
"strings": {
"options": {
"spur": "Spur",
"yard": "Yard",
"siding": "Siding",
"crossover": "Crossover"
}
}
},
"service": {
"key": "service",
"type": "combo",
......@@ -1127,29 +1140,16 @@
}
}
},
"service_rail": {
"key": "service",
"shelter_type": {
"key": "shelter_type",
"type": "combo",
"label": "Service Type",
"strings": {
"options": {
"spur": "Spur",
"yard": "Yard",
"siding": "Siding",
"crossover": "Crossover"
}
}
"label": "Type"
},
"shelter": {
"key": "shelter",
"type": "check",
"label": "Shelter"
},
"shelter_type": {
"key": "shelter_type",
"type": "combo",
"label": "Type"
},
"shop": {
"key": "shop",
"type": "typeCombo",
......@@ -1223,11 +1223,6 @@
"universal": true,
"label": "Source"
},
"sport": {
"key": "sport",
"type": "combo",
"label": "Sport"
},
"sport_ice": {
"key": "sport",
"type": "combo",
......@@ -1254,6 +1249,11 @@
"running"
]
},
"sport": {
"key": "sport",
"type": "combo",
"label": "Sport"
},
"stars": {
"key": "stars",
"type": "number",
......@@ -1404,16 +1404,16 @@
"type": "combo",
"label": "Type of Goods"
},
"water": {
"key": "water",
"type": "combo",
"label": "Type"
},
"water_point": {
"key": "water_point",
"type": "check",
"label": "Water Point"
},
"water": {
"key": "water",
"type": "combo",
"label": "Type"
},
"waterway": {
"key": "waterway",
"type": "typeCombo",
......
......@@ -1218,31 +1218,6 @@
],
"name": "Nightclub"
},
"amenity/parking": {
"icon": "parking",
"fields": [
"operator",
"parking",
"capacity",
"fee",
"access_simple",
"supervised",
"park_ride",
"surface",
"maxstay",
"address"
],
"geometry": [
"point",
"vertex",
"area"
],
"tags": {
"amenity": "parking"
},
"terms": [],
"name": "Car Parking"
},
"amenity/parking_entrance": {
"icon": "entrance",
"fields": [
......@@ -1272,6 +1247,31 @@
},
"name": "Parking Space"
},
"amenity/parking": {
"icon": "parking",
"fields": [
"operator",
"parking",
"capacity",
"fee",
"access_simple",
"supervised",
"park_ride",
"surface",
"maxstay",
"address"
],
"geometry": [
"point",
"vertex",
"area"
],
"tags": {
"amenity": "parking"
},
"terms": [],
"name": "Car Parking"
},
"amenity/pharmacy": {
"icon": "pharmacy",
"fields": [
......@@ -4426,26 +4426,6 @@
],
"name": "Mini-Roundabout"
},
"highway/motorway": {
"icon": "highway-motorway",
"fields": [
"oneway_yes",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref"
],
"geometry": [
"line"
],
"tags": {
"highway": "motorway"
},
"terms": [],
"name": "Motorway"
},
"highway/motorway_junction": {
"geometry": [
"vertex"
......@@ -4489,6 +4469,26 @@
],
"name": "Motorway Link"
},
"highway/motorway": {
"icon": "highway-motorway",
"fields": [
"oneway_yes",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref"
],
"geometry": [
"line"
],
"tags": {
"highway": "motorway"
},
"terms": [],
"name": "Motorway"
},
"highway/path": {
"icon": "highway-path",
"fields": [
......@@ -4539,14 +4539,13 @@
"terms": [],
"name": "Pedestrian Street"
},
"highway/primary": {
"icon": "highway-primary",
"highway/primary_link": {
"icon": "highway-primary-link",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref",
"cycleway"
......@@ -4555,18 +4554,23 @@
"line"
],
"tags": {
"highway": "primary"
"highway": "primary_link"
},
"terms": [],
"name": "Primary Road"
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Primary Link"
},
"highway/primary_link": {
"icon": "highway-primary-link",
"highway/primary": {
"icon": "highway-primary",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref",
"cycleway"
......@@ -4575,14 +4579,10 @@
"line"
],
"tags": {
"highway": "primary_link"
"highway": "primary"
},
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Primary Link"
"terms": [],
"name": "Primary Road"
},
"highway/raceway": {
"icon": "highway-unclassified",
......@@ -4660,14 +4660,13 @@
"terms": [],
"name": "Unknown Road"
},
"highway/secondary": {
"icon": "highway-secondary",
"highway/secondary_link": {
"icon": "highway-secondary-link",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref",
"cycleway"
......@@ -4676,18 +4675,23 @@
"line"
],
"tags": {
"highway": "secondary"
"highway": "secondary_link"
},
"terms": [],
"name": "Secondary Road"
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Secondary Link"
},
"highway/secondary_link": {
"icon": "highway-secondary-link",
"highway/secondary": {
"icon": "highway-secondary",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref",
"cycleway"
......@@ -4696,14 +4700,10 @@
"line"
],
"tags": {
"highway": "secondary_link"
"highway": "secondary"
},
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Secondary Link"
"terms": [],
"name": "Secondary Road"
},
"highway/service": {
"icon": "highway-service",
......@@ -4881,14 +4881,13 @@
],
"name": "Street Lamp"
},
"highway/tertiary": {
"icon": "highway-tertiary",
"highway/tertiary_link": {
"icon": "highway-tertiary-link",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref",
"cycleway"
......@@ -4897,18 +4896,23 @@
"line"
],
"tags": {
"highway": "tertiary"
"highway": "tertiary_link"
},
"terms": [],
"name": "Tertiary Road"
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Tertiary Link"
},
"highway/tertiary_link": {
"icon": "highway-tertiary-link",
"highway/tertiary": {
"icon": "highway-tertiary",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref",
"cycleway"
......@@ -4917,14 +4921,10 @@
"line"
],
"tags": {
"highway": "tertiary_link"
"highway": "tertiary"
},
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Tertiary Link"
"terms": [],
"name": "Tertiary Road"
},
"highway/track": {
"icon": "highway-track",
......@@ -4987,14 +4987,13 @@
],
"name": "Traffic Signals"
},
"highway/trunk": {
"icon": "highway-trunk",
"highway/trunk_link": {
"icon": "highway-trunk-link",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref"
],
......@@ -5002,18 +5001,23 @@
"line"
],
"tags": {
"highway": "trunk"
"highway": "trunk_link"
},
"terms": [],
"name": "Trunk Road"
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Trunk Link"
},
"highway/trunk_link": {
"icon": "highway-trunk-link",
"highway/trunk": {
"icon": "highway-trunk",
"fields": [
"oneway",
"maxspeed",
"structure",
"access",
"lanes",
"surface",
"ref"
],
......@@ -5021,14 +5025,10 @@
"line"
],
"tags": {
"highway": "trunk_link"
"highway": "trunk"
},
"terms": [
"ramp",
"on ramp",
"off ramp"
],
"name": "Trunk Link"
"terms": [],
"name": "Trunk Road"
},
"highway/turning_circle": {
"icon": "circle",
......@@ -6736,38 +6736,38 @@
},
"name": "Spring"