Skip to content

five-on-it / apps/worker/src/audit

apps/worker/src/audit ​

The audit of every generated level (@foi/world's repairLevel with the kit library's facts, @foi/catalogue's pieceFacts), run by auditGenerated before the preview and the cache: what may be dropped is dropped (a faulty prop of a shared kit, paint under other paint), never moved, and what no repair clears is reported. A creator's spec is not at fault for either: the build (apps/api/src/builds.ts) says how many pieces were left out, and for the faults left, that another seed usually clears them. A prop standing on one of the level's named places is never dropped.

Interfaces ​

Functions ​