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
+1 -1
View File
@@ -1,3 +1,4 @@
import { journeyPublicUnlockRequestSchema } from './journey-public.schema';
import {
journeyCreateRequestSchema,
journeyAddTripRequestSchema,
@@ -20,7 +21,6 @@ import {
journeyUpdateToolSchema,
journeyTrackSchema,
} from './journey.schema';
import { journeyPublicUnlockRequestSchema } from './journey-public.schema';
import { describe, it, expect } from 'vitest';
+6 -5
View File
@@ -414,11 +414,12 @@ export type JourneyGalleryVideoRequest = z.infer<typeof journeyGalleryVideoReque
export const journeyPreferencesRequestSchema = z.looseObject({});
export type JourneyPreferencesRequest = z.infer<typeof journeyPreferencesRequestSchema>;
/**
* A share link's password. bcrypt reads at most 72 bytes, so a longer one would
* be cut short without anyone noticing.
*/
export const journeySharePasswordSchema = z.string().min(4).max(72);
export const JOURNEY_SHARE_PASSWORD_MIN_LENGTH = 4;
export const JOURNEY_SHARE_PASSWORD_MAX_LENGTH = 72;
export const journeySharePasswordSchema = z
.string()
.min(JOURNEY_SHARE_PASSWORD_MIN_LENGTH)
.max(JOURNEY_SHARE_PASSWORD_MAX_LENGTH);
export const journeyShareLinkRequestSchema = z.looseObject({
share_timeline: z.unknown().optional(),