add excludedAdId to proto and dto

This commit is contained in:
Sylvain Briat 2024-04-03 13:01:12 +02:00
parent c51c368d83
commit 0c29e522ed
2 changed files with 15 additions and 10 deletions

View File

@ -81,6 +81,10 @@ export class MatchRequestDto {
@ValidateNested({ each: true })
waypoints: WaypointDto[];
@IsUUID()
@IsOptional()
excludedAdId?: string;
@IsOptional()
@IsEnum(AlgorithmType)
algorithmType?: AlgorithmType;

View File

@ -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 {