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.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
import {
storageConfigPutSchema,
storageMigrationRequestSchema,
storageReclaimConfirmRequestSchema,
storageReclaimSettingsRequestSchema,
storageTestRequestSchema,
} from '@trek/shared';
import { createZodDto } from 'nestjs-zod';
/**
* createZodDto wrappers over the @trek/shared storage contracts — the global
* ZodValidationPipe (APP_PIPE) validates @Body() params typed with these, and
* validate-body-contracts.ts refuses boot for any unwrapped mutation body.
* The PUT body is storageConfigPutSchema (config + optimistic-concurrency
* `version`, audit #7) — storageConfigSchema alone still backs the seed file.
*/
export class StorageConfigDto extends createZodDto(storageConfigPutSchema) {}
export class StorageTestRequestDto extends createZodDto(storageTestRequestSchema) {}
export class StorageMigrationRequestDto extends createZodDto(storageMigrationRequestSchema) {}
export class StorageReclaimSettingsDto extends createZodDto(storageReclaimSettingsRequestSchema) {}
export class StorageReclaimConfirmDto extends createZodDto(storageReclaimConfirmRequestSchema) {}