Skip to content

Releases: monkvision/monkjs

v4.2.5

21 Oct 21:32
Compare
Choose a tag to compare

👀 Other Changes

  • Added damageIds to parts entities when createdOneDamage or deletedOneDamage

v4.2.4

21 Oct 09:13
Compare
Choose a tag to compare

✨ New Featureys

Added API create / delete damage routes
State management for create / delete damage

v4.2.2

18 Oct 10:02
Compare
Choose a tag to compare

✨ New Features

  • Added the serie field to the Vehicle interface

v4.2.1

18 Oct 09:24
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Removed invalid properties from the vehicle field in the CreateInspectionOptions interface

v4.2.0

18 Oct 09:04
Compare
Choose a tag to compare

✨ 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
    The vehicleType field is now moved to vehicle.type :
// OLD
interface CreateInspectionOptions {
  ...
  vehicleType?: VehicleType;
  ...
};

// NEW
interface CreateInspectionOptions {
  ...
  vehicle?: Omit<Vehicle, 'id' | 'entityType' | 'inspectionId'>;
  ...
};

v4.1.0

16 Oct 17:05
Compare
Choose a tag to compare

✨ 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 of PricingV2 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:
    The PricingV2[] entity has been added to the state under pricings, representing the full pricing details.
export interface MonkState {
  ...
  pricings: PricingV2[];
  
}
  • Renaming:
    PricingV2Details has been renamed to PricingV2. Please update all references in your code.≈

v4.0.24

09 Oct 14:52
Compare
Choose a tag to compare

✨ New Features

  • Added Penny Test and Card Keys overlays in @monkvision/sights

v4.0.22

09 Oct 13:24
Compare
Choose a tag to compare

✨ New Features

  • Added Penny Test and Card Keys overlays in @monkvision/sights

v4.0.21

27 Sep 07:03
Compare
Choose a tag to compare

✨ New Features

  • Added getAvailableVehicleTypes util function in @monkvision/common package

v4.0.20

27 Sep 06:30
Compare
Choose a tag to compare

✨ 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