Add the optional Immich integration and manual gallery push
Immich connections stay server-side with an encrypted API key, albums can be imported, and photos are only sent back when an event's push button is pressed: originals upload once, edited photos re-render, and edits hashes plus checksums skip anything already in Immich. This also lands the accompanying editor, cloud and administration work that was still uncommitted. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -83,6 +83,11 @@ export async function writeOriginal(id, ext, data) {
|
||||
return target;
|
||||
}
|
||||
|
||||
/** Final path for a streamed upload; the caller writes it without buffering. */
|
||||
export function originalTarget(id, ext = 'bin') {
|
||||
return originalPath(id, ext);
|
||||
}
|
||||
|
||||
export function findOriginal(id) {
|
||||
const safe = lookupId(id);
|
||||
if (!safe) return null;
|
||||
|
||||
Reference in New Issue
Block a user