forked from Yara724/api
Fixed type fixes and errors
This commit is contained in:
@@ -38,8 +38,8 @@ export class Person {
|
||||
@Prop({ type: Boolean })
|
||||
userNoCertificate?: boolean;
|
||||
|
||||
@Prop({ type: Number })
|
||||
insurerBirthday?: number;
|
||||
@Prop({ type: String })
|
||||
insurerBirthday?: string;
|
||||
|
||||
@Prop({ type: String })
|
||||
driverBirthday?: string | null;
|
||||
@@ -90,7 +90,7 @@ export class Vehicle {
|
||||
@Prop() name?: string;
|
||||
@Prop() model?: string;
|
||||
@Prop() type?: string;
|
||||
@Prop() isNew?: boolean;
|
||||
@Prop({ type: Boolean }) isNewCar?: boolean;
|
||||
@Prop({ enum: ["CURRENT", "RECENTLY_TRANSFERRED"] })
|
||||
registrationState?: "CURRENT" | "RECENTLY_TRANSFERRED";
|
||||
@Prop() previousPlateId?: string;
|
||||
|
||||
Reference in New Issue
Block a user