cloudcommerce 0.21.0 → 0.22.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/.gitmodules +3 -0
- package/.nvmrc +1 -0
- package/.vscode/settings.json +2 -1
- package/CHANGELOG.md +21 -0
- package/action.yml +37 -13
- package/ecomplus-stores/iluminim/.devcontainer/devcontainer.json +30 -0
- package/ecomplus-stores/iluminim/.eslintrc.cjs +3 -0
- package/ecomplus-stores/iluminim/.firebaserc +5 -0
- package/ecomplus-stores/iluminim/.github/renovate.json +5 -0
- package/ecomplus-stores/iluminim/.github/workflows/build-and-deploy.yml +36 -0
- package/ecomplus-stores/iluminim/.github/workflows/calibreapp-image-actions.yml +23 -0
- package/ecomplus-stores/iluminim/.gitpod.yml +12 -0
- package/ecomplus-stores/iluminim/.nvmrc +1 -0
- package/ecomplus-stores/iluminim/.vscode/extensions.json +8 -0
- package/ecomplus-stores/iluminim/.vscode/launch.json +11 -0
- package/ecomplus-stores/iluminim/.vscode/settings.json +10 -0
- package/ecomplus-stores/iluminim/README.md +113 -0
- package/ecomplus-stores/iluminim/README.pt-BR.md +113 -0
- package/ecomplus-stores/iluminim/functions/config.json +3 -0
- package/ecomplus-stores/iluminim/functions/example.env +10 -0
- package/ecomplus-stores/iluminim/functions/many/index.js +14 -0
- package/ecomplus-stores/iluminim/functions/many/package.json +22 -0
- package/ecomplus-stores/iluminim/functions/ssr/.eslintrc.cjs +6 -0
- package/ecomplus-stores/iluminim/functions/ssr/astro.config.mjs +4 -0
- package/ecomplus-stores/iluminim/functions/ssr/content/blog/.gitkeep +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/content/extra-pages/.gitkeep +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/content/layout.json +33 -0
- package/ecomplus-stores/iluminim/functions/ssr/content/pages/home.json +70 -0
- package/ecomplus-stores/iluminim/functions/ssr/content/settings.json +49 -0
- package/ecomplus-stores/iluminim/functions/ssr/index.js +18 -0
- package/ecomplus-stores/iluminim/functions/ssr/package.json +31 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/admin/.gitkeep +2 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms-preview.css +274 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms.css +114 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/cvv.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/img-placeholder.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/payments.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/ssl-safe.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/icon.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/large-icon.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner-chamada-desktop-9x81zmd91q.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner2.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/chamada-mobile-q1c6om6jx4.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/headphone.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/logo.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/og-image.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/passion.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect8589.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect859.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect89.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/robots.txt +8 -0
- package/ecomplus-stores/iluminim/functions/ssr/scripts/build.sh +14 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/assets/style.css +65 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/AccountMenu.vue +104 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/Banner.vue +59 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/BannersGrid.astro +25 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/CartSidebar.vue +35 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/Countdown.vue +79 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/HeroSlider.vue +52 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/PitchBar.vue +57 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/Prices.vue +96 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductCard.vue +118 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductShelf.vue +60 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductsCountdown.vue +20 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/SearchModal.vue +6 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeader.vue +137 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderMenu.vue +58 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderSubmenu.vue +88 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenav.vue +61 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenavCategory.vue +78 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/env.d.ts +13 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/layouts/Base.astro +16 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/layouts/Checkout.astro +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/layouts/PageHeader.astro +33 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Fallback.astro +10 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Home.astro +49 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Sections.astro +42 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Wildcard.astro +18 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/[...slug].astro +40 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/_vue.ts +3 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/account.astro +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/index.astro +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/fallback.astro +25 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/index.astro +35 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/scripts/InlineScripts.astro +10 -0
- package/ecomplus-stores/iluminim/functions/ssr/tailwind.config.cjs +13 -0
- package/ecomplus-stores/iluminim/functions/ssr/tsconfig.json +12 -0
- package/ecomplus-stores/iluminim/functions/ssr/uno.config.cjs +5 -0
- package/ecomplus-stores/iluminim/functions/with-apps/index.js +12 -0
- package/ecomplus-stores/iluminim/functions/with-apps/package.json +22 -0
- package/ecomplus-stores/iluminim/package.json +28 -0
- package/ecomplus-stores/iluminim/scripts/install.sh +14 -0
- package/ecomplus-stores/monocard/.eslintrc.cjs +3 -0
- package/ecomplus-stores/monocard/.nvmrc +1 -0
- package/ecomplus-stores/tia-sonia/.eslintrc.cjs +3 -0
- package/ecomplus-stores/tia-sonia/.nvmrc +1 -0
- package/package.json +1 -1
- package/packages/api/package.json +1 -1
- package/packages/api/types.d.ts +1 -1
- package/packages/apps/affilate-program/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/package.json +1 -1
- package/packages/apps/flash-courier/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/galaxpay/package.json +1 -1
- package/packages/apps/google-analytics/package.json +1 -1
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +1 -1
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/pagarme/package.json +1 -1
- package/packages/apps/paghiper/package.json +1 -1
- package/packages/apps/pix/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/webhooks/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/feeds/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/lib/en_us/i19hour.txt +1 -0
- package/packages/i18n/lib/en_us/i19hours.txt +1 -0
- package/packages/i18n/lib/en_us/i19milliseconds.txt +1 -0
- package/packages/i18n/lib/en_us/i19minute.txt +1 -0
- package/packages/i18n/lib/en_us/i19minutes.txt +1 -0
- package/packages/i18n/lib/en_us/i19second.txt +1 -0
- package/packages/i18n/lib/en_us/i19seconds.txt +1 -0
- package/packages/i18n/lib/en_us.d.ts +7 -0
- package/packages/i18n/lib/en_us.js +7 -0
- package/packages/i18n/lib/en_us.js.map +1 -1
- package/packages/i18n/lib/pt_br/i19home.txt +1 -1
- package/packages/i18n/lib/pt_br/i19hour.txt +1 -0
- package/packages/i18n/lib/pt_br/i19hours.txt +1 -0
- package/packages/i18n/lib/pt_br/i19milliseconds.txt +1 -0
- package/packages/i18n/lib/pt_br/i19minute.txt +1 -0
- package/packages/i18n/lib/pt_br/i19minutes.txt +1 -0
- package/packages/i18n/lib/pt_br/i19second.txt +1 -0
- package/packages/i18n/lib/pt_br/i19seconds.txt +1 -0
- package/packages/i18n/lib/pt_br.d.ts +8 -1
- package/packages/i18n/lib/pt_br.js +8 -1
- package/packages/i18n/lib/pt_br.js.map +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/i18n/src/en_us.ts +7 -0
- package/packages/i18n/src/pt_br.ts +8 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +2 -2
- package/packages/storefront/.eslintrc.cjs +8 -1
- package/packages/storefront/dist/client/_astro/HeroSlider.0890631f.js +1 -0
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/server/chunks/{_...49a92e87.mjs → _...7e1df40a.mjs} +4 -4
- package/packages/storefront/dist/server/chunks/{account@_@astro.5388531b.mjs → account@_@astro.5f1dba7a.mjs} +4 -4
- package/packages/storefront/dist/server/chunks/{astro.161c5a41.mjs → astro.2d3ebf0f.mjs} +521 -490
- package/packages/storefront/dist/server/chunks/{endpoint@_@js.fe113d0d.mjs → endpoint@_@js.80de0568.mjs} +4 -4
- package/packages/storefront/dist/server/chunks/{fallback@_@astro.23b17e3d.mjs → fallback@_@astro.02a45b47.mjs} +4 -4
- package/packages/storefront/dist/server/chunks/{index@_@astro.2527898d.mjs → index@_@astro.23b50301.mjs} +4 -4
- package/packages/storefront/dist/server/chunks/{index@_@astro.433809ce.mjs → index@_@astro.7cb07e52.mjs} +4 -4
- package/packages/storefront/dist/server/chunks/pages/{_...slug_.astro.1d0e7f10.mjs → _...slug_.astro.4358f614.mjs} +12 -12
- package/packages/storefront/dist/server/chunks/pages/{account.astro.7539e037.mjs → account.astro.afae5a12.mjs} +3 -3
- package/packages/storefront/dist/server/chunks/pages/{endpoint.js.b71736ca.mjs → endpoint.js.60fd21aa.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/pages/{fallback.astro.15292657.mjs → fallback.astro.e5566925.mjs} +5 -5
- package/packages/storefront/dist/server/chunks/pages/{index.astro.9592fbd6.mjs → index.astro.5bc6b9d8.mjs} +32 -31
- package/packages/storefront/dist/server/entry.mjs +10 -10
- package/packages/storefront/dist/server/renderers.mjs +3 -3
- package/packages/storefront/package.json +2 -2
- package/packages/storefront/src/lib/layouts/use-page-main.ts +18 -5
- package/packages/types/package.json +1 -1
- package/pnpm-workspace.yaml +2 -2
- package/packages/storefront/dist/client/_astro/HeroSlider.eb156f18.js +0 -1
- package/packages/storefront/src/lib/composables/use-hero-slider.ts +0 -26
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
import api from '@cloudcommerce/api';
|
|
3
|
+
import loadRouteContext, { RouteContext } from '@@sf/ssr-context';
|
|
4
|
+
import BaseHead from '@@sf/layouts/BaseHead.astro';
|
|
5
|
+
import Base from '~/layouts/Base.astro';
|
|
6
|
+
import PageHeader from '~/layouts/PageHeader.astro';
|
|
7
|
+
import WildcardMain from '~/main/Wildcard.astro';
|
|
8
|
+
|
|
9
|
+
if (String(Astro.params.slug).endsWith('.css.map')) {
|
|
10
|
+
return new Response(null, { status: 404 });
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
let routeContext: RouteContext | undefined;
|
|
14
|
+
let loadError: any;
|
|
15
|
+
try {
|
|
16
|
+
routeContext = await loadRouteContext(Astro);
|
|
17
|
+
} catch (err: any) {
|
|
18
|
+
if (err.astroResponse) {
|
|
19
|
+
return err.astroResponse;
|
|
20
|
+
}
|
|
21
|
+
loadError = err;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export async function getStaticPaths() {
|
|
25
|
+
return (await api.get('products?sort=-sales&limit=4&fields=slug'))
|
|
26
|
+
.data.result.map(({ slug }) => ({ params: { slug } }));
|
|
27
|
+
}
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
<!DOCTYPE html>
|
|
31
|
+
<html lang={routeContext?.lang.replace('_', '-')}>
|
|
32
|
+
{routeContext &&
|
|
33
|
+
<Base>
|
|
34
|
+
<BaseHead slot="base-head" />
|
|
35
|
+
<PageHeader />
|
|
36
|
+
<WildcardMain />
|
|
37
|
+
</Base>
|
|
38
|
+
}
|
|
39
|
+
{loadError && <Fragment set:html={loadError.responseHTML} />}
|
|
40
|
+
</html>
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
import loadRouteContext, { RouteContext } from '@@sf/ssr-context';
|
|
3
|
+
import BaseHead from '@@sf/layouts/BaseHead.astro';
|
|
4
|
+
import Base from '~/layouts/Base.astro';
|
|
5
|
+
import PageHeader from '~/layouts/PageHeader.astro';
|
|
6
|
+
import FallbackMain from '~/main/Fallback.astro';
|
|
7
|
+
|
|
8
|
+
let routeContext: RouteContext;
|
|
9
|
+
try {
|
|
10
|
+
routeContext = await loadRouteContext(Astro);
|
|
11
|
+
} catch (err: any) {
|
|
12
|
+
return err.astroResponse;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// export const prerender = true;
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
<!DOCTYPE html>
|
|
19
|
+
<html lang={routeContext?.lang.replace('_', '-')}>
|
|
20
|
+
<Base>
|
|
21
|
+
<BaseHead slot="base-head" />
|
|
22
|
+
<PageHeader />
|
|
23
|
+
<FallbackMain />
|
|
24
|
+
</Base>
|
|
25
|
+
</html>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
import loadRouteContext, { RouteContext } from '@@sf/ssr-context';
|
|
3
|
+
import BaseHead from '@@sf/layouts/BaseHead.astro';
|
|
4
|
+
import Base from '~/layouts/Base.astro';
|
|
5
|
+
import PageHeader from '~/layouts/PageHeader.astro';
|
|
6
|
+
import HomeMain from '~/main/Home.astro';
|
|
7
|
+
|
|
8
|
+
let routeContext: RouteContext | undefined;
|
|
9
|
+
let loadError: any;
|
|
10
|
+
try {
|
|
11
|
+
routeContext = await loadRouteContext(Astro);
|
|
12
|
+
/* Faster SSR without store categories (default) prefetch:
|
|
13
|
+
routeContext = await loadRouteContext(Astro, {
|
|
14
|
+
apiPrefetchEndpoints: [],
|
|
15
|
+
});
|
|
16
|
+
*/
|
|
17
|
+
} catch (err: any) {
|
|
18
|
+
if (err.astroResponse) {
|
|
19
|
+
return err.astroResponse;
|
|
20
|
+
}
|
|
21
|
+
loadError = err;
|
|
22
|
+
}
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
<!DOCTYPE html>
|
|
26
|
+
<html lang={routeContext?.lang.replace('_', '-')}>
|
|
27
|
+
{routeContext &&
|
|
28
|
+
<Base>
|
|
29
|
+
<BaseHead slot="base-head" />
|
|
30
|
+
<PageHeader />
|
|
31
|
+
<HomeMain />
|
|
32
|
+
</Base>
|
|
33
|
+
}
|
|
34
|
+
{loadError && <Fragment set:html={loadError.responseHTML} />}
|
|
35
|
+
</html>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<script is:inline>
|
|
2
|
+
window.$firebaseConfig = {
|
|
3
|
+
apiKey: "AIzaSyDY08utue456KIi4tjXomMxX5PC3y1u6cE",
|
|
4
|
+
authDomain: "ecom2iluminim.firebaseapp.com",
|
|
5
|
+
projectId: "ecom2iluminim",
|
|
6
|
+
storageBucket: "ecom2iluminim.appspot.com",
|
|
7
|
+
messagingSenderId: "725654553320",
|
|
8
|
+
appId: "1:725654553320:web:2f0607a479b52ddb783f5d"
|
|
9
|
+
};
|
|
10
|
+
</script>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
process.env.STOREFRONT_BASE_DIR = __dirname;
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
|
+
const { genTailwindConfig } = require('@cloudcommerce/storefront/config/storefront.tailwind.cjs');
|
|
5
|
+
|
|
6
|
+
const themeOptions = {
|
|
7
|
+
// generalIcons: 'tabler',
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
...genTailwindConfig(themeOptions),
|
|
12
|
+
themeOptions,
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@cloudcommerce/storefront/tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"baseUrl": ".",
|
|
5
|
+
"paths": {
|
|
6
|
+
"@@i18n": ["./node_modules/@cloudcommerce/i18n/src/pt_br.ts"],
|
|
7
|
+
"@@sf/*": ["./node_modules/@cloudcommerce/storefront/src/lib/*"],
|
|
8
|
+
"~/*": ["./src/*"],
|
|
9
|
+
"content/*": ["./content/*"],
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '@cloudcommerce/firebase/lib/init';
|
|
2
|
+
import config from '@cloudcommerce/firebase/config';
|
|
3
|
+
import mergeConfig from './config.json' assert { type: 'json' };
|
|
4
|
+
|
|
5
|
+
config.set({
|
|
6
|
+
...mergeConfig,
|
|
7
|
+
hello: 'from store',
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
export * from '@cloudcommerce/modules/firebase';
|
|
11
|
+
|
|
12
|
+
export * from '@cloudcommerce/events/firebase';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "iluminim-with-apps",
|
|
3
|
+
"private": true,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "echo '>> Run build from repository root'",
|
|
7
|
+
"serve": "firebase emulators:start --only functions",
|
|
8
|
+
"shell": "firebase functions:shell",
|
|
9
|
+
"start": "npm run shell",
|
|
10
|
+
"deploy": "firebase deploy --only functions",
|
|
11
|
+
"logs": "firebase functions:log"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": "18"
|
|
15
|
+
},
|
|
16
|
+
"main": "index.js",
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@cloudcommerce/events": "^0.21.0",
|
|
19
|
+
"@cloudcommerce/firebase": "^0.21.0",
|
|
20
|
+
"@cloudcommerce/modules": "^0.21.0"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ecomplus-stores/iluminim",
|
|
3
|
+
"private": true,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "E-Com Plus Cloud Commerce starter store",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "cloudcommerce",
|
|
8
|
+
"logs": "cloudcommerce logs",
|
|
9
|
+
"serve": "cloudcommerce serve",
|
|
10
|
+
"shell": "cloudcommerce shell",
|
|
11
|
+
"start": "cloudcommerce start",
|
|
12
|
+
"build": "cloudcommerce build",
|
|
13
|
+
"predeploy": "cloudcommerce predeploy",
|
|
14
|
+
"deploy": "cloudcommerce deploy",
|
|
15
|
+
"login": "cloudcommerce login",
|
|
16
|
+
"setup": "bash scripts/install.sh && cloudcommerce setup",
|
|
17
|
+
"setup:quiet": "cloudcommerce setup --no-deploy --no-commit"
|
|
18
|
+
},
|
|
19
|
+
"main": "functions/index.js",
|
|
20
|
+
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
21
|
+
"license": "Apache 2.0 with Commons Clause",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@cloudcommerce/cli": "^0.21.0"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.0",
|
|
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>",
|
package/packages/api/types.d.ts
CHANGED
|
@@ -355,7 +355,7 @@ type EventsResult<TEndpoint extends EventsEndpoint> = {
|
|
|
355
355
|
|
|
356
356
|
type ResponseBody<
|
|
357
357
|
TConfig extends Config,
|
|
358
|
-
ListFields extends string[] | null = TConfig['endpoint'] extends Resource
|
|
358
|
+
ListFields extends string[] | null = TConfig['endpoint'] extends Resource | 'search/v1'
|
|
359
359
|
? TConfig['params']['fields'] extends string ? '*'
|
|
360
360
|
: TConfig['fields'] extends readonly string[] ? TConfig['fields']
|
|
361
361
|
: null
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Hour
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Hours
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Milliseconds
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Minute
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Minutes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Second
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Seconds
|
|
@@ -380,6 +380,8 @@ export declare const i19highestPrice = "Highest price";
|
|
|
380
380
|
export declare const i19highPriority = "High priority";
|
|
381
381
|
export declare const i19holderName = "Holder name";
|
|
382
382
|
export declare const i19home = "Home";
|
|
383
|
+
export declare const i19hour = "Hour";
|
|
384
|
+
export declare const i19hours = "Hours";
|
|
383
385
|
export declare const i19icon = "Icon";
|
|
384
386
|
export declare const i19id = "ID";
|
|
385
387
|
export declare const i19identification = "Identification";
|
|
@@ -479,7 +481,10 @@ export declare const i19metafields = "Metafields";
|
|
|
479
481
|
export declare const i19metafieldsMsg = "List of custom attributes";
|
|
480
482
|
export declare const i19metaTagDescription = "Meta description tag";
|
|
481
483
|
export declare const i19middleName = "Middle name";
|
|
484
|
+
export declare const i19milliseconds = "Milliseconds";
|
|
482
485
|
export declare const i19minimum = "Minimum";
|
|
486
|
+
export declare const i19minute = "Minute";
|
|
487
|
+
export declare const i19minutes = "Minutes";
|
|
483
488
|
export declare const i19minQuantity = "Minimum quantity";
|
|
484
489
|
export declare const i19mlCategoryId = "ML Category ID";
|
|
485
490
|
export declare const i19mobile = "Mobile";
|
|
@@ -740,6 +745,8 @@ export declare const i19searchingFor = "Searching for";
|
|
|
740
745
|
export declare const i19searchItems = "Search items";
|
|
741
746
|
export declare const i19searchOfflineErrorMsg = "Couldn't perform search, please check your internet connection.";
|
|
742
747
|
export declare const i19searchProducts = "Search products";
|
|
748
|
+
export declare const i19second = "Second";
|
|
749
|
+
export declare const i19seconds = "Seconds";
|
|
743
750
|
export declare const i19securityCode = "Security code";
|
|
744
751
|
export declare const i19seeAll = "See all";
|
|
745
752
|
export declare const i19seeAllApps = "See all apps";
|