Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

Commit

Permalink
Motorcycle support
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenedith committed Feb 25, 2015
1 parent 0372e8d commit f1bc48f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 2 deletions.
46 changes: 44 additions & 2 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"values": [
"van"
]
},
{
"name": "MOTORCYCLE",
"values": [
"motorcycle"
]
}
],
"kinds": [
Expand Down Expand Up @@ -47,9 +53,45 @@
]
},
{
"name": "COMBI",
"name": "ESTATE",
"values": [
"estate"
]
},
{
"name": "HEARSE",
"values": [
"hearse"
]
},
{
"name": "STANDARD",
"values": [
"standard"
]
},
{
"name": "SPORT",
"values": [
"sport"
]
},
{
"name": "CRUISER",
"values": [
"cruiser"
]
},
{
"name": "TOURING",
"values": [
"touring"
]
},
{
"name": "SPORT_TOURING",
"values": [
"combi"
"sport_touring"
]
},
{
Expand Down
9 changes: 9 additions & 0 deletions lib/enum/variantEnum.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports.VariantEnum = function VariantEnum(type, kind) {
module.exports.VariantEnum.Type = {
CAR: 'CAR',
VAN: 'VAN',
MOTORCYCLE: 'MOTORCYCLE',
UNKNOWN: 'UNKNOWN',
getType: function (type, variants) {
var value = null;
Expand All @@ -37,13 +38,21 @@ module.exports.VariantEnum.Type = {
};

module.exports.VariantEnum.Kind = {
//cars
HATCHBACK: 'HATCHBACK',
LIMOUSINE: 'LIMOUSINE',
COUPE: 'COUPE',
CONVERTIBLE: 'CONVERTIBLE',
SEDAN: 'SEDAN',
ESTATE: 'ESTATE',
HEARSE: 'HEARSE',
//motorcycles
STANDARD: 'STANDARD',
SPORT: 'SPORT',
CRUISER: 'CRUISER',
TOURING: 'TOURING',
SPORT_TOURING: 'SPORT_TOURING',

UNKNOWN: 'UNKNOWN',
getKind: function (type, kinds) {
var value = null;
Expand Down

0 comments on commit f1bc48f

Please sign in to comment.