fix(ad pause): fix code after merge of update ad
This commit is contained in:
parent
d937a84182
commit
b52644ee3b
|
@ -81,6 +81,7 @@ export class AdFactory {
|
|||
seatsProposed: ad.seatsProposed,
|
||||
seatsRequested: ad.seatsRequested,
|
||||
strict: ad.strict,
|
||||
pause: ad.pause,
|
||||
waypoints: ad.waypoints,
|
||||
points: points!,
|
||||
driverDistance,
|
||||
|
|
|
@ -15,6 +15,7 @@ export interface UserAd {
|
|||
seatsProposed: number;
|
||||
seatsRequested: number;
|
||||
strict: boolean;
|
||||
pause: boolean;
|
||||
waypoints: PointProps[];
|
||||
}
|
||||
|
||||
|
@ -29,12 +30,12 @@ export interface AdProps {
|
|||
seatsProposed: number;
|
||||
seatsRequested: number;
|
||||
strict: boolean;
|
||||
pause: boolean;
|
||||
driverDuration?: number;
|
||||
driverDistance?: number;
|
||||
passengerDuration?: number;
|
||||
passengerDistance?: number;
|
||||
waypoints: PointProps[];
|
||||
pause: boolean;
|
||||
points: PointProps[];
|
||||
fwdAzimuth: number;
|
||||
backAzimuth: number;
|
||||
|
@ -52,8 +53,8 @@ export interface CreateAdProps {
|
|||
seatsProposed: number;
|
||||
seatsRequested: number;
|
||||
strict: boolean;
|
||||
waypoints: PointProps[];
|
||||
pause: boolean;
|
||||
waypoints: PointProps[];
|
||||
driverDuration?: number;
|
||||
driverDistance?: number;
|
||||
passengerDuration?: number;
|
||||
|
|
|
@ -54,6 +54,7 @@ function createAdPropsDefaults(): CreateAdProps {
|
|||
seatsProposed: 1,
|
||||
seatsRequested: 1,
|
||||
strict: false,
|
||||
pause: false,
|
||||
waypoints: [],
|
||||
points: [],
|
||||
driverDuration: 0,
|
||||
|
|
Loading…
Reference in New Issue