cloudcommerce 2.3.2 → 2.3.3

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 (170) hide show
  1. package/.gitmodules +3 -3
  2. package/CHANGELOG.md +10 -0
  3. package/ecomplus-stores/{barra-doce → barradoce}/functions/many/package.json +3 -3
  4. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/package.json +8 -8
  5. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/DocDescription.vue +1 -1
  6. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/content/Hero.astro +2 -2
  7. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/content/Sections.astro +13 -13
  8. package/ecomplus-stores/{barra-doce → barradoce}/functions/with-apps/package.json +3 -3
  9. package/ecomplus-stores/{barra-doce → barradoce}/package.json +5 -5
  10. package/ecomplus-stores/tia-sonia/package.json +1 -1
  11. package/package.json +2 -2
  12. package/packages/api/package.json +1 -1
  13. package/packages/api/types/brands.d.ts +0 -8
  14. package/packages/api/types/categories.d.ts +0 -8
  15. package/packages/api/types/collections.d.ts +0 -8
  16. package/packages/api/types/products.d.ts +0 -8
  17. package/packages/api/types/stores.d.ts +11 -0
  18. package/packages/apps/affiliate-program/package.json +1 -1
  19. package/packages/apps/correios/package.json +1 -1
  20. package/packages/apps/custom-payment/package.json +1 -1
  21. package/packages/apps/custom-shipping/package.json +1 -1
  22. package/packages/apps/datafrete/package.json +1 -1
  23. package/packages/apps/discounts/package.json +1 -1
  24. package/packages/apps/emails/package.json +1 -1
  25. package/packages/apps/fb-conversions/package.json +1 -1
  26. package/packages/apps/flash-courier/package.json +1 -1
  27. package/packages/apps/frenet/package.json +1 -1
  28. package/packages/apps/galaxpay/package.json +1 -1
  29. package/packages/apps/google-analytics/package.json +1 -1
  30. package/packages/apps/jadlog/package.json +1 -1
  31. package/packages/apps/loyalty-points/package.json +1 -1
  32. package/packages/apps/mandae/package.json +1 -1
  33. package/packages/apps/melhor-envio/package.json +1 -1
  34. package/packages/apps/mercadopago/package.json +1 -1
  35. package/packages/apps/pagarme/package.json +1 -1
  36. package/packages/apps/pagarme-v5/package.json +1 -1
  37. package/packages/apps/paghiper/package.json +1 -1
  38. package/packages/apps/pix/package.json +1 -1
  39. package/packages/apps/tiny-erp/package.json +1 -1
  40. package/packages/apps/webhooks/package.json +1 -1
  41. package/packages/cli/package.json +1 -1
  42. package/packages/config/package.json +1 -1
  43. package/packages/emails/package.json +1 -1
  44. package/packages/eslint/package.json +1 -1
  45. package/packages/eslint/storefront.eslintrc.cjs +1 -0
  46. package/packages/events/package.json +1 -1
  47. package/packages/feeds/package.json +1 -1
  48. package/packages/firebase/package.json +1 -1
  49. package/packages/i18n/package.json +1 -1
  50. package/packages/modules/package.json +1 -1
  51. package/packages/passport/package.json +1 -1
  52. package/packages/ssr/package.json +2 -2
  53. package/packages/storefront/client.d.ts +3 -0
  54. package/packages/storefront/package.json +4 -3
  55. package/packages/storefront/src/decap-cms/gen-preview-container.ts +32 -0
  56. package/packages/storefront/src/decap-cms/get-cms-config.ts +59 -0
  57. package/packages/storefront/src/lib/components/ViewTransitions.astro +4 -1
  58. package/packages/storefront/src/lib/layouts/BaseHead.astro +5 -5
  59. package/packages/storefront/src/lib/scripts/decap-cms.ts +117 -0
  60. package/packages/test-base/package.json +1 -1
  61. package/packages/types/package.json +1 -1
  62. package/packages/storefront/src/lib/scripts/git-cms-auth.ts +0 -3
  63. package/packages/storefront/src/lib/scripts/sso-ecom.ts +0 -0
  64. /package/ecomplus-stores/{barra-doce → barradoce}/.devcontainer/devcontainer.json +0 -0
  65. /package/ecomplus-stores/{barra-doce → barradoce}/.editorconfig +0 -0
  66. /package/ecomplus-stores/{barra-doce → barradoce}/.eslintrc.cjs +0 -0
  67. /package/ecomplus-stores/{barra-doce → barradoce}/.firebaserc +0 -0
  68. /package/ecomplus-stores/{barra-doce → barradoce}/.github/build-and-deploy +0 -0
  69. /package/ecomplus-stores/{barra-doce → barradoce}/.github/renovate.json +0 -0
  70. /package/ecomplus-stores/{barra-doce → barradoce}/.github/workflows/build-and-deploy.yml +0 -0
  71. /package/ecomplus-stores/{barra-doce → barradoce}/.github/workflows/calibreapp-image-actions.yml +0 -0
  72. /package/ecomplus-stores/{barra-doce → barradoce}/.gitpod.yml +0 -0
  73. /package/ecomplus-stores/{barra-doce → barradoce}/.husky/pre-commit +0 -0
  74. /package/ecomplus-stores/{barra-doce → barradoce}/.idx/dev.nix +0 -0
  75. /package/ecomplus-stores/{barra-doce → barradoce}/.nvmrc +0 -0
  76. /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/extensions.json +0 -0
  77. /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/launch.json +0 -0
  78. /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/settings.json +0 -0
  79. /package/ecomplus-stores/{barra-doce → barradoce}/README.md +0 -0
  80. /package/ecomplus-stores/{barra-doce → barradoce}/SETUP.md +0 -0
  81. /package/ecomplus-stores/{barra-doce → barradoce}/SETUP.pt-BR.md +0 -0
  82. /package/ecomplus-stores/{barra-doce → barradoce}/conf/firebase.json +0 -0
  83. /package/ecomplus-stores/{barra-doce → barradoce}/functions/config.json +0 -0
  84. /package/ecomplus-stores/{barra-doce → barradoce}/functions/example.env +0 -0
  85. /package/ecomplus-stores/{barra-doce → barradoce}/functions/many/index.js +0 -0
  86. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/.eslintrc.cjs +0 -0
  87. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/.staged.eslintrc.cjs +0 -0
  88. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/astro.config.mjs +0 -0
  89. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/3.md +0 -0
  90. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/4.md +0 -0
  91. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/5.md +0 -0
  92. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/dos.md +0 -0
  93. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/uno.md +0 -0
  94. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/contato.md +0 -0
  95. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/terms.md +0 -0
  96. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/trocas.md +0 -0
  97. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/layout.json +0 -0
  98. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/brands.json +0 -0
  99. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/categories.json +0 -0
  100. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/collections.json +0 -0
  101. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/home.json +0 -0
  102. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/products.json +0 -0
  103. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/search.json +0 -0
  104. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/settings.json +0 -0
  105. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/index.js +0 -0
  106. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/admin/.gitkeep +0 -0
  107. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/assets/.gitkeep +0 -0
  108. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/icon.png +0 -0
  109. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/large-icon.png +0 -0
  110. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/banner-forma-decora.jpg +0 -0
  111. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
  112. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/logo-barradoce.webp +0 -0
  113. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/og-image.png +0 -0
  114. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/robots.txt +0 -0
  115. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/scripts/build.sh +0 -0
  116. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/assets/style.css +0 -0
  117. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/AccountMenu.vue +0 -0
  118. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/AccountPage.vue +0 -0
  119. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Banner.vue +0 -0
  120. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/BannersGrid.astro +0 -0
  121. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/BlogPosts.vue +0 -0
  122. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Breadcrumbs.vue +0 -0
  123. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CartItem.vue +0 -0
  124. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CartSidebar.vue +0 -0
  125. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CheckoutPage.vue +0 -0
  126. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Collapse.vue +0 -0
  127. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ContentEntry.vue +0 -0
  128. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/DocBanners.vue +0 -0
  129. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/FooterStamps.vue +0 -0
  130. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/HeroSlider.vue +0 -0
  131. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ImagesGallery.vue +0 -0
  132. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/LoginForm.vue +0 -0
  133. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/PageTitle.vue +0 -0
  134. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Pagination.vue +0 -0
  135. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/PitchBar.vue +0 -0
  136. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Prices.vue +0 -0
  137. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductCard.vue +0 -0
  138. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductDetails.vue +0 -0
  139. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductShelf.vue +0 -0
  140. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductSpecifications.vue +0 -0
  141. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchFilters.vue +0 -0
  142. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchModal.vue +0 -0
  143. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchShowcase.vue +0 -0
  144. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopFooter.vue +0 -0
  145. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeader.vue +0 -0
  146. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeaderMenu.vue +0 -0
  147. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeaderSubmenu.vue +0 -0
  148. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopSidenav.vue +0 -0
  149. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopSidenavCategory.vue +0 -0
  150. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SkuSelector.vue +0 -0
  151. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/env.d.ts +0 -0
  152. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/Base.astro +0 -0
  153. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/PageFooter.astro +0 -0
  154. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/PageHeader.astro +0 -0
  155. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/Fallback.astro +0 -0
  156. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/Main.astro +0 -0
  157. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/[...slug].astro +0 -0
  158. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/_vue.ts +0 -0
  159. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/app/account.astro +0 -0
  160. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/app/index.astro +0 -0
  161. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/blog/[page].astro +0 -0
  162. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/blog/_blog-pages.ts +0 -0
  163. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/~fallback.astro +0 -0
  164. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/scripts/InlineScripts.astro +0 -0
  165. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/tailwind.config.cjs +0 -0
  166. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/tsconfig.json +0 -0
  167. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/uno.config.cjs +0 -0
  168. /package/ecomplus-stores/{barra-doce → barradoce}/functions/with-apps/index.js +0 -0
  169. /package/ecomplus-stores/{barra-doce → barradoce}/scripts/install.sh +0 -0
  170. /package/ecomplus-stores/{barra-doce → barradoce}/tailwind.config.cjs +0 -0
