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:
2026-11-25 17:43:05 +00:00
parent e0c76ba965
commit 0b3ab76405
26 changed files with 4323 additions and 144 deletions
+9
View File
@@ -268,6 +268,8 @@ export interface PhotoRecord {
previewUrl?: string;
/** server URL for the grid thumbnail */
thumbUrl?: string;
/** set when this photo was imported from an Immich album */
immich?: { albumId: string; assetId: string; checksum: string };
/** timestamp of the last rendered client proof published to the server */
proofAt?: number;
/** Account this cached record belongs to (server workspaces). */
@@ -289,6 +291,13 @@ export interface EventRecord {
order?: number;
/** Account this cached record belongs to (server workspaces). */
workspace?: string;
/** Set when this event mirrors an Immich album. */
immich?: {
albumId: string;
albumName: string;
serverUrl: string;
lastSyncAt: number;
};
/** Set when this event is a temporary import from the dashboard bridge. */
bridge?: {
sessionId: string;