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
+2 -9
View File
@@ -5,15 +5,8 @@
// bottom instead of up and down, ids lose their folders, a parent keeps being a parent (bworld merges them when it
// loads, see resolve_models), and what bworld has no use for (blockbench's names, display transforms for places bworld
// doesn't show items, like third person) is left out
import {
DISPLAY_CONTEXTS,
type ModelDisplay,
type ModelElementJson,
type ModelFace,
type ModelFaceJson,
type ModelFileJson,
} from "$/common/block_models.ts";
import { FORMAT_VERSION } from "$/common/mod_data.ts";
import type { ModelDisplay, ModelElementJson, ModelFaceJson, ModelFileJson } from "$/common/block_models.ts";
import { DISPLAY_CONTEXTS, FORMAT_VERSION, type ModelFace } from "$/common/mod_data.ts";
import { join } from "@std/path";
import {
DEFAULT_REMAPS,