Skip to content
Snippets Groups Projects

GeoJSON data to database

Merged Ghost User requested to merge GeoJSON2 into Development
2 files
+ 4
2
Compare changes
  • Side-by-side
  • Inline
Files
2
import { IsString, IsDateString } from 'class-validator';
import { Timestamp } from 'typeorm';
import { IsString, IsJSON } from 'class-validator';
export class MapMarkerDTO {
@IsString()
@@ -10,4 +9,6 @@ export class MapMarkerDTO {
longitude: string;
@IsString()
timestamp: string;
@IsJSON()
features: JSON;
}
\ No newline at end of file
Loading