Skip to content

five-on-it / packages/world/src/schema

packages/world/src/schema ​

The runtime shape of LevelData: a zod schema, used to validate the level files the server loads and the level the welcome message carries, and a linter for the mistakes a well-formed file can still contain (no spawn point, a spawn inside a wall or floating over a terrace, a road through a building or hanging over a slope).

Variables ​

Functions ​