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.

439 B
Raw Blame
import { mapsPlaceEnrichmentRequestSchema } from '@trek/shared';

import { createZodDto } from 'nestjs-zod';

/**
 * Server-side createZodDto wrapper over the @trek/shared enrichment contract.
 * The global ZodValidationPipe validates the body by metatype — the Zod schema
 * in shared/ stays the single source of truth for the wire contract.
 */
export class PlaceEnrichmentDto extends createZodDto(mapsPlaceEnrichmentRequestSchema) {}