@decocms/apps-website 7.39.0 → 7.41.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/package.json +3 -3
- package/src/mod.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decocms/apps-website",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.41.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deco generic-site app: SEO, analytics, theme, and content utilities shared across every commerce backend",
|
|
6
6
|
"repository": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"lint:unused": "knip"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@decocms/blocks": "7.
|
|
36
|
-
"@decocms/apps-commerce": "7.
|
|
35
|
+
"@decocms/blocks": "7.41.0",
|
|
36
|
+
"@decocms/apps-commerce": "7.41.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "^19.0.0",
|
package/src/mod.ts
CHANGED
|
@@ -108,6 +108,18 @@ export interface Props {
|
|
|
108
108
|
|
|
109
109
|
/** @title Whilelist URL Patterns */
|
|
110
110
|
whilelistURLs?: string[];
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @title renderJson
|
|
114
|
+
* @description Structured JSON rendering of pages for the mobile app (?renderJson).
|
|
115
|
+
*/
|
|
116
|
+
renderJson?: {
|
|
117
|
+
/**
|
|
118
|
+
* @title Ignored Sections
|
|
119
|
+
* @description App-owned sections excluded from the ?renderJson response, matched by resolveType suffix (e.g. "SeoV2.tsx"). Site-owned sections should prefer `export const renderJson = false` in their own file.
|
|
120
|
+
*/
|
|
121
|
+
sectionsToIgnore?: string[];
|
|
122
|
+
};
|
|
111
123
|
}
|
|
112
124
|
|
|
113
125
|
/** Alias for site app bridges that extend website Props. */
|