- overnight.ts: Yjs helpers to set/clear/check overnight flag on waypoints - compute-days.ts: Pure function splitting routes into DayStage[] at day breaks - use-days.ts: Reactive hook mapping Yjs state into computeDays() input - GPX generate: emit <type>overnight</type> for isDayBreak waypoints - GPX parse: recognize <type>overnight</type> and set isDayBreak on waypoints Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6 lines
323 B
TypeScript
6 lines
323 B
TypeScript
export { parseGpxAsync } from "./parse.ts";
|
|
export { generateGpx } from "./generate.ts";
|
|
export { extractWaypoints } from "./waypoints.ts";
|
|
export { computeDays } from "./compute-days.ts";
|
|
export type { DayStage } from "./compute-days.ts";
|
|
export type { GpxData, TrackPoint, ElevationProfile, NoGoArea } from "./types.ts";
|