@eldrajs/theme-cli 0.1.0 → 0.2.1

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.
Files changed (84) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cli.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/{validate-C6jB8_Oc.js → validate-DprFpjV7.js} +29 -4
  5. package/package.json +3 -3
  6. package/template/.eldra/block-types.d.ts +12 -3
  7. package/template/.eldra/manifest.json +317 -26
  8. package/template/.eldra/previews.json +35 -34
  9. package/template/.github/workflows/eldra-deploy.yml +2 -0
  10. package/template/.gitlab-ci.yml +2 -0
  11. package/template/.storybook/main.ts +3 -0
  12. package/template/.storybook/preview.ts +2 -1
  13. package/template/.storybook/virtual-eldra.d.ts +5 -0
  14. package/template/README.md +31 -14
  15. package/template/app/components/FormHoneypot.vue +21 -0
  16. package/template/app/composables/useFormSpam.ts +55 -0
  17. package/template/app/composables/usePageStructuredData.ts +112 -0
  18. package/template/app/composables/useTurnstile.ts +111 -0
  19. package/template/app/formSeeds.ts +93 -0
  20. package/template/app/pages/[...slug].vue +48 -12
  21. package/template/app/plugins/eldra-storefront.ts +19 -2
  22. package/template/app/plugins/eldra-ui-messages.ts +1 -1
  23. package/template/app/seededPages.ts +7 -0
  24. package/template/app/storefront/analytics.ts +202 -0
  25. package/template/app/storefront/cart.ts +7 -0
  26. package/template/app/storefront/demo.ts +48 -2
  27. package/template/app/storefront/forms.ts +133 -0
  28. package/template/app/storefront/gateway.ts +113 -7
  29. package/template/app/storefront/money.ts +18 -17
  30. package/template/app/storefront/structuredData.ts +161 -0
  31. package/template/app/storefront/types.ts +101 -2
  32. package/template/app/utils/seoInput.ts +172 -0
  33. package/template/bitbucket-pipelines.yml +3 -1
  34. package/template/blocks/breadcrumbs/Block.vue +1 -0
  35. package/template/blocks/cart/Block.vue +1 -0
  36. package/template/blocks/cart/parts/Summary.vue +1 -0
  37. package/template/blocks/contact/Block.vue +50 -21
  38. package/template/blocks/contact/__tests__/Block.spec.ts +89 -8
  39. package/template/blocks/contact/block.json +2 -9
  40. package/template/blocks/contact/mock.json +1 -2
  41. package/template/blocks/footer/Block.vue +58 -8
  42. package/template/blocks/footer/__tests__/Block.spec.ts +70 -16
  43. package/template/blocks/footer/preview.png +0 -0
  44. package/template/blocks/form/Block.vue +614 -0
  45. package/template/blocks/form/__tests__/Block.spec.ts +536 -0
  46. package/template/blocks/form/block.json +69 -0
  47. package/template/blocks/form/mock.json +25 -0
  48. package/template/blocks/form/preview.png +0 -0
  49. package/template/blocks/form/validate.ts +68 -0
  50. package/template/blocks/newsletter/Block.vue +57 -3
  51. package/template/blocks/newsletter/__tests__/Block.spec.ts +89 -31
  52. package/template/blocks/newsletter/block.json +4 -5
  53. package/template/blocks/newsletter/mock.json +1 -1
  54. package/template/blocks/newsletter/preview.png +0 -0
  55. package/template/blocks/product-detail/__tests__/Block.spec.ts +7 -10
  56. package/template/i18n/en-US.json +33 -2
  57. package/template/i18n/is-IS.json +33 -2
  58. package/template/nuxt.config.ts +15 -1
  59. package/template/package.json +1 -0
  60. package/template/public/apple-touch-icon.png +0 -0
  61. package/template/public/favicon.ico +0 -0
  62. package/template/stories/generated/form.stories.ts +68 -0
  63. package/template/test/formValidate.spec.ts +46 -0
  64. package/template/test/inlineEditable.spec.ts +2 -1
  65. package/template/test/moneyFormatting.spec.ts +4 -8
  66. package/template/test/pages/ssr.spec.ts +5 -11
  67. package/template/test/prerenderFailure.spec.ts +1 -1
  68. package/template/test/prerenderRefresh.browser.spec.ts +5 -1
  69. package/template/test/richText.spec.ts +12 -9
  70. package/template/test/seededPages.spec.ts +13 -0
  71. package/template/test/seoInput.spec.ts +119 -0
  72. package/template/test/slugPage.spec.ts +62 -26
  73. package/template/test/slugPageTemplate.spec.ts +5 -1
  74. package/template/test/starter.spec.ts +42 -4
  75. package/template/test/storefront/analytics.spec.ts +283 -0
  76. package/template/test/storefront/forms.spec.ts +385 -0
  77. package/template/test/storefront/money.spec.ts +11 -12
  78. package/template/test/storefront/structuredData.spec.ts +138 -0
  79. package/template/test/structuredData.generate.spec.ts +159 -0
  80. package/template/test/support/mockGateway.ts +29 -1
  81. package/template/test/support/turnstileForms.ts +53 -0
  82. package/template/test/useBlockData.spec.ts +7 -4
  83. package/template/app/utils/pageTitle.ts +0 -37
  84. package/template/test/pageTitle.spec.ts +0 -49
package/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ Release-please writes the generated notes from commit messages and does not repl
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ - `eldra-theme deploy` explains a 413 whose body is not JSON instead of printing `gateway responded 413`: a proxy or CDN in front of the API may have refused the upload as too large, with the platform's own artifact limits for comparison.
9
+ - `eldra-theme init` scaffolds a starter whose `studioOrigins` default to production Studio (`https://eldra.app`) instead of `https://localhost:4311`, so a deploy that forgets `ELDRA_STUDIO_ORIGIN` still lets production Studio connect to the preview rather than failing silently; `ELDRA_STUDIO_ORIGIN` accepts a comma-separated list.
10
+ - `eldra-theme validate` and the plugin build fail naming `package.json: eldra.themeId` when a theme
11
+ declares no id (or an invalid one); `eldra-theme deploy` refuses a build whose
12
+ `.eldra/manifest.json` is not `manifestVersion: 2` with a valid `theme.id` before uploading
13
+ anything. `eldra-theme init` scaffolds the starter with `"eldra": { "themeId": "starter" }`;
14
+ change it to your own theme's id.
15
+
8
16
  - `eldra-theme validate` surfaces the scanner's new message-catalogue errors (an invalid
