@uniweb/build 1.7.3 → 1.7.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/package.json +2 -2
- package/src/uwx/data-schema.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/build",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "Build tooling for the Uniweb Component Web Platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"js-yaml": "^4.1.0",
|
|
57
57
|
"sharp": "^0.35.3",
|
|
58
58
|
"yaml": "^2.5.0",
|
|
59
|
-
"@uniweb/schemas": "~1.6.2",
|
|
60
59
|
"@uniweb/content-reader": "~1.5.4",
|
|
60
|
+
"@uniweb/schemas": "~1.6.4",
|
|
61
61
|
"@uniweb/theming": "~1.2.1",
|
|
62
62
|
"@uniweb/content-writer": "~1.3.0",
|
|
63
63
|
"@uniweb/semantic-parser": "~1.12.2",
|
package/src/uwx/data-schema.js
CHANGED
|
@@ -479,6 +479,9 @@ function lowerLeaf(field, resolve, optResolve, { multiple = false, path = '' } =
|
|
|
479
479
|
// The level on the entry it points to that opens this entry, for `read` — by link
|
|
480
480
|
// [Diego, 2026-10-14]. `@uniweb/schemas` admits it only here, as read, edit or admin.
|
|
481
481
|
if (field.readable_with) out.readable_with = field.readable_with
|
|
482
|
+
// A reference a purchase travels along, to what it names [backend, 2026-10-21]. Only `true`
|
|
483
|
+
// is sent: `@uniweb/schemas` drops `false`, which says what leaving it out says.
|
|
484
|
+
if (field.sold_with === true) out.sold_with = true
|
|
482
485
|
return out
|
|
483
486
|
}
|
|
484
487
|
|