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.

494 B
Raw Blame
import { nativeExchangeRequestSchema, nativeHandoffRequestSchema } from '@trek/shared';

import { createZodDto } from 'nestjs-zod';

/** Body of POST /api/auth/native/handoff: the challenge the app sent into the browser. */
export class NativeHandoffDto extends createZodDto(nativeHandoffRequestSchema) {}
/** Body of POST /api/auth/native/exchange: the one-time code and the verifier behind its challenge. */
export class NativeExchangeDto extends createZodDto(nativeExchangeRequestSchema) {}