@vergelijkdirect/comparison-forms 2.0.0-rc.24 → 2.0.0-rc.26

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.
@@ -303,11 +303,10 @@ declare interface AddressData {
303
303
 
304
304
  declare interface BaseVehicleData {
305
305
  LicensePlate: string;
306
- Brand: string | null;
306
+ Brand: string;
307
307
  Model: string;
308
308
  VehicleType: string;
309
- ManufacturingYear: string | number;
310
- [key: string]: unknown;
309
+ ManufacturingYear: number;
311
310
  }
312
311
 
313
312
  export declare const BikeForm: typeof __VLS_export;
@@ -352,10 +351,10 @@ export declare interface CaravanFormData {
352
351
  export declare function caravanPresenter(data: CaravanFormData): ComparisonPayload;
353
352
 
354
353
  declare interface CarData extends BaseVehicleData {
355
- BrandLogo: string;
356
354
  Type: string;
357
- CatalogValue: string | number | null;
358
- DayValue: string | number | null;
355
+ BrandLogo: string;
356
+ DayValue: number;
357
+ CatalogValue: number;
359
358
  TheftProtectionClass: string;
360
359
  CarAlarmRequirement: string;
361
360
  }
@@ -546,14 +545,13 @@ export declare function loanPresenter(data: LoanFormData): ComparisonPayload;
546
545
 
547
546
  declare interface MopedData extends BaseVehicleData {
548
547
  Type: string;
548
+ CatalogValue: string;
549
549
  TypeOfMoped: string;
550
- CatalogValue: string | null;
551
550
  CylinderCapacity: string;
552
- EnginePower: string | number | null;
551
+ Weight: string;
552
+ MaximumPower: string | number;
553
+ EnginePower: string | number;
553
554
  Fuel: string;
554
- MaximumPower: string;
555
- SignCode?: string;
556
- Weight: number | string | null;
557
555
  }
558
556
 
559
557
  export declare const MopedForm: typeof __VLS_export_10;
@@ -564,20 +562,18 @@ export declare interface MopedFormData extends VehicleFormData<MopedData>, Addre
564
562
  export declare function mopedPresenter(data: MopedFormData): ComparisonPayload;
565
563
 
566
564
  declare interface MotorData extends BaseVehicleData {
567
- BrandLogo: string;
568
565
  Type: string;
569
- Source?: string;
570
- CatalogValue: string | null;
571
- DayValue: string | null;
566
+ BrandLogo: string;
567
+ DayValue: string;
568
+ CatalogValue: string;
569
+ EnginePower: number;
572
570
  CylinderCapacity: string;
573
- EnginePower: number | null;
571
+ Weight: number;
572
+ WeightEmpty: string;
574
573
  Fuel: string;
574
+ Source: string;
575
+ Wheels: number;
575
576
  VehicleCategory: string;
576
- Weight: number | null;
577
- WeightEmpty: string;
578
- Wheels?: number;
579
- NumberOfKilowatts?: string;
580
- MotorType?: string;
581
577
  }
582
578
 
583
579
  export declare const MotorForm: typeof __VLS_export_11;
@@ -673,7 +669,7 @@ declare interface UseComparisonSubmitOptions {
673
669
 
674
670
  declare interface VehicleFormData<TVehicle> {
675
671
  licensePlate: string;
676
- vehicle: TVehicle | null;
672
+ vehicle: TVehicle;
677
673
  }
678
674
 
679
675
  declare enum YesNo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vergelijkdirect/comparison-forms",
3
- "version": "2.0.0-rc.24",
3
+ "version": "2.0.0-rc.26",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --config vite.preview.config.ts --host",