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:
Maurice
2026-11-30 16:55:22 +01:00
parent 458227f489
commit ede109dce8
90 changed files with 5306 additions and 292 deletions
+12
View File
@@ -57,6 +57,18 @@ export const journeySocialRepo = {
return journeyPublicCommentsResponseSchema.parse(await journeySocialApi.publicComments(token, signal));
},
async recordPublicView(token: string): Promise<void> {
try {
await journeySocialApi.recordPublicView(token);
} catch {
// The owner’s view count is best effort and does not prevent opening the journey.
}
},
async unlockPublicJourney(token: string, password: string): Promise<void> {
await journeySocialApi.unlockPublicJourney(token, password);
},
async addPublicComment(token: string, entryId: number, body: JourneyPublicCommentCreateRequest): Promise<void> {
await journeySocialApi.addPublicComment(token, entryId, body);
},