@monkvision/common 4.0.13 → 4.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/apps/appState.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export interface MonkAppState {
|
|
|
28
28
|
* which car 360 wireframes to use for the inspection report.
|
|
29
29
|
*/
|
|
30
30
|
vehicleType: VehicleType | null;
|
|
31
|
+
/**
|
|
32
|
+
* The list of available vehicle types in the app based on the sights in the app config.
|
|
33
|
+
*/
|
|
34
|
+
availableVehicleTypes: VehicleType[];
|
|
31
35
|
/**
|
|
32
36
|
* The position of the steering wheel.
|
|
33
37
|
*/
|
|
@@ -95,6 +95,7 @@ function MonkAppStateProvider(_a) {
|
|
|
95
95
|
authToken: authToken,
|
|
96
96
|
inspectionId: inspectionId,
|
|
97
97
|
vehicleType: vehicleType,
|
|
98
|
+
availableVehicleTypes: availableVehicleTypes,
|
|
98
99
|
steeringWheel: steeringWheel,
|
|
99
100
|
getCurrentSights: getCurrentSights,
|
|
100
101
|
setAuthToken: setAuthToken,
|
|
@@ -445,16 +445,34 @@ exports.vehiclePartLabels = (_a = {},
|
|
|
445
445
|
de: 'Kofferraum',
|
|
446
446
|
nl: 'Kofferbak',
|
|
447
447
|
},
|
|
448
|
+
_a[types_1.VehiclePart.BACKGROUND] = {
|
|
449
|
+
en: 'Background',
|
|
450
|
+
fr: 'Arrière-plan',
|
|
451
|
+
de: 'Hintergrund',
|
|
452
|
+
nl: 'Achtergrond',
|
|
453
|
+
},
|
|
454
|
+
_a[types_1.VehiclePart.CAR_INSIDE] = {
|
|
455
|
+
en: 'Car Inside',
|
|
456
|
+
fr: 'Intérieur',
|
|
457
|
+
de: 'Auto innen',
|
|
458
|
+
nl: 'Auto binnen',
|
|
459
|
+
},
|
|
460
|
+
_a[types_1.VehiclePart.DAMAGED_CAR_INSIDE] = {
|
|
461
|
+
en: 'Damaged Car Inside',
|
|
462
|
+
fr: 'Intérieur endommagé',
|
|
463
|
+
de: 'Beschädigtes Auto innen',
|
|
464
|
+
nl: 'Beschadigde auto binnen',
|
|
465
|
+
},
|
|
466
|
+
_a[types_1.VehiclePart.HANDLE_BACK_CENTER] = {
|
|
467
|
+
en: 'Handle Back Center',
|
|
468
|
+
fr: 'Poignée arrière centre',
|
|
469
|
+
de: 'Griff Rückseite Mitte',
|
|
470
|
+
nl: 'Handgreep Terug Midden',
|
|
471
|
+
},
|
|
448
472
|
_a[types_1.VehiclePart.IGNORE] = {
|
|
449
473
|
en: 'IGNORE',
|
|
450
474
|
fr: 'IGNORE',
|
|
451
475
|
de: 'IGNORE',
|
|
452
476
|
nl: 'IGNORE',
|
|
453
477
|
},
|
|
454
|
-
_a[types_1.VehiclePart.BACKGROUND] = {
|
|
455
|
-
en: 'BACKGROUND',
|
|
456
|
-
fr: 'BACKGROUND',
|
|
457
|
-
de: 'BACKGROUND',
|
|
458
|
-
nl: 'BACKGROUND',
|
|
459
|
-
},
|
|
460
478
|
_a);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monkvision/common",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.15",
|
|
4
4
|
"license": "BSD-3-Clause-Clear",
|
|
5
5
|
"packageManager": "yarn@3.2.4",
|
|
6
6
|
"description": "MonkJs common logic package",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"lint:fix": "yarn run prettier:fix && yarn run eslint:fix"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@monkvision/analytics": "4.0.
|
|
32
|
-
"@monkvision/monitoring": "4.0.
|
|
33
|
-
"@monkvision/sights": "4.0.
|
|
34
|
-
"@monkvision/types": "4.0.
|
|
31
|
+
"@monkvision/analytics": "4.0.15",
|
|
32
|
+
"@monkvision/monitoring": "4.0.15",
|
|
33
|
+
"@monkvision/sights": "4.0.15",
|
|
34
|
+
"@monkvision/types": "4.0.15",
|
|
35
35
|
"i18next": "^23.4.5",
|
|
36
36
|
"jsonwebtoken": "^9.0.2",
|
|
37
37
|
"jwt-decode": "^4.0.0",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"react-router-dom": "^6.22.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@monkvision/eslint-config-base": "4.0.
|
|
51
|
-
"@monkvision/eslint-config-typescript": "4.0.
|
|
52
|
-
"@monkvision/eslint-config-typescript-react": "4.0.
|
|
53
|
-
"@monkvision/jest-config": "4.0.
|
|
54
|
-
"@monkvision/prettier-config": "4.0.
|
|
55
|
-
"@monkvision/test-utils": "4.0.
|
|
56
|
-
"@monkvision/typescript-config": "4.0.
|
|
50
|
+
"@monkvision/eslint-config-base": "4.0.15",
|
|
51
|
+
"@monkvision/eslint-config-typescript": "4.0.15",
|
|
52
|
+
"@monkvision/eslint-config-typescript-react": "4.0.15",
|
|
53
|
+
"@monkvision/jest-config": "4.0.15",
|
|
54
|
+
"@monkvision/prettier-config": "4.0.15",
|
|
55
|
+
"@monkvision/test-utils": "4.0.15",
|
|
56
|
+
"@monkvision/typescript-config": "4.0.15",
|
|
57
57
|
"@testing-library/react": "^12.1.5",
|
|
58
58
|
"@testing-library/react-hooks": "^8.0.1",
|
|
59
59
|
"@types/jest": "^29.2.2",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"url": "https://github.com/monkvision/monkjs/issues"
|
|
97
97
|
},
|
|
98
98
|
"homepage": "https://github.com/monkvision/monkjs",
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "4ef0d6668a20018d374cc8c0588864670a973c2b"
|
|
100
100
|
}
|