Skip to content

armgit / TREK

Public Imported from GitHub
0

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.

503 B
Raw Blame
import { valhallaHeightRequestSchema, valhallaRouteRequestSchema, valhallaTraceRequestSchema } from '@trek/shared';

import { createZodDto } from 'nestjs-zod';

/** The bodies of the three Valhalla questions the relay takes, validated at the Zod pipe. */
export class ValhallaRouteDto extends createZodDto(valhallaRouteRequestSchema) {}
export class ValhallaTraceDto extends createZodDto(valhallaTraceRequestSchema) {}
export class ValhallaHeightDto extends createZodDto(valhallaHeightRequestSchema) {}