We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4fe7d commit 3451bacCopy full SHA for 3451bac
functions/ssr/src/sections/ProductShelfSection.astro
@@ -1,9 +1,15 @@
1
---
2
-import type { InferCmsOutput } from '@@sf/content';
+import type { CmsFields, InferCmsOutput } from '@@sf/content';
3
import { productShelfCmsFields } from '@@sf/composables/use-product-shelf';
4
import ProductShelf from '~/components/ProductShelf.vue';
5
6
-export const cmsFields = productShelfCmsFields;
+export const cmsFields = ({
7
+ ...productShelfCmsFields,
8
+ isGrid: {
9
+ widget: 'boolean',
10
+ label: { pt: 'Vitrine em grade', en: 'Grid display case' },
11
+ },
12
+}) as const satisfies CmsFields;
13
14
export type Props = InferCmsOutput<typeof cmsFields> & {
15
isRelatedProducts?: boolean;
0 commit comments