diff --git a/package-lock.json b/package-lock.json index d9fde63..eef5e64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mobicoop/matcher", - "version": "1.3.1", + "version": "1.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mobicoop/matcher", - "version": "1.3.1", + "version": "1.4.0", "license": "AGPL", "dependencies": { "@grpc/grpc-js": "^1.9.9", diff --git a/package.json b/package.json index 09b8254..fa9d5e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mobicoop/matcher", - "version": "1.3.1", + "version": "1.4.0", "description": "Mobicoop V3 Matcher", "author": "sbriat", "private": true, diff --git a/src/modules/ad/interface/grpc-controllers/matcher.proto b/src/modules/ad/interface/grpc-controllers/matcher.proto index 2144731..45ab407 100644 --- a/src/modules/ad/interface/grpc-controllers/matcher.proto +++ b/src/modules/ad/interface/grpc-controllers/matcher.proto @@ -57,18 +57,17 @@ enum AlgorithmType { } message Match { - string id = 1; - string adId = 2; - string role = 3; - int32 distance = 4; - int32 duration = 5; - int32 initialDistance = 6; - int32 initialDuration = 7; - int32 distanceDetour = 8; - int32 durationDetour = 9; - double distanceDetourPercentage = 10; - double durationDetourPercentage = 11; - repeated Journey journeys = 12; + string adId = 1; + string role = 2; + int32 distance = 3; + int32 duration = 4; + int32 initialDistance = 5; + int32 initialDuration = 6; + int32 distanceDetour = 7; + int32 durationDetour = 8; + double distanceDetourPercentage = 9; + double durationDetourPercentage = 10; + repeated Journey journeys = 11; } message Journey {