chore: import DH V2 D5.6.4 production baseline
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { IsEnum, IsOptional, IsString, IsUUID, Matches } from 'class-validator';
|
||||
import {
|
||||
AssetGeometryType,
|
||||
AssetInformationStatus,
|
||||
} from '../../database/entities';
|
||||
|
||||
export class MapAssetsQueryDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@Matches(/^-?\d+(?:\.\d+)?,-?\d+(?:\.\d+)?,-?\d+(?:\.\d+)?,-?\d+(?:\.\d+)?$/)
|
||||
bbox?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsUUID('4')
|
||||
typeId?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsEnum(AssetInformationStatus)
|
||||
status?: AssetInformationStatus;
|
||||
|
||||
@IsOptional()
|
||||
@IsEnum(AssetGeometryType)
|
||||
geometryType?: AssetGeometryType;
|
||||
}
|
||||
Reference in New Issue
Block a user