uniweb 1.15.3 → 1.15.5
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 +3 -3
- package/partials/agents.md +12 -0
- package/src/framework-index.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.5",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.0.0",
|
|
44
44
|
"@uniweb/core": "~1.4.0",
|
|
45
|
-
"@uniweb/schemas": "~1.6.2",
|
|
46
45
|
"@uniweb/semantic-parser": "~1.12.2",
|
|
46
|
+
"@uniweb/schemas": "~1.6.4",
|
|
47
47
|
"@uniweb/content-writer": "~1.3.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@uniweb/content-reader": "~1.5.4",
|
|
51
51
|
"@uniweb/semantic-parser": "~1.12.2",
|
|
52
|
-
"@uniweb/build": "~1.7.
|
|
52
|
+
"@uniweb/build": "~1.7.4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@uniweb/build": {
|
package/partials/agents.md
CHANGED
|
@@ -2631,6 +2631,18 @@ read that way comes back with `via: 'rbac'`. It is one step, and a backend refus
|
|
|
2631
2631
|
to a field entries already fill. `grantable: false` keeps entries from being shared with a
|
|
2632
2632
|
person or a team; omitted, they can be.
|
|
2633
2633
|
|
|
2634
|
+
A reference can also carry a purchase. `sold_with: true` — a boolean, and only on a reference
|
|
2635
|
+
or a list of them — means a buyer of the entry reads what the field names, through it, and onward
|
|
2636
|
+
along those entries' own `sold_with` fields, up to three steps:
|
|
2637
|
+
|
|
2638
|
+
```yaml
|
|
2639
|
+
# foundation/schemas/course.yml
|
|
2640
|
+
fields:
|
|
2641
|
+
lessons: { ref: '@/lesson', many: true, sold_with: true } # a buyer of the course reads its lessons
|
|
2642
|
+
```
|
|
2643
|
+
|
|
2644
|
+
An unmarked reference carries nothing, and `false` is the same as leaving it out.
|
|
2645
|
+
|
|
2634
2646
|
### Acting as an administrator
|
|
2635
2647
|
|
|
2636
2648
|
On a site, an administrator's session reads what their role reaches — the operator reads
|
package/src/framework-index.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"generatedAt": "2026-10-21T16:45:14.911Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/api": {
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.3"
|
|
7
7
|
},
|
|
8
8
|
"@uniweb/build": {
|
|
9
|
-
"version": "1.7.
|
|
9
|
+
"version": "1.7.4"
|
|
10
10
|
},
|
|
11
11
|
"@uniweb/content-reader": {
|
|
12
12
|
"version": "1.5.4"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"version": "1.0.1"
|
|
43
43
|
},
|
|
44
44
|
"@uniweb/schemas": {
|
|
45
|
-
"version": "1.6.
|
|
45
|
+
"version": "1.6.4"
|
|
46
46
|
},
|
|
47
47
|
"@uniweb/scholar": {
|
|
48
48
|
"version": "1.1.0"
|