chore(dawarich): keep the stay naming helpers module-private

This commit is contained in:
Maurice
2026-11-16 16:57:03 +01:00
parent 04e0dc26e1
commit 9890f31d10
2 changed files with 2 additions and 2 deletions
@@ -48,7 +48,7 @@ export const TRACKS_PAGE_SIZE = 200;
/** Points cap at 10000 upstream. A day of tracking is a few thousand. */
export const POINTS_PAGE_SIZE = 5000;
/** Points read to name one stay. Enough to get past a few not yet geocoded. */
export const GEOCODED_POINTS_PAGE_SIZE = 50;
const GEOCODED_POINTS_PAGE_SIZE = 50;
/**
* How many pages one call will walk before giving up and saying so.
@@ -159,7 +159,7 @@ function realName(value: unknown): string | null {
* The best name the visit itself carries: its own, its place's, then the
* place's address. Null when there is none of them.
*/
export function visitSourceName(visit: DawarichVisitRaw): string | null {
function visitSourceName(visit: DawarichVisitRaw): string | null {
return realName(visit.name) ?? realName(visit.place?.name) ?? realName(visit.place?.address);
}