add excludedAdId to proto and dto
This commit is contained in:
parent
c51c368d83
commit
0c29e522ed
|
@ -81,6 +81,10 @@ export class MatchRequestDto {
|
|||
@ValidateNested({ each: true })
|
||||
waypoints: WaypointDto[];
|
||||
|
||||
@IsUUID()
|
||||
@IsOptional()
|
||||
excludedAdId?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsEnum(AlgorithmType)
|
||||
algorithmType?: AlgorithmType;
|
||||
|
|
|
@ -16,16 +16,17 @@ message MatchRequest {
|
|||
repeated ScheduleItem schedule = 7;
|
||||
bool strict = 8;
|
||||
repeated Waypoint waypoints = 9;
|
||||
AlgorithmType algorithmType = 10;
|
||||
int32 remoteness = 11;
|
||||
bool useProportion = 12;
|
||||
float proportion = 13;
|
||||
bool useAzimuth = 14;
|
||||
int32 azimuthMargin = 15;
|
||||
float maxDetourDistanceRatio = 16;
|
||||
float maxDetourDurationRatio = 17;
|
||||
optional int32 page = 18;
|
||||
optional int32 perPage = 19;
|
||||
string excludedAdId = 10;
|
||||
AlgorithmType algorithmType = 11;
|
||||
int32 remoteness = 12;
|
||||
bool useProportion = 13;
|
||||
float proportion = 14;
|
||||
bool useAzimuth = 15;
|
||||
int32 azimuthMargin = 16;
|
||||
float maxDetourDistanceRatio = 17;
|
||||
float maxDetourDurationRatio = 18;
|
||||
optional int32 page = 19;
|
||||
optional int32 perPage = 20;
|
||||
}
|
||||
|
||||
message ScheduleItem {
|
||||
|
|
Loading…
Reference in New Issue