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.

1.9 KB
Raw Blame
// Generated by scripts/generate-db-types.ts from the migrated schema. Do not edit by hand:
// change the migration, then run `npm run gen:db-types`.
import type { InsertOptional } from './columns';

export interface CollectionToursTable {
  id: InsertOptional<number>;
  collection_id: number;
  saved_by: InsertOptional<number | null>;
  name: string;
  description: InsertOptional<string | null>;
  website: InsertOptional<string | null>;
  route_geometry: InsertOptional<string | null>;
  waypoints: string;
  tour_type: string;
  distance: InsertOptional<number | null>;
  elevation_gain: InsertOptional<number | null>;
  elevation_loss: InsertOptional<number | null>;
  duration: InsertOptional<number | null>;
  planned_duration_minutes: InsertOptional<number | null>;
  break_additional_minutes: InsertOptional<number | null>;
  difficulty: InsertOptional<string | null>;
  wanderer_ref: InsertOptional<string | null>;
  match_confidence: InsertOptional<number | null>;
  max_hiking_difficulty: InsertOptional<number | null>;
  bike_profile: InsertOptional<string | null>;
  run_profile: InsertOptional<string | null>;
  run_pace_seconds_per_km: InsertOptional<number | null>;
  ski_discipline: InsertOptional<string | null>;
  ski_technique: InsertOptional<string | null>;
  boat_type: InsertOptional<string | null>;
  water_context: InsertOptional<string | null>;
  paddle_speed_kmh: InsertOptional<number | null>;
  portage_speed_kmh: InsertOptional<number | null>;
  paddle_lake_style: InsertOptional<string | null>;
  track_marks: InsertOptional<string | null>;
  hiking_preferences: InsertOptional<string | null>;
  origin: string;
  origin_file_name: InsertOptional<string | null>;
  track_started_at: InsertOptional<string | null>;
  track_ended_at: InsertOptional<string | null>;
  source_trip_title: string;
  source_tour_name: string;
  created_at: InsertOptional<string>;
  ski_options: InsertOptional<string | null>;
}