@vergelijkdirect/comparison-forms 2.0.0-rc.20 → 2.0.0-rc.22

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.
@@ -345,7 +345,7 @@ export declare const CaravanForm: typeof __VLS_export_3;
345
345
 
346
346
  export declare interface CaravanFormData {
347
347
  TypeOfCaravan: string | null;
348
- NewOrOccasion: YesNo;
348
+ NewOrOccasion: YesNoValue;
349
349
  BuildYear: string | null;
350
350
  }
351
351
 
@@ -491,7 +491,7 @@ declare interface ComparisonUserFields {
491
491
  houseNumberAddition?: string;
492
492
  email?: string;
493
493
  kidsAmount?: number;
494
- familyComposition?: FamilyComposition;
494
+ familyComposition?: FamilyCompositionValue;
495
495
  firstName?: string;
496
496
  phoneNumber?: string;
497
497
  city?: string;
@@ -506,13 +506,15 @@ declare enum FamilyComposition {
506
506
  }
507
507
 
508
508
  declare interface FamilyCompositionFormData {
509
- familyComposition: FamilyComposition;
509
+ familyComposition: FamilyCompositionValue;
510
510
  }
511
511
 
512
+ declare type FamilyCompositionValue = `${FamilyComposition}`;
513
+
512
514
  export declare const HouseForm: typeof __VLS_export_6;
513
515
 
514
516
  export declare interface HouseFormData extends AddressBearingFormData, FamilyCompositionFormData {
515
- ownedBuilding: YesNo;
517
+ ownedBuilding: YesNoValue;
516
518
  }
517
519
 
518
520
  export declare function housePresenter(data: HouseFormData): ComparisonPayload;
@@ -520,7 +522,7 @@ export declare function housePresenter(data: HouseFormData): ComparisonPayload;
520
522
  export declare const LegalForm: typeof __VLS_export_7;
521
523
 
522
524
  export declare interface LegalFormData extends AddressBearingFormData, BirthdateFormData, FamilyCompositionFormData {
523
- ownedBuilding: YesNo;
525
+ ownedBuilding: YesNoValue;
524
526
  familySize: string;
525
527
  }
526
528
 
@@ -598,6 +600,8 @@ declare enum PaymentTerm {
598
600
  ShortTerm = "S"
599
601
  }
600
602
 
603
+ declare type PaymentTermValue = `${PaymentTerm}`;
604
+
601
605
  export declare const PetForm: typeof __VLS_export_2;
602
606
 
603
607
  export declare interface PetFormData {
@@ -649,7 +653,7 @@ export declare interface RiskScannerFormProps extends Omit<QuestionnaireSharedPr
649
653
  export declare const TravelForm: typeof __VLS_export_4;
650
654
 
651
655
  export declare interface TravelFormData extends BirthdateFormData {
652
- PaymentTerm: PaymentTerm;
656
+ PaymentTerm: PaymentTermValue;
653
657
  }
654
658
 
655
659
  export declare function travelPresenter(data: TravelFormData): ComparisonPayload;
@@ -677,4 +681,6 @@ declare enum YesNo {
677
681
  No = "N"
678
682
  }
679
683
 
684
+ declare type YesNoValue = `${YesNo}`;
685
+
680
686
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vergelijkdirect/comparison-forms",
3
- "version": "2.0.0-rc.20",
3
+ "version": "2.0.0-rc.22",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --config vite.preview.config.ts --host",