package/.gitmodules CHANGED
@@ -4,6 +4,6 @@
4
4
  [submodule "ecomplus-stores/tia-sonia"]
5
5
  path = ecomplus-stores/tia-sonia
6
6
  url = git@github.com:ecomplus-stores/tia-sonia.git
7
- [submodule "ecomplus-stores/barra-doce"]
8
- path = ecomplus-stores/barra-doce
9
- url = git@github.com:ecomplus-stores/barra-doce.git
7
+ [submodule "ecomplus-stores/barradoce"]
8
+ path = ecomplus-stores/barradoce
9
+ url = git@github.com:barradoce/barradoce.git
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.3.3](https://github.com/ecomplus/cloud-commerce/compare/v2.3.2...v2.3.3) (2024-02-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **api:** Removing missused `body_text` field on catalog resources types ([1faaed7](https://github.com/ecomplus/cloud-commerce/commit/1faaed743aca7005098f1b242dd61e5c204ed455))
11
+ * **storefront:** Also disabling view transitions on /admin/ (CMS) route ([486d356](https://github.com/ecomplus/cloud-commerce/commit/486d356e2c3a9ff21f9a1cae67682684fe6f1d9c))
12
+ * **storefront:** Bump Astro to latest v4.3.5 ([91cd2a5](https://github.com/ecomplus/cloud-commerce/commit/91cd2a535ea08191114ae18bde3fee36d6c96f20))
13
+ * **storefront:** Properly set global `$storefront.getSession` and `$storefront.url` client side ([37bf33c](https://github.com/ecomplus/cloud-commerce/commit/37bf33cbe9eaf53155160e3d7311c58bea8f18bc))
14
+
5
15
  ### [2.3.2](https://github.com/ecomplus/cloud-commerce/compare/v2.3.1...v2.3.2) (2024-02-06)
6
16
 
7
17
 
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/feeds": "^2.3.1",
19
- "@cloudcommerce/firebase": "^2.3.1",
20
- "@cloudcommerce/passport": "^2.3.1"
18
+ "@cloudcommerce/feeds": "^2.3.2",
19
+ "@cloudcommerce/firebase": "^2.3.2",
20
+ "@cloudcommerce/passport": "^2.3.2"
21
21
  }
22
22
  }
@@ -18,16 +18,16 @@
18
18
  },
19
19
  "main": "index.js",
20
20
  "dependencies": {
21
- "@cloudcommerce/api": "^2.3.1",
22
- "@cloudcommerce/firebase": "^2.3.1",
23
- "@cloudcommerce/ssr": "^2.3.1",
24
- "@headlessui/vue": "^1.7.17"
21
+ "@cloudcommerce/api": "^2.3.2",
22
+ "@cloudcommerce/firebase": "^2.3.2",
23
+ "@cloudcommerce/ssr": "^2.3.2",
24
+ "@headlessui/vue": "^1.7.18"
25
25
  },
26
26
  "devDependencies": {
27
- "@cloudcommerce/i18n": "^2.3.1",
28
- "@cloudcommerce/storefront": "^2.3.1",
29
- "@cloudcommerce/types": "^2.3.1",
30
- "@iconify-json/mingcute": "^1.1.15",
27
+ "@cloudcommerce/i18n": "^2.3.2",
28
+ "@cloudcommerce/storefront": "^2.3.2",
29
+ "@cloudcommerce/types": "^2.3.2",
30
+ "@iconify-json/mingcute": "^1.1.16",
31
31
  "photoswipe": "^5.4.3"
32
32
  }
33
33
  }
@@ -24,5 +24,5 @@ export interface Props {
24
24
  const props = withDefaults(defineProps<Props>(), {
25
25
  apiDoc: () => globalThis.$storefront.apiContext?.doc as Products,
26
26
  });
27
- const html = computed(() => props.apiDoc.body_html || props.apiDoc.body_text);
27
+ const html = computed(() => props.apiDoc.body_html);
28
28
  </script>
@@ -8,7 +8,7 @@ const { heroSlider } = await usePageHero({ routeContext });
8
8
  const heroSlides = heroSlider.slides;
9
9
  ---
10
10
 
11
- {heroSlider.slides.length > 0 &&
11
+ {heroSlider.slides.length > 0 && <>
12
12
  <HeroSlider {...heroSlider} client:idle>
13
13
  {heroSlides[0] && <BannerPictures
14
14
  slot="picture-0" {...heroSlides[0]} index={0}
@@ -30,4 +30,4 @@ const heroSlides = heroSlider.slides;
30
30
  widths={[856, 1024, 1536]} class="max-w-screen-sm sm:max-w-screen-lg" />}
31
31
  <!-- https://github.com/withastro/astro/issues/5066#issuecomment-1277998365 -->
32
32
  </HeroSlider>
33
- }
33
+ </>}
@@ -31,18 +31,18 @@ cause route resource is required to define sections from content. */
31
31
  case 'product-shelf':
32
32
  return index === 0 || (index < 2 && !cmsContent?.hero?.slides.length)
33
33
  ? <ProductShelf {...props} client:idle />
34
- : <ProductShelf {...props} client:visible />
34
+ : <ProductShelf {...props} client:visible />;
35
35
  case 'related-products':
36
36
  props.isRelatedProducts = true;
37
- return <ProductShelf {...props} client:visible />
37
+ return <ProductShelf {...props} client:visible />;
38
38
  case 'banners-grid':
39
- return <BannersGrid {...props} />
39
+ return <BannersGrid {...props} />;
40
40
  case 'breadcrumbs':
41
- return <Breadcrumbs />
41
+ return <Breadcrumbs />;
42
42
  case 'doc-description':
43
- return <DocDescription />
43
+ return <DocDescription />;
44
44
  case 'doc-banners':
45
- return <DocBanners />
45
+ return <DocBanners />;
46
46
  case 'product-details':
47
47
  const { hasDescription, hasSpecifications, ...detailsProps } = props;
48
48
  return <>
@@ -52,24 +52,24 @@ cause route resource is required to define sections from content. */
52
52
  {hasSpecifications && <ProductSpecifications />}
53
53
  </Fragment>
54
54
  </ProductDetails>
55
- </>
55
+ </>;
56
56
  case 'search-showcase':
57
57
  case 'context-showcase':
58
58
  return <>
59
59
  <article class="min-h-[500px]">
60
60
  <SearchShowcase {...props} client:context />
61
61
  </article>
62
- </>
62
+ </>;
63
63
  case 'page-title':
64
- return <PageTitle {...props} />
64
+ return <PageTitle {...props} />;
65
65
  case 'content-entry':
66
- return <ContentEntry {...props} />
66
+ return <ContentEntry {...props} />;
67
67
  case 'custom-html':
68
- return <ContentClearfix html={props.html} />
68
+ return <ContentClearfix html={props.html} />;
69
69
  case 'c:foo':
70
- return <div data-foo={props.foo}></div>
70
+ return <div data-foo={props.foo}></div>;
71
71
  default:
72
- return <div data-section={type}></div>
72
+ return <div data-section={type}></div>;
73
73
  }
74
74
  })}
