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.

393 B
Raw Blame
import { tripCalendarQuerySchema } from '@trek/shared';

import { createZodDto } from 'nestjs-zod';

/**
 * Query DTO of every route that serves a trip calendar: the download in the
 * trips controller and the two public feeds. The global ZodValidationPipe
 * validates it by metatype, like the body DTOs.
 */
export class TripCalendarQueryDto extends createZodDto(tripCalendarQuerySchema) {}