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 ...@@ -6,3 +6,4 @@ dist/*.js
dist/*.css dist/*.css
dist/img/*.svg dist/img/*.svg
data/data.js 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": { "access": {
"keys": [ "keys": [
"access", "access",
...@@ -53,29 +76,6 @@ ...@@ -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": { "address": {
"type": "address", "type": "address",
"keys": [ "keys": [
...@@ -246,16 +246,16 @@ ...@@ -246,16 +246,16 @@
"type": "text", "type": "text",
"label": "Brand" "label": "Brand"
}, },
"building": { "building_area": {
"key": "building", "key": "building",
"type": "combo", "type": "combo",
"default": "yes",
"geometry": "area",
"label": "Building" "label": "Building"
}, },
"building_area": { "building": {
"key": "building", "key": "building",
"type": "combo", "type": "combo",
"default": "yes",
"geometry": "area",
"label": "Building" "label": "Building"
}, },
"capacity": { "capacity": {
...@@ -510,16 +510,16 @@ ...@@ -510,16 +510,16 @@
"label": "Fix Me", "label": "Fix Me",
"universal": true "universal": true
}, },
"fuel": {
"key": "fuel",
"type": "combo",
"label": "Fuel"
},
"fuel_multi": { "fuel_multi": {
"key": "fuel:", "key": "fuel:",
"type": "multiCombo", "type": "multiCombo",
"label": "Fuel Types" "label": "Fuel Types"
}, },
"fuel": {
"key": "fuel",
"type": "combo",
"label": "Fuel"
},
"gauge": { "gauge": {
"key": "gauge", "key": "gauge",
"type": "combo", "type": "combo",
...@@ -600,11 +600,6 @@ ...@@ -600,11 +600,6 @@
"type": "text", "type": "text",
"label": "ICAO" "label": "ICAO"
}, },
"incline": {
"key": "incline",
"type": "combo",
"label": "Incline"
},
"incline_steps": { "incline_steps": {
"key": "incline", "key": "incline",
"type": "combo", "type": "combo",
...@@ -616,6 +611,11 @@ ...@@ -616,6 +611,11 @@
} }
} }
}, },
"incline": {
"key": "incline",
"type": "combo",
"label": "Incline"
},
"information": { "information": {
"key": "information", "key": "information",
"type": "typeCombo", "type": "typeCombo",
...@@ -666,7 +666,7 @@ ...@@ -666,7 +666,7 @@
"type": "combo", "type": "combo",
"label": "Layer" "label": "Layer"
}, },
"leaf_cycle": { "leaf_cycle_singular": {
"key": "leaf_cycle", "key": "leaf_cycle",
"type": "combo", "type": "combo",
"label": "Leaf Cycle", "label": "Leaf Cycle",
...@@ -675,12 +675,11 @@ ...@@ -675,12 +675,11 @@
"evergreen": "Evergreen", "evergreen": "Evergreen",
"deciduous": "Deciduous", "deciduous": "Deciduous",
"semi_evergreen": "Semi-Evergreen", "semi_evergreen": "Semi-Evergreen",
"semi_deciduous": "Semi-Deciduous", "semi_deciduous": "Semi-Deciduous"
"mixed": "Mixed"
} }
} }
}, },
"leaf_cycle_singular": { "leaf_cycle": {
"key": "leaf_cycle", "key": "leaf_cycle",
"type": "combo", "type": "combo",
"label": "Leaf Cycle", "label": "Leaf Cycle",
...@@ -689,11 +688,12 @@ ...@@ -689,11 +688,12 @@
"evergreen": "Evergreen", "evergreen": "Evergreen",
"deciduous": "Deciduous", "deciduous": "Deciduous",
"semi_evergreen": "Semi-Evergreen", "semi_evergreen": "Semi-Evergreen",
"semi_deciduous": "Semi-Deciduous" "semi_deciduous": "Semi-Deciduous",
"mixed": "Mixed"
} }
} }
}, },
"leaf_type": { "leaf_type_singular": {
"key": "leaf_type", "key": "leaf_type",
"type": "combo", "type": "combo",
"label": "Leaf Type", "label": "Leaf Type",
...@@ -701,12 +701,11 @@ ...@@ -701,12 +701,11 @@
"options": { "options": {
"broadleaved": "Broadleaved", "broadleaved": "Broadleaved",
"needleleaved": "Needleleaved", "needleleaved": "Needleleaved",
"mixed": "Mixed",
"leafless": "Leafless" "leafless": "Leafless"
} }
} }
}, },
"leaf_type_singular": { "leaf_type": {
"key": "leaf_type", "key": "leaf_type",
"type": "combo", "type": "combo",
"label": "Leaf Type", "label": "Leaf Type",
...@@ -714,6 +713,7 @@ ...@@ -714,6 +713,7 @@
"options": { "options": {
"broadleaved": "Broadleaved", "broadleaved": "Broadleaved",
"needleleaved": "Needleleaved", "needleleaved": "Needleleaved",
"mixed": "Mixed",
"leafless": "Leafless" "leafless": "Leafless"
} }
} }
...@@ -856,25 +856,25 @@ ...@@ -856,25 +856,25 @@
"type": "typeCombo", "type": "typeCombo",
"label": "Type" "label": "Type"
}, },
"oneway": { "oneway_yes": {
"key": "oneway", "key": "oneway",
"type": "check", "type": "check",
"label": "One Way", "label": "One Way",
"strings": { "strings": {
"options": { "options": {
"undefined": "Assumed to be No", "undefined": "Assumed to be Yes",
"yes": "Yes", "yes": "Yes",
"no": "No" "no": "No"
} }
} }
}, },
"oneway_yes": { "oneway": {
"key": "oneway", "key": "oneway",
"type": "check", "type": "check",
"label": "One Way", "label": "One Way",
"strings": { "strings": {
"options": { "options": {
"undefined": "Assumed to be Yes", "undefined": "Assumed to be No",
"yes": "Yes", "yes": "Yes",
"no": "No" "no": "No"
} }
...@@ -1001,16 +1001,16 @@ ...@@ -1001,16 +1001,16 @@
"type": "text", "type": "text",
"label": "Population" "label": "Population"
}, },
"power": {
"key": "power",
"type": "typeCombo",
"label": "Type"
},
"power_supply": { "power_supply": {
"key": "power_supply", "key": "power_supply",
"type": "check", "type": "check",
"label": "Power Supply" "label": "Power Supply"
}, },
"power": {
"key": "power",
"type": "typeCombo",
"label": "Type"
},
"railway": { "railway": {
"key": "railway", "key": "railway",
"type": "typeCombo", "type": "typeCombo",
...@@ -1055,13 +1055,13 @@ ...@@ -1055,13 +1055,13 @@
"type": "number", "type": "number",
"label": "Rooms" "label": "Rooms"
}, },
"route": { "route_master": {
"key": "route", "key": "route_master",
"type": "combo", "type": "combo",
"label": "Type" "label": "Type"
}, },
"route_master": { "route": {
"key": "route_master", "key": "route",
"type": "combo", "type": "combo",
"label": "Type" "label": "Type"
}, },
...@@ -1091,6 +1091,19 @@ ...@@ -1091,6 +1091,19 @@
"type": "check", "type": "check",
"label": "Seasonal" "label": "Seasonal"
}, },
"service_rail": {
"key": "service",
"type": "combo",
"label": "Service Type",
"strings": {
"options": {
"spur": "Spur",
"yard": "Yard",
"siding": "Siding",
"crossover": "Crossover"
}
}
},
"service": { "service": {
"key": "service", "key": "service",
"type": "combo", "type": "combo",
...@@ -1127,29 +1140,16 @@ ...@@ -1127,29 +1140,16 @@
} }
} }
}, },
"service_rail": { "shelter_type": {
"key": "service", "key": "shelter_type",
"type": "combo", "type": "combo",
"label": "Service Type", "label": "Type"
"strings": {
"options": {
"spur": "Spur",
"yard": "Yard",
"siding": "Siding",
"crossover": "Crossover"
}
}
}, },
"shelter": { "shelter": {
"key": "shelter", "key": "shelter",
"type": "check", "type": "check",
"label": "Shelter" "label": "Shelter"
}, },
"shelter_type": {
"key": "shelter_type",
"type": "combo",
"label": "Type"
},
"shop": { "shop": {
"key": "shop", "key": "shop",
"type": "typeCombo", "type": "typeCombo",
...@@ -1223,11 +1223,6 @@ ...@@ -1223,11 +1223,6 @@
"universal": true, "universal": true,
"label": "Source" "label": "Source"
}, },
"sport": {
"key": "sport",
"type": "combo",
"label": "Sport"
},
"sport_ice": { "sport_ice": {
"key": "sport", "key": "sport",
"type": "combo", "type": "combo",
...@@ -1254,6 +1249,11 @@ ...@@ -1254,6 +1249,11 @@
"running" "running"
] ]
}, },
"sport": {
"key": "sport",
"type": "combo",
"label": "Sport"
},
"stars": { "stars": {
"key": "stars", "key": "stars",
"type": "number", "type": "number",
...@@ -1404,16 +1404,16 @@ ...@@ -1404,16 +1404,16 @@
"type": "combo", "type": "combo",
"label": "Type of Goods" "label": "Type of Goods"
}, },
"water": {
"key": "water",
"type": "combo",
"label": "Type"
},
"water_point": { "water_point": {
"key": "water_point", "key": "water_point",
"type": "check", "type": "check",
"label": "Water Point" "label": "Water Point"
}, },
"water": {
"key": "water",
"type": "combo",
"label": "Type"
},
"waterway": { "waterway": {
"key": "waterway", "key": "waterway",
"type": "typeCombo", "type": "typeCombo",
......
This diff is collapsed.
...@@ -278,15 +278,15 @@ ...@@ -278,15 +278,15 @@
}, },
{ {
"key": "amenity", "key": "amenity",
"value": "parking" "value": "parking_entrance"
}, },
{ {
"key": "amenity", "key": "amenity",
"value": "parking_entrance" "value": "parking_space"
}, },
{ {
"key": "amenity", "key": "amenity",
"value": "parking_space" "value": "parking"
}, },
{ {
"key": "amenity", "key": "amenity",
...@@ -992,15 +992,15 @@ ...@@ -992,15 +992,15 @@
}, },
{ {
"key": "highway", "key": "highway",
"value": "motorway" "value": "motorway_junction"
}, },
{ {
"key": "highway", "key": "highway",
"value": "motorway_junction" "value": "motorway_link"
}, },
{ {
"key": "highway", "key": "highway",
"value": "motorway_link" "value": "motorway"
}, },
{ {
"key": "highway", "key": "highway",
...@@ -1012,11 +1012,11 @@ ...@@ -1012,11 +1012,11 @@
}, },
{ {
"key": "highway", "key": "highway",
"value": "primary" "value": "primary_link"
}, },
{ {
"key": "highway", "key": "highway",
"value": "primary_link" "value": "primary"
}, },
{ {
"key": "highway", "key": "highway",
...@@ -1036,11 +1036,11 @@ ...@@ -1036,11 +1036,11 @@
}, },
{ {
"key": "highway", "key": "highway",
"value": "secondary" "value": "secondary_link"
}, },
{ {
"key": "highway", "key": "highway",
"value": "secondary_link" "value": "secondary"
}, },
{ {
"key": "highway", "key": "highway",
...@@ -1084,11 +1084,11 @@ ...@@ -1084,11 +1084,11 @@
}, },
{ {
"key": "highway", "key": "highway",
"value": "tertiary" "value": "tertiary_link"
}, },
{ {
"key": "highway", "key": "highway",
"value": "tertiary_link" "value": "tertiary"
}, },
{ {
"key": "highway", "key": "highway",
...@@ -1100,11 +1100,11 @@ ...@@ -1100,11 +1100,11 @@
}, },
{ {
"key": "highway", "key": "highway",
"value": "trunk" "value": "trunk_link"
}, },
{ {
"key": "highway", "key": "highway",
"value": "trunk_link" "value": "trunk"
}, },
{ {
"key": "highway", "key": "highway",
...@@ -1575,11 +1575,11 @@ ...@@ -1575,11 +1575,11 @@
}, },
{ {
"key": "natural", "key": "natural",
"value": "tree" "value": "tree_row"
}, },
{ {
"key": "natural", "key": "natural",
"value": "tree_row" "value": "tree"
}, },
{ {
"key": "natural", "key": "natural",
...@@ -1826,11 +1826,11 @@ ...@@ -1826,11 +1826,11 @@
}, },
{ {
"key": "railway", "key": "railway",
"value": "subway" "value": "subway_entrance"
}, },
{ {
"key": "railway", "key": "railway",
"value": "subway_entrance" "value": "subway"
}, },
{ {
"key": "railway", "key": "railway",
...@@ -1917,15 +1917,15 @@ ...@@ -1917,15 +1917,15 @@
}, },
{ {
"key": "shop", "key": "shop",
"value": "car" "value": "car_parts"
}, },
{ {
"key": "shop", "key": "shop",
"value": "car_parts" "value": "car_repair"
}, },
{ {
"key": "shop", "key": "shop",
"value": "car_repair" "value": "car"
}, },
{ {
"key": "shop", "key": "shop",
...@@ -2269,11 +2269,11 @@ ...@@ -2269,11 +2269,11 @@
}, },
{ {
"key": "shop", "key": "shop",
"value": "video" "value": "video_games"
}, },
{ {
"key": "shop", "key": "shop",
"value": "video_games" "value": "video"
}, },
{ {
"key": "shop", "key": "shop",
...@@ -2422,6 +2422,10 @@ ...@@ -2422,6 +2422,10 @@
"key": "restriction", "key": "restriction",
"value": "only_straight_on" "value": "only_straight_on"
}, },
{
"key": "type",
"value": "route_master"
},
{