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.

460 B
Raw Blame
import type { HikeFacetSpec } from './hikeFacets';
import { SAC_FACET } from './sacGrades';
import { SURFACE_FACET, WAY_FACET } from './wayTagFacets';

/** What a hike's card reads along the line, one at a time: the SAC grade, the surface or the kind of way. */
export type HikeFacet = 'sac' | 'surface' | 'way';

export const HIKE_FACETS: Readonly<Record<HikeFacet, HikeFacetSpec<string>>> = {
  sac: SAC_FACET,
  surface: SURFACE_FACET,
  way: WAY_FACET,
};