Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import z from "zod";
/** Zod schema for validating a `TypeDefinition` at runtime boundaries. */
export const TypeDefinitionSchema = z.object({
tag: z.string().min(1),
ctor: z.function(),
encode: z.function(),
decode: z.function(),
});