uniweb 0.64.0 → 0.64.1
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 +7 -7
- package/partials/agents.md +10 -1
- package/src/framework-index.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.1",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"js-yaml": "^4.1.0",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.0.0",
|
|
44
|
-
"@uniweb/
|
|
45
|
-
"@uniweb/core": "^0.29.8",
|
|
44
|
+
"@uniweb/runtime": "^0.27.4",
|
|
46
45
|
"@uniweb/schemas": "^0.4.0",
|
|
46
|
+
"@uniweb/core": "^0.29.8",
|
|
47
|
+
"@uniweb/kit": "^0.19.4",
|
|
47
48
|
"@uniweb/semantic-parser": "^1.4.1",
|
|
48
|
-
"@uniweb/
|
|
49
|
-
"@uniweb/kit": "^0.19.4"
|
|
49
|
+
"@uniweb/content-writer": "^0.3.4"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
+
"@uniweb/semantic-parser": "^1.4.1",
|
|
52
53
|
"@uniweb/content-reader": "^1.2.5",
|
|
53
|
-
"@uniweb/build": "^0.59.1"
|
|
54
|
-
"@uniweb/semantic-parser": "^1.4.1"
|
|
54
|
+
"@uniweb/build": "^0.59.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"@uniweb/build": {
|
package/partials/agents.md
CHANGED
|
@@ -2422,9 +2422,18 @@ component that never needed one.
|
|
|
2422
2422
|
### Reading
|
|
2423
2423
|
|
|
2424
2424
|
```jsx
|
|
2425
|
-
const { status, records } = useRecords({ schema: '@/
|
|
2425
|
+
const { status, records } = useRecords({ schema: '@/track' }) // summaries: record.brief, no items
|
|
2426
|
+
const { entity } = useEntity({ schema: '@/track', uuid: record.uuid })
|
|
2427
|
+
const sessions = entity?.hydrated?.items.filter((item) => item.section === 'sessions')
|
|
2426
2428
|
```
|
|
2427
2429
|
|
|
2430
|
+
⛔ **A listed record is a summary, not the entity.** `record.brief` holds the brief
|
|
2431
|
+
section's fields (`record.brief.name`, not `record.name`), and a record carries **no
|
|
2432
|
+
items**. Read one entity for its items. Each item carries `section`, its section's name
|
|
2433
|
+
(the word a write takes), and `id`, which is what the writer takes to update, move or
|
|
2434
|
+
remove it. `scope: 'mine'` lists only the viewer's own records. Without it, the operator
|
|
2435
|
+
also gets everyone else's.
|
|
2436
|
+
|
|
2428
2437
|
⭐ **`absent` and an empty `ready` are different answers, and confusing them is the
|
|
2429
2438
|
mistake to avoid.** `absent` = there is no live source (no `api` service, or nobody signed
|
|
2430
2439
|
in) → render the site's authored content. `ready` with `records: []` = the service
|
package/src/framework-index.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-09-23T16:
|
|
3
|
+
"generatedAt": "2026-09-23T16:44:03.282Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/api": {
|
|
6
|
-
"version": "0.6.
|
|
6
|
+
"version": "0.6.1",
|
|
7
7
|
"path": "framework/api",
|
|
8
8
|
"deps": [
|
|
9
9
|
"@uniweb/core"
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"deps": []
|
|
117
117
|
},
|
|
118
118
|
"@uniweb/templates": {
|
|
119
|
-
"version": "0.16.
|
|
119
|
+
"version": "0.16.3",
|
|
120
120
|
"path": "framework/templates",
|
|
121
121
|
"deps": []
|
|
122
122
|
},
|