@uniweb/core 0.7.17 → 0.7.18

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/website.js +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/core",
3
- "version": "0.7.17",
3
+ "version": "0.7.18",
4
4
  "description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
5
5
  "type": "module",
6
6
  "exports": {
package/src/website.js CHANGED
@@ -596,11 +596,12 @@ export default class Website {
596
596
  pageData.notFound = true
597
597
  }
598
598
 
599
- // Store in dynamic context for entity resolution
600
- pageData.dynamicContext.currentItem = currentItem || null
601
- pageData.dynamicContext.allItems = items
602
-
603
- // Track whether collection data was available at creation time
599
+ // Track whether collection data was available at creation time.
600
+ // Note: the matched record and the sibling list are intentionally NOT
601
+ // stored on dynamicContext nothing reads them (documented shape is
602
+ // { paramName, paramValue, schema }; the record reaches components via
603
+ // content.data, siblings via `fetch: { refine: true, detail: false }`).
604
+ // The local `currentItem`/`items` above drive title/description/notFound.
604
605
  pageData._collectionLoaded = items.length > 0
605
606
  }
606
607