refactor(memories): generalize photo providers and decouple from immich

This commit is contained in:
Marek Maslowski
2026-04-03 02:54:35 +02:00
parent 5be2e9b268
commit 8e9f8784dc
13 changed files with 1076 additions and 226 deletions

View File

@@ -1,4 +1,4 @@
export async function getAuthUrl(url: string, purpose: 'download' | 'immich'): Promise<string> {
export async function getAuthUrl(url: string, purpose: string): Promise<string> {
if (!url) return url
try {
const resp = await fetch('/api/auth/resource-token', {