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
import type { TourPoiSearchRequest, TourPoiSearchResponse } from '@trek/shared';
import { tourPoiSearchApi } from '../api/tourPoiSearch';
import { requireOnline } from './onlineOnly';
/**
* PLN-02, online only: the places along a tour come from the map search
* behind the server, and nothing of them is kept. Offline the card says so.
*/
export const tourPoiSearchRepo = {
async search(
tripId: number | string,
body: TourPoiSearchRequest,
signal?: AbortSignal
): Promise<TourPoiSearchResponse> {
requireOnline();
return await tourPoiSearchApi.search(tripId, body, signal);
},
};