mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 00:43:15 +00:00
feat(journey): complete sharing, photo drafts and Studio maps
Connect the Journey backend to the web and mobile UI, including public access and subscriptions, day recordings, photo drafts and per-map framing. Preserve legacy recording responses and cover the new behavior in every locale.
This commit is contained in:
@@ -2,6 +2,7 @@ import { http, HttpResponse } from 'msw';
|
||||
import { buildTrip, buildDay, buildPlace } from '../../factories';
|
||||
|
||||
export const sharedHandlers = [
|
||||
http.post('/api/public/journey/:token/view', () => HttpResponse.json({ success: true })),
|
||||
http.get('/api/shared/:token', ({ params }) => {
|
||||
const { token } = params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user