mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2026-01-01 08:32:41 +00:00
add excludedAdId to proto and dto
This commit is contained in:
@@ -81,6 +81,10 @@ export class MatchRequestDto {
|
|||||||
@ValidateNested({ each: true })
|
@ValidateNested({ each: true })
|
||||||
waypoints: WaypointDto[];
|
waypoints: WaypointDto[];
|
||||||
|
|
||||||
|
@IsUUID()
|
||||||
|
@IsOptional()
|
||||||
|
excludedAdId?: string;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsEnum(AlgorithmType)
|
@IsEnum(AlgorithmType)
|
||||||
algorithmType?: AlgorithmType;
|
algorithmType?: AlgorithmType;
|
||||||
|
|||||||
@@ -16,16 +16,17 @@ message MatchRequest {
|
|||||||
repeated ScheduleItem schedule = 7;
|
repeated ScheduleItem schedule = 7;
|
||||||
bool strict = 8;
|
bool strict = 8;
|
||||||
repeated Waypoint waypoints = 9;
|
repeated Waypoint waypoints = 9;
|
||||||
AlgorithmType algorithmType = 10;
|
string excludedAdId = 10;
|
||||||
int32 remoteness = 11;
|
AlgorithmType algorithmType = 11;
|
||||||
bool useProportion = 12;
|
int32 remoteness = 12;
|
||||||
float proportion = 13;
|
bool useProportion = 13;
|
||||||
bool useAzimuth = 14;
|
float proportion = 14;
|
||||||
int32 azimuthMargin = 15;
|
bool useAzimuth = 15;
|
||||||
float maxDetourDistanceRatio = 16;
|
int32 azimuthMargin = 16;
|
||||||
float maxDetourDurationRatio = 17;
|
float maxDetourDistanceRatio = 17;
|
||||||
optional int32 page = 18;
|
float maxDetourDurationRatio = 18;
|
||||||
optional int32 perPage = 19;
|
optional int32 page = 19;
|
||||||
|
optional int32 perPage = 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ScheduleItem {
|
message ScheduleItem {
|
||||||
|
|||||||
Reference in New Issue
Block a user