@uniweb/kit 0.13.7 → 0.14.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
CHANGED
|
@@ -113,7 +113,14 @@ function normalize(raw) {
|
|
|
113
113
|
component: raw?.component ?? null,
|
|
114
114
|
snippetText: raw?.snippetText ?? null,
|
|
115
115
|
matches: raw?.matches ?? null,
|
|
116
|
-
|
|
116
|
+
// ⭐ `group` — the named set a record came from, renamed from `collection`
|
|
117
|
+
// 2026-08-27 with @uniweb/projections. "Collection" is framework's BUILD
|
|
118
|
+
// concept; a hosted site's records come from a folder and have no collection,
|
|
119
|
+
// so the word did not survive the lane it was travelling into.
|
|
120
|
+
// ⚠️ `collection` is still read as a fallback: a search index is a PUBLISHED
|
|
121
|
+
// ARTIFACT, and a site that has not rebuilt since the rename is still serving
|
|
122
|
+
// the old key. Dropping it would blank the field for every such site.
|
|
123
|
+
group: raw?.group ?? raw?.collection ?? null,
|
|
117
124
|
item: raw?.item ?? null
|
|
118
125
|
}
|
|
119
126
|
}
|