WIP updates

This commit is contained in:
Sacha Weatherstone committed 2022-11-27 22:50:46 +10:00
1 parent a9561fe622
commit e457cef3da
79 files changed
+2100 -1284

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import { IsArray, IsBoolean, IsNumber, IsString } from "class-validator";
import type { RasterSource } from "@app/core/stores/appStore.js";
export class MapValidation {
@IsArray()
rasterSources: MapValidation_RasterSources[];
}
export class MapValidation_RasterSources implements RasterSource {
@IsBoolean()
enabled: boolean;
@IsString()
title: string;
// @IsUrl()
tiles: string[];
@IsNumber()
tileSize: number;
}