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
style(tours): format the route file reader
Maurice1d880cb881ca
diff --git a/server/src/nest/tours/tour-file-read.service.ts b/server/src/nest/tours/tour-file-read.service.tsindex 5843d62fc..174e773ee 100644--- a/server/src/nest/tours/tour-file-read.service.ts+++ b/server/src/nest/tours/tour-file-read.service.ts@@ -2,8 +2,8 @@ import { PlaceImportService } from '../place-import/place-import.service';import type { PreparedGpxPlace } from '../place-import/place-import.types';import { PlacesService } from '../places/places.service';import { readTourFile } from './tour-file-import.helpers';-import { tracksToAdopt } from './tour-track-adoption';import { gpxOfLine, splitGpxTrackPieces } from './tour-file-split.helpers';+import { tracksToAdopt } from './tour-track-adoption';import { computeTourMetrics, parseRouteGeometry } from './tours.helpers';import { Injectable } from '@nestjs/common';import { TOUR_GPX_TEXT_MAX, type TourFileLeftOut } from '@trek/shared';