Skip to content

Commit

Permalink
feat: add hand drive (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jun 8, 2024
1 parent 633cc6c commit 6960328
Show file tree
Hide file tree
Showing 15 changed files with 4,409 additions and 3,166 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@
"simple-git-hooks": "latest",
"standard": "latest",
"standard-markdown": "latest",
"standard-version": "latest"
"standard-version": "latest",
"superlock": "latest"
},
"engines": {
"node": ">= 12"
"node": ">= 18"
},
"files": [
"src"
Expand All @@ -87,6 +88,7 @@
},
"license": "MIT",
"ava": {
"timeout": "2m",
"files": [
"test/**/*.js",
"!test/util.js"
Expand Down
12 changes: 11 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ const PAINT_CODES = [
'PR01'
]

const HAND_DRIVE = [
'DRLH', // Left Hand Drive
'DRRH' // Right Hand Drive
]

const M3_GENERIC_CODES = [
'MT3', // chasis
'W3', // wheels
Expand Down Expand Up @@ -106,8 +111,13 @@ module.exports = {
VIEW_ANGLES_V2,
M3_INTERIOR_CODES,
M3_NON_REFRESH,
M3_OPTIONS_CODES: M3_GENERIC_CODES.concat(PAINT_CODES, M3_INTERIOR_CODES),
M3_OPTIONS_CODES: M3_GENERIC_CODES.concat(
HAND_DRIVE,
PAINT_CODES,
M3_INTERIOR_CODES
),
MY_OPTIONS_CODES: MY_GENERIC_OPTIONS_CODES.concat(
HAND_DRIVE,
PAINT_CODES,
MY_INTERIOR_CODES
),
Expand Down
Loading

0 comments on commit 6960328

Please sign in to comment.