The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(tours): keep the city walk helpers only their own files use inside them (CW-01, CW-03, CW-04)
Maurice2a8dbf91a878
diff --git a/client/src/components/Tours/planner/stationModel.ts b/client/src/components/Tours/planner/stationModel.tsindex b1e831373..6a062a2df 100644--- a/client/src/components/Tours/planner/stationModel.ts+++ b/client/src/components/Tours/planner/stationModel.ts@@ -19,7 +19,7 @@ export interface WalkTimes {}/** The stations of a city walk: its points that are no shaping points. */-export function stationsOf(points: readonly TourPlannerWaypoint[]): TourPlannerWaypoint[] {+function stationsOf(points: readonly TourPlannerWaypoint[]): TourPlannerWaypoint[] {return points.filter((point) => !point.shaping);}diff --git a/client/src/components/Tours/walk/walkSchedule.ts b/client/src/components/Tours/walk/walkSchedule.tsindex a9ea92c27..00f56b1b7 100644--- a/client/src/components/Tours/walk/walkSchedule.ts+++ b/client/src/components/Tours/walk/walkSchedule.ts@@ -49,7 +49,7 @@ function daysOf(spec: string): Set<number> | null {}/** The windows a place is open on a date, in minutes; null where the hours cannot be read. */-export function openWindows(hours: string, date: string): Array<[number, number]> | null {+function openWindows(hours: string, date: string): Array<[number, number]> | null {const weekday = weekdayOf(date);if (weekday === null) return null;const text = hours.trim();diff --git a/server/src/nest/tours/tour-visits.service.ts b/server/src/nest/tours/tour-visits.service.tsindex af22a773f..5797135a0 100644--- a/server/src/nest/tours/tour-visits.service.ts+++ b/server/src/nest/tours/tour-visits.service.ts@@ -111,7 +111,7 @@ export class TourVisitsService {}/** CW-09: one station of a walk on a day, as an assistant reads it. */-export interface WalkProgressStation {+interface WalkProgressStation {position: number;name: string | null;lat: number;