Merge branch 'fixMatchRequestDto' into 'main'
Fix match request dto See merge request v3/service/matcher!22
This commit is contained in:
commit
73f660bf6d
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@mobicoop/matcher",
|
"name": "@mobicoop/matcher",
|
||||||
"version": "1.4.3",
|
"version": "1.4.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@mobicoop/matcher",
|
"name": "@mobicoop/matcher",
|
||||||
"version": "1.4.3",
|
"version": "1.4.4",
|
||||||
"license": "AGPL",
|
"license": "AGPL",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@grpc/grpc-js": "^1.9.9",
|
"@grpc/grpc-js": "^1.9.9",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@mobicoop/matcher",
|
"name": "@mobicoop/matcher",
|
||||||
"version": "1.4.3",
|
"version": "1.4.4",
|
||||||
"description": "Mobicoop V3 Matcher",
|
"description": "Mobicoop V3 Matcher",
|
||||||
"author": "sbriat",
|
"author": "sbriat",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
@ -2,10 +2,10 @@ import {
|
||||||
ArrayMinSize,
|
ArrayMinSize,
|
||||||
IsArray,
|
IsArray,
|
||||||
IsBoolean,
|
IsBoolean,
|
||||||
IsDecimal,
|
|
||||||
IsEnum,
|
IsEnum,
|
||||||
IsISO8601,
|
IsISO8601,
|
||||||
IsInt,
|
IsInt,
|
||||||
|
IsNumber,
|
||||||
IsOptional,
|
IsOptional,
|
||||||
IsUUID,
|
IsUUID,
|
||||||
Max,
|
Max,
|
||||||
|
@ -93,7 +93,7 @@ export class MatchRequestDto {
|
||||||
useProportion?: boolean;
|
useProportion?: boolean;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsDecimal()
|
@IsNumber()
|
||||||
@Min(0)
|
@Min(0)
|
||||||
@Max(1)
|
@Max(1)
|
||||||
proportion?: number;
|
proportion?: number;
|
||||||
|
@ -109,13 +109,13 @@ export class MatchRequestDto {
|
||||||
azimuthMargin?: number;
|
azimuthMargin?: number;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsDecimal()
|
@IsNumber()
|
||||||
@Min(0)
|
@Min(0)
|
||||||
@Max(1)
|
@Max(1)
|
||||||
maxDetourDistanceRatio?: number;
|
maxDetourDistanceRatio?: number;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsDecimal()
|
@IsNumber()
|
||||||
@Min(0)
|
@Min(0)
|
||||||
@Max(1)
|
@Max(1)
|
||||||
maxDetourDurationRatio?: number;
|
maxDetourDurationRatio?: number;
|
||||||
|
|
|
@ -19,7 +19,7 @@ message MatchRequest {
|
||||||
AlgorithmType algorithmType = 10;
|
AlgorithmType algorithmType = 10;
|
||||||
int32 remoteness = 11;
|
int32 remoteness = 11;
|
||||||
bool useProportion = 12;
|
bool useProportion = 12;
|
||||||
int32 proportion = 13;
|
float proportion = 13;
|
||||||
bool useAzimuth = 14;
|
bool useAzimuth = 14;
|
||||||
int32 azimuthMargin = 15;
|
int32 azimuthMargin = 15;
|
||||||
float maxDetourDistanceRatio = 16;
|
float maxDetourDistanceRatio = 16;
|
||||||
|
|
Loading…
Reference in New Issue