@byline/admin 3.17.0 → 3.17.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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@byline/admin",
3
3
  "private": false,
4
4
  "license": "MPL-2.0",
5
- "version": "3.17.0",
5
+ "version": "3.17.1",
6
6
  "engines": {
7
7
  "node": ">=20.9.0"
8
8
  },
@@ -155,10 +155,10 @@
155
155
  "react-diff-viewer-continued": "^4.2.2",
156
156
  "uuid": "^14.0.0",
157
157
  "zod": "^4.4.3",
158
- "@byline/auth": "3.17.0",
159
- "@byline/i18n": "3.17.0",
160
- "@byline/core": "3.17.0",
161
- "@byline/ui": "3.17.0"
158
+ "@byline/auth": "3.17.1",
159
+ "@byline/i18n": "3.17.1",
160
+ "@byline/ui": "3.17.1",
161
+ "@byline/core": "3.17.1"
162
162
  },
163
163
  "peerDependencies": {
164
164
  "react": "^19.0.0",
@@ -97,10 +97,10 @@ export async function executeUploads(
97
97
  /**
98
98
  * Extract the leaf field name from a `fieldPath`. Top-level upload
99
99
  * fields (`'image'`, `'avatar'`) pass through unchanged; nested paths
100
- * (`'profile.avatar'`) reduce to their last segment, since the
101
- * server-side resolver matches against top-level field names today.
102
- * Nested upload fields would need a richer transport selector when
103
- * they land the host resolver is the natural place to extend.
100
+ * (`'files[0].filesGroup.publicationFile'`) reduce to their last
101
+ * segment. The server-side resolver walks the schema recursively and
102
+ * matches upload fields by leaf name at any nesting depth, so leaf
103
+ * names must be unique among a collection's upload-capable fields.
104
104
  */
105
105
  function uploadFieldName(fieldPath: string): string {
106
106
  const dot = fieldPath.lastIndexOf('.')