Skip to content

Map list generator · Search params & storage

1 module · 3 exports · 0 repositories · 5 e2e tests · 1 route

The state Map list generator keeps in the URL and in the browser's storage. Every param has a default and never fails to decode, see Search params, and each definition should have an assertRoundTrips test. The definitions of the whole app are listed in the reference.

Search params

URL mapListGeneratorSearchParams

app/features/map-list-generator/map-list-generator-search-params.ts:6

ParamValueDefaultLoaderDescription
pool v.string()MapPool.ANARCHY.serializedfalse

Resets eventId

eventId v.nullable(v.pipe(v.number(), v.integer(), v.gtValue(0)))nullfalse

Resets pool

readonly v.boolean()falsefalse

Used in map-list-generator-urls.tsmaps.tsx