75
75
  </article>
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "main": "index.js",
17
17
  "dependencies": {
18
- "@cloudcommerce/events": "^2.3.1",
19
- "@cloudcommerce/firebase": "^2.3.1",
20
- "@cloudcommerce/modules": "^2.3.1"
18
+ "@cloudcommerce/events": "^2.3.2",
19
+ "@cloudcommerce/firebase": "^2.3.2",
20
+ "@cloudcommerce/modules": "^2.3.2"
21
21
  }
22
22
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@ecomplus-stores/barra-doce",
2
+ "name": "@ecomplus/barradoce",
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "description": "E-Com Plus Cloud Commerce starter store",
@@ -26,11 +26,11 @@
26
26
  "url": "https://github.com/ecomplus/cloud-commerce/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@cloudcommerce/cli": "^2.3.1"
29
+ "@cloudcommerce/cli": "^2.3.2"
30
30
  },
31
31
  "devDependencies": {
32
- "@cloudcommerce/eslint": "^2.3.1",
33
- "husky": "^9.0.7",
34
- "lint-staged": "^15.2.0"
32
+ "@cloudcommerce/eslint": "^2.3.2",
33
+ "husky": "^9.0.10",
34
+ "lint-staged": "^15.2.2"
35
35
  }
36
36
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@ecomplus/store",
2
+ "name": "@ecomplus/tiasonia",
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "description": "E-Com Plus Cloud Commerce starter store",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
6
6
  "main": "packages/api/lib/index.js",
