mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 16:33:16 +00:00
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:
@@ -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() });
|
||||
|
||||
Reference in New Issue
Block a user