Releases: monkvision/monkjs
Releases · monkvision/monkjs
v4.2.5
v4.2.4
v4.2.2
✨ New Features
- Added the
serie
field to theVehicle
interface
v4.2.1
🐞 Bug Fixes
- Removed invalid properties from the
vehicle
field in theCreateInspectionOptions
interface
v4.2.0
✨ New Features
- Allow users to specify vehicle details and additional data when creating a new inspection using the
createInspection
request
❗ Breaking Changes
CreateInspectionOptions
interface update
ThevehicleType
field is now moved tovehicle.type
:
// OLD
interface CreateInspectionOptions {
...
vehicleType?: VehicleType;
...
};
// NEW
interface CreateInspectionOptions {
...
vehicle?: Omit<Vehicle, 'id' | 'entityType' | 'inspectionId'>;
...
};
v4.1.0
✨ New Features
- API Routes:
Added new routes to handle pricing actions: Create, update, and delete a pricing for an inspection.
Update additional data for an inspection. - State Management:
Introduced new entities in the state to handle pricing (pricings: PricingV2[]).
PricingV2Details has been renamed to PricingV2 to align with the new structure.
❗ Breaking Changes
- Inspection Interface Update:
The pricingV2 field has been removed from the Inspection interface.
It has been replaced by an array ofPricingV2
ids (string[]
), which contains the IDs of the associated pricing.
// OLD
interface Inspection extends MonkEntity {
...
// PricingV2: { details: Record<string, PricingV2Details>, totalPrice?: number }
pricings?: PricingV2;
...
};
// NEW
interface Inspection extends MonkEntity {
...
// Array of pricing ids
pricings?: string[];
...
};
- New pricings Entity in State:
ThePricingV2[]
entity has been added to the state underpricings
, representing the full pricing details.
export interface MonkState {
...
pricings: PricingV2[];
}
- Renaming:
PricingV2Details
has been renamed toPricingV2
. Please update all references in your code.≈
v4.0.24
v4.0.22
v4.0.21
✨ New Features
- Added
getAvailableVehicleTypes
util function in@monkvision/common
package
v4.0.20
✨ New Features
- Added a default guideline message used during the
PhotoCaptureTutorial
when it is enabled - Created HGV (
hgv
) vehicle type (vehicle model :man12
)
🐞 Bug Fixes
- Fixed a bug causing the
PhotoCaptureTutorial
arrow assets to be displayed at the wrong position