mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 18:34:09 +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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user