@cmssy/next 7.0.1 → 8.0.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.
- package/dist/server.d.cts +3 -2
- package/dist/server.d.ts +3 -2
- package/package.json +4 -4
package/dist/server.d.cts
CHANGED
|
@@ -27,7 +27,8 @@ interface CmssyLayoutSlotProps {
|
|
|
27
27
|
blocks: BlockDefinition[];
|
|
28
28
|
position: string;
|
|
29
29
|
/**
|
|
30
|
-
* The page whose layout to render. Defaults to "/" - the site
|
|
30
|
+
* The page whose layout to render. Defaults to "/" - the site-wide header
|
|
31
|
+
* and footer.
|
|
31
32
|
*/
|
|
32
33
|
page?: string;
|
|
33
34
|
/**
|
|
@@ -49,7 +50,7 @@ interface CmssyLayoutSlotProps {
|
|
|
49
50
|
}>;
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
|
-
* The site
|
|
53
|
+
* The site-wide header and footer, rendered the way each mode needs them:
|
|
53
54
|
*
|
|
54
55
|
* - published traffic: server-rendered layout blocks (static, no client cost);
|
|
55
56
|
* - the editor: the same blocks through the edit bridge, fetched with the
|
package/dist/server.d.ts
CHANGED
|
@@ -27,7 +27,8 @@ interface CmssyLayoutSlotProps {
|
|
|
27
27
|
blocks: BlockDefinition[];
|
|
28
28
|
position: string;
|
|
29
29
|
/**
|
|
30
|
-
* The page whose layout to render. Defaults to "/" - the site
|
|
30
|
+
* The page whose layout to render. Defaults to "/" - the site-wide header
|
|
31
|
+
* and footer.
|
|
31
32
|
*/
|
|
32
33
|
page?: string;
|
|
33
34
|
/**
|
|
@@ -49,7 +50,7 @@ interface CmssyLayoutSlotProps {
|
|
|
49
50
|
}>;
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
|
-
* The site
|
|
53
|
+
* The site-wide header and footer, rendered the way each mode needs them:
|
|
53
54
|
*
|
|
54
55
|
* - published traffic: server-rendered layout blocks (static, no client cost);
|
|
55
56
|
* - the editor: the same blocks through the edit bridge, fetched with the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmssy/next",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Next.js App Router bindings for cmssy headless sites (createCmssyPage + draft preview)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cmssy",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"tsup": "^8.3.0",
|
|
71
71
|
"typescript": "^5.6.0",
|
|
72
72
|
"vitest": "^2.1.0",
|
|
73
|
-
"@cmssy/react": "
|
|
73
|
+
"@cmssy/react": "8.0.1"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@cmssy/types": "0.
|
|
76
|
+
"@cmssy/types": "0.28.0",
|
|
77
77
|
"server-only": "^0.0.1",
|
|
78
|
-
"@cmssy/core": "
|
|
78
|
+
"@cmssy/core": "8.0.1"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsup",
|