Skip to content

tilesetManifestSchema

const tilesetManifestSchema: ZodObject<{ biomes: ZodRecord<ZodString, ZodObject<{ select: ZodEnum<{ first: "first"; hash: "hash"; }>; sheet: ZodString; }, $strip>>; kind: ZodLiteral<"tileset">; schemaVersion: ZodString; sheets: ZodRecord<ZodString, ZodObject<{ edgeCells: ZodOptional<ZodRecord<ZodString, ZodNumber>>; grid: ZodObject<{ cellHeight: ZodNumber; cellWidth: ZodNumber; cols: ZodNumber; rows: ZodNumber; }, $strip>; role: ZodEnum<{ fill: "fill"; transition: "transition"; }>; url: ZodString; variants: ZodOptional<ZodArray<ZodNumber>>; }, $strip>>; }, $strip>

Defined in: packages/declarative-hex-worlds/src/asset-source/tileset-manifest.ts:98

The full tileset manifest schema.