From 9890f31d109d4a263947833086542d5bbf20ac0b Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 16 Nov 2026 16:57:03 +0100 Subject: [PATCH] chore(dawarich): keep the stay naming helpers module-private --- server/src/nest/integrations/dawarich.client.ts | 2 +- server/src/nest/integrations/dawarich.helpers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/nest/integrations/dawarich.client.ts b/server/src/nest/integrations/dawarich.client.ts index f1c6c58da..ccbf3b9e4 100644 --- a/server/src/nest/integrations/dawarich.client.ts +++ b/server/src/nest/integrations/dawarich.client.ts @@ -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. diff --git a/server/src/nest/integrations/dawarich.helpers.ts b/server/src/nest/integrations/dawarich.helpers.ts index 2c1dde500..383d957ed 100644 --- a/server/src/nest/integrations/dawarich.helpers.ts +++ b/server/src/nest/integrations/dawarich.helpers.ts @@ -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); }