@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.
|
|
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.
|
|
159
|
-
"@byline/i18n": "3.17.
|
|
160
|
-
"@byline/
|
|
161
|
-
"@byline/
|
|
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
|
-
* (`'
|
|
101
|
-
* server-side resolver
|
|
102
|
-
*
|
|
103
|
-
*
|
|
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('.')
|