From c09b1b9863ed1f4764fc0c6e78bf615787be8e18 Mon Sep 17 00:00:00 2001 From: Sylvain Briat Date: Mon, 6 Nov 2023 09:54:59 +0100 Subject: [PATCH 1/2] remove useless match id from matching data --- .../interface/grpc-controllers/matcher.proto | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) 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 { From a1ff6f9f450d642f59135db313706994712bde7e Mon Sep 17 00:00:00 2001 From: Sylvain Briat Date: Mon, 6 Nov 2023 09:55:14 +0100 Subject: [PATCH 2/2] 1.4.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,