mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2026-01-01 08:22:41 +00:00
fix(ad pause): fix code after merge of update ad
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user