fix(tours): clear the last lint, knip and wiring findings of the follow-up

The unused day pills go, a client-only type stops being exported, the place
form context moves out of the page hook so its view model stays the first
object it returns, the place form test helpers split the stub component
from the plain setup, and four router files are formatted.
This commit is contained in:
Maurice
2026-10-20 22:13:25 +02:00
parent 786df612fd
commit b71e32cf12
12 changed files with 52 additions and 96 deletions
+1 -1
View File
@@ -750,7 +750,7 @@ const trekWayTagsSchema = z.object({
tags: osmTagsSchema.default({}),
});
/** One way of the ways layer, as `way(id:...);out tags;` answers it: only the keys the layer keeps. */
export type TrekWayTags = z.infer<typeof trekWayTagsSchema>;
type TrekWayTags = z.infer<typeof trekWayTagsSchema>;
const pointSchema = z.object({ lat: z.number().min(-90).max(90), lon: z.number().min(-180).max(180) });
const memberSchema = z.object({ type: z.enum(['node', 'way', 'relation']), ref: osmIdSchema, role: z.string() });