five-on-it / packages/world/src/audit / AuditFinding
Interface: AuditFinding
Defined in: packages/world/src/audit/index.ts:59
A fault the audit found.
Properties
drop?
optionaldrop?:AuditDrop
Defined in: packages/world/src/audit/index.ts:73
What a repair drops to clear it; absent when nothing may be dropped.
message
message:
string
Defined in: packages/world/src/audit/index.ts:71
What is wrong, in a sentence naming the pieces, the point and its district.
pieces
pieces:
number[]
Defined in: packages/world/src/audit/index.ts:65
The placements it is about (indices into the level's).
rule
rule:
"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:61
The rule that found it.
severity
severity:
"error"|"warning"
Defined in: packages/world/src/audit/index.ts:63
An error is the generator's fault and stops a build once enforced; a warning is reported.
x
x:
number
Defined in: packages/world/src/audit/index.ts:67
Where (m).
z
z:
number
Defined in: packages/world/src/audit/index.ts:69
Where (m).