Validators using zod

This commit is contained in:
2026-10-25 12:41:46 -03:00
parent 31ae2973d7
commit 4fad43d9cc
24 changed files with 1242 additions and 1788 deletions
+1 -2
View File
@@ -11,8 +11,6 @@ import {
type EffectJson,
type EntityJson,
type EntityModelJson,
ID_PATTERN,
is_object,
type ItemJson,
type ManifestJson,
type OreJson,
@@ -31,6 +29,7 @@ import {
validate_spawn,
validate_tag,
} from "./mod_data.ts";
import { ID_PATTERN, is_object } from "./schema.ts";
import type { ModData } from "./mod_loader.ts";
import { type LootTableJson, validate_loot_table } from "./loot.ts";
import { type BiomeJson, validate_biome } from "./worldgen/biomes.ts";