9
17
  `i18n/<tag>.json` key, value, locale file name, or a non-default locale's keys that are not a
10
18
  subset of the default locale's) exactly as `@eldrajs/vite-plugin-theme/scan` reports them.
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as initTheme, i as scaffoldBlock, n as generateBlockTypesFile, o as DeployError, r as generateTypes, s as deployTheme, t as validateTheme } from "./validate-C6jB8_Oc.js";
2
+ import { a as initTheme, i as scaffoldBlock, n as generateBlockTypesFile, o as DeployError, r as generateTypes, s as deployTheme, t as validateTheme } from "./validate-DprFpjV7.js";
3
3
  import { resolve } from "node:path";
4
4
  import { defineCommand, runMain } from "citty";
5
5
  //#region src/cli.ts
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as initTheme, c as detectCommitSha, i as scaffoldBlock, l as fieldMigrationLines, n as generateBlockTypesFile, o as DeployError, r as generateTypes, s as deployTheme, t as validateTheme } from "./validate-C6jB8_Oc.js";
1
+ import { a as initTheme, c as detectCommitSha, i as scaffoldBlock, l as fieldMigrationLines, n as generateBlockTypesFile, o as DeployError, r as generateTypes, s as deployTheme, t as validateTheme } from "./validate-DprFpjV7.js";
2
2
  import { scanTheme } from "@eldrajs/vite-plugin-theme/scan";
3
3
  export { DeployError, deployTheme, detectCommitSha, fieldMigrationLines, generateBlockTypesFile, generateTypes, initTheme, scaffoldBlock, scanTheme, validateTheme };
