five-on-it / packages/catalogue/src/town-fields / DISTRICT_FIELDS
Variable: DISTRICT_FIELDS
constDISTRICT_FIELDS:object
Defined in: packages/catalogue/src/town-fields.ts:121
A district's own fields: a name, the blocks it paints, its theme, title, density, mix and landmarks.
Type Declaration
blocks
blocks:
ZodDefault<ZodArray<ZodTuple<[ZodNumber,ZodNumber],null>>>
density
density:
ZodOptional<ZodObject<{built:ZodOptional<ZodNumber>;height:ZodOptional<ZodEnum<{high:"high";low:"low";mixed:"mixed"; }>>;setback:ZodOptional<ZodNumber>; },$strict>>
landmarks
landmarks:
ZodOptional<ZodArray<ZodString>>
landuse
landuse:
ZodOptional<ZodEnum<{civic:"civic";commercial:"commercial";farm:"farm";industrial:"industrial";leisure:"leisure";residential:"residential";retail:"retail"; }>>
mix
mix:
ZodOptional<ZodRecord<ZodString,ZodNumber>>
name
name:
ZodString
theme
theme:
ZodOptional<ZodEnum<{[key:string]:string; }>>
title
title:
ZodOptional<ZodString>