From 67c1633155f00dc0e14cb8b53c687c2d10d10297 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 8 Aug 2026 14:01:20 +0200 Subject: [PATCH] refactor(server): lift the memories vocabulary and the uploads anchor into nest Two preparations the provider conversion needs, and neither changes behaviour. The ServiceResult envelope, the provider-agnostic asset shapes and pipeAsset move to nest/memories/memories.helpers.ts, which touches no database. The controllers and the provider services can name them without importing each other - the same reason notifications/notification-events.ts exists. What is left in services/memories/helpersService.ts is the DB-backed half (the access checks, the album-link lookups) and it folds with the providers. pipeAsset stays a free function over the Express response on purpose. It is not a StreamableFile candidate: it forwards the upstream's 206 and Content-Range so a