@@ -2,9 +2,9 @@ import { cpSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, st
2
2
  import { mkdtemp, readFile, rm } from "node:fs/promises";
3
3
  import { tmpdir } from "node:os";
4
4
  import { dirname, join, relative, resolve } from "node:path";
5
+ import { RESERVED_THEME_IDS, THEME_ID_PATTERN, createEldraClient } from "@eldrajs/theme-core";
5
6
  import * as tar from "tar";
6
7
  import { fileURLToPath } from "node:url";
7
- import { createEldraClient } from "@eldrajs/theme-core";
8
8
  import { generateBlockTypes } from "@eldrajs/vite-plugin-theme";
9
9
  import { readPreviousManifest, scanTheme } from "@eldrajs/vite-plugin-theme/scan";
10
10
  //#region src/deployReport.ts
@@ -129,6 +129,25 @@ var DeployError = class extends Error {
129
129
  function detectCommitSha(env) {
130
130
  return env.GITHUB_SHA ?? env.CI_COMMIT_SHA ?? env.BITBUCKET_COMMIT ?? null;
131
131
  }
132
+ /**
133
+ * Refuses a build whose manifest does not declare a theme id before anything is
134
+ * uploaded: Core rejects it too, but this names the file and the fix. A stale
135
+ * build from before manifest v2 reads as "rebuild", not as a server error.
136
+ */
137
+ async function assertManifestIdentity(manifestPath, cwd) {
138
+ const file = relative(cwd, manifestPath);
139
+ let manifest;
140
+ try {
141
+ manifest = JSON.parse(await readFile(manifestPath, "utf8"));
142
+ } catch {
143
+ throw new DeployError(`deploy: ${file} is not valid JSON — rebuild the theme`);
144
+ }
145
+ const record = (value) => typeof value === "object" && value !== null ? value : {};
146
+ const root = record(manifest);
147
+ if (root.manifestVersion !== 2) throw new DeployError(`deploy: ${file} has manifestVersion ${JSON.stringify(root.manifestVersion)}; this kit emits manifestVersion 2 — rebuild the theme with the current @eldrajs/vite-plugin-theme`);
148
+ const id = record(root.theme).id;
149
+ if (typeof id !== "string" || !THEME_ID_PATTERN.test(id) || RESERVED_THEME_IDS.includes(id)) throw new DeployError(`deploy: ${file} theme.id is missing or invalid (got ${JSON.stringify(id)}); declare "eldra": { "themeId": "<id>" } in package.json and rebuild`);
150
+ }
132
151
  async function deployTheme(opts) {
133
152
  const cwd = opts.cwd ?? process.cwd();
134
153
  const doFetch = opts.fetch ?? globalThis.fetch.bind(globalThis);
@@ -138,6 +157,7 @@ async function deployTheme(opts) {
138
157
  const dir = opts.dir !== void 0 ? join(cwd, opts.dir) : detectBuildDir(cwd);
139
158
  const manifestPath = join(dir, ".eldra", "manifest.json");
140
159
  if (!existsSync(manifestPath)) throw new DeployError(`deploy: ${relative(cwd, manifestPath)} not found — run your build (e.g. \`nuxi generate\`) first; the Eldra vite plugin emits the manifest into the build output`);
160
+ await assertManifestIdentity(manifestPath, cwd);
141
161
  preflight(dir, cwd);
142
162
  const tmp = await mkdtemp(join(tmpdir(), "eldra-deploy-"));
143
163
  const tarPath = join(tmp, "artifact.tar.gz");
@@ -237,9 +257,12 @@ function preflight(dir, cwd) {
237
257
  }
238
258
  async function toDeployError(res) {
239
259
  let body = null;
260
+ let bodyUnparseable = false;
240
261
  try {
241
262
  body = await res.json();
242
- } catch {}
263
+ } catch {
264
+ bodyUnparseable = true;
265
+ }
243
266
  const detail = body?.detail ?? null;
244
267
  if (body?.errorId === "THEME_FIELD_INCOMPATIBLE" && body.errors?.activationRefusal?.locations) {
245
268
  const seen = /* @__PURE__ */ new Set();
@@ -252,14 +275,16 @@ async function toDeployError(res) {
252
275
  }
253
276
  return new DeployError([`deploy: ${detail ?? "theme content compatibility requires confirmation"}`, ...lines].join("\n"), body.errorId);
254
277
  }
255
- return new DeployError(`deploy: ${{
278
+ const messages = {
256
279
  SITE_DEPLOY_TOKEN_INVALID: "token invalid or revoked — generate a new token in Studio (Settings → Site → Deploy token)",
257
280
  SITE_ARTIFACT_TOO_LARGE: "artifact exceeds limits (≤ 20,000 files, ≤ 25 MiB/file, ≤ 500 MiB unpacked, ≤ 200 MiB compressed)",
258
281
  SITE_ARTIFACT_INVALID: "artifact rejected (path traversal or symlink entries)",
259
282
  SITE_MANIFEST_INVALID: "manifest rejected by ingest — run `eldra-theme validate` locally",
260
283
  SITE_MANIFEST_TOO_LARGE: "manifest exceeds the 2 MiB limit — reduce block metadata and mock content, rebuild, and redeploy",
261
284
  SITE_DEPLOY_RATE_LIMITED: "deploy rate limit hit — wait a few minutes, then retry"
262
- }[detail ?? ""] ?? `gateway responded ${res.status}${detail ? ` (${detail})` : ""}`}`, detail);
285
+ };
286
+ if (res.status === 413 && bodyUnparseable) return new DeployError("deploy: gateway responded 413 (payload too large) with no error body — a proxy/CDN in front of it may have a smaller limit than the app's own (≤ 20,000 files, ≤ 25 MiB/file, ≤ 500 MiB unpacked, ≤ 200 MiB compressed), or the request exceeds one of those; check the artifact size, and if it is within them ask infra about the proxy limit");
287
+ return new DeployError(`deploy: ${messages[detail ?? ""] ?? `gateway responded ${res.status}${detail ? ` (${detail})` : ""}`}`, detail);
263
288
  }
264
289
  //#endregion
265
290
  //#region src/templateExclude.mjs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eldrajs/theme-cli",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "CLI for Eldra themes: init from the starter, scaffold blocks, validate, generate types, deploy a static build to Eldra.",
5
5
  "keywords": [
6
6
  "cli",
@@ -42,8 +42,8 @@
42
42
  "dependencies": {
43
43
  "citty": "^0.1.6",
44
44
  "tar": "^7.4.3",
45
- "@eldrajs/vite-plugin-theme": "^0.1.0",
46
- "@eldrajs/theme-core": "^0.1.0"
45
+ "@eldrajs/theme-core": "^0.3.0",
46
+ "@eldrajs/vite-plugin-theme": "^0.3.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "execa": "^9.5.2"
@@ -148,7 +148,6 @@ declare global {
148
148
  formTitle?: string;
149
149
  topics?: Array<{ label: string }>;
150
150
  showOrderNumber?: boolean;
151
- recipient: string;
152
151
  successText?: string;
153
152
  };
154
153
  cta: {
@@ -200,6 +199,16 @@ declare global {
200
199
  showLocale?: boolean;
201
200
  showCurrency?: boolean;
202
201
  };
202
+ form: {
203
+ preset: 'default' | 'inline';
204
+ formKey: string;
205
+ heading: string;
206
+ text?: string;
207
+ buttonLabel?: string;
208
+ consent?: RichTextNode;
209
+ successTitle?: string;
210
+ sectionBackground?: 'none' | 'surface' | 'surface-strong' | 'primary' | 'accent';
211
+ };
203
212
  gallery: {
204
213
  variant: 'grid' | 'masonry' | 'carousel';
205
214
  heading?: string;
@@ -262,7 +271,7 @@ declare global {
262
271
  consentCheckboxLabel?: string;
263
272
  successTitle?: string;
264
273
  successText?: string;
265
- list: string;
274
+ formKey?: string;
266
275
  sectionBackground?: 'none' | 'surface' | 'surface-strong' | 'primary' | 'accent';
267
276
  };
268
277
  'order-status': {
@@ -423,7 +432,7 @@ declare global {
423
432
 
424
433
  /** The theme's own message keys (`i18n/<tag>.json`'s default locale),
425
434
  * flattened to dotted paths — vue-i18n's `t()` argument. */
426
- type MessageKey = 'announcement.dismiss' | 'announcement.hintHelp' | 'announcement.hintLabel' | 'announcement.region' | 'article.authorHintHelp' | 'article.authorHintLabel' | 'article.bodyHintHelp' | 'article.bodyHintLabel' | 'article.byline' | 'article.coverHintHelp' | 'article.coverHintLabel' | 'article.dekHintLabel' | 'article.metaHintLabel' | 'article.richTextTableLabel' | 'article.titleHintLabel' | 'articleList.filterNav' | 'articleList.headingHintHelp' | 'articleList.headingHintLabel' | 'articleList.itemsHintHelp' | 'articleList.itemsHintLabel' | 'articleList.pages' | 'breadcrumbs.hintHelp' | 'breadcrumbs.hintLabel' | 'cart.added' | 'cart.applied' | 'cart.apply' | 'cart.applyFailed' | 'cart.applyUnsupported' | 'cart.awayFromFree' | 'cart.checkout' | 'cart.columnProduct' | 'cart.columnQuantity' | 'cart.columnTotal' | 'cart.continueShopping' | 'cart.discount' | 'cart.discountCode' | 'cart.discountPlaceholder' | 'cart.drawerHintHelp' | 'cart.drawerHintHosted' | 'cart.drawerHintLabel' | 'cart.each' | 'cart.emptyFallbackTitle' | 'cart.freeUnlocked' | 'cart.invalidCode' | 'cart.itemCountMany' | 'cart.itemCountOne' | 'cart.items' | 'cart.lineTotal' | 'cart.paymentsAccepted' | 'cart.quantityFor' | 'cart.removeCode' | 'cart.removeItem' | 'cart.removeItemVariant' | 'cart.removed' | 'cart.shipping' | 'cart.shippingFree' | 'cart.shippingPending' | 'cart.subtotal' | 'cart.summary' | 'cart.title' | 'cart.total' | 'cart.undo' | 'cart.viewCart' | 'collection.countMany' | 'collection.countOne' | 'collection.readLess' | 'collection.readMore' | 'collection.subcategories' | 'collection.subcollections' | 'collection.titleHintHelp' | 'collection.titleHintLabel' | 'contact.addressLabel' | 'contact.detailsHintHelp' | 'contact.detailsHintLabel' | 'contact.emailFieldLabel' | 'contact.emailInvalidError' | 'contact.emailLabel' | 'contact.formTitleDefault' | 'contact.headingHintHelp' | 'contact.headingHintLabel' | 'contact.hoursLabel' | 'contact.introHintLabel' | 'contact.mapHintHelp' | 'contact.mapHintLabel' | 'contact.mapTitle' | 'contact.mapTitleWithAddress' | 'contact.messageLabel' | 'contact.messageRequiredError' | 'contact.nameLabel' | 'contact.nameRequiredError' | 'contact.orderNumberLabel' | 'contact.orderNumberPlaceholder' | 'contact.phoneLabel' | 'contact.replyTime' | 'contact.sendAnother' | 'contact.sendMessage' | 'contact.sending' | 'contact.serverError' | 'contact.successTextDefault' | 'contact.successTitle' | 'contact.summaryTitleMany' | 'contact.summaryTitleOne' | 'contact.topicLabel' | 'cta.buttonHintLabel' | 'cta.headingHintHelp' | 'cta.headingHintLabel' | 'cta.textHintLabel' | 'editor.addLink' | 'error' | 'faq.headingHintLabel' | 'faq.introHintLabel' | 'faq.itemHintHelp' | 'faq.itemHintLabel' | 'faq.richTextTableLabel' | 'featureGrid.fallbackLabel' | 'featureGrid.headingHintLabel' | 'featureGrid.imageHintLabel' | 'featureGrid.itemHintHelp' | 'featureGrid.itemHintLabel' | 'footer.currencyLabel' | 'footer.descriptionHintLabel' | 'footer.emailError' | 'footer.emailInvalid' | 'footer.emailLabel' | 'footer.groupsHintHelp' | 'footer.groupsHintLabel' | 'footer.localeLabel' | 'footer.nav' | 'footer.newsletterAriaLabel' | 'footer.newsletterHintLabel' | 'footer.social.facebook' | 'footer.social.instagram' | 'footer.social.pinterest' | 'footer.social.tiktok' | 'footer.social.youtube' | 'footer.socialLinkName' | 'footer.subscribe' | 'footer.subscribed' | 'footer.subscribing' | 'footer.title' | 'gallery.carouselFallback' | 'gallery.headingHintHelp' | 'gallery.headingHintLabel' | 'gallery.imageHintLabel' | 'gallery.itemsHintHelp' | 'gallery.itemsHintLabel' | 'gallery.viewLarger' | 'gallery.viewer' | 'gallery.viewerHeading' | 'grid.activeFilters' | 'grid.availabilityInStock' | 'grid.availabilityOutOfStock' | 'grid.clearAll' | 'grid.clearFilters' | 'grid.columns' | 'grid.filter' | 'grid.filters' | 'grid.legendAvailability' | 'grid.legendCategory' | 'grid.legendCollection' | 'grid.legendColour' | 'grid.legendSize' | 'grid.nActive' | 'grid.nProducts' | 'grid.noCategoryHelp' | 'grid.noCategoryLabel' | 'grid.noCollectionHelp' | 'grid.noCollectionLabel' | 'grid.noResultsTitle' | 'grid.nothingIn' | 'grid.oneProduct' | 'grid.pagination' | 'grid.price' | 'grid.products' | 'grid.productsNoun' | 'grid.sectionLabel' | 'grid.sortBestSelling' | 'grid.sortBy' | 'grid.sortFeatured' | 'grid.sortNewest' | 'grid.sortPriceAsc' | 'grid.sortPriceDesc' | 'grid.updating' | 'header.cartEmpty' | 'header.cartMany' | 'header.cartOne' | 'header.menu' | 'header.openMenu' | 'header.primary' | 'header.search' | 'header.searchField' | 'header.viewAll' | 'header.viewAllOf' | 'header.wishlistEmpty' | 'header.wishlistMany' | 'header.wishlistOne' | 'hero.buttonHintLabel' | 'hero.carouselFallback' | 'hero.headingHintHelp' | 'hero.headingHintLabel' | 'hero.imageHintLabel' | 'hero.subheadingHintLabel' | 'imageBlock.captionHintLabel' | 'imageBlock.hintHelp' | 'imageBlock.hintLabel' | 'loading' | 'logoCloud.headingHintHelp' | 'logoCloud.headingHintLabel' | 'logoCloud.itemHintHelp' | 'logoCloud.itemHintLabel' | 'logoCloud.linkContext' | 'nav.menu' | 'nav.skipToContent' | 'newsletter.consentCheckboxLabel' | 'newsletter.consentRequired' | 'newsletter.emailLabel' | 'newsletter.emailPlaceholder' | 'newsletter.failed' | 'newsletter.headingHintLabel' | 'newsletter.invalidEmail' | 'newsletter.richTextTableLabel' | 'newsletter.subscribe' | 'newsletter.subscribing' | 'newsletter.successTitle' | 'newsletter.textHintLabel' | 'notFound.back' | 'notFound.body' | 'notFound.eyebrow' | 'notFound.title' | 'order.cardEnding' | 'order.carrierEta' | 'order.completed' | 'order.deliveryAddress' | 'order.detailsLabel' | 'order.estimated' | 'order.inProgress' | 'order.items' | 'order.needHelp' | 'order.notYet' | 'order.number' | 'order.payment' | 'order.placedMany' | 'order.placedOne' | 'order.progress' | 'order.qty' | 'order.shipping' | 'order.shippingFree' | 'order.showAllItems' | 'order.statusPrefix' | 'order.subtotal' | 'order.tax' | 'order.total' | 'order.trackOpens' | 'order.trackPackage' | 'order.trackingNumber' | 'pricing.headingHintLabel' | 'pricing.included' | 'pricing.includedIn' | 'pricing.introHintLabel' | 'pricing.mostPopular' | 'pricing.notIncluded' | 'pricing.planHintHelp' | 'pricing.planHintLabel' | 'product.addToCart' | 'product.backorder' | 'product.backorderNote' | 'product.backorderPending' | 'product.backorderShips' | 'product.hintHelp' | 'product.hintLabel' | 'product.imageIndex' | 'product.images' | 'product.inStock' | 'product.information' | 'product.lowStockMany' | 'product.lowStockManyIn' | 'product.lowStockOne' | 'product.lowStockOneIn' | 'product.notifyEmail' | 'product.notifyInvalid' | 'product.notifyMe' | 'product.notifySubmit' | 'product.notifySuccess' | 'product.notifyTitle' | 'product.notifyUnsupported' | 'product.quantity' | 'product.quickAdd' | 'product.quickAddMeta' | 'product.removeFromWishlist' | 'product.restockNote' | 'product.saleBadge' | 'product.saveToWishlist' | 'product.saving' | 'product.showImage' | 'product.sizeGuide' | 'product.soldOut' | 'product.soldOutIn' | 'product.tabsLabel' | 'product.taxNote' | 'product.viewer' | 'product.zoom' | 'productCarousel.carouselLabel' | 'productCarousel.clearHistory' | 'productCarousel.headingHintHelp' | 'productCarousel.headingHintLabel' | 'productCarousel.viewAllContext' | 'quote.headingFor' | 'quote.nameHintLabel' | 'quote.quoteHintHelp' | 'quote.quoteHintLabel' | 'richTextBlock.bodyHintHelp' | 'richTextBlock.bodyHintLabel' | 'richTextBlock.headingHintHelp' | 'richTextBlock.headingHintLabel' | 'richTextBlock.richTextTableLabel' | 'search.all' | 'search.customersLove' | 'search.didYouMean' | 'search.headingHintHelp' | 'search.headingHintLabel' | 'search.idleTitle' | 'search.noResultsAdvice' | 'search.noResultsTitle' | 'search.pageMany' | 'search.pageOne' | 'search.popularHintHelp' | 'search.popularHintLabel' | 'search.popularSearches' | 'search.productMany' | 'search.productOne' | 'search.resultMany' | 'search.resultOne' | 'search.resultTabs' | 'search.resultsHeading' | 'search.searchLabel' | 'search.searching' | 'search.storyMany' | 'search.storyOne' | 'search.title' | 'search.typeJournal' | 'search.typePages' | 'search.typeProducts' | 'search.viewAllJournal' | 'search.viewAllPages' | 'search.viewAllProducts' | 'splitContent.headingHintHelp' | 'splitContent.headingHintLabel' | 'splitContent.imageHintLabel' | 'splitContent.label' | 'splitContent.richTextTableLabel' | 'stats.headingHintLabel' | 'stats.introHintLabel' | 'stats.itemHintHelp' | 'stats.itemHintLabel' | 'storefront.cartOutOfDate' | 'storefront.error' | 'storefront.loading' | 'storefront.mutationFailed' | 'storefront.notFound' | 'storefront.orderStatus.cancelled' | 'storefront.orderStatus.delayed' | 'storefront.orderStatus.delivered' | 'storefront.orderStatus.processing' | 'storefront.orderStatus.shipped' | 'storefront.orderSteps.delivered' | 'storefront.orderSteps.ordered' | 'storefront.orderSteps.packed' | 'storefront.orderSteps.shipped' | 'storefront.outOfStock' | 'storefront.unavailable' | 'storefront.unresolvedCollectionHelp' | 'storefront.unresolvedCollectionLabel' | 'storefront.updatingValues' | 'tabsBlock.headingHintLabel' | 'tabsBlock.introHintLabel' | 'tabsBlock.itemHintHelp' | 'tabsBlock.itemHintLabel' | 'tabsBlock.richTextTableLabel' | 'tabsBlock.tabPlaceholderLabel' | 'team.emailPerson' | 'team.headingHintHelp' | 'team.headingHintLabel' | 'team.itemHintHelp' | 'team.itemHintLabel' | 'team.onInstagram' | 'team.onPinterest' | 'team.onTiktok' | 'team.portraitOf' | 'team.website' | 'testimonials.carousel' | 'testimonials.headingHintHelp' | 'testimonials.headingHintLabel' | 'testimonials.itemHintHelp' | 'testimonials.itemHintLabel' | 'timeline.headingHintHelp' | 'timeline.headingHintLabel' | 'timeline.itemHintHelp' | 'timeline.itemHintLabel' | 'timeline.step' | 'trust.applePay' | 'trust.itemHintHelp' | 'trust.itemHintLabel' | 'trust.mastercard' | 'trust.payments' | 'trust.paypal' | 'trust.scrollRegion' | 'trust.title' | 'trust.visa' | 'ui.breadcrumbLabel' | 'ui.cancel' | 'ui.clear' | 'ui.clearRecent' | 'ui.clearSearch' | 'ui.close' | 'ui.closeLightbox' | 'ui.closeSearch' | 'ui.decrease' | 'ui.dismissNotification' | 'ui.done' | 'ui.error' | 'ui.filterPanelApplied' | 'ui.filterPanelClearAll' | 'ui.filterPanelLabel' | 'ui.filterPanelMax' | 'ui.filterPanelMin' | 'ui.filterPanelNoneAvailable' | 'ui.filterPanelOrMore' | 'ui.filterPanelShowFewer' | 'ui.filterPanelShowProducts' | 'ui.filterPanelSizeGuide' | 'ui.filterPanelTitle' | 'ui.from' | 'ui.increase' | 'ui.learnMore' | 'ui.lightboxImages' | 'ui.loadMore' | 'ui.loading' | 'ui.loadingProduct' | 'ui.maximum' | 'ui.minimum' | 'ui.multiSelectPlaceholder' | 'ui.newBadge' | 'ui.next' | 'ui.nextImage' | 'ui.nextPage' | 'ui.noImage' | 'ui.noImageAvailable' | 'ui.noResults' | 'ui.noReviews' | 'ui.noneSelected' | 'ui.notifications' | 'ui.opensInNewTab' | 'ui.optional' | 'ui.pagination' | 'ui.pause' | 'ui.play' | 'ui.popularSearches' | 'ui.previous' | 'ui.previousImage' | 'ui.previousPage' | 'ui.quantity' | 'ui.quickAddLabel' | 'ui.recentSearches' | 'ui.regularPrice' | 'ui.required' | 'ui.salePrice' | 'ui.search' | 'ui.searchAdvice' | 'ui.searchCollections' | 'ui.searchEscHint' | 'ui.searchJournal' | 'ui.searchLoading' | 'ui.searchMoveHint' | 'ui.searchOpenHint' | 'ui.searchProducts' | 'ui.searchSuggestions' | 'ui.searchTheShop' | 'ui.selectPlaceholder' | 'ui.selected' | 'ui.shortcutHint' | 'ui.slideInstructions' | 'ui.slides' | 'ui.soldOut' | 'ui.stockIn' | 'ui.stockistSite' | 'ui.to' | 'ui.tryAgain' | 'ui.updatingPrice' | 'ui.updatingStock' | 'video.errorLink' | 'video.errorText' | 'video.errorTitle' | 'video.headingHintLabel' | 'video.introHintLabel' | 'video.minuteMany' | 'video.minuteOne' | 'video.play' | 'video.playWithDuration' | 'video.privacyNoteDefault' | 'video.secondMany' | 'video.secondOne' | 'video.urlHintHelp' | 'video.urlHintLabel' | 'wishlist.continueShopping' | 'wishlist.editorHintHelp' | 'wishlist.editorHintLabel' | 'wishlist.emptyText' | 'wishlist.emptyTitle' | 'wishlist.itemCountMany' | 'wishlist.itemCountOne' | 'wishlist.items' | 'wishlist.removed' | 'wishlist.removedNamed' | 'wishlist.saved' | 'wishlist.title' | 'wishlist.view';
435
+ type MessageKey = 'announcement.dismiss' | 'announcement.hintHelp' | 'announcement.hintLabel' | 'announcement.region' | 'article.authorHintHelp' | 'article.authorHintLabel' | 'article.bodyHintHelp' | 'article.bodyHintLabel' | 'article.byline' | 'article.coverHintHelp' | 'article.coverHintLabel' | 'article.dekHintLabel' | 'article.metaHintLabel' | 'article.richTextTableLabel' | 'article.titleHintLabel' | 'articleList.filterNav' | 'articleList.headingHintHelp' | 'articleList.headingHintLabel' | 'articleList.itemsHintHelp' | 'articleList.itemsHintLabel' | 'articleList.pages' | 'breadcrumbs.hintHelp' | 'breadcrumbs.hintLabel' | 'breadcrumbs.home' | 'cart.added' | 'cart.applied' | 'cart.apply' | 'cart.applyFailed' | 'cart.applyUnsupported' | 'cart.awayFromFree' | 'cart.checkout' | 'cart.columnProduct' | 'cart.columnQuantity' | 'cart.columnTotal' | 'cart.continueShopping' | 'cart.discount' | 'cart.discountCode' | 'cart.discountPlaceholder' | 'cart.drawerHintHelp' | 'cart.drawerHintHosted' | 'cart.drawerHintLabel' | 'cart.each' | 'cart.emptyFallbackTitle' | 'cart.freeUnlocked' | 'cart.invalidCode' | 'cart.itemCountMany' | 'cart.itemCountOne' | 'cart.items' | 'cart.lineTotal' | 'cart.paymentsAccepted' | 'cart.quantityFor' | 'cart.removeCode' | 'cart.removeItem' | 'cart.removeItemVariant' | 'cart.removed' | 'cart.shipping' | 'cart.shippingFree' | 'cart.shippingPending' | 'cart.subtotal' | 'cart.summary' | 'cart.title' | 'cart.total' | 'cart.undo' | 'cart.viewCart' | 'collection.countMany' | 'collection.countOne' | 'collection.readLess' | 'collection.readMore' | 'collection.subcategories' | 'collection.subcollections' | 'collection.titleHintHelp' | 'collection.titleHintLabel' | 'contact.addressLabel' | 'contact.detailsHintHelp' | 'contact.detailsHintLabel' | 'contact.emailFieldLabel' | 'contact.emailInvalidError' | 'contact.emailLabel' | 'contact.formTitleDefault' | 'contact.headingHintHelp' | 'contact.headingHintLabel' | 'contact.hoursLabel' | 'contact.introHintLabel' | 'contact.mapHintHelp' | 'contact.mapHintLabel' | 'contact.mapTitle' | 'contact.mapTitleWithAddress' | 'contact.messageLabel' | 'contact.messageRequiredError' | 'contact.nameLabel' | 'contact.nameRequiredError' | 'contact.orderNumberLabel' | 'contact.orderNumberPlaceholder' | 'contact.phoneLabel' | 'contact.replyTime' | 'contact.sendAnother' | 'contact.sendMessage' | 'contact.sending' | 'contact.serverError' | 'contact.serverErrorGeneric' | 'contact.successTextDefault' | 'contact.successTitle' | 'contact.summaryTitleMany' | 'contact.summaryTitleOne' | 'contact.topicLabel' | 'cta.buttonHintLabel' | 'cta.headingHintHelp' | 'cta.headingHintLabel' | 'cta.textHintLabel' | 'editor.addLink' | 'error' | 'faq.headingHintLabel' | 'faq.introHintLabel' | 'faq.itemHintHelp' | 'faq.itemHintLabel' | 'faq.richTextTableLabel' | 'featureGrid.fallbackLabel' | 'featureGrid.headingHintLabel' | 'featureGrid.imageHintLabel' | 'featureGrid.itemHintHelp' | 'featureGrid.itemHintLabel' | 'footer.currencyLabel' | 'footer.descriptionHintLabel' | 'footer.emailError' | 'footer.emailInvalid' | 'footer.emailLabel' | 'footer.groupsHintHelp' | 'footer.groupsHintLabel' | 'footer.localeLabel' | 'footer.nav' | 'footer.newsletterAriaLabel' | 'footer.newsletterHintLabel' | 'footer.social.facebook' | 'footer.social.instagram' | 'footer.social.pinterest' | 'footer.social.tiktok' | 'footer.social.youtube' | 'footer.socialLinkName' | 'footer.subscribe' | 'footer.subscribed' | 'footer.subscribing' | 'footer.title' | 'form.formHintHelp' | 'form.formHintLabel' | 'form.headingHintLabel' | 'form.invalidEmail' | 'form.invalidForm' | 'form.invalidFormat' | 'form.invalidNumber' | 'form.invalidUrl' | 'form.loadFailed' | 'form.loading' | 'form.rateLimited' | 'form.required' | 'form.requiredCheckbox' | 'form.richTextTableLabel' | 'form.selectPlaceholder' | 'form.sendAnother' | 'form.submit' | 'form.submitting' | 'form.successTitle' | 'form.successTitlePending' | 'form.tooLarge' | 'form.tooLong' | 'form.tooShort' | 'form.turnstileFailed' | 'form.turnstileRequired' | 'form.unavailable' | 'form.unsupported' | 'gallery.carouselFallback' | 'gallery.headingHintHelp' | 'gallery.headingHintLabel' | 'gallery.imageHintLabel' | 'gallery.itemsHintHelp' | 'gallery.itemsHintLabel' | 'gallery.viewLarger' | 'gallery.viewer' | 'gallery.viewerHeading' | 'grid.activeFilters' | 'grid.availabilityInStock' | 'grid.availabilityOutOfStock' | 'grid.clearAll' | 'grid.clearFilters' | 'grid.columns' | 'grid.filter' | 'grid.filters' | 'grid.legendAvailability' | 'grid.legendCategory' | 'grid.legendCollection' | 'grid.legendColour' | 'grid.legendSize' | 'grid.nActive' | 'grid.nProducts' | 'grid.noCategoryHelp' | 'grid.noCategoryLabel' | 'grid.noCollectionHelp' | 'grid.noCollectionLabel' | 'grid.noResultsTitle' | 'grid.nothingIn' | 'grid.oneProduct' | 'grid.pagination' | 'grid.price' | 'grid.products' | 'grid.productsNoun' | 'grid.sectionLabel' | 'grid.sortBestSelling' | 'grid.sortBy' | 'grid.sortFeatured' | 'grid.sortNewest' | 'grid.sortPriceAsc' | 'grid.sortPriceDesc' | 'grid.updating' | 'header.cartEmpty' | 'header.cartMany' | 'header.cartOne' | 'header.menu' | 'header.openMenu' | 'header.primary' | 'header.search' | 'header.searchField' | 'header.viewAll' | 'header.viewAllOf' | 'header.wishlistEmpty' | 'header.wishlistMany' | 'header.wishlistOne' | 'hero.buttonHintLabel' | 'hero.carouselFallback' | 'hero.headingHintHelp' | 'hero.headingHintLabel' | 'hero.imageHintLabel' | 'hero.subheadingHintLabel' | 'imageBlock.captionHintLabel' | 'imageBlock.hintHelp' | 'imageBlock.hintLabel' | 'loading' | 'logoCloud.headingHintHelp' | 'logoCloud.headingHintLabel' | 'logoCloud.itemHintHelp' | 'logoCloud.itemHintLabel' | 'logoCloud.linkContext' | 'nav.menu' | 'nav.skipToContent' | 'newsletter.consentCheckboxLabel' | 'newsletter.consentRequired' | 'newsletter.emailLabel' | 'newsletter.emailPlaceholder' | 'newsletter.failed' | 'newsletter.headingHintLabel' | 'newsletter.invalidEmail' | 'newsletter.richTextTableLabel' | 'newsletter.subscribe' | 'newsletter.subscribing' | 'newsletter.successTitle' | 'newsletter.textHintLabel' | 'notFound.back' | 'notFound.body' | 'notFound.eyebrow' | 'notFound.title' | 'order.cardEnding' | 'order.carrierEta' | 'order.completed' | 'order.deliveryAddress' | 'order.detailsLabel' | 'order.estimated' | 'order.inProgress' | 'order.items' | 'order.needHelp' | 'order.notYet' | 'order.number' | 'order.payment' | 'order.placedMany' | 'order.placedOne' | 'order.progress' | 'order.qty' | 'order.shipping' | 'order.shippingFree' | 'order.showAllItems' | 'order.statusPrefix' | 'order.subtotal' | 'order.tax' | 'order.total' | 'order.trackOpens' | 'order.trackPackage' | 'order.trackingNumber' | 'pricing.headingHintLabel' | 'pricing.included' | 'pricing.includedIn' | 'pricing.introHintLabel' | 'pricing.mostPopular' | 'pricing.notIncluded' | 'pricing.planHintHelp' | 'pricing.planHintLabel' | 'product.addToCart' | 'product.backorder' | 'product.backorderNote' | 'product.backorderPending' | 'product.backorderShips' | 'product.hintHelp' | 'product.hintLabel' | 'product.imageIndex' | 'product.images' | 'product.inStock' | 'product.information' | 'product.lowStockMany' | 'product.lowStockManyIn' | 'product.lowStockOne' | 'product.lowStockOneIn' | 'product.notifyEmail' | 'product.notifyInvalid' | 'product.notifyMe' | 'product.notifySubmit' | 'product.notifySuccess' | 'product.notifyTitle' | 'product.notifyUnsupported' | 'product.quantity' | 'product.quickAdd' | 'product.quickAddMeta' | 'product.removeFromWishlist' | 'product.restockNote' | 'product.saleBadge' | 'product.saveToWishlist' | 'product.saving' | 'product.showImage' | 'product.sizeGuide' | 'product.soldOut' | 'product.soldOutIn' | 'product.tabsLabel' | 'product.taxNote' | 'product.viewer' | 'product.zoom' | 'productCarousel.carouselLabel' | 'productCarousel.clearHistory' | 'productCarousel.headingHintHelp' | 'productCarousel.headingHintLabel' | 'productCarousel.viewAllContext' | 'quote.headingFor' | 'quote.nameHintLabel' | 'quote.quoteHintHelp' | 'quote.quoteHintLabel' | 'richTextBlock.bodyHintHelp' | 'richTextBlock.bodyHintLabel' | 'richTextBlock.headingHintHelp' | 'richTextBlock.headingHintLabel' | 'richTextBlock.richTextTableLabel' | 'search.all' | 'search.customersLove' | 'search.didYouMean' | 'search.headingHintHelp' | 'search.headingHintLabel' | 'search.idleTitle' | 'search.noResultsAdvice' | 'search.noResultsTitle' | 'search.pageMany' | 'search.pageOne' | 'search.popularHintHelp' | 'search.popularHintLabel' | 'search.popularSearches' | 'search.productMany' | 'search.productOne' | 'search.resultMany' | 'search.resultOne' | 'search.resultTabs' | 'search.resultsHeading' | 'search.searchLabel' | 'search.searching' | 'search.storyMany' | 'search.storyOne' | 'search.title' | 'search.typeJournal' | 'search.typePages' | 'search.typeProducts' | 'search.viewAllJournal' | 'search.viewAllPages' | 'search.viewAllProducts' | 'splitContent.headingHintHelp' | 'splitContent.headingHintLabel' | 'splitContent.imageHintLabel' | 'splitContent.label' | 'splitContent.richTextTableLabel' | 'stats.headingHintLabel' | 'stats.introHintLabel' | 'stats.itemHintHelp' | 'stats.itemHintLabel' | 'storefront.cartOutOfDate' | 'storefront.error' | 'storefront.loading' | 'storefront.mutationFailed' | 'storefront.notFound' | 'storefront.orderStatus.cancelled' | 'storefront.orderStatus.delayed' | 'storefront.orderStatus.delivered' | 'storefront.orderStatus.processing' | 'storefront.orderStatus.shipped' | 'storefront.orderSteps.delivered' | 'storefront.orderSteps.ordered' | 'storefront.orderSteps.packed' | 'storefront.orderSteps.shipped' | 'storefront.outOfStock' | 'storefront.unavailable' | 'storefront.unresolvedCollectionHelp' | 'storefront.unresolvedCollectionLabel' | 'storefront.updatingValues' | 'tabsBlock.headingHintLabel' | 'tabsBlock.introHintLabel' | 'tabsBlock.itemHintHelp' | 'tabsBlock.itemHintLabel' | 'tabsBlock.richTextTableLabel' | 'tabsBlock.tabPlaceholderLabel' | 'team.emailPerson' | 'team.headingHintHelp' | 'team.headingHintLabel' | 'team.itemHintHelp' | 'team.itemHintLabel' | 'team.onInstagram' | 'team.onPinterest' | 'team.onTiktok' | 'team.portraitOf' | 'team.website' | 'testimonials.carousel' | 'testimonials.headingHintHelp' | 'testimonials.headingHintLabel' | 'testimonials.itemHintHelp' | 'testimonials.itemHintLabel' | 'timeline.headingHintHelp' | 'timeline.headingHintLabel' | 'timeline.itemHintHelp' | 'timeline.itemHintLabel' | 'timeline.step' | 'trust.applePay' | 'trust.itemHintHelp' | 'trust.itemHintLabel' | 'trust.mastercard' | 'trust.payments' | 'trust.paypal' | 'trust.scrollRegion' | 'trust.title' | 'trust.visa' | 'ui.breadcrumbLabel' | 'ui.cancel' | 'ui.clear' | 'ui.clearRecent' | 'ui.clearSearch' | 'ui.close' | 'ui.closeLightbox' | 'ui.closeSearch' | 'ui.decrease' | 'ui.dismissNotification' | 'ui.done' | 'ui.error' | 'ui.filterPanelApplied' | 'ui.filterPanelClearAll' | 'ui.filterPanelLabel' | 'ui.filterPanelMax' | 'ui.filterPanelMin' | 'ui.filterPanelNoneAvailable' | 'ui.filterPanelOrMore' | 'ui.filterPanelShowFewer' | 'ui.filterPanelShowProducts' | 'ui.filterPanelSizeGuide' | 'ui.filterPanelTitle' | 'ui.from' | 'ui.increase' | 'ui.learnMore' | 'ui.lightboxImages' | 'ui.loadMore' | 'ui.loading' | 'ui.loadingProduct' | 'ui.maximum' | 'ui.minimum' | 'ui.multiSelectPlaceholder' | 'ui.newBadge' | 'ui.next' | 'ui.nextImage' | 'ui.nextPage' | 'ui.noImage' | 'ui.noImageAvailable' | 'ui.noResults' | 'ui.noReviews' | 'ui.noneSelected' | 'ui.notifications' | 'ui.opensInNewTab' | 'ui.optional' | 'ui.pagination' | 'ui.pause' | 'ui.play' | 'ui.popularSearches' | 'ui.previous' | 'ui.previousImage' | 'ui.previousPage' | 'ui.quantity' | 'ui.quickAddLabel' | 'ui.recentSearches' | 'ui.regularPrice' | 'ui.required' | 'ui.salePrice' | 'ui.search' | 'ui.searchAdvice' | 'ui.searchCollections' | 'ui.searchEscHint' | 'ui.searchJournal' | 'ui.searchLoading' | 'ui.searchMoveHint' | 'ui.searchOpenHint' | 'ui.searchProducts' | 'ui.searchSuggestions' | 'ui.searchTheShop' | 'ui.selectPlaceholder' | 'ui.selected' | 'ui.shortcutHint' | 'ui.slideInstructions' | 'ui.slides' | 'ui.soldOut' | 'ui.stockIn' | 'ui.stockistSite' | 'ui.to' | 'ui.tryAgain' | 'ui.updatingPrice' | 'ui.updatingStock' | 'video.errorLink' | 'video.errorText' | 'video.errorTitle' | 'video.headingHintLabel' | 'video.introHintLabel' | 'video.minuteMany' | 'video.minuteOne' | 'video.play' | 'video.playWithDuration' | 'video.privacyNoteDefault' | 'video.secondMany' | 'video.secondOne' | 'video.urlHintHelp' | 'video.urlHintLabel' | 'wishlist.continueShopping' | 'wishlist.editorHintHelp' | 'wishlist.editorHintLabel' | 'wishlist.emptyText' | 'wishlist.emptyTitle' | 'wishlist.itemCountMany' | 'wishlist.itemCountOne' | 'wishlist.items' | 'wishlist.removed' | 'wishlist.removedNamed' | 'wishlist.saved' | 'wishlist.title' | 'wishlist.view';
427
436
  }
428
437
 
429
438
  export {};