You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
357 B
14 lines
357 B
import { z } from "zod/v4";
|
|
|
|
export const MapValidation_RasterSourcesSchema = z.object({
|
|
enabled: z.boolean(),
|
|
title: z.string(),
|
|
tiles: z.url(),
|
|
tileSize: z.number(),
|
|
});
|
|
|
|
export const MapValidationSchema = z.object({
|
|
rasterSources: MapValidation_RasterSourcesSchema.array(),
|
|
});
|
|
|
|
export type MapValidation = z.infer<typeof MapValidationSchema>;
|
|
|