@quintype/framework 7.23.3-test-env.0 → 7.23.4
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/.vscode/settings.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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
|
+
### [7.23.4](https://github.com/quintype/quintype-node-framework/compare/v7.23.3...v7.23.4) (2024-02-16)
|
|
6
|
+
|
|
7
|
+
### [7.23.3](https://github.com/quintype/quintype-node-framework/compare/v7.23.2...v7.23.3) (2024-02-14)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **bulk request:** POST bulk to a get ([#415](https://github.com/quintype/quintype-node-framework/issues/415)) ([93ada22](https://github.com/quintype/quintype-node-framework/commit/93ada2239266cb61775d40163d77e1858f25aebc))
|
|
13
|
+
|
|
5
14
|
### [7.23.2](https://github.com/quintype/quintype-node-framework/compare/v7.23.1...v7.23.2) (2024-02-07)
|
|
6
15
|
|
|
7
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quintype/framework",
|
|
3
|
-
"version": "7.23.
|
|
3
|
+
"version": "7.23.4",
|
|
4
4
|
"description": "Libraries to help build Quintype Node.js apps",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"engines": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@ampproject/toolbox-optimizer": "2.8.3",
|
|
34
34
|
"@quintype/amp": "^2.17.13",
|
|
35
|
-
"@quintype/backend": "^2.3.
|
|
35
|
+
"@quintype/backend": "^2.3.5",
|
|
36
36
|
"@quintype/components": "^3.5.0",
|
|
37
37
|
"@quintype/prerender-node": "^3.2.26",
|
|
38
38
|
"@quintype/seo": "^1.43.0-config-amp-story-path.1",
|
|
@@ -42,7 +42,11 @@ exports.generateSectionPageRoutes = function generateSectionPageRoutes(
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
function generateSectionPageRoute(section, sectionsById, opts) {
|
|
45
|
-
const params = {
|
|
45
|
+
const params = {
|
|
46
|
+
sectionId: section.id,
|
|
47
|
+
...(opts.layoutId && { layoutId: opts.layoutId }),
|
|
48
|
+
...(opts.preview && { preview: true }),
|
|
49
|
+
};
|
|
46
50
|
if (section.collection) params.collectionSlug = section.collection.slug;
|
|
47
51
|
|
|
48
52
|
let { slug } = section;
|
|
@@ -11,7 +11,6 @@ exports.addCacheHeadersToResult = function addCacheHeadersToResult({
|
|
|
11
11
|
sMaxAge = "900",
|
|
12
12
|
networkOnly = false,
|
|
13
13
|
}) {
|
|
14
|
-
console.log('test')
|
|
15
14
|
let cdnProviderVal = null;
|
|
16
15
|
cdnProviderVal =
|
|
17
16
|
typeof cdnProvider === "function" && Object.keys(config).length > 0 ? cdnProvider(config) : cdnProvider;
|