diff --git a/src/game/game.json.dto.ts b/src/game/game.json.dto.ts new file mode 100644 index 0000000000000000000000000000000000000000..31bb4816f968a396202cb4b16728c601dbe1b8bd --- /dev/null +++ b/src/game/game.json.dto.ts @@ -0,0 +1,9 @@ +import { GameDTO } from './game.dto'; +import { IsNumber } from 'class-validator'; + +export class CenterDTO { + @IsNumber() + lat: number; + @IsNumber() + lng: number; +}