Enable guest photo deletion and ownership flags
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-02-05 22:05:10 +01:00
parent c6aaf859f5
commit 18b4f36fcf
10 changed files with 455 additions and 14 deletions

View File

@@ -58,6 +58,7 @@ vi.mock('../services/photosApi', () => ({
likePhoto: vi.fn(),
unlikePhoto: vi.fn(),
createPhotoShareLink: vi.fn(),
deletePhoto: vi.fn(),
}));
vi.mock('../components/AppShell', () => ({
@@ -103,6 +104,7 @@ vi.mock('lucide-react', () => ({
Loader2: () => <span>loader</span>,
Download: () => <span>download</span>,
X: () => <span>x</span>,
Trash2: () => <span>trash</span>,
}));
import GalleryScreen from '../screens/GalleryScreen';