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
+4 -5
View File
@@ -1,4 +1,3 @@
import { bookFontIndex } from './book-fonts';
import { BOOK_ICON_NAMES } from './book-icons';
import {
BOOK_BADGES,
@@ -42,13 +41,13 @@ const shape = bookShapeElementSchema.shape;
const map = bookMapElementSchema.shape;
/**
* The book's typefaces by what they are for, each with its face, the weights
* it has and an i where it has a real italic. A weight a family lacks is set
* at its nearest one, as in the Studio.
* Valid typefaces. The asset catalogue supplies their roles, weights and italic support.
*/
export const bookFontIdSchema = z
.enum(BOOK_FONTS_IDS)
.describe(`Typeface by role; weights a family lacks snap to its nearest. ${bookFontIndex()}`);
.describe(
'Typeface ID. See list_book_assets (kind font) for roles, weights and italics. Unsupported weights snap to the nearest one.',
);
/** The typeface of a travel element, where the full line above would repeat ten times. */
export const bookTypesetFontSchema = bookCatalogueIdSchema(BOOK_FONTS_IDS).describe('Typeface id, as for text.');
/** How heavy type is set, 100 thin to 900 black. */