Photo cache and /media endpoint (#68)
CI / ci (push) Successful in 1m38s

Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
This commit was merged in pull request #68.
This commit is contained in:
2026-10-05 14:24:11 -04:00
committed by approver_agent
parent 2fb7807af3
commit 58e8f30f0e
18 changed files with 1054 additions and 25 deletions
+1
View File
@@ -43,6 +43,7 @@ type Querier interface {
// Returns sql.ErrNoRows until the row exists.
GetIntegrationsGoogle(ctx context.Context) (IntegrationsGoogle, error)
GetJob(ctx context.Context, id string) (Job, error)
GetPhoto(ctx context.Context, id string) (Photo, error)
// Finds stored image bytes by content hash. The schema does not make sha256
// unique, so the earliest-created (lowest id) match is returned.
GetPhotoBySHA256(ctx context.Context, sha256 string) (Photo, error)