Skip to content

five-on-it / packages/world/src/audit / AuditOptions

Interface: AuditOptions ​

Defined in: packages/world/src/audit/index.ts:77

How the audit judges a level.

Properties ​

factsOf? ​

optional factsOf?: PieceFactsOf

Defined in: packages/world/src/audit/index.ts:79

The facts of the shared kits' pieces (the kit library's); without them no piece is judged, only the paint, the faces and the roads.


keep? ​

optional keep?: (p) => boolean

Defined in: packages/world/src/audit/index.ts:81

Placements a repair never drops (what a place of the level names).

Parameters ​

p ​

PlacementDef

Returns ​

boolean


rules? ​

optional rules?: readonly ("props-in-each-other" | "prop-in-building" | "buildings-in-each-other" | "not-resting" | "in-the-road" | "z-fighting" | "paint-over-paint" | "roads-joined")[]

Defined in: packages/world/src/audit/index.ts:83

The rules to run, all by default.