@vectoriox/iox-ui 5.106.0 → 5.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +162 -2
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +190 -0
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/generation-core/index.d.ts +96 -2
- package/harness-core/index.d.ts +160 -1
- package/package.json +1 -1
- package/src/generation-core/compose-site.ts +49 -0
- package/src/generation-core/site-plan.model.ts +10 -0
- package/src/generation-core/site-spec.generated.ts +119 -1
- package/src/harness-core/business-types.ts +10 -0
- package/src/harness-core/harness-spec.generated.ts +190 -0
|
@@ -86,6 +86,11 @@ declare const SPEC_SITE_PLAN_SHAPE: {
|
|
|
86
86
|
readonly "meta?": "string — a field: a short line beside its name (a place, a price)";
|
|
87
87
|
readonly "date?": "string — a field: when";
|
|
88
88
|
readonly "gallery?": "string — an array field: its pictures";
|
|
89
|
+
readonly "logo?": "string — a field: a mark (a picture)";
|
|
90
|
+
readonly "icon?": "string — a field: an icon name";
|
|
91
|
+
readonly "quote?": "string — a field: someone's words";
|
|
92
|
+
readonly "person?": "string — a field: who said or made it";
|
|
93
|
+
readonly "link?": "string — a field: where the item leads (a route or an address)";
|
|
89
94
|
};
|
|
90
95
|
readonly field: {
|
|
91
96
|
readonly name: "string — unique in the type";
|
|
@@ -186,6 +191,11 @@ declare const SPEC_SITE_ROLES: {
|
|
|
186
191
|
readonly meta: "a short line beside its name — a place, a price, a duration";
|
|
187
192
|
readonly date: "when — a year or a date";
|
|
188
193
|
readonly gallery: "its pictures (a list) — the item page's gallery";
|
|
194
|
+
readonly logo: "a mark — a client's or maker's logo or wordmark (a picture), on the card's top line";
|
|
195
|
+
readonly icon: "a small symbol, named from the icon set — beside the name on a card";
|
|
196
|
+
readonly quote: "someone's words — a testimonial or a story's line, shown in quotation marks";
|
|
197
|
+
readonly person: "who said or made it — a name (their role or place goes in meta)";
|
|
198
|
+
readonly link: "where the item leads — its own page or an address; the card's arrow goes there";
|
|
189
199
|
readonly price: "its price — the shop's own field, shown through the money pipe in the studio currency";
|
|
190
200
|
readonly compareAt: "its earlier price, struck through beside the price (the shop's own field)";
|
|
191
201
|
};
|
|
@@ -5524,6 +5534,60 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
5524
5534
|
readonly zine: "type-as-image";
|
|
5525
5535
|
readonly "fresh-market": "warm-craft";
|
|
5526
5536
|
};
|
|
5537
|
+
readonly list: {
|
|
5538
|
+
readonly items: readonly ["photo", "card"];
|
|
5539
|
+
readonly arranges: readonly ["row", "grid", "masonry", "strips", "deck"];
|
|
5540
|
+
readonly standoutWho: readonly ["none", "middle", "first", "pointed"];
|
|
5541
|
+
readonly standoutHow: readonly ["bigger", "wider", "raised", "brighter"];
|
|
5542
|
+
readonly moves: readonly ["arrows", "drag", "auto", "page"];
|
|
5543
|
+
readonly hovers: readonly ["rise", "open", "zoom", "dim"];
|
|
5544
|
+
readonly arrives: readonly ["together", "one-by-one", "slide-in"];
|
|
5545
|
+
readonly phones: readonly ["swipe", "stack", "two-up"];
|
|
5546
|
+
readonly meanings: {
|
|
5547
|
+
readonly photo: "pictures only";
|
|
5548
|
+
readonly card: "a card built from the list's own fields (its parts)";
|
|
5549
|
+
readonly row: "side by side in one line you move through";
|
|
5550
|
+
readonly grid: "a still grid";
|
|
5551
|
+
readonly masonry: "a still wall that keeps every picture's own shape";
|
|
5552
|
+
readonly strips: "tall strips, one always open wide with its whole story";
|
|
5553
|
+
readonly deck: "a stack, one card on top, the rest waiting behind";
|
|
5554
|
+
readonly middle: "the one in the middle of the row";
|
|
5555
|
+
readonly first: "the first one";
|
|
5556
|
+
readonly pointed: "the one the visitor points at or taps";
|
|
5557
|
+
readonly bigger: "larger than the rest";
|
|
5558
|
+
readonly wider: "open wide (strips only)";
|
|
5559
|
+
readonly raised: "lifted above the rest";
|
|
5560
|
+
readonly brighter: "the rest dimmed";
|
|
5561
|
+
readonly arrows: "arrow buttons";
|
|
5562
|
+
readonly drag: "dragged with a mouse or a finger";
|
|
5563
|
+
readonly auto: "turns by itself (pauses under a mouse)";
|
|
5564
|
+
readonly page: "the page's scroll carries it sideways (alone)";
|
|
5565
|
+
readonly rise: "an item rises under the mouse";
|
|
5566
|
+
readonly open: "a strip opens under the mouse (strips only)";
|
|
5567
|
+
readonly zoom: "the picture grows inside its frame";
|
|
5568
|
+
readonly dim: "the others dim";
|
|
5569
|
+
readonly together: "all at once";
|
|
5570
|
+
readonly "one-by-one": "one after another";
|
|
5571
|
+
readonly "slide-in": "sliding in from the side";
|
|
5572
|
+
readonly swipe: "a row you swipe";
|
|
5573
|
+
readonly stack: "one under another";
|
|
5574
|
+
readonly "two-up": "two across";
|
|
5575
|
+
};
|
|
5576
|
+
readonly rules: {
|
|
5577
|
+
readonly minItems: 3;
|
|
5578
|
+
readonly strips: readonly [3, 6];
|
|
5579
|
+
readonly onlyStrips: {
|
|
5580
|
+
readonly standoutHow: readonly ["wider"];
|
|
5581
|
+
readonly hovers: readonly ["open"];
|
|
5582
|
+
};
|
|
5583
|
+
readonly onlyRow: {
|
|
5584
|
+
readonly standoutWho: readonly ["middle"];
|
|
5585
|
+
readonly moves: readonly ["page"];
|
|
5586
|
+
};
|
|
5587
|
+
readonly moving: readonly ["row", "deck"];
|
|
5588
|
+
readonly neverSwipe: readonly ["grid", "masonry"];
|
|
5589
|
+
};
|
|
5590
|
+
};
|
|
5527
5591
|
};
|
|
5528
5592
|
|
|
5529
5593
|
/** What an untouched node of one registered type saves as (`NODE_BASELINES`, generated from the live
|
|
@@ -6184,6 +6248,16 @@ declare enum ContentRole {
|
|
|
6184
6248
|
Meta = "meta",
|
|
6185
6249
|
Date = "date",
|
|
6186
6250
|
Gallery = "gallery",
|
|
6251
|
+
/** List ingredients LI0: a mark — a client's or maker's logo or wordmark (a picture). */
|
|
6252
|
+
Logo = "logo",
|
|
6253
|
+
/** LI0: a small symbol, named from the icon set. */
|
|
6254
|
+
Icon = "icon",
|
|
6255
|
+
/** LI0: someone's words — a testimonial or a story's line. */
|
|
6256
|
+
Quote = "quote",
|
|
6257
|
+
/** LI0: who said or made it (their role or place goes in `meta`). */
|
|
6258
|
+
Person = "person",
|
|
6259
|
+
/** LI0: where the item leads — its own page or an address. */
|
|
6260
|
+
Link = "link",
|
|
6187
6261
|
/** Commerce C-D21: the shop's own price — played only by the shop's fields (`SHOP_ROLES`), never a content type's. */
|
|
6188
6262
|
Price = "price",
|
|
6189
6263
|
/** Commerce C-D21: the shop's earlier price, struck through. */
|
|
@@ -7294,6 +7368,26 @@ declare function contentTypeOfSource(alias: string, plan: SitePlan): ContentType
|
|
|
7294
7368
|
/** Every list a composed gallery could name (the plan's query sources), in plan order: what it is called and whether its
|
|
7295
7369
|
* items carry a picture (an `image` role). */
|
|
7296
7370
|
declare function layoutGalleryLists(plan: SitePlan): LayoutGalleryList[];
|
|
7371
|
+
/** The words a list's roles are called in the brief — what a visitor would see, never the field name. */
|
|
7372
|
+
declare const LIST_ROLE_WORDS: Readonly<Record<`${ContentRole}`, string>>;
|
|
7373
|
+
/** A text role whose planned samples run past this many words (median) is called long: a small card would cut it. */
|
|
7374
|
+
declare const LIST_LONG_WORDS = 20;
|
|
7375
|
+
/** What one list holds — the shape the layout's model reads before it mixes a list section (list-ingredients LI0): how
|
|
7376
|
+
* many items the build will write, the roles they play, and which of their words run long. Never the items themselves. */
|
|
7377
|
+
interface LayoutListShape {
|
|
7378
|
+
alias: string;
|
|
7379
|
+
label: string;
|
|
7380
|
+
/** The planned sample count (what the build writes), or null when the plan says none. */
|
|
7381
|
+
items: number | null;
|
|
7382
|
+
/** The roles its items play, in the contract's order. */
|
|
7383
|
+
roles: ReadonlyArray<`${ContentRole}`>;
|
|
7384
|
+
/** Text roles whose planned samples run long (median over LIST_LONG_WORDS words). */
|
|
7385
|
+
long: ReadonlyArray<`${ContentRole}`>;
|
|
7386
|
+
}
|
|
7387
|
+
/** The shape of every list a list section could show (the plan's query sources, as `layoutGalleryLists`). */
|
|
7388
|
+
declare function layoutListShapes(plan: SitePlan): LayoutListShape[];
|
|
7389
|
+
/** One line of the brief: `works (Works): 6 items · name, picture, detail, quote (long)`. */
|
|
7390
|
+
declare function describeListShape(shape: LayoutListShape): string;
|
|
7297
7391
|
/** The list sources a composed gallery may show (`gallery.source`): the plan's query sources whose items have a picture.
|
|
7298
7392
|
* A list with none (a FAQ) would repeat no slide and draw an empty band (iox-ui#59), so it is never offered and the check
|
|
7299
7393
|
* refuses it. */
|
|
@@ -10129,5 +10223,5 @@ declare function applyLayoutEdits(page: LayoutPage, edits: ReadonlyArray<LayoutE
|
|
|
10129
10223
|
/** The strict format a repair is asked in: `{ edits: [{ op, path, value }] }`, every key required. */
|
|
10130
10224
|
declare function layoutRepairJsonSchema(): JsonSchema;
|
|
10131
10225
|
|
|
10132
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEBREW_PREFIXES, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_OPERATED, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutMendKind, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkLayout, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, luminanceOf, measureLayout, mendLayout, modelCanDo, moveBarItem, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
|
|
10133
|
-
export type { AddBarItemResult, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FrameRegion, JsonSchema, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteTemplate, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
|
10226
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEBREW_PREFIXES, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_OPERATED, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutMendKind, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkLayout, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListShapes, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, luminanceOf, measureLayout, mendLayout, modelCanDo, moveBarItem, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
|
|
10227
|
+
export type { AddBarItemResult, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FrameRegion, JsonSchema, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteTemplate, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
package/harness-core/index.d.ts
CHANGED
|
@@ -161,6 +161,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
161
161
|
readonly between: "cinematic";
|
|
162
162
|
};
|
|
163
163
|
readonly ceiling: "expressive";
|
|
164
|
+
readonly lists: {
|
|
165
|
+
readonly arranges: readonly [];
|
|
166
|
+
readonly moves: readonly [];
|
|
167
|
+
readonly say: readonly [];
|
|
168
|
+
};
|
|
164
169
|
readonly world: "documentary";
|
|
165
170
|
readonly imagery: "Your own photos only, large and uncropped; never stock.";
|
|
166
171
|
readonly pages: readonly ["home", "work (collection)", "project (detail)", "about", "contact"];
|
|
@@ -226,6 +231,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
226
231
|
readonly between: "cinematic";
|
|
227
232
|
};
|
|
228
233
|
readonly ceiling: "expressive";
|
|
234
|
+
readonly lists: {
|
|
235
|
+
readonly arranges: readonly [];
|
|
236
|
+
readonly moves: readonly [];
|
|
237
|
+
readonly say: readonly [];
|
|
238
|
+
};
|
|
229
239
|
readonly world: "architectural";
|
|
230
240
|
readonly imagery: "Wide, bright room shots; details of materials.";
|
|
231
241
|
readonly pages: readonly ["home", "projects (collection)", "project (detail)", "services", "about", "contact"];
|
|
@@ -292,6 +302,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
292
302
|
readonly between: "fade";
|
|
293
303
|
};
|
|
294
304
|
readonly ceiling: "expressive";
|
|
305
|
+
readonly lists: {
|
|
306
|
+
readonly arranges: readonly [];
|
|
307
|
+
readonly moves: readonly [];
|
|
308
|
+
readonly say: readonly [];
|
|
309
|
+
};
|
|
295
310
|
readonly world: "architectural";
|
|
296
311
|
readonly imagery: "Large project photos and drawings.";
|
|
297
312
|
readonly pages: readonly ["home", "projects (collection)", "project (detail)", "about", "contact"];
|
|
@@ -359,6 +374,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
359
374
|
readonly between: "slide";
|
|
360
375
|
};
|
|
361
376
|
readonly ceiling: "expressive";
|
|
377
|
+
readonly lists: {
|
|
378
|
+
readonly arranges: readonly [];
|
|
379
|
+
readonly moves: readonly [];
|
|
380
|
+
readonly say: readonly [];
|
|
381
|
+
};
|
|
362
382
|
readonly world: "hard-light";
|
|
363
383
|
readonly imagery: "Case-study images of your own work.";
|
|
364
384
|
readonly pages: readonly ["home", "work (collection)", "case study (detail)", "services", "about", "contact"];
|
|
@@ -416,6 +436,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
416
436
|
readonly between: "fade";
|
|
417
437
|
};
|
|
418
438
|
readonly ceiling: "expressive";
|
|
439
|
+
readonly lists: {
|
|
440
|
+
readonly arranges: readonly [];
|
|
441
|
+
readonly moves: readonly [];
|
|
442
|
+
readonly say: readonly [];
|
|
443
|
+
};
|
|
419
444
|
readonly world: "drawing";
|
|
420
445
|
readonly imagery: "Your pieces, photographed flat and true to colour.";
|
|
421
446
|
readonly pages: readonly ["home", "works (collection)", "work (detail)", "about", "contact"];
|
|
@@ -475,6 +500,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
475
500
|
readonly between: "slide";
|
|
476
501
|
};
|
|
477
502
|
readonly ceiling: "expressive";
|
|
503
|
+
readonly lists: {
|
|
504
|
+
readonly arranges: readonly [];
|
|
505
|
+
readonly moves: readonly [];
|
|
506
|
+
readonly say: readonly [];
|
|
507
|
+
};
|
|
478
508
|
readonly world: "macro";
|
|
479
509
|
readonly imagery: "Your pieces and hands at work; natural light.";
|
|
480
510
|
readonly pages: readonly ["home", "pieces (collection)", "piece (detail)", "workshops", "about", "contact"];
|
|
@@ -533,6 +563,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
533
563
|
readonly between: "cinematic";
|
|
534
564
|
};
|
|
535
565
|
readonly ceiling: "expressive";
|
|
566
|
+
readonly lists: {
|
|
567
|
+
readonly arranges: readonly [];
|
|
568
|
+
readonly moves: readonly [];
|
|
569
|
+
readonly say: readonly [];
|
|
570
|
+
};
|
|
536
571
|
readonly world: "macro";
|
|
537
572
|
readonly imagery: "Close-ups on a plain ground.";
|
|
538
573
|
readonly pages: readonly ["home", "collection", "piece (detail)", "about", "contact"];
|
|
@@ -592,6 +627,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
592
627
|
readonly between: "slide";
|
|
593
628
|
};
|
|
594
629
|
readonly ceiling: "expressive";
|
|
630
|
+
readonly lists: {
|
|
631
|
+
readonly arranges: readonly [];
|
|
632
|
+
readonly moves: readonly [];
|
|
633
|
+
readonly say: readonly [];
|
|
634
|
+
};
|
|
595
635
|
readonly world: "low-key";
|
|
596
636
|
readonly imagery: "Healed work, clean photos.";
|
|
597
637
|
readonly pages: readonly ["home", "work (collection)", "artists", "faq", "contact"];
|
|
@@ -650,6 +690,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
650
690
|
readonly between: "fade";
|
|
651
691
|
};
|
|
652
692
|
readonly ceiling: "standard";
|
|
693
|
+
readonly lists: {
|
|
694
|
+
readonly arranges: readonly [];
|
|
695
|
+
readonly moves: readonly [];
|
|
696
|
+
readonly say: readonly [];
|
|
697
|
+
};
|
|
653
698
|
readonly world: "high-key";
|
|
654
699
|
readonly imagery: "Rooms, textures, hands; no faces needed.";
|
|
655
700
|
readonly pages: readonly ["home", "treatments (services)", "prices", "about", "contact"];
|
|
@@ -718,6 +763,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
718
763
|
readonly between: "fade";
|
|
719
764
|
};
|
|
720
765
|
readonly ceiling: "lively";
|
|
766
|
+
readonly lists: {
|
|
767
|
+
readonly arranges: readonly [];
|
|
768
|
+
readonly moves: readonly [];
|
|
769
|
+
readonly say: readonly [];
|
|
770
|
+
};
|
|
721
771
|
readonly world: "high-key";
|
|
722
772
|
readonly imagery: "Your own before-and-after photos.";
|
|
723
773
|
readonly pages: readonly ["home", "services", "prices", "gallery", "contact"];
|
|
@@ -780,6 +830,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
780
830
|
readonly between: "fade";
|
|
781
831
|
};
|
|
782
832
|
readonly ceiling: "lively";
|
|
833
|
+
readonly lists: {
|
|
834
|
+
readonly arranges: readonly [];
|
|
835
|
+
readonly moves: readonly [];
|
|
836
|
+
readonly say: readonly [];
|
|
837
|
+
};
|
|
783
838
|
readonly world: "high-key";
|
|
784
839
|
readonly imagery: "The room, real classes, daylight.";
|
|
785
840
|
readonly pages: readonly ["home", "classes", "schedule", "teachers", "prices", "contact"];
|
|
@@ -843,6 +898,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
843
898
|
readonly between: "slide";
|
|
844
899
|
};
|
|
845
900
|
readonly ceiling: "lively";
|
|
901
|
+
readonly lists: {
|
|
902
|
+
readonly arranges: readonly [];
|
|
903
|
+
readonly moves: readonly [];
|
|
904
|
+
readonly say: readonly [];
|
|
905
|
+
};
|
|
846
906
|
readonly world: "hard-light";
|
|
847
907
|
readonly imagery: "Real people training; movement.";
|
|
848
908
|
readonly pages: readonly ["home", "classes", "prices", "coaches", "contact"];
|
|
@@ -902,6 +962,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
902
962
|
readonly between: "none";
|
|
903
963
|
};
|
|
904
964
|
readonly ceiling: "subtle";
|
|
965
|
+
readonly lists: {
|
|
966
|
+
readonly arranges: readonly ["deck"];
|
|
967
|
+
readonly moves: readonly ["auto", "page"];
|
|
968
|
+
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
969
|
+
};
|
|
905
970
|
readonly world: "documentary";
|
|
906
971
|
readonly imagery: "A calm room, daylight; your portrait.";
|
|
907
972
|
readonly pages: readonly ["home", "how I work", "about", "faq", "contact"];
|
|
@@ -965,6 +1030,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
965
1030
|
readonly between: "fade";
|
|
966
1031
|
};
|
|
967
1032
|
readonly ceiling: "subtle";
|
|
1033
|
+
readonly lists: {
|
|
1034
|
+
readonly arranges: readonly ["deck"];
|
|
1035
|
+
readonly moves: readonly ["auto", "page"];
|
|
1036
|
+
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1037
|
+
};
|
|
968
1038
|
readonly world: "high-key";
|
|
969
1039
|
readonly imagery: "Your team and rooms; no stock doctors.";
|
|
970
1040
|
readonly pages: readonly ["home", "treatments (services)", "team", "faq", "contact"];
|
|
@@ -1029,6 +1099,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1029
1099
|
readonly between: "fade";
|
|
1030
1100
|
};
|
|
1031
1101
|
readonly ceiling: "subtle";
|
|
1102
|
+
readonly lists: {
|
|
1103
|
+
readonly arranges: readonly ["deck"];
|
|
1104
|
+
readonly moves: readonly ["auto", "page"];
|
|
1105
|
+
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1106
|
+
};
|
|
1032
1107
|
readonly world: "high-key";
|
|
1033
1108
|
readonly imagery: "Your clinic and team.";
|
|
1034
1109
|
readonly pages: readonly ["home", "treatments", "team", "faq", "contact"];
|
|
@@ -1091,6 +1166,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1091
1166
|
readonly between: "fade";
|
|
1092
1167
|
};
|
|
1093
1168
|
readonly ceiling: "standard";
|
|
1169
|
+
readonly lists: {
|
|
1170
|
+
readonly arranges: readonly [];
|
|
1171
|
+
readonly moves: readonly [];
|
|
1172
|
+
readonly say: readonly [];
|
|
1173
|
+
};
|
|
1094
1174
|
readonly world: "documentary";
|
|
1095
1175
|
readonly imagery: "Real animals you treat (with permission).";
|
|
1096
1176
|
readonly pages: readonly ["home", "services", "team", "faq", "contact"];
|
|
@@ -1149,6 +1229,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1149
1229
|
readonly between: "fade";
|
|
1150
1230
|
};
|
|
1151
1231
|
readonly ceiling: "expressive";
|
|
1232
|
+
readonly lists: {
|
|
1233
|
+
readonly arranges: readonly [];
|
|
1234
|
+
readonly moves: readonly [];
|
|
1235
|
+
readonly say: readonly [];
|
|
1236
|
+
};
|
|
1152
1237
|
readonly world: "low-key";
|
|
1153
1238
|
readonly imagery: "Your own food and room photos.";
|
|
1154
1239
|
readonly pages: readonly ["home", "menu", "about", "contact"];
|
|
@@ -1214,6 +1299,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1214
1299
|
readonly between: "slide";
|
|
1215
1300
|
};
|
|
1216
1301
|
readonly ceiling: "lively";
|
|
1302
|
+
readonly lists: {
|
|
1303
|
+
readonly arranges: readonly [];
|
|
1304
|
+
readonly moves: readonly [];
|
|
1305
|
+
readonly say: readonly [];
|
|
1306
|
+
};
|
|
1217
1307
|
readonly world: "documentary";
|
|
1218
1308
|
readonly imagery: "Your bakes and drinks, close up.";
|
|
1219
1309
|
readonly pages: readonly ["home", "menu", "about", "contact"];
|
|
@@ -1276,6 +1366,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1276
1366
|
readonly between: "cinematic";
|
|
1277
1367
|
};
|
|
1278
1368
|
readonly ceiling: "expressive";
|
|
1369
|
+
readonly lists: {
|
|
1370
|
+
readonly arranges: readonly [];
|
|
1371
|
+
readonly moves: readonly [];
|
|
1372
|
+
readonly say: readonly [];
|
|
1373
|
+
};
|
|
1279
1374
|
readonly world: "nocturne";
|
|
1280
1375
|
readonly imagery: "The cellar, the bar, the bottle.";
|
|
1281
1376
|
readonly pages: readonly ["home", "menu or wines", "our story", "visit", "contact"];
|
|
@@ -1338,6 +1433,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1338
1433
|
readonly between: "slide";
|
|
1339
1434
|
};
|
|
1340
1435
|
readonly ceiling: "expressive";
|
|
1436
|
+
readonly lists: {
|
|
1437
|
+
readonly arranges: readonly [];
|
|
1438
|
+
readonly moves: readonly [];
|
|
1439
|
+
readonly say: readonly [];
|
|
1440
|
+
};
|
|
1341
1441
|
readonly world: "high-key";
|
|
1342
1442
|
readonly imagery: "Product photos on plain grounds; real people wearing them.";
|
|
1343
1443
|
readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
|
|
@@ -1395,6 +1495,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1395
1495
|
readonly between: "fade";
|
|
1396
1496
|
};
|
|
1397
1497
|
readonly ceiling: "lively";
|
|
1498
|
+
readonly lists: {
|
|
1499
|
+
readonly arranges: readonly [];
|
|
1500
|
+
readonly moves: readonly [];
|
|
1501
|
+
readonly say: readonly [];
|
|
1502
|
+
};
|
|
1398
1503
|
readonly world: "macro";
|
|
1399
1504
|
readonly imagery: "Your own arrangements in daylight.";
|
|
1400
1505
|
readonly pages: readonly ["home", "flowers (collection)", "weddings and events", "about", "contact"];
|
|
@@ -1453,6 +1558,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1453
1558
|
readonly between: "fade";
|
|
1454
1559
|
};
|
|
1455
1560
|
readonly ceiling: "expressive";
|
|
1561
|
+
readonly lists: {
|
|
1562
|
+
readonly arranges: readonly [];
|
|
1563
|
+
readonly moves: readonly [];
|
|
1564
|
+
readonly say: readonly [];
|
|
1565
|
+
};
|
|
1456
1566
|
readonly world: "documentary";
|
|
1457
1567
|
readonly imagery: "Pieces in real rooms and on plain grounds.";
|
|
1458
1568
|
readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
|
|
@@ -1511,6 +1621,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1511
1621
|
readonly between: "fade";
|
|
1512
1622
|
};
|
|
1513
1623
|
readonly ceiling: "standard";
|
|
1624
|
+
readonly lists: {
|
|
1625
|
+
readonly arranges: readonly ["deck"];
|
|
1626
|
+
readonly moves: readonly [];
|
|
1627
|
+
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1628
|
+
};
|
|
1514
1629
|
readonly world: "architectural";
|
|
1515
1630
|
readonly imagery: "Your portrait; diagrams over stock.";
|
|
1516
1631
|
readonly pages: readonly ["home", "services", "case studies", "about", "contact"];
|
|
@@ -1571,6 +1686,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1571
1686
|
readonly between: "fade";
|
|
1572
1687
|
};
|
|
1573
1688
|
readonly ceiling: "standard";
|
|
1689
|
+
readonly lists: {
|
|
1690
|
+
readonly arranges: readonly ["deck"];
|
|
1691
|
+
readonly moves: readonly [];
|
|
1692
|
+
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1693
|
+
};
|
|
1574
1694
|
readonly world: "documentary";
|
|
1575
1695
|
readonly imagery: "Your portrait, working with people.";
|
|
1576
1696
|
readonly pages: readonly ["home", "how it works", "programmes", "about", "contact"];
|
|
@@ -1625,6 +1745,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1625
1745
|
readonly between: "none";
|
|
1626
1746
|
};
|
|
1627
1747
|
readonly ceiling: "subtle";
|
|
1748
|
+
readonly lists: {
|
|
1749
|
+
readonly arranges: readonly ["deck"];
|
|
1750
|
+
readonly moves: readonly ["auto", "page"];
|
|
1751
|
+
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1752
|
+
};
|
|
1628
1753
|
readonly world: "architectural";
|
|
1629
1754
|
readonly imagery: "Your team; your office.";
|
|
1630
1755
|
readonly pages: readonly ["home", "practice areas (services)", "team", "about", "contact"];
|
|
@@ -1690,6 +1815,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1690
1815
|
readonly between: "slide";
|
|
1691
1816
|
};
|
|
1692
1817
|
readonly ceiling: "lively";
|
|
1818
|
+
readonly lists: {
|
|
1819
|
+
readonly arranges: readonly [];
|
|
1820
|
+
readonly moves: readonly [];
|
|
1821
|
+
readonly say: readonly [];
|
|
1822
|
+
};
|
|
1693
1823
|
readonly world: "architectural";
|
|
1694
1824
|
readonly imagery: "Your own property photos; never stock.";
|
|
1695
1825
|
readonly pages: readonly ["home", "properties (collection)", "property (detail)", "about", "contact"];
|
|
@@ -1751,6 +1881,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1751
1881
|
readonly between: "fade";
|
|
1752
1882
|
};
|
|
1753
1883
|
readonly ceiling: "standard";
|
|
1884
|
+
readonly lists: {
|
|
1885
|
+
readonly arranges: readonly ["deck"];
|
|
1886
|
+
readonly moves: readonly [];
|
|
1887
|
+
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1888
|
+
};
|
|
1754
1889
|
readonly world: "documentary";
|
|
1755
1890
|
readonly imagery: "Real people you help (with permission).";
|
|
1756
1891
|
readonly pages: readonly ["home", "what we do", "stories", "get involved", "contact"];
|
|
@@ -1805,6 +1940,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1805
1940
|
readonly between: "cinematic";
|
|
1806
1941
|
};
|
|
1807
1942
|
readonly ceiling: "expressive";
|
|
1943
|
+
readonly lists: {
|
|
1944
|
+
readonly arranges: readonly [];
|
|
1945
|
+
readonly moves: readonly [];
|
|
1946
|
+
readonly say: readonly [];
|
|
1947
|
+
};
|
|
1808
1948
|
readonly world: "nocturne";
|
|
1809
1949
|
readonly imagery: "Real events at your venue.";
|
|
1810
1950
|
readonly pages: readonly ["home", "spaces", "gallery", "faq", "contact"];
|
|
@@ -1866,6 +2006,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1866
2006
|
readonly between: "cinematic";
|
|
1867
2007
|
};
|
|
1868
2008
|
readonly ceiling: "expressive";
|
|
2009
|
+
readonly lists: {
|
|
2010
|
+
readonly arranges: readonly [];
|
|
2011
|
+
readonly moves: readonly [];
|
|
2012
|
+
readonly say: readonly [];
|
|
2013
|
+
};
|
|
1869
2014
|
readonly world: "documentary";
|
|
1870
2015
|
readonly imagery: "Rooms, views, breakfast; your own photos.";
|
|
1871
2016
|
readonly pages: readonly ["home", "rooms (collection)", "room (detail)", "about", "contact"];
|
|
@@ -1927,6 +2072,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1927
2072
|
readonly between: "slide";
|
|
1928
2073
|
};
|
|
1929
2074
|
readonly ceiling: "lively";
|
|
2075
|
+
readonly lists: {
|
|
2076
|
+
readonly arranges: readonly [];
|
|
2077
|
+
readonly moves: readonly [];
|
|
2078
|
+
readonly say: readonly [];
|
|
2079
|
+
};
|
|
1930
2080
|
readonly world: "documentary";
|
|
1931
2081
|
readonly imagery: "Real classes (with permission).";
|
|
1932
2082
|
readonly pages: readonly ["home", "classes", "prices", "about", "contact"];
|
|
@@ -2324,6 +2474,12 @@ interface GoodFit {
|
|
|
2324
2474
|
/** The reason in Hebrew (2026-10-25). */
|
|
2325
2475
|
readonly reasonHe: string;
|
|
2326
2476
|
}
|
|
2477
|
+
/** What a type's lists never do (contract harness `businessTypes[].lists`, from harness.mjs LIST_NEVER). */
|
|
2478
|
+
interface BusinessTypeLists {
|
|
2479
|
+
readonly arranges: ReadonlyArray<string>;
|
|
2480
|
+
readonly moves: ReadonlyArray<string>;
|
|
2481
|
+
readonly say: ReadonlyArray<string>;
|
|
2482
|
+
}
|
|
2327
2483
|
interface BusinessType {
|
|
2328
2484
|
readonly id: string;
|
|
2329
2485
|
readonly label: string;
|
|
@@ -2347,6 +2503,9 @@ interface BusinessType {
|
|
|
2347
2503
|
/** SC6: the most How animated a GENERATED site of this type may start at (`motionFor`). A Scene needs Expressive,
|
|
2348
2504
|
* so a type capped below it never gets one. Binds generated output only — the owner may choose any level. */
|
|
2349
2505
|
readonly ceiling: DesignMotion['animate'];
|
|
2506
|
+
/** List ingredients LI0 (list-ingredients-plan.md L-D12): what this type's lists never do — arrangements and moves
|
|
2507
|
+
* the layout's list section is not offered, and the sentences saying why. Binds generated output only. */
|
|
2508
|
+
readonly lists: BusinessTypeLists;
|
|
2350
2509
|
readonly imagery: string;
|
|
2351
2510
|
/** M7: the picture world a site's made pictures start in (generation-core `artDirectionFor`; contract site.pictureWorlds). */
|
|
2352
2511
|
readonly world: `${PictureWorld}`;
|
|
@@ -3243,4 +3402,4 @@ type SiteAuditView = SiteAudit & {
|
|
|
3243
3402
|
};
|
|
3244
3403
|
|
|
3245
3404
|
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessTypeById, calmerChoice, decodeSiteReading, inferNeeds, isLookRule, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
|
|
3246
|
-
export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
|
|
3405
|
+
export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
|
package/package.json
CHANGED
|
@@ -477,6 +477,55 @@ export function layoutGalleryLists(plan: SitePlan): LayoutGalleryList[] {
|
|
|
477
477
|
});
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
+
/** The words a list's roles are called in the brief — what a visitor would see, never the field name. */
|
|
481
|
+
export const LIST_ROLE_WORDS: Readonly<Record<`${ContentRole}`, string>> = {
|
|
482
|
+
title: 'name', summary: 'summary', image: 'picture', meta: 'detail', date: 'date', gallery: 'pictures',
|
|
483
|
+
logo: 'mark', icon: 'icon', quote: 'quote', person: 'person', link: 'link', price: 'price', compareAt: 'earlier price',
|
|
484
|
+
};
|
|
485
|
+
/** A text role whose planned samples run past this many words (median) is called long: a small card would cut it. */
|
|
486
|
+
export const LIST_LONG_WORDS = 20;
|
|
487
|
+
const LIST_TEXT_ROLES: ReadonlyArray<`${ContentRole}`> = [ContentRole.Summary, ContentRole.Quote];
|
|
488
|
+
|
|
489
|
+
/** What one list holds — the shape the layout's model reads before it mixes a list section (list-ingredients LI0): how
|
|
490
|
+
* many items the build will write, the roles they play, and which of their words run long. Never the items themselves. */
|
|
491
|
+
export interface LayoutListShape {
|
|
492
|
+
alias: string;
|
|
493
|
+
label: string;
|
|
494
|
+
/** The planned sample count (what the build writes), or null when the plan says none. */
|
|
495
|
+
items: number | null;
|
|
496
|
+
/** The roles its items play, in the contract's order. */
|
|
497
|
+
roles: ReadonlyArray<`${ContentRole}`>;
|
|
498
|
+
/** Text roles whose planned samples run long (median over LIST_LONG_WORDS words). */
|
|
499
|
+
long: ReadonlyArray<`${ContentRole}`>;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
const wordCount = (text: string) => text.trim().split(/\s+/).filter(Boolean).length;
|
|
503
|
+
const median = (values: number[]) => { const v = [...values].sort((a, b) => a - b); return v.length ? v[Math.floor((v.length - 1) / 2)] : 0; };
|
|
504
|
+
|
|
505
|
+
/** The shape of every list a list section could show (the plan's query sources, as `layoutGalleryLists`). */
|
|
506
|
+
export function layoutListShapes(plan: SitePlan): LayoutListShape[] {
|
|
507
|
+
return plan.dataSources
|
|
508
|
+
.filter(d => d.type === PlanDataSourceType.Cms && d.mode === PlanDataSourceMode.Query)
|
|
509
|
+
.map(d => {
|
|
510
|
+
const type = contentTypeOfSource(d.alias, plan);
|
|
511
|
+
const played = (Object.values(ContentRole) as `${ContentRole}`[]).filter(role => !!roleField(type, role));
|
|
512
|
+
const perItem = type?.seed?.perItem ?? {};
|
|
513
|
+
const long = LIST_TEXT_ROLES.filter(role => {
|
|
514
|
+
const field = roleField(type, role);
|
|
515
|
+
const samples = field ? (perItem[field] ?? []).filter(s => typeof s === 'string') : [];
|
|
516
|
+
return samples.length > 0 && median(samples.map(wordCount)) > LIST_LONG_WORDS;
|
|
517
|
+
});
|
|
518
|
+
const count = type?.seed?.count;
|
|
519
|
+
return { alias: d.alias, label: type?.label ?? d.alias, items: typeof count === 'number' && count > 0 ? count : null, roles: played, long };
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/** One line of the brief: `works (Works): 6 items · name, picture, detail, quote (long)`. */
|
|
524
|
+
export function describeListShape(shape: LayoutListShape): string {
|
|
525
|
+
const roles = shape.roles.map(r => `${LIST_ROLE_WORDS[r]}${shape.long.includes(r) ? ' (long)' : ''}`).join(', ');
|
|
526
|
+
return `${shape.alias} (${shape.label}): ${shape.items === null ? 'items the owner adds' : `${shape.items} item${shape.items === 1 ? '' : 's'}`} · ${roles}`;
|
|
527
|
+
}
|
|
528
|
+
|
|
480
529
|
/** The list sources a composed gallery may show (`gallery.source`): the plan's query sources whose items have a picture.
|
|
481
530
|
* A list with none (a FAQ) would repeat no slide and draw an empty band (iox-ui#59), so it is never offered and the check
|
|
482
531
|
* refuses it. */
|
|
@@ -96,6 +96,16 @@ export enum ContentRole {
|
|
|
96
96
|
Meta = 'meta',
|
|
97
97
|
Date = 'date',
|
|
98
98
|
Gallery = 'gallery',
|
|
99
|
+
/** List ingredients LI0: a mark — a client's or maker's logo or wordmark (a picture). */
|
|
100
|
+
Logo = 'logo',
|
|
101
|
+
/** LI0: a small symbol, named from the icon set. */
|
|
102
|
+
Icon = 'icon',
|
|
103
|
+
/** LI0: someone's words — a testimonial or a story's line. */
|
|
104
|
+
Quote = 'quote',
|
|
105
|
+
/** LI0: who said or made it (their role or place goes in `meta`). */
|
|
106
|
+
Person = 'person',
|
|
107
|
+
/** LI0: where the item leads — its own page or an address. */
|
|
108
|
+
Link = 'link',
|
|
99
109
|
/** Commerce C-D21: the shop's own price — played only by the shop's fields (`SHOP_ROLES`), never a content type's. */
|
|
100
110
|
Price = 'price',
|
|
101
111
|
/** Commerce C-D21: the shop's earlier price, struck through. */
|