The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
import type { BookPattern } from '../book-paint.schema';
import type { BookShapeId } from '../book.schema';
/**
* One English line on each shape and each pattern, for `list_book_assets`: what
* a model picking one it cannot see needs to know. Data, not code: the
* catalogues themselves (the outlines in book-shapes-more.ts and the client's
* shapes.ts, the repeats in the paint renderer) stay where they are drawn.
*/
export const BOOK_SHAPE_LINES: Readonly<Record<BookShapeId, string>> = {
rect: 'A rectangle; with a radius a rounded card, with an edge a stamp or a torn sheet.',
ellipse: 'A circle or an oval: a badge, a sun, a round photo.',
line: 'A straight rule, its height the thickness; for a drawn line with points use the line kind.',
triangle: 'A triangle pointing up: a pennant, a mountain, a sail.',
'triangle-down': 'A triangle pointing down.',
diamond: 'A diamond, a square stood on its corner.',
parallelogram: 'A slanted rectangle, for a band that leans.',
trapezoid: 'A trapezoid, wider at the foot.',
pentagon: 'A five-sided polygon.',
hexagon: 'A six-sided polygon, pointed at the top.',
'hexagon-flat': 'A six-sided polygon, flat at the top.',
heptagon: 'A seven-sided polygon.',
octagon: 'An eight-sided polygon.',
arch: 'A round-topped arch, a window or a door.',
'half-circle': 'A half circle, flat side down: a setting sun.',
'quarter-circle': 'A quarter circle, for a corner.',
capsule: 'A pill shape with round ends: a label, a chip.',
squircle: 'A soft square between a square and a circle.',
'star-4': 'A four-pointed star.',
'star-5': 'A five-pointed star.',
'star-6': 'A six-pointed star.',
'star-8': 'An eight-pointed star.',
'star-12': 'A twelve-pointed star, almost a burst.',
burst: 'A spiky burst, an exclamation behind a word.',
seal: 'A round seal with a wavy rim, a badge or a sticker.',
sparkle: 'A four-armed sparkle that glints beside a title.',
'arrow-right': 'A block arrow pointing right.',
'arrow-left': 'A block arrow pointing left.',
'arrow-up': 'A block arrow pointing up.',
'arrow-down': 'A block arrow pointing down.',
'arrow-both': 'A block arrow pointing both ways.',
'chevron-right': 'A chevron pointing right.',
'chevron-left': 'A chevron pointing left.',
'arrow-bent': 'A block arrow that turns a corner.',
'bubble-round': 'A round speech bubble with a tail.',
'bubble-square': 'A square speech bubble with a tail.',
'bubble-oval': 'An oval speech bubble with a tail.',
'bubble-think': 'A thought bubble of clouds.',
heart: 'A heart.',
cloud: 'A flat cloud.',
'cloud-puffy': 'A puffy cloud of round lobes.',
drop: 'A water drop.',
moon: 'A crescent moon.',
sun: 'A sun with rays.',
'flower-5': 'A flower of five petals.',
'flower-6': 'A flower of six petals.',
leaf: 'A simple leaf.',
cross: 'A diagonal cross, an X.',
plus: 'A plus sign.',
shield: 'A shield, a crest.',
gear: 'A cog wheel.',
ticket: 'A ticket with notched sides.',
wave: 'A band of waves: the sea, or a postmark cancel.',
mountain: 'A mountain with a snow cap.',
compass: 'A compass rose.',
pin: 'A map pin.',
'blob-1': 'An organic blob, a soft splash of colour behind a photo.',
'blob-2': 'An organic blob, rounder.',
'blob-3': 'An organic blob, longer.',
'blob-4': 'An organic blob, lobed.',
'banner-ribbon': 'A ribbon banner with folded ends, for a title across it.',
'banner-pennant': 'A pennant flag.',
'banner-bookmark': 'A bookmark ribbon with a notched foot.',
'banner-flag': 'A waving flag.',
'arch-tall': 'A tall round-topped arch, the Mediterranean window a photo is cut to.',
'arch-pointed': 'A pointed gothic arch.',
'arch-double': 'Two arches side by side.',
'arch-half': 'Half an arch, rounded on one side.',
'arch-rainbow': 'A rainbow arch of bands.',
'leaf-palm': 'A palm leaf cut out of paper.',
'leaf-oak': 'An oak leaf cut out of paper.',
'leaf-long': 'A long narrow leaf cut out of paper.',
'leaf-monstera': 'A monstera leaf with its holes, cut out of paper.',
'coral-1': 'A branching coral cut out of paper, in the manner of Matisse.',
'coral-2': 'A second, bushier coral cut-out.',
seaweed: 'A wavy strand of seaweed cut out of paper.',
'star-organic': 'A hand-cut wonky star.',
'sun-cutout': 'A hand-cut sun with uneven rays.',
'organic-1': 'A hand-cut rounded shape, a pebble.',
'organic-2': 'A hand-cut shape, a soft bean.',
'organic-3': 'A hand-cut shape, an uneven oval.',
'stamp-rect': 'A postage stamp with a perforated edge; masks a photo as a stamp.',
'stamp-circle': 'A round perforated stamp.',
postmark: 'A round postmark of two rings.',
rosette: 'A rosette with a scalloped rim.',
'scallop-circle': 'A circle with a scalloped edge, a label.',
'badge-shield': 'A shield-shaped badge.',
'label-tab': 'A luggage label with a hole.',
'ticket-stub': 'A ticket stub with round notches.',
'sunburst-12': 'A sunburst of twelve rays.',
'sunburst-24': 'A sunburst of twenty-four rays, behind a photo or a title.',
'ribbon-ends': 'A band with forked ends.',
'ribbon-arc': 'A ribbon curved into an arc, for a title over it.',
'wavy-band': 'A wavy band across a page.',
'torn-strip': 'A strip of torn paper.',
'bubble-shout': 'A spiky shout bubble.',
'bubble-side': 'A speech bubble with its tail at the side.',
'bubble-capsule': 'A capsule speech bubble.',
'arrow-curve': 'A drawn arrow that curves.',
'arrow-circle': 'A drawn arrow that circles round.',
'arrow-notched': 'A notched block arrow.',
'arrow-thin': 'A thin drawn arrow.',
'heart-round': 'A round, plump heart.',
'heart-pair': 'Two hearts together.',
'star-rounded': 'A star with rounded points.',
'star-twinkle': 'A twinkling star of thin arms.',
'flower-8': 'A flower of eight petals.',
'frame-notched': 'A frame with notched corners, for a photo.',
'frame-chamfer': 'A frame with cut corners, for a photo.',
'frame-cushion': 'A cushion frame with soft bulging sides, for a photo.',
'flourish-scroll': 'A scrolling flourish, an ornament under a title.',
laurel: 'A laurel wreath, round a date or a number.',
fleuron: "A fleuron, the printer's flower set between paragraphs.",
'corner-flourish': 'A flourish for the corner of a page.',
};
export const BOOK_PATTERN_LINES: Readonly<Record<BookPattern, string>> = {
checker: 'Squares of two colours in a chequerboard, a picnic cloth or a tiled floor.',
gingham: 'Gingham, a woven check of crossing bands.',
stripes: 'Broad stripes, a deckchair or an awning.',
pinstripe: 'Fine stripes, a shirt.',
dots: 'Small dots in rows.',
polka: 'Large polka dots.',
zigzag: 'A zigzag chevron.',
waves: 'Rows of waves.',
grid: 'A fine grid of lines, graph paper.',
scales: 'Overlapping half circles, fish scales or roof tiles.',
sunburst: 'Rays from a centre, a sunburst.',
confetti: 'Scattered confetti.',
linen: 'Fine woven threads, the texture of a cloth-bound book, best in a colour close to its ground.',
grain: 'Fine scattered specks, the grain of paper or kraft card, best in a colour close to its ground.',
};