refactor(guest): retire legacy guest app and move shared modules
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-06 08:42:53 +01:00
parent b14435df8b
commit 0a08f2704f
191 changed files with 243 additions and 12631 deletions

View File

@@ -3,4 +3,4 @@ export {
type AchievementsPayload,
type AchievementBadge,
type LeaderboardEntry,
} from '@/guest/services/achievementApi';
} from '@/shared/guest/services/achievementApi';

View File

@@ -5,4 +5,4 @@ export {
type EventStats,
FetchEventError,
type FetchEventErrorCode,
} from '@/guest/services/eventApi';
} from '@/shared/guest/services/eventApi';

View File

@@ -3,4 +3,4 @@ export {
fetchGalleryPhotos,
type GalleryMetaResponse,
type GalleryPhotoResource,
} from '@/guest/services/galleryApi';
} from '@/shared/guest/services/galleryApi';

View File

@@ -3,4 +3,4 @@ export {
markGuestNotificationRead,
dismissGuestNotification,
type GuestNotificationItem,
} from '@/guest/services/notificationApi';
} from '@/shared/guest/services/notificationApi';

View File

@@ -1,6 +1,6 @@
import { fetchJson } from './apiClient';
import { getDeviceId } from '../lib/device';
export { likePhoto, unlikePhoto, createPhotoShareLink, uploadPhoto, deletePhoto } from '@/guest/services/photosApi';
export { likePhoto, unlikePhoto, createPhotoShareLink, uploadPhoto, deletePhoto } from '@/shared/guest/services/photosApi';
export type GalleryPhoto = Record<string, unknown>;

View File

@@ -1 +1,4 @@
export { registerGuestPushSubscription, unregisterGuestPushSubscription } from '@/guest/services/pushApi';
export {
registerPushSubscription as registerGuestPushSubscription,
unregisterPushSubscription as unregisterGuestPushSubscription,
} from '@/shared/guest/services/pushApi';

View File

@@ -1,3 +1,3 @@
export { uploadPhoto } from '@/guest/services/photosApi';
export { enqueue } from '@/guest/queue/queue';
export { useUploadQueue } from '@/guest/queue/hooks';
export { uploadPhoto } from '@/shared/guest/services/photosApi';
export { enqueue } from '@/shared/guest/queue/queue';
export { useUploadQueue } from '@/shared/guest/queue/hooks';