@vectoriox/iox-ui 5.181.0 → 5.182.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 +103 -22
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-seo-core.mjs +160 -1
- package/fesm2022/vectoriox-iox-ui-seo-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +159 -0
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +57 -5
- package/package.json +1 -1
- package/seo-core/index.d.ts +74 -2
- package/src/generation-core/compose-site.ts +5 -13
- package/src/generation-core/import-plan.ts +90 -6
- package/src/generation-core/plan-wire.ts +2 -0
- package/src/generation-core/site-build-run.ts +20 -3
- package/src/generation-core/site-plan.model.ts +6 -0
- package/src/generation-core/site-spec.generated.ts +3 -1
- package/src/generation-core/validate-site-plan.ts +6 -2
- package/src/seo-core/normalize.ts +13 -0
- package/src/seo-core/public-api.ts +1 -0
- package/src/seo-core/redirects.ts +144 -0
- package/src/seo-core/seo.model.ts +4 -0
|
@@ -187,6 +187,7 @@ declare const SPEC_SITE_PLAN_SHAPE: {
|
|
|
187
187
|
readonly "template?": "string — the content type a template page renders one item of";
|
|
188
188
|
readonly "routeSource?": "string — the single source read by the route param (route.* binds it)";
|
|
189
189
|
readonly "seo?": "pageSeo";
|
|
190
|
+
readonly "importedFrom?": "string — Bring my site X7: the old address (absolute) a page of the owner's words was read from (generation-core planImport) — its redirect starts there. Only on an import plan; never a model's";
|
|
190
191
|
readonly sections: "section[] — the page from patterns; a composed page keeps them as its fallback";
|
|
191
192
|
readonly "compose?": "boolean — the page is composed in the layout language (M8 gate 2): which pages is the generation’s tier (AW-D23/24) — Basic the home page and at most one other, Award every page that is no per-item or legal page; written with the pages, the layout step fills `layout`";
|
|
192
193
|
readonly "layout?": "layoutPage — the composed page (the layout step's, never the Pages request's): when present the page is stamped from it and `sections` is not";
|
|
@@ -225,6 +226,7 @@ declare const SPEC_SITE_PLAN_SHAPE: {
|
|
|
225
226
|
readonly pageSeo: {
|
|
226
227
|
readonly "title?": "string ≤ 60 — the page title in search results (absent = the page name · the business)";
|
|
227
228
|
readonly "description?": "string ≤ 160 — the line under it (absent = the tagline, else the page and the business)";
|
|
229
|
+
readonly "robots?": "string — seo-core SEO_ROBOTS_OPTIONS: Bring my site X6, a page the owner's old site kept out of search ('noindex, follow'). Only on an import plan; never a model's";
|
|
228
230
|
};
|
|
229
231
|
readonly section: {
|
|
230
232
|
readonly pattern: "string — a non-global pattern id";
|
|
@@ -10863,6 +10865,9 @@ interface PageSectionPlan {
|
|
|
10863
10865
|
interface PageSeoPlan {
|
|
10864
10866
|
readonly title?: string;
|
|
10865
10867
|
readonly description?: string;
|
|
10868
|
+
/** Bring my site X6: a page the owner's old site kept out of search moves with `'noindex, follow'` (seo-core
|
|
10869
|
+
* `SEO_ROBOTS_OPTIONS`). Only on an import plan; never a model's. */
|
|
10870
|
+
readonly robots?: string;
|
|
10866
10871
|
}
|
|
10867
10872
|
/** The kinds of page a plan is made of (contract `site.archetypes`, L0-2). */
|
|
10868
10873
|
type PageArchetypeId = keyof typeof SPEC_SITE_ARCHETYPES;
|
|
@@ -10898,6 +10903,9 @@ interface PagePlan {
|
|
|
10898
10903
|
/** The inferred need this page answers (the Plan screen tags it "we added") — a harness-core need id. */
|
|
10899
10904
|
readonly need?: SiteNeedId;
|
|
10900
10905
|
readonly seo?: PageSeoPlan;
|
|
10906
|
+
/** Bring my site X7: the old address (absolute) this page's words were read from — its redirect starts there
|
|
10907
|
+
* (`importRedirects`). Only on an import plan; never a model's. */
|
|
10908
|
+
readonly importedFrom?: string;
|
|
10901
10909
|
/** The page from patterns — a composed page keeps them as its fallback. */
|
|
10902
10910
|
readonly sections: ReadonlyArray<PageSectionPlan>;
|
|
10903
10911
|
/** M8 gate 2: the page is composed in the layout language (written with the pages; the layout step fills `layout`). */
|
|
@@ -14888,12 +14896,16 @@ declare enum BuildStep {
|
|
|
14888
14896
|
Shop = "shop",
|
|
14889
14897
|
DataSources = "data-sources",
|
|
14890
14898
|
Pages = "pages",
|
|
14899
|
+
/** Bring my site X7: the owner's old addresses answer with a 301 to where each page and item now lives — only in a run
|
|
14900
|
+
* whose plan was read from a site and moved something to a new address (`importRedirects`). */
|
|
14901
|
+
Redirects = "redirects",
|
|
14891
14902
|
Globals = "globals",
|
|
14892
14903
|
Look = "look"
|
|
14893
14904
|
}
|
|
14894
14905
|
declare const BUILD_STEPS: ReadonlyArray<BuildStep>;
|
|
14895
14906
|
/** The steps a build of `plan` takes, in order: every one, the shop's only when the plan sells (commerce G1), the imported
|
|
14896
|
-
* pictures' only when the plan was read from a site that has some (X5)
|
|
14907
|
+
* pictures' only when the plan was read from a site that has some (X5), the redirects' only when it moved an old address
|
|
14908
|
+
* (X7). */
|
|
14897
14909
|
declare function buildStepsOf(plan: unknown): BuildStep[];
|
|
14898
14910
|
declare enum StepState {
|
|
14899
14911
|
Wait = "wait",
|
|
@@ -14922,6 +14934,9 @@ declare enum CreatedKind {
|
|
|
14922
14934
|
/** RD3-D3 (a) Replace: a page an earlier Undo kept, moved aside (`/<route>-previous`, a draft) so the plan's page takes
|
|
14923
14935
|
* its address — Undo puts it back while it is as the move left it and its address is free (`CreatedRecord.from`). */
|
|
14924
14936
|
PageMoved = "page-moved",
|
|
14937
|
+
/** Bring my site X7: a redirect from one of the owner's old addresses (`source: 'import'`) — removed by Undo while it is
|
|
14938
|
+
* as the build wrote it. */
|
|
14939
|
+
Redirect = "redirect",
|
|
14925
14940
|
Global = "global",
|
|
14926
14941
|
Look = "look"
|
|
14927
14942
|
}
|
|
@@ -15033,7 +15048,11 @@ declare enum BuildNoticeCode {
|
|
|
15033
15048
|
/** iox-ui#155 (popups PU3): Keep mine left the studio's own popup in the popup's place, so the popup the build made
|
|
15034
15049
|
* from the owner's news was not written — said once, so the owner knows the news is not on the site and where to
|
|
15035
15050
|
* show it (Replace, or the builder). */
|
|
15036
|
-
PopupKept = "popup-kept"
|
|
15051
|
+
PopupKept = "popup-kept",
|
|
15052
|
+
/** Bring my site X7: some old addresses were not redirected — a page of the site answers there, or it would chain to
|
|
15053
|
+
* another redirect (seo-core `redirectRefusal`); said once with how many, so the owner knows those links land on the
|
|
15054
|
+
* page that now stands there (or adds a redirect of their own). */
|
|
15055
|
+
RedirectsRefused = "redirects-refused"
|
|
15037
15056
|
}
|
|
15038
15057
|
/** RD3-D3 (a): what a build does with a page an earlier Undo kept at an address its plan builds — the header and footer's
|
|
15039
15058
|
* pair (`replaceGlobals`), for pages. */
|
|
@@ -15180,6 +15199,7 @@ declare const buildKeys: {
|
|
|
15180
15199
|
readonly global: (nodeId: string) => string;
|
|
15181
15200
|
readonly look: () => string;
|
|
15182
15201
|
readonly pageMoved: (pageId: string) => string;
|
|
15202
|
+
readonly redirect: (from: string) => string;
|
|
15183
15203
|
};
|
|
15184
15204
|
/** The id of the page a run made for the plan's home page, or null (not made yet, or no home page). */
|
|
15185
15205
|
declare function builtHomePageId(run: Pick<SiteBuildRun, 'plan' | 'created'> | null | undefined): string | null;
|
|
@@ -15205,6 +15225,8 @@ interface BuildStepFacts {
|
|
|
15205
15225
|
items: number;
|
|
15206
15226
|
/** X5: the pictures an import copies from the owner's site (0 = not an import). */
|
|
15207
15227
|
pictures: number;
|
|
15228
|
+
/** X7: the old addresses an import redirects (0 = not an import, or nothing moved). */
|
|
15229
|
+
redirects: number;
|
|
15208
15230
|
/** Commerce G1: sample products for the shop (0 = the plan sells nothing) and their categories. */
|
|
15209
15231
|
products: number;
|
|
15210
15232
|
categories: number;
|
|
@@ -16170,6 +16192,11 @@ declare function isRedesignRun(run: {
|
|
|
16170
16192
|
* `story.long-form` section holding the owner's own words, paragraphs kept. The home page, the contact page and the
|
|
16171
16193
|
* header and footer come from the template (the Studio's by default), the look from the owner's pick. Pure: iox-cms
|
|
16172
16194
|
* reads its scan into an `ImportReading` and builds the plan here, and so may any screen that shows it.
|
|
16195
|
+
*
|
|
16196
|
+
* X6: what search knew of each page moves with it — its old title and line become the page's `seo` words (the home
|
|
16197
|
+
* page's too), and a page the old site kept out of search moves kept out (`'noindex, follow'`, out of the menu).
|
|
16198
|
+
* X7: every moved page and item keeps the old address it was read from, and `importRedirects` lists the redirects from
|
|
16199
|
+
* those addresses to the new ones.
|
|
16173
16200
|
*/
|
|
16174
16201
|
/** One item of a list the scan found, in the owner's own words. */
|
|
16175
16202
|
interface ImportedItem {
|
|
@@ -16210,7 +16237,16 @@ interface ImportedPage {
|
|
|
16210
16237
|
readonly title: string;
|
|
16211
16238
|
/** Its own text: paragraphs, a blank line between them. A page with none is not moved. */
|
|
16212
16239
|
readonly text: string;
|
|
16213
|
-
/** Its meta description — the line under its name. */
|
|
16240
|
+
/** Its meta description — the line under its name in a search result (X6: the page's `seo.description`). */
|
|
16241
|
+
readonly description?: string;
|
|
16242
|
+
/** X6: its `<title>` — what a search result named it, when the page said (else its name stands). */
|
|
16243
|
+
readonly seoTitle?: string;
|
|
16244
|
+
/** X6: the old site kept it out of search (`robots: noindex`) — it moves kept out, and out of the menu. */
|
|
16245
|
+
readonly noindex?: boolean;
|
|
16246
|
+
}
|
|
16247
|
+
/** X6: what search knew of the old home page — the new home page carries its words. */
|
|
16248
|
+
interface ImportedHome {
|
|
16249
|
+
readonly seoTitle?: string;
|
|
16214
16250
|
readonly description?: string;
|
|
16215
16251
|
}
|
|
16216
16252
|
/** What iox-cms read from a scan and its items. */
|
|
@@ -16220,6 +16256,8 @@ interface ImportReading {
|
|
|
16220
16256
|
readonly locale?: `${SiteLocale}`;
|
|
16221
16257
|
readonly lists: ReadonlyArray<ImportedList>;
|
|
16222
16258
|
readonly pages: ReadonlyArray<ImportedPage>;
|
|
16259
|
+
/** X6: the old home page's search words, when it had some. */
|
|
16260
|
+
readonly home?: ImportedHome;
|
|
16223
16261
|
}
|
|
16224
16262
|
interface ImportPlanInput {
|
|
16225
16263
|
/** The owner's pick (the Design step). */
|
|
@@ -16241,6 +16279,20 @@ declare function isImportPlan(plan: SitePlan): plan is ImportPlan;
|
|
|
16241
16279
|
* storage and the items show the copies (never hot-linked); the wizard counts them. A plan read from no site has none.
|
|
16242
16280
|
*/
|
|
16243
16281
|
declare function importedPicturesOf(plan: Pick<SitePlan, 'source' | 'contentTypes'> | null | undefined): string[];
|
|
16282
|
+
/** One redirect an import makes: the old address's path → the page that now holds what it held. */
|
|
16283
|
+
interface ImportRedirect {
|
|
16284
|
+
/** The old path (`redirectPath` of the address it was read from). */
|
|
16285
|
+
readonly from: string;
|
|
16286
|
+
/** The new path — a page's route, or an item's (`/work/blue-bowl`). */
|
|
16287
|
+
readonly to: string;
|
|
16288
|
+
}
|
|
16289
|
+
/**
|
|
16290
|
+
* Bring my site X7: the redirects an import plan makes — every moved page's and real item's old address (its path) to
|
|
16291
|
+
* where it now lives, each old path once, in plan order. An address that already IS its new path needs none and is not
|
|
16292
|
+
* listed. Whether each may be written (a page that answers there, a chain) is the CMS's question at build time, against
|
|
16293
|
+
* the studio as it is (seo-core `redirectRefusal`). A plan read from no site makes none.
|
|
16294
|
+
*/
|
|
16295
|
+
declare function importRedirects(plan: Pick<SitePlan, 'source' | 'contentTypes' | 'dataSources' | 'pages'> | null | undefined): ImportRedirect[];
|
|
16244
16296
|
/** The patterns an import places (contract `site.patterns`). */
|
|
16245
16297
|
declare enum ImportPattern {
|
|
16246
16298
|
PageHeader = "page-header.simple",
|
|
@@ -19815,5 +19867,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
|
|
|
19815
19867
|
* its phone menu, the footer's copyright line. */
|
|
19816
19868
|
declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
|
|
19817
19869
|
|
|
19818
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, 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, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, 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_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, 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, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, 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, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
19819
|
-
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiPictureMakerRow, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildComposeDecisions, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeFreeOptions, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContactBusiness, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DrawersTiming, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterNever, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeSlotOptions, FreeStamped, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, ImportPlan, ImportPlanInput, ImportReading, ImportedItem, ImportedList, ImportedPage, JsonSchema, KeptPageRefusal, LayerMetrics, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutIssueWords, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutRoomColumn, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LayoutWordRef, LayoutWordsValue, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPartEdit, ListPartsKept, ListPick, ListSaid, ListSayParams, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, MenuWords, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureSupply, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanPopupLines, PlanStatedFact, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PlannedPopup, PopupCheck, PopupMixWords, PreflightRefusal, PromptReading, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionFallbackOptions, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteFindingGroup, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, TypeLed, TypeLedChange, TypeLedOpening, TypeLedRoundContext, TypeLedTarget, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
|
19870
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, 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, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, 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_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, 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, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, 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, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
19871
|
+
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiPictureMakerRow, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildComposeDecisions, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeFreeOptions, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContactBusiness, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DrawersTiming, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterNever, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeSlotOptions, FreeStamped, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, ImportPlan, ImportPlanInput, ImportReading, ImportRedirect, ImportedHome, ImportedItem, ImportedList, ImportedPage, JsonSchema, KeptPageRefusal, LayerMetrics, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutIssueWords, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutRoomColumn, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LayoutWordRef, LayoutWordsValue, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPartEdit, ListPartsKept, ListPick, ListSaid, ListSayParams, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, MenuWords, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureSupply, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanPopupLines, PlanStatedFact, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PlannedPopup, PopupCheck, PopupMixWords, PreflightRefusal, PromptReading, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionFallbackOptions, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteFindingGroup, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, TypeLed, TypeLedChange, TypeLedOpening, TypeLedRoundContext, TypeLedTarget, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
package/package.json
CHANGED
package/seo-core/index.d.ts
CHANGED
|
@@ -124,6 +124,9 @@ declare const SEO_ROBOTS_OPTIONS: ReadonlyArray<{
|
|
|
124
124
|
label: string;
|
|
125
125
|
value: string;
|
|
126
126
|
}>;
|
|
127
|
+
/** A page kept out of search but its links still followed — what a page the owner's old site kept out of search moves
|
|
128
|
+
* with (Bring my site X6). */
|
|
129
|
+
declare const SEO_ROBOTS_NOINDEX = "noindex, follow";
|
|
127
130
|
declare const SEO_TWITTER_CARD_OPTIONS: ReadonlyArray<{
|
|
128
131
|
label: string;
|
|
129
132
|
value: string;
|
|
@@ -155,6 +158,12 @@ declare function normalizeSeoDoc(raw: unknown): SeoDoc;
|
|
|
155
158
|
* `undefined` here and `resolveSeo` fills it in from the lower rungs.
|
|
156
159
|
*/
|
|
157
160
|
declare function seoString(value: unknown): string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Words cut to `max` characters on a word boundary, with an ellipsis only when something was cut — a search result's
|
|
163
|
+
* title (`SEO_TITLE_MAX`) or line (`SEO_DESCRIPTION_MAX`). White space collapses. Shared by the composer (a composed
|
|
164
|
+
* page's words) and Bring my site (an old page's own title and line, X6).
|
|
165
|
+
*/
|
|
166
|
+
declare function fitSeoText(text: string, max: number): string;
|
|
158
167
|
|
|
159
168
|
/**
|
|
160
169
|
* Turn a page's SEO document into the flat list of head tags to emit.
|
|
@@ -185,5 +194,68 @@ declare function seoToTags(seo: SeoDoc | unknown, ctx?: SeoTagContext): SeoTag[]
|
|
|
185
194
|
*/
|
|
186
195
|
declare function buildSeoSchemaProperties(): Record<string, unknown>;
|
|
187
196
|
|
|
188
|
-
|
|
189
|
-
|
|
197
|
+
/**
|
|
198
|
+
* Redirects — an old address that answers with another (Bring my site X7, site-build plan §3l, decision X-D3).
|
|
199
|
+
*
|
|
200
|
+
* ONE rule for the three places that need it: iox-cms refuses a redirect that would shadow a page or loop when it is
|
|
201
|
+
* written (an import's or the owner's own), the SSR engine answers a request with the redirect that matches it before it
|
|
202
|
+
* renders, and generation-core lists the redirects an import makes. Framework-free and pure.
|
|
203
|
+
*
|
|
204
|
+
* A redirect's `from` is a PATH on the studio's own site — exact (`/portfolio/blue-bowl`) or a pattern whose `:name`
|
|
205
|
+
* segments match one segment each (`/portfolio/:slug`); its `to` is a path that may use the same names
|
|
206
|
+
* (`/work/:slug`). Exact redirects win over patterns; the engine follows ONE hop.
|
|
207
|
+
*/
|
|
208
|
+
/** The status a redirect answers with: moved for good (the import's, and the default) or for now. */
|
|
209
|
+
declare enum RedirectCode {
|
|
210
|
+
Permanent = 301,
|
|
211
|
+
Temporary = 302
|
|
212
|
+
}
|
|
213
|
+
declare const REDIRECT_CODES: ReadonlyArray<number>;
|
|
214
|
+
/** One redirect, as the engine reads it (`GET api/site/:orgId/redirects`). */
|
|
215
|
+
interface SiteRedirect {
|
|
216
|
+
from: string;
|
|
217
|
+
to: string;
|
|
218
|
+
code: number;
|
|
219
|
+
}
|
|
220
|
+
/** Why a redirect is not written — said to the owner, never a silent skip. */
|
|
221
|
+
declare enum RedirectRefusal {
|
|
222
|
+
/** `from` or `to` is not a path of this site (`/…`), or `to`'s `:name` is not one `from` has. */
|
|
223
|
+
NotAPath = "not-a-path",
|
|
224
|
+
/** It would send an address to itself. */
|
|
225
|
+
Same = "same",
|
|
226
|
+
/** `from` is the address of a page of the site — the page answers there; a redirect would hide it. (An exact old
|
|
227
|
+
* address under a page PATTERN — `/blog/Old-Post` beside `/blog/:slug` — is not: no item answers there yet.) */
|
|
228
|
+
ShadowsPage = "shadows-page",
|
|
229
|
+
/** `to` is another redirect's `from`, or `from` another's `to` — a chain, or a loop. */
|
|
230
|
+
Loop = "loop",
|
|
231
|
+
/** Another redirect already starts at this `from`. */
|
|
232
|
+
Taken = "taken"
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* An address as a redirect path: an absolute address's path, or a path — without its query and fragment, with one leading
|
|
236
|
+
* slash, no repeated or trailing slash (`/about/` and `/about` are one address), each segment percent-encoded one way.
|
|
237
|
+
* Null when it is neither. Letter case is kept: `/About` is not `/about`.
|
|
238
|
+
*/
|
|
239
|
+
declare function redirectPath(address: string | null | undefined): string | null;
|
|
240
|
+
/**
|
|
241
|
+
* The redirect a request for `path` follows, or null: an exact `from` first, then the first pattern that matches, its
|
|
242
|
+
* `:name` values put into `to`. ONE hop — what `to` answers is the next request's business.
|
|
243
|
+
*/
|
|
244
|
+
declare function matchRedirect(redirects: ReadonlyArray<SiteRedirect>, path: string): {
|
|
245
|
+
to: string;
|
|
246
|
+
code: number;
|
|
247
|
+
} | null;
|
|
248
|
+
/** What a new redirect is judged against: the site's page routes (`/work/:slug` included) and the redirects it has. */
|
|
249
|
+
interface RedirectContext {
|
|
250
|
+
pageRoutes: ReadonlyArray<string>;
|
|
251
|
+
redirects: ReadonlyArray<Pick<SiteRedirect, 'from' | 'to'>>;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Why `candidate` may not be written, or null. A `from` must not be where a page answers (it would hide the page); a
|
|
255
|
+
* `to` must not be another redirect's `from` and a `from` not another's `to` (no chains, so no loops — the engine
|
|
256
|
+
* follows one hop); one redirect per `from`.
|
|
257
|
+
*/
|
|
258
|
+
declare function redirectRefusal(candidate: Pick<SiteRedirect, 'from' | 'to'>, context: RedirectContext): RedirectRefusal | null;
|
|
259
|
+
|
|
260
|
+
export { REDIRECT_CODES, RedirectCode, RedirectRefusal, SEO_AUTO_SOURCES, SEO_BINDABLE_FIELDS, SEO_CHANGE_FREQ_OPTIONS, SEO_DESCRIPTION_MAX, SEO_ROBOTS_NOINDEX, SEO_ROBOTS_OPTIONS, SEO_TITLE_MAX, SEO_TWITTER_CARD_OPTIONS, buildSeoSchemaProperties, fitSeoText, matchRedirect, normalizeSeoDoc, redirectPath, redirectRefusal, seoString, seoToTags };
|
|
261
|
+
export type { RedirectContext, SeoAutoSource, SeoBinding, SeoDoc, SeoFieldValue, SeoLinkTag, SeoMetaTag, SeoOg, SeoRawDoc, SeoSitemap, SeoTag, SeoTagContext, SeoTitleTag, SeoTwitter, SiteRedirect };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
AnimateId, COLOR_SCHEME_TRAIT, COLOR_SCHEMES, ColorScheme, colorSchemeClass, DEFAULT_MENU_LOOK, DesignChoices, LinkType, MenuLook, motionLanguageForPlan, resolveDesignChoices, setColorScheme, headerInkOf,
|
|
4
4
|
columnWordOf,
|
|
5
5
|
} from '@vectoriox/iox-ui/design-core';
|
|
6
|
-
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX, SeoRawDoc } from '@vectoriox/iox-ui/seo-core';
|
|
6
|
+
import { fitSeoText, SEO_DESCRIPTION_MAX, SEO_TITLE_MAX, SeoRawDoc } from '@vectoriox/iox-ui/seo-core';
|
|
7
7
|
import { channelOpensNewTab, FORM_ACTIONS_ROLE, FORM_CHANNEL_ROLE, FormPresetChannel, FormPresetDef, FormPresetField, formPresetById, FormPresetId, presetFormActions } from '@vectoriox/iox-ui/forms-core';
|
|
8
8
|
import {
|
|
9
9
|
ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, accordionWords, accordionAnswerOf, accordionItems, accordionQuestionOf, AccordionRole,
|
|
@@ -1627,15 +1627,6 @@ function stampEntrances(root: SerializedNode, family: string, entrances: Readonl
|
|
|
1627
1627
|
const SEO_JOIN = ' · ';
|
|
1628
1628
|
const SEO_LINE = ' — ';
|
|
1629
1629
|
|
|
1630
|
-
/** Cut to `max` characters on a word boundary, with an ellipsis only when something was cut (seo-core's limits). */
|
|
1631
|
-
function fitSeo(text: string, max: number): string {
|
|
1632
|
-
const clean = text.replace(/\s+/g, ' ').trim();
|
|
1633
|
-
if (clean.length <= max) return clean;
|
|
1634
|
-
const cut = clean.slice(0, max - 1);
|
|
1635
|
-
const at = cut.lastIndexOf(' ');
|
|
1636
|
-
return `${(at > max / 2 ? cut.slice(0, at) : cut).trimEnd()}…`;
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
1630
|
/**
|
|
1640
1631
|
* A composed page's search-result words (M1-6c), in the seo-core shape `resolveSeo` reads — every page resolves a
|
|
1641
1632
|
* title and a description, and nothing is invented: the plan's own words when it writes them; else Home is the
|
|
@@ -1651,10 +1642,11 @@ function composePageSeo(page: PagePlan, plan: SitePlan): SeoRawDoc {
|
|
|
1651
1642
|
const city = nonEmpty(plan.business.facts?.city) ? plan.business.facts!.city!.trim() : '';
|
|
1652
1643
|
const perItem = !!page.routeSource;
|
|
1653
1644
|
const title = nonEmpty(page.seo?.title) ? page.seo!.title
|
|
1654
|
-
: perItem ? undefined :
|
|
1645
|
+
: perItem ? undefined : fitSeoText(page.isHome ? (tagline ? `${name}${SEO_LINE}${tagline}` : name) : `${page.name}${SEO_JOIN}${name}`, SEO_TITLE_MAX);
|
|
1655
1646
|
const description = nonEmpty(page.seo?.description) ? page.seo!.description
|
|
1656
|
-
: perItem ? undefined :
|
|
1657
|
-
|
|
1647
|
+
: perItem ? undefined : fitSeoText(tagline || `${page.name}${SEO_LINE}${name}${city ? `, ${city}` : ''}.`, SEO_DESCRIPTION_MAX);
|
|
1648
|
+
const robots = nonEmpty(page.seo?.robots) ? page.seo!.robots : undefined;
|
|
1649
|
+
return { ...(title ? { title } : {}), ...(description ? { description } : {}), ...(robots ? { robots } : {}) };
|
|
1658
1650
|
}
|
|
1659
1651
|
|
|
1660
1652
|
function composeDataSource(ds: DataSourcePlan): ComposedDataSource {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { DesignChoices } from '@vectoriox/iox-ui/design-core';
|
|
2
|
+
import { fitSeoText, redirectPath, SEO_DESCRIPTION_MAX, SEO_ROBOTS_NOINDEX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
|
|
2
3
|
|
|
3
4
|
import {
|
|
4
5
|
ContentFieldControl, ContentFieldPlan, ContentRole, ContentRoles, ContentTypePlan, DataSourcePlan, FIELD_TYPE_OF_CONTROL, PagePlan, PageSectionPlan,
|
|
5
|
-
PlanDataSourceMode, PlanDataSourceType, RelativeOp, roleField, SiteBusiness, SiteLocale, SitePlan, SitePlanSourceKind, SITE_PLAN_VERSION,
|
|
6
|
+
PageSeoPlan, PlanDataSourceMode, PlanDataSourceType, RelativeOp, roleField, SiteBusiness, SiteLocale, SitePlan, SitePlanSourceKind, SITE_PLAN_VERSION,
|
|
6
7
|
} from './site-plan.model';
|
|
7
8
|
import { SiteTemplate, STUDIO_TEMPLATE } from './templates';
|
|
8
9
|
|
|
@@ -14,6 +15,11 @@ import { SiteTemplate, STUDIO_TEMPLATE } from './templates';
|
|
|
14
15
|
* `story.long-form` section holding the owner's own words, paragraphs kept. The home page, the contact page and the
|
|
15
16
|
* header and footer come from the template (the Studio's by default), the look from the owner's pick. Pure: iox-cms
|
|
16
17
|
* reads its scan into an `ImportReading` and builds the plan here, and so may any screen that shows it.
|
|
18
|
+
*
|
|
19
|
+
* X6: what search knew of each page moves with it — its old title and line become the page's `seo` words (the home
|
|
20
|
+
* page's too), and a page the old site kept out of search moves kept out (`'noindex, follow'`, out of the menu).
|
|
21
|
+
* X7: every moved page and item keeps the old address it was read from, and `importRedirects` lists the redirects from
|
|
22
|
+
* those addresses to the new ones.
|
|
17
23
|
*/
|
|
18
24
|
|
|
19
25
|
/** One item of a list the scan found, in the owner's own words. */
|
|
@@ -57,7 +63,17 @@ export interface ImportedPage {
|
|
|
57
63
|
readonly title: string;
|
|
58
64
|
/** Its own text: paragraphs, a blank line between them. A page with none is not moved. */
|
|
59
65
|
readonly text: string;
|
|
60
|
-
/** Its meta description — the line under its name. */
|
|
66
|
+
/** Its meta description — the line under its name in a search result (X6: the page's `seo.description`). */
|
|
67
|
+
readonly description?: string;
|
|
68
|
+
/** X6: its `<title>` — what a search result named it, when the page said (else its name stands). */
|
|
69
|
+
readonly seoTitle?: string;
|
|
70
|
+
/** X6: the old site kept it out of search (`robots: noindex`) — it moves kept out, and out of the menu. */
|
|
71
|
+
readonly noindex?: boolean;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** X6: what search knew of the old home page — the new home page carries its words. */
|
|
75
|
+
export interface ImportedHome {
|
|
76
|
+
readonly seoTitle?: string;
|
|
61
77
|
readonly description?: string;
|
|
62
78
|
}
|
|
63
79
|
|
|
@@ -68,6 +84,8 @@ export interface ImportReading {
|
|
|
68
84
|
readonly locale?: `${SiteLocale}`;
|
|
69
85
|
readonly lists: ReadonlyArray<ImportedList>;
|
|
70
86
|
readonly pages: ReadonlyArray<ImportedPage>;
|
|
87
|
+
/** X6: the old home page's search words, when it had some. */
|
|
88
|
+
readonly home?: ImportedHome;
|
|
71
89
|
}
|
|
72
90
|
|
|
73
91
|
export interface ImportPlanInput {
|
|
@@ -107,6 +125,66 @@ export function importedPicturesOf(plan: Pick<SitePlan, 'source' | 'contentTypes
|
|
|
107
125
|
return [...found];
|
|
108
126
|
}
|
|
109
127
|
|
|
128
|
+
/** X6: a moved page's search words — its old title and line within seo-core's limits, kept out of search when it was. */
|
|
129
|
+
function seoOfImported(title: string | undefined, description: string | undefined, noindex = false): PageSeoPlan | undefined {
|
|
130
|
+
const t = title?.trim() ? fitSeoText(title, SEO_TITLE_MAX) : '';
|
|
131
|
+
const d = description?.trim() ? fitSeoText(description, SEO_DESCRIPTION_MAX) : '';
|
|
132
|
+
const seo: PageSeoPlan = { ...(t ? { title: t } : {}), ...(d ? { description: d } : {}), ...(noindex ? { robots: SEO_ROBOTS_NOINDEX } : {}) };
|
|
133
|
+
return Object.keys(seo).length ? seo : undefined;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/** The old address of a list's own page — its items' site and their common path (`https://old.site/blog`), or none. */
|
|
137
|
+
function listAddressOf(list: ImportedList): string | undefined {
|
|
138
|
+
if (!list.path) return undefined;
|
|
139
|
+
try {
|
|
140
|
+
return new URL(list.path, list.items[0].from).href;
|
|
141
|
+
} catch {
|
|
142
|
+
return undefined;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** One redirect an import makes: the old address's path → the page that now holds what it held. */
|
|
147
|
+
export interface ImportRedirect {
|
|
148
|
+
/** The old path (`redirectPath` of the address it was read from). */
|
|
149
|
+
readonly from: string;
|
|
150
|
+
/** The new path — a page's route, or an item's (`/work/blue-bowl`). */
|
|
151
|
+
readonly to: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Bring my site X7: the redirects an import plan makes — every moved page's and real item's old address (its path) to
|
|
156
|
+
* where it now lives, each old path once, in plan order. An address that already IS its new path needs none and is not
|
|
157
|
+
* listed. Whether each may be written (a page that answers there, a chain) is the CMS's question at build time, against
|
|
158
|
+
* the studio as it is (seo-core `redirectRefusal`). A plan read from no site makes none.
|
|
159
|
+
*/
|
|
160
|
+
export function importRedirects(plan: Pick<SitePlan, 'source' | 'contentTypes' | 'dataSources' | 'pages'> | null | undefined): ImportRedirect[] {
|
|
161
|
+
if (plan?.source?.kind !== SitePlanSourceKind.Import) return [];
|
|
162
|
+
const out: ImportRedirect[] = [];
|
|
163
|
+
const seen = new Set<string>();
|
|
164
|
+
const add = (address: string | undefined, to: string): void => {
|
|
165
|
+
const from = redirectPath(address);
|
|
166
|
+
const target = redirectPath(to);
|
|
167
|
+
if (!from || !target || from === '/' || from === target || seen.has(from)) return;
|
|
168
|
+
seen.add(from);
|
|
169
|
+
out.push({ from, to: target });
|
|
170
|
+
};
|
|
171
|
+
for (const page of plan.pages ?? []) if (page.importedFrom && !page.routeSource) add(page.importedFrom, page.route);
|
|
172
|
+
for (const type of plan.contentTypes ?? []) {
|
|
173
|
+
const from = type.seed?.importedFrom;
|
|
174
|
+
if (!from?.length) continue;
|
|
175
|
+
const page = (plan.pages ?? []).find(p => p.template === type.name && p.routeSource);
|
|
176
|
+
const source = page && (plan.dataSources ?? []).find(d => d.alias === page.routeSource);
|
|
177
|
+
const lookup = source && 'filterByRouteParam' in source ? source.filterByRouteParam : undefined;
|
|
178
|
+
const values = lookup ? type.seed?.perItem?.[lookup.field] : undefined;
|
|
179
|
+
if (!page || !lookup || !values) continue;
|
|
180
|
+
from.forEach((address, i) => {
|
|
181
|
+
const value = values[i];
|
|
182
|
+
if (typeof value === 'string' && value) add(address, page.route.replace(`:${lookup.routeParam}`, encodeURIComponent(value)));
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
return out;
|
|
186
|
+
}
|
|
187
|
+
|
|
110
188
|
/** The patterns an import places (contract `site.patterns`). */
|
|
111
189
|
export enum ImportPattern {
|
|
112
190
|
PageHeader = 'page-header.simple',
|
|
@@ -354,8 +432,9 @@ export function planImport(reading: ImportReading, input: ImportPlanInput): Impo
|
|
|
354
432
|
const route = routes.claim(base && !routes.has(base) && base !== HOME_ROUTE ? base : `/${importSlug(list.label) || name.toLowerCase()}`);
|
|
355
433
|
routes.claim(`${route}/:${ITEM_PARAM}`);
|
|
356
434
|
const key = keys.claim(importSlug(list.label) || name.toLowerCase());
|
|
435
|
+
const listAddress = listAddressOf(list);
|
|
357
436
|
listPages.push({
|
|
358
|
-
key, name: list.label, route, inNav: true, archetype: COLLECTION_ARCHETYPE,
|
|
437
|
+
key, name: list.label, route, inNav: true, archetype: COLLECTION_ARCHETYPE, ...(listAddress ? { importedFrom: listAddress } : {}),
|
|
359
438
|
sections: [pageHeader(list.label), { pattern: ImportPattern.CardGrid, binding: own.list, without: [...WITHOUT.cardGridHeader] }],
|
|
360
439
|
});
|
|
361
440
|
listPages.push({
|
|
@@ -378,7 +457,11 @@ export function planImport(reading: ImportReading, input: ImportPlanInput): Impo
|
|
|
378
457
|
const body = page.template && typeOfMatched && page.template === typeOfMatched.name && roleField(typeOfMatched, ContentRole.Body)
|
|
379
458
|
&& !sections.some(s => s.pattern === ImportPattern.ItemBody);
|
|
380
459
|
if (body) sections.splice(Math.max(1, sections.findIndex(s => s.pattern === ImportPattern.ItemHero) + 1), 0, { pattern: ImportPattern.ItemBody });
|
|
381
|
-
|
|
460
|
+
// X6: the home page carries what search knew of the old one.
|
|
461
|
+
const seo = page.isHome ? seoOfImported(reading.home?.seoTitle, reading.home?.description) : undefined;
|
|
462
|
+
// X7: the template's list page holds the list that took its type's place — its old address redirects here.
|
|
463
|
+
const listAddress = matched && !page.template && templateParts.get(matched.type.name)!.pages.has(page.key) ? listAddressOf(matched.list) : undefined;
|
|
464
|
+
frame.push({ ...page, ...(seo ? { seo } : {}), ...(listAddress ? { importedFrom: listAddress } : {}), sections });
|
|
382
465
|
}
|
|
383
466
|
|
|
384
467
|
// The owner's pages of words.
|
|
@@ -391,9 +474,10 @@ export function planImport(reading: ImportReading, input: ImportPlanInput): Impo
|
|
|
391
474
|
if (!base || base === HOME_ROUTE) continue; // the home page is rebuilt from the template
|
|
392
475
|
if (routes.has(base) && frame.some(p => p.route === base)) continue; // the template's contact page stands for it
|
|
393
476
|
const route = routes.claim(base);
|
|
477
|
+
const seo = seoOfImported(page.seoTitle || title, page.description, page.noindex);
|
|
394
478
|
textPages.push({
|
|
395
|
-
key: keys.claim(importSlug(base.slice(1)) || importSlug(title) || 'page'), name: title, route, inNav: route.split('/').length === 2,
|
|
396
|
-
archetype: ABOUT_ARCHETYPE,
|
|
479
|
+
key: keys.claim(importSlug(base.slice(1)) || importSlug(title) || 'page'), name: title, route, inNav: !page.noindex && route.split('/').length === 2,
|
|
480
|
+
archetype: ABOUT_ARCHETYPE, ...(seo ? { seo } : {}), importedFrom: page.from,
|
|
397
481
|
sections: [pageHeader(title, page.description?.trim() || undefined), { pattern: ImportPattern.LongForm, slots: { body1: text }, without: [...WITHOUT.longForm] }],
|
|
398
482
|
});
|
|
399
483
|
}
|
|
@@ -292,6 +292,8 @@ export const PLAN_WIRE_DERIVED: Readonly<Record<string, string>> = {
|
|
|
292
292
|
sourceImport: 'the AI never writes an import plan (Bring my site X4 — planImport)',
|
|
293
293
|
'roles.body': "an imported item's own text (Bring my site X4) — never the model's",
|
|
294
294
|
'seed.importedFrom': 'the old addresses of real items read from a site (Bring my site X4) — never the model\'s',
|
|
295
|
+
'page.importedFrom': "the old address a page of the owner's words was read from (Bring my site X7) — never the model's",
|
|
296
|
+
'pageSeo.robots': "an old page kept out of search (Bring my site X6) — never the model's",
|
|
295
297
|
design: "the owner's pick (the context)",
|
|
296
298
|
'plan.film': "the owner's film, set by the build (SC6b)",
|
|
297
299
|
film: "the owner's film, set by the build (SC6b)",
|