From b3d9eb6f3336135cccad8ff0f5649c8eb4bd3c29 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 11 Feb 2026 10:52:15 +0000 Subject: [PATCH] Move to 'updated' and 'checked' dates, rather than 'created' 'checked & updated' --- scripts/parse-maps.js | 2 +- .../components/mapIcons/RouteEndLink.svelte | 3 +- src/lib/mapRegistry.ts | 1 + src/routes/+page.svelte | 4 +- src/routes/+page.ts | 2 +- src/routes/map/[slug]/+page.svelte | 1 + static/mapFiles/yaml/0001.yaml | 2 +- static/mapFiles/yaml/0002.yaml | 2 +- static/mapFiles/yaml/0240.yaml | 633 +++++++++++++++++- 9 files changed, 641 insertions(+), 9 deletions(-) diff --git a/scripts/parse-maps.js b/scripts/parse-maps.js index c029690..43c3bb9 100644 --- a/scripts/parse-maps.js +++ b/scripts/parse-maps.js @@ -48,7 +48,7 @@ fs.readdirSync(inputDir).forEach((file) => { routeId: content.routeId || null, routeStart: content.routeStart || null, routeEnd: content.routeEnd || null, - created: content.created || null, + updated: content.updated || null, checked: content.checked || null, contents: Array.from(contentSet) }); diff --git a/src/lib/components/mapIcons/RouteEndLink.svelte b/src/lib/components/mapIcons/RouteEndLink.svelte index e4f6d69..8b8df6b 100644 --- a/src/lib/components/mapIcons/RouteEndLink.svelte +++ b/src/lib/components/mapIcons/RouteEndLink.svelte @@ -2,11 +2,12 @@ export let feature: { routeName: string; routeId: string; + entryPoint: string; };