@vectoriox/iox-ui 5.180.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 +248 -51
- 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 +112 -11
- package/package.json +1 -1
- package/seo-core/index.d.ts +74 -2
- package/src/generation-core/audit-site.ts +4 -4
- package/src/generation-core/compose-site.ts +5 -13
- package/src/generation-core/footer-mix.ts +80 -16
- package/src/generation-core/import-plan.ts +90 -6
- package/src/generation-core/plan-wire.ts +2 -0
- package/src/generation-core/popup-plan.ts +11 -1
- package/src/generation-core/site-build-run.ts +51 -3
- package/src/generation-core/site-plan.model.ts +6 -0
- package/src/generation-core/site-spec.generated.ts +33 -3
- 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";
|
|
@@ -7088,18 +7090,38 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7088
7090
|
readonly callWords: readonly [{
|
|
7089
7091
|
readonly text: "Book a table";
|
|
7090
7092
|
readonly he: "הזמינו שולחן";
|
|
7093
|
+
readonly line: "Come hungry.";
|
|
7094
|
+
readonly lineHe: "בואו רעבים.";
|
|
7091
7095
|
readonly types: readonly ["restaurant", "bar-winery"];
|
|
7096
|
+
}, {
|
|
7097
|
+
readonly text: "Book a stay";
|
|
7098
|
+
readonly he: "הזמינו חדר";
|
|
7099
|
+
readonly line: "Stay a while.";
|
|
7100
|
+
readonly lineHe: "בואו להתארח אצלנו.";
|
|
7101
|
+
readonly types: readonly ["hotel-bnb"];
|
|
7102
|
+
}, {
|
|
7103
|
+
readonly text: "Book a visit";
|
|
7104
|
+
readonly he: "קבעו תור";
|
|
7105
|
+
readonly line: "Make time for yourself.";
|
|
7106
|
+
readonly lineHe: "זמן לעצמך.";
|
|
7107
|
+
readonly types: readonly ["salon", "spa", "yoga", "fitness"];
|
|
7092
7108
|
}, {
|
|
7093
7109
|
readonly text: "Visit us";
|
|
7094
7110
|
readonly he: "בואו לבקר";
|
|
7095
|
-
readonly
|
|
7111
|
+
readonly line: "Come and see us.";
|
|
7112
|
+
readonly lineHe: "נשמח לראות אתכם.";
|
|
7113
|
+
readonly types: readonly ["cafe-bakery", "boutique", "florist", "home-goods", "venue-events"];
|
|
7096
7114
|
}, {
|
|
7097
7115
|
readonly text: "Say hello";
|
|
7098
7116
|
readonly he: "בואו נדבר";
|
|
7117
|
+
readonly line: "Let's make something.";
|
|
7118
|
+
readonly lineHe: "בואו ניצור משהו יחד.";
|
|
7099
7119
|
readonly types: readonly ["photographer", "interior-design", "architecture", "creative-studio", "artist", "makers", "jewellery", "tattoo"];
|
|
7100
7120
|
}, {
|
|
7101
7121
|
readonly text: "Get in touch";
|
|
7102
7122
|
readonly he: "צרו קשר";
|
|
7123
|
+
readonly line: "Let's talk.";
|
|
7124
|
+
readonly lineHe: "בואו נדבר.";
|
|
7103
7125
|
readonly types: readonly [];
|
|
7104
7126
|
}];
|
|
7105
7127
|
readonly tiers: {
|
|
@@ -10843,6 +10865,9 @@ interface PageSectionPlan {
|
|
|
10843
10865
|
interface PageSeoPlan {
|
|
10844
10866
|
readonly title?: string;
|
|
10845
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;
|
|
10846
10871
|
}
|
|
10847
10872
|
/** The kinds of page a plan is made of (contract `site.archetypes`, L0-2). */
|
|
10848
10873
|
type PageArchetypeId = keyof typeof SPEC_SITE_ARCHETYPES;
|
|
@@ -10878,6 +10903,9 @@ interface PagePlan {
|
|
|
10878
10903
|
/** The inferred need this page answers (the Plan screen tags it "we added") — a harness-core need id. */
|
|
10879
10904
|
readonly need?: SiteNeedId;
|
|
10880
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;
|
|
10881
10909
|
/** The page from patterns — a composed page keeps them as its fallback. */
|
|
10882
10910
|
readonly sections: ReadonlyArray<PageSectionPlan>;
|
|
10883
10911
|
/** M8 gate 2: the page is composed in the layout language (written with the pages; the layout step fills `layout`). */
|
|
@@ -12165,6 +12193,16 @@ declare const FOOTER_TOKEN = "footer";
|
|
|
12165
12193
|
/** A footer as the fingerprint sees it: `footer:<arrange>/<closing>/<ground>` — what a visitor takes in at once, in the
|
|
12166
12194
|
* contract's order. Two sites with the same token wear the same footer. */
|
|
12167
12195
|
declare function footerTokenOf(mix: FooterMix): string;
|
|
12196
|
+
/**
|
|
12197
|
+
* What a visitor READS a footer by (the J10 re-score of 2026-11-25): how it is arranged and how it closes,
|
|
12198
|
+
* `footer:<arrange>/<closing>` — its ground alone does not make it another footer ("Let's talk." over three columns reads
|
|
12199
|
+
* the same on a dark band and on a soft one; four J10 footers did, each "unlike" by its ground). A mix or its token.
|
|
12200
|
+
*/
|
|
12201
|
+
declare function footerFaceOf(footer: FooterMix | string): string;
|
|
12202
|
+
/** AW-D23 / AW12-D13: a word every plan wears (`all`) or one the award tier alone is offered (`pro`). */
|
|
12203
|
+
declare function footerWordTier(ingredient: `${FooterIngredient}`, word: string): 'all' | 'pro';
|
|
12204
|
+
/** May a footer at `tier` wear this word? No tier named: every drawn word (as before the tier was asked). */
|
|
12205
|
+
declare function footerWordOffered(ingredient: `${FooterIngredient}`, word: string, tier?: `${GenerationTier}`): boolean;
|
|
12168
12206
|
/** A footer token in words: `footer:columns/none/inverse` → "columns · none · inverse". */
|
|
12169
12207
|
declare const footerTokenWords: (token: string) => string;
|
|
12170
12208
|
/** Doron's reference footers, each as a whole mix. */
|
|
@@ -12240,6 +12278,9 @@ interface FooterContext {
|
|
|
12240
12278
|
/** AW12-D15: the call word for a kind of business — closed copy (the contract's `FOOTER.callWords`), in the site's
|
|
12241
12279
|
* language. */
|
|
12242
12280
|
declare function footerCallWord(type?: string, locale?: string): string;
|
|
12281
|
+
/** The J10 re-score (2026-11-25): the call closing's line above its button — closed copy for the kind of business (the
|
|
12282
|
+
* contract's `FOOTER.callWords` row), in the site's language; null when the row has none (the part keeps its own). */
|
|
12283
|
+
declare function footerCallLine(type?: string, locale?: string): string | null;
|
|
12243
12284
|
/** True when the business name stands across a phone at the smallest screen size. */
|
|
12244
12285
|
declare const footerNameFits: (ctx: FooterContext) => boolean;
|
|
12245
12286
|
/**
|
|
@@ -12264,11 +12305,13 @@ declare function stampFooterMix(root: {
|
|
|
12264
12305
|
styleProps?: Record<string, unknown>;
|
|
12265
12306
|
}, mix: FooterMix): void;
|
|
12266
12307
|
/**
|
|
12267
|
-
* A footer no other site wears (R-H10): the mix when
|
|
12268
|
-
*
|
|
12269
|
-
*
|
|
12308
|
+
* A footer no other site wears (R-H10): the mix when no other site's footer READS like it (`footerFaceOf` — the same
|
|
12309
|
+
* arrangement and closing, whatever the ground), else the nearest mix that reads otherwise — one changed ingredient before
|
|
12310
|
+
* two, in `MEND_ORDER`, each word in the table's order and offered at `tier` (AW12-D13: a Basic site is never given an
|
|
12311
|
+
* award word) — checked again (`checkFooter`), and said. When every face is worn, a free token is enough (the plan's own,
|
|
12312
|
+
* else the nearest); when every footer is worn, the mix as it is. Pure, deterministic.
|
|
12270
12313
|
*/
|
|
12271
|
-
declare function distinctFooter(mix: FooterMix, taken: ReadonlyArray<string>, ctx: FooterContext): {
|
|
12314
|
+
declare function distinctFooter(mix: FooterMix, taken: ReadonlyArray<string>, ctx: FooterContext, tier?: `${GenerationTier}`): {
|
|
12272
12315
|
mix: FooterMix;
|
|
12273
12316
|
repairs: FooterRepair[];
|
|
12274
12317
|
};
|
|
@@ -12284,7 +12327,7 @@ declare function withDistinctFooter<P extends {
|
|
|
12284
12327
|
readonly header?: ReadonlyArray<string>;
|
|
12285
12328
|
readonly footer?: ReadonlyArray<string>;
|
|
12286
12329
|
};
|
|
12287
|
-
}>(plan: P, taken: ReadonlyArray<string
|
|
12330
|
+
}>(plan: P, taken: ReadonlyArray<string>, tier?: `${GenerationTier}`): {
|
|
12288
12331
|
plan: P;
|
|
12289
12332
|
repairs: FooterRepair[];
|
|
12290
12333
|
};
|
|
@@ -14853,12 +14896,16 @@ declare enum BuildStep {
|
|
|
14853
14896
|
Shop = "shop",
|
|
14854
14897
|
DataSources = "data-sources",
|
|
14855
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",
|
|
14856
14902
|
Globals = "globals",
|
|
14857
14903
|
Look = "look"
|
|
14858
14904
|
}
|
|
14859
14905
|
declare const BUILD_STEPS: ReadonlyArray<BuildStep>;
|
|
14860
14906
|
/** The steps a build of `plan` takes, in order: every one, the shop's only when the plan sells (commerce G1), the imported
|
|
14861
|
-
* 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). */
|
|
14862
14909
|
declare function buildStepsOf(plan: unknown): BuildStep[];
|
|
14863
14910
|
declare enum StepState {
|
|
14864
14911
|
Wait = "wait",
|
|
@@ -14887,6 +14934,9 @@ declare enum CreatedKind {
|
|
|
14887
14934
|
/** RD3-D3 (a) Replace: a page an earlier Undo kept, moved aside (`/<route>-previous`, a draft) so the plan's page takes
|
|
14888
14935
|
* its address — Undo puts it back while it is as the move left it and its address is free (`CreatedRecord.from`). */
|
|
14889
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",
|
|
14890
14940
|
Global = "global",
|
|
14891
14941
|
Look = "look"
|
|
14892
14942
|
}
|
|
@@ -14994,7 +15044,15 @@ declare enum BuildNoticeCode {
|
|
|
14994
15044
|
/** Bring my site X5: some pictures of the owner's site were not copied (not a picture we keep, too large, unreachable,
|
|
14995
15045
|
* or past the plan's picture or size limit) — the items show none in their place (never the old site's), said once,
|
|
14996
15046
|
* so the owner adds them in the builder. */
|
|
14997
|
-
ImportPicturesLeft = "import-pictures-left"
|
|
15047
|
+
ImportPicturesLeft = "import-pictures-left",
|
|
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
|
|
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
|
|
15050
|
+
* show it (Replace, or the builder). */
|
|
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"
|
|
14998
15056
|
}
|
|
14999
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
|
|
15000
15058
|
* pair (`replaceGlobals`), for pages. */
|
|
@@ -15023,6 +15081,13 @@ interface BuildNotice {
|
|
|
15023
15081
|
code: string;
|
|
15024
15082
|
detail: string;
|
|
15025
15083
|
}
|
|
15084
|
+
/**
|
|
15085
|
+
* iox-ui#155: the build composed a popup (`POPUP_GLOBAL_ID`) and the owner chose Keep mine over the studio's own popup at
|
|
15086
|
+
* that id — the composed one is not written (iox-cms `keptInPlace`), so the news it carried is not on the site. Said once
|
|
15087
|
+
* (`BuildNoticeCode.PopupKept`) with the words that were not shown; the screen shows the code's own sentence. No composed
|
|
15088
|
+
* popup, or nothing kept at its id (Replace, a first build): nothing said. Pure — the dry run and the run say the same.
|
|
15089
|
+
*/
|
|
15090
|
+
declare function popupKeptNotices(composedGlobals: ReadonlyArray<SerializedNode>, keptInPlace: ReadonlyArray<Pick<SerializedNode, 'id'>>): BuildNotice[];
|
|
15026
15091
|
/**
|
|
15027
15092
|
* What a run's decisions hold that its pages are composed with (the server's `BuildDecisions` carries more) — read by
|
|
15028
15093
|
* harness-core `runComposeContext`, the ONE context every compose of a run's plan takes: its steps, its checks, a
|
|
@@ -15134,6 +15199,7 @@ declare const buildKeys: {
|
|
|
15134
15199
|
readonly global: (nodeId: string) => string;
|
|
15135
15200
|
readonly look: () => string;
|
|
15136
15201
|
readonly pageMoved: (pageId: string) => string;
|
|
15202
|
+
readonly redirect: (from: string) => string;
|
|
15137
15203
|
};
|
|
15138
15204
|
/** The id of the page a run made for the plan's home page, or null (not made yet, or no home page). */
|
|
15139
15205
|
declare function builtHomePageId(run: Pick<SiteBuildRun, 'plan' | 'created'> | null | undefined): string | null;
|
|
@@ -15159,6 +15225,8 @@ interface BuildStepFacts {
|
|
|
15159
15225
|
items: number;
|
|
15160
15226
|
/** X5: the pictures an import copies from the owner's site (0 = not an import). */
|
|
15161
15227
|
pictures: number;
|
|
15228
|
+
/** X7: the old addresses an import redirects (0 = not an import, or nothing moved). */
|
|
15229
|
+
redirects: number;
|
|
15162
15230
|
/** Commerce G1: sample products for the shop (0 = the plan sells nothing) and their categories. */
|
|
15163
15231
|
products: number;
|
|
15164
15232
|
categories: number;
|
|
@@ -16124,6 +16192,11 @@ declare function isRedesignRun(run: {
|
|
|
16124
16192
|
* `story.long-form` section holding the owner's own words, paragraphs kept. The home page, the contact page and the
|
|
16125
16193
|
* header and footer come from the template (the Studio's by default), the look from the owner's pick. Pure: iox-cms
|
|
16126
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.
|
|
16127
16200
|
*/
|
|
16128
16201
|
/** One item of a list the scan found, in the owner's own words. */
|
|
16129
16202
|
interface ImportedItem {
|
|
@@ -16164,7 +16237,16 @@ interface ImportedPage {
|
|
|
16164
16237
|
readonly title: string;
|
|
16165
16238
|
/** Its own text: paragraphs, a blank line between them. A page with none is not moved. */
|
|
16166
16239
|
readonly text: string;
|
|
16167
|
-
/** 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;
|
|
16168
16250
|
readonly description?: string;
|
|
16169
16251
|
}
|
|
16170
16252
|
/** What iox-cms read from a scan and its items. */
|
|
@@ -16174,6 +16256,8 @@ interface ImportReading {
|
|
|
16174
16256
|
readonly locale?: `${SiteLocale}`;
|
|
16175
16257
|
readonly lists: ReadonlyArray<ImportedList>;
|
|
16176
16258
|
readonly pages: ReadonlyArray<ImportedPage>;
|
|
16259
|
+
/** X6: the old home page's search words, when it had some. */
|
|
16260
|
+
readonly home?: ImportedHome;
|
|
16177
16261
|
}
|
|
16178
16262
|
interface ImportPlanInput {
|
|
16179
16263
|
/** The owner's pick (the Design step). */
|
|
@@ -16195,6 +16279,20 @@ declare function isImportPlan(plan: SitePlan): plan is ImportPlan;
|
|
|
16195
16279
|
* storage and the items show the copies (never hot-linked); the wizard counts them. A plan read from no site has none.
|
|
16196
16280
|
*/
|
|
16197
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[];
|
|
16198
16296
|
/** The patterns an import places (contract `site.patterns`). */
|
|
16199
16297
|
declare enum ImportPattern {
|
|
16200
16298
|
PageHeader = "page-header.simple",
|
|
@@ -19385,6 +19483,9 @@ declare function withHeaderWord(mix: HeaderMix, ingredient: `${HeaderIngredient}
|
|
|
19385
19483
|
declare const POPUP_LINK_WORD: string;
|
|
19386
19484
|
/** The global's id — one popup per site. */
|
|
19387
19485
|
declare const POPUP_GLOBAL_ID = "popup";
|
|
19486
|
+
/** A popup: a Dialog carrying a popup kind (composite-core `PopupTrait.Kind`) — any other Dialog (a consent banner, a
|
|
19487
|
+
* lightbox, a cart drawer) is not one. ONE test for the gate, the run's notices and iox-cms's slots. */
|
|
19488
|
+
declare function isPopupNode(node: Pick<SerializedNode, 'type' | 'props'> | null | undefined): boolean;
|
|
19388
19489
|
declare class PopupMixError extends Error {
|
|
19389
19490
|
}
|
|
19390
19491
|
/** The words on the wire: `<ingredient>:<word>` for every word of the wire's ingredients but the `never` ones, then the
|
|
@@ -19766,5 +19867,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
|
|
|
19766
19867
|
* its phone menu, the footer's copyright line. */
|
|
19767
19868
|
declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
|
|
19768
19869
|
|
|
19769
|
-
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, footerCallWord, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, 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, 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, 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 };
|
|
19770
|
-
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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ELEMENT_ACTION_DESCRIPTORS, POPUP_RULES, popupEnded, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
|
|
2
2
|
import { CheckoutGateCode, CheckoutGateRefusal, labelIn } from '@vectoriox/iox-ui/commerce-core';
|
|
3
|
-
import { PopupArrive, PopupForm, popupFormOf,
|
|
3
|
+
import { PopupArrive, PopupForm, popupFormOf, PopupRole, PopupTrait, ShopRole } from '@vectoriox/iox-ui/composite-core';
|
|
4
4
|
import { auditDesignContrast, DesignTokenLike } from '@vectoriox/iox-ui/design-core';
|
|
5
5
|
import { ConsentActionType } from '@vectoriox/iox-ui/composite-core';
|
|
6
6
|
import { collectFormSpec, FORM_CHANNEL_ROLE, FORM_NODE_TYPE, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
@@ -10,6 +10,7 @@ import { blocksPublish, ComposedPlaceholder, PlaceholderKind } from './compose-s
|
|
|
10
10
|
import { formAsksPersonalData, isLegalKind, ISRAEL, LegalKind, legalKindBlocks, legalTitle } from './legal';
|
|
11
11
|
import { navShapeOf } from './nav-shape';
|
|
12
12
|
import { PatternGlobalPosition } from './patterns';
|
|
13
|
+
import { isPopupNode } from './popup-plan';
|
|
13
14
|
import { SerializedNode, walkSerialized } from './serialized-node';
|
|
14
15
|
|
|
15
16
|
/**
|
|
@@ -641,7 +642,6 @@ function checkActions(ctx: Ctx, snapshot: SiteAuditSnapshot, pages: ReadonlyArra
|
|
|
641
642
|
});
|
|
642
643
|
}
|
|
643
644
|
|
|
644
|
-
const isPopup = (n: SerializedNode) => n.type === DIALOG_TYPE && (Object.values(PopupKind) as unknown[]).includes(n.props[PopupTrait.Kind]);
|
|
645
645
|
const popupPart = (root: SerializedNode, role: PopupRole): SerializedNode | null => {
|
|
646
646
|
let hit: SerializedNode | null = null;
|
|
647
647
|
walkSerialized(root.children ?? [], n => { if (!hit && n.role === role) hit = n; });
|
|
@@ -675,14 +675,14 @@ function checkPopups(ctx: Ctx, snapshot: SiteAuditSnapshot, pages: ReadonlyArray
|
|
|
675
675
|
}
|
|
676
676
|
};
|
|
677
677
|
for (const global of snapshot.globals) walkSerialized([global], n => {
|
|
678
|
-
if (!
|
|
678
|
+
if (!isPopupNode(n)) return;
|
|
679
679
|
judge(n, { owner: global.globalPosition === PatternGlobalPosition.Before ? 'header' : 'footer' });
|
|
680
680
|
if (auto(n)) siteAuto++;
|
|
681
681
|
});
|
|
682
682
|
for (const page of pages) {
|
|
683
683
|
let pageAuto = 0;
|
|
684
684
|
walkSerialized(page.layout, n => {
|
|
685
|
-
if (!
|
|
685
|
+
if (!isPopupNode(n)) return;
|
|
686
686
|
judge(n, { pageId: page.id });
|
|
687
687
|
if (auto(n)) pageAuto++;
|
|
688
688
|
});
|
|
@@ -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 {
|