@byline/host-tanstack-start 1.3.0 → 1.4.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
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "1.3.0",
6
+ "version": "1.4.0",
7
7
  "engines": {
8
8
  "node": ">=20.9.0"
9
9
  },
@@ -101,11 +101,11 @@
101
101
  "react-swipeable": "^7.0.2",
102
102
  "uuid": "^14.0.0",
103
103
  "zod": "^4.4.2",
104
- "@byline/admin": "1.3.0",
105
- "@byline/client": "1.3.0",
106
- "@byline/ui": "1.3.0",
107
- "@byline/core": "1.3.0",
108
- "@byline/auth": "1.3.0"
104
+ "@byline/admin": "1.4.0",
105
+ "@byline/client": "1.5.0",
106
+ "@byline/core": "1.5.0",
107
+ "@byline/auth": "1.4.0",
108
+ "@byline/ui": "1.4.0"
109
109
  },
110
110
  "peerDependencies": {
111
111
  "@tanstack/react-router": "^1.167.0",
@@ -25,10 +25,12 @@
25
25
  * document yet, so offering a preview link would just lead to a 404.
26
26
  *
27
27
  * The component does not load the document itself. Callers pass the
28
- * already-loaded `doc` from their route loader. If `preview.populate`
29
- * is configured, it's the loader's responsibility to apply that hint
30
- * when fetching the document so `url(doc, ctx)` sees the resolved
31
- * relation values it expects (e.g. `doc.fields.area?.document?.path`).
28
+ * already-loaded `doc` from their route loader. The edit-view loader
29
+ * applies a blanket depth-1 populate (picker projection) so direct
30
+ * relation targets are available as `doc.fields.<name>?.document`
31
+ * `url(doc, ctx)` inherits that populated tree without further work.
32
+ * Deeper hops or fields outside the picker projection are not available;
33
+ * see `CollectionAdminConfig.preview` for the full contract.
32
34
  *
33
35
  * Two-step "enable cookie then navigate" intentionally avoids the
34
36
  * Payload-style `/routes/draft?url=...&secret=...` redirect handler: