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 -1
View File
@@ -4,7 +4,8 @@
// where things are in a java mod's resources, and what they're called in bworld. a resource location like
// "create:block/cogwheel" (or "block/stone", which is minecraft's) becomes the id "create:block_cogwheel": bworld ids
// have no folders, so the path's folders are joined with _, the same way check_mods names textures in subfolders
import { ID_PATTERN, type TagRegistry } from "$/common/mod_data.ts";
import type { TagRegistry } from "$/common/mod_data.ts";
import { ID_PATTERN } from "$/common/schema.ts";
import { registered_ids } from "$/common/mod_check.ts";
import { load_and_check } from "$/tools/check_mods.ts";
import { dirname, relative, resolve, SEPARATOR } from "@std/path";