7
7
  "author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
@@ -36,7 +36,7 @@
36
36
  "vite": "^5.0.11",
37
37
  "vitest": "^1.2.2",
38
38
  "zx": "^7.2.3",
39
- "@cloudcommerce/eslint": "2.3.2"
39
+ "@cloudcommerce/eslint": "2.3.3"
40
40
  },
41
41
  "scripts": {
42
42
  "fix-install": "bash scripts/pre-install.sh && pnpm i",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",
@@ -47,10 +47,6 @@ export interface Brands {
47
47
  * Full brand description, may use HTML tags
48
48
  */
49
49
  body_html?: string;
50
- /**
51
- * Full brand description, plain text only
52
- */
53
- body_text?: string;
54
50
  /**
55
51
  * Title tag for page SEO
56
52
  */
@@ -82,10 +78,6 @@ export interface Brands {
82
78
  * Full brand description, may use HTML tags
83
79
  */
84
80
  body_html?: string;
85
- /**
86
- * Full brand description, plain text only
87
- */
88
- body_text?: string;
89
81
  /**
90
82
  * Title tag for page SEO
91
83
  */
@@ -47,10 +47,6 @@ export interface Categories {
47
47
  * Full category description, may use HTML tags
48
48
  */
49
49
  body_html?: string;
50
- /**
51
- * Full category description, plain text only
52
- */
53
- body_text?: string;
54
50
  /**
55
51
  * Title tag for page SEO
56
52
  */
@@ -82,10 +78,6 @@ export interface Categories {
82
78
  * Full category description, may use HTML tags
83
79
  */
84
80
  body_html?: string;
85
- /**
86
- * Full category description, plain text only
87
- */
88
- body_text?: string;
89
81
  /**
90
82
  * Title tag for page SEO
91
83
  */
@@ -41,10 +41,6 @@ export interface Collections {
41
41
  * Full collection description, may use HTML tags
42
42
  */
43
43
  body_html?: string;
44
- /**
45
- * Full collection description, plain text only
46
- */
47
- body_text?: string;
48
44
  /**
49
45
  * Title tag for page SEO
50
46
  */
@@ -76,10 +72,6 @@ export interface Collections {
76
72
  * Full collection description, may use HTML tags
77
73
  */
78
74
  body_html?: string;
79
- /**
80
- * Full collection description, plain text only
81
- */
82
- body_text?: string;
83
75
  /**
84
76
  * Title tag for page SEO
85
77
  */
@@ -71,10 +71,6 @@ export interface Products {
71
71
  * Full product description, may use HTML tags
72
72
  */
73
73
  body_html?: string;
74
- /**
75
- * Full product description, plain text only
76
- */
77
- body_text?: string;
78
74
  /**
79
75
  * Title tag for page SEO
80
76
  */
@@ -106,10 +102,6 @@ export interface Products {
106
102
  * Full product description, may use HTML tags
107
103
  */
108
104
  body_html?: string;
109
- /**
110
- * Full product description, plain text only
111
- */
112
- body_text?: string;
113
105
  /**
114
106
  * Title tag for page SEO
115
107
  */
@@ -128,11 +128,22 @@ export interface Stores {
128
128
  */
129
129
  contact_cellphone?: string;
130
130
  /**
131
+ * Store sales channel list
132
+ *
131
133
  * @maxItems 30
132
134
  */
133
135
  sales_channels?: {
136
+ /**
137
+ * Sales channel unique identifier or domain name
138
+ */
134
139
  channel_id: string;
140
+ /**
141
+ * Sales channel type
142
+ */
135
143
  type?: 'ecommerce' | 'mobile' | 'pos' | 'button' | 'social' | 'chatbot' | 'live';
144
+ /**
145
+ * Sales channel title
146
+ */
136
147
  title?: string;
137
148
  }[];
138
149
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-affiliate-program",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple affiliate program",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-correios",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for Correios shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-payment",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple custom payment methods",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-shipping",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for custom shipping methods",
6
6
  "main": "lib/custom-shipping.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-datafrete",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Datafrete shipping gateway ",
6
6
  "main": "lib/datafrete.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for complex discount rules",
6
6
  "main": "lib/discounts.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-emails",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce default transactional email app",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-fb-conversions",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders to Facebook Conversions API",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-flash-courier",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Flash Courier",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-frenet",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for Frenet shipping calculation",
6
6
  "main": "lib/frenet.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-galaxpay",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Galax Pay for recurring payments",
6
6
  "main": "lib/galaxpay.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-google-analytics",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders events to GA Measurement Protocol",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-jadlog",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for Jadlog shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-loyalty-points",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to handle simple loyalty points programs",
6
6
  "main": "lib/loyalty-points.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mandae",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mandaê shipping intermediator",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-melhor-envio",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Melhor Envio",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mercadopago",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mercado Pago",
6
6
  "main": "lib/mercadopago.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me",
6
6
  "main": "lib/pagarme.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme-v5",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me API v5 with recurring payments",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-paghiper",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate PagHiper",
6
6
  "main": "lib/paghiper.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pix",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pix API (Bacen)",
6
6
  "main": "lib/pix.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-tiny-erp",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for Tiny ERP",
6
6
  "main": "lib/tiny-erp.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-webhooks",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app for general order webhooks",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/config",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce base config",
6
6
  "main": "lib/config.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/emails",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce email sender",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/eslint",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce ESLint config",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -45,6 +45,7 @@ module.exports = {
45
45
  },
46
46
  rules: {
47
47
  'no-await-in-loop': 'off',
48
+ 'no-case-declarations': 'off',
48
49
  'import/prefer-default-export': 'off',
49
50
  'consistent-return': 'off',
50
51
  'no-shadow': 'off',
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/events",
3
3
  "type": "module",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "E-Com Plus Cloud Commerce app events",
6
6
  "main": "lib/index.js",
7
7
  "exports": {