refactor(guest): retire legacy guest app and move shared modules
This commit is contained in:
@@ -3,4 +3,4 @@ export {
|
||||
type AchievementsPayload,
|
||||
type AchievementBadge,
|
||||
type LeaderboardEntry,
|
||||
} from '@/guest/services/achievementApi';
|
||||
} from '@/shared/guest/services/achievementApi';
|
||||
|
||||
@@ -5,4 +5,4 @@ export {
|
||||
type EventStats,
|
||||
FetchEventError,
|
||||
type FetchEventErrorCode,
|
||||
} from '@/guest/services/eventApi';
|
||||
} from '@/shared/guest/services/eventApi';
|
||||
|
||||
@@ -3,4 +3,4 @@ export {
|
||||
fetchGalleryPhotos,
|
||||
type GalleryMetaResponse,
|
||||
type GalleryPhotoResource,
|
||||
} from '@/guest/services/galleryApi';
|
||||
} from '@/shared/guest/services/galleryApi';
|
||||
|
||||
@@ -3,4 +3,4 @@ export {
|
||||
markGuestNotificationRead,
|
||||
dismissGuestNotification,
|
||||
type GuestNotificationItem,
|
||||
} from '@/guest/services/notificationApi';
|
||||
} from '@/shared/guest/services/notificationApi';
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
export { registerGuestPushSubscription, unregisterGuestPushSubscription } from '@/guest/services/pushApi';
|
||||
export {
|
||||
registerPushSubscription as registerGuestPushSubscription,
|
||||
unregisterPushSubscription as unregisterGuestPushSubscription,
|
||||
} from '@/shared/guest/services/pushApi';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user