Files
TREK/client/tests/helpers/msw/handlers/index.ts
T
Maurice 091ebed8e4 feat(routing): let the admin pick FOSSGIS, the TREK services or an own Valhalla
routing_valhalla_provider (fossgis, trek or custom) sits beside the routing
URLs under Admin, Default user settings, admin only and locked on a managed
install. Without a choice an own Valhalla is custom, an own OSRM alone asks
no Valhalla, and otherwise the TREK services answer.

The planner asks them through the same-origin relay, so no connect-src
changes. A relay that answers 401 (a shared page without a sign-in), 403,
413, 429 or 5xx sends the question to FOSSGIS without a word and is left
alone for ten minutes. A long line to describe goes as a polyline.
2026-10-29 13:34:28 +01:00

46 lines
1.4 KiB
TypeScript

import { authHandlers } from './auth';
import { settingsHandlers } from './settings';
import { addonHandlers } from './addons';
import { notificationHandlers } from './notifications';
import { vacayHandlers } from './vacay';
import { tripsHandlers } from './trips';
import { placesHandlers } from './places';
import { pluginSearchHandlers } from './pluginSearch';
import { assignmentsHandlers } from './assignments';
import { packingHandlers } from './packing';
import { todoHandlers } from './todo';
import { budgetHandlers } from './budget';
import { reservationsHandlers } from './reservations';
import { filesHandlers } from './files';
import { tagsHandlers } from './tags';
import { dayNotesHandlers } from './dayNotes';
import { toursHandlers } from './tours';
import { adminHandlers } from './admin';
import { sharedHandlers } from './shared';
import { externalHandlers } from './external';
import { routingHandlers } from './routing';
export const defaultHandlers = [
...authHandlers,
...settingsHandlers,
...addonHandlers,
...notificationHandlers,
...vacayHandlers,
...tripsHandlers,
...placesHandlers,
...pluginSearchHandlers,
...assignmentsHandlers,
...packingHandlers,
...todoHandlers,
...budgetHandlers,
...reservationsHandlers,
...filesHandlers,
...tagsHandlers,
...dayNotesHandlers,
...toursHandlers,
...adminHandlers,
...sharedHandlers,
...externalHandlers,
...routingHandlers,
];