@scm-manager/ui-api 3.0.3 → 3.0.4-20240112-135201
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/build/index.js +5 -0
- package/build/index.mjs +5 -0
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -2291,11 +2291,16 @@ var merge = (files) => {
|
|
|
2291
2291
|
children.push(...((_a = page._embedded) == null ? void 0 : _a.children) || []);
|
|
2292
2292
|
}
|
|
2293
2293
|
const lastPage = files[files.length - 1];
|
|
2294
|
+
const firstPage = files[0];
|
|
2294
2295
|
return {
|
|
2295
2296
|
...lastPage,
|
|
2296
2297
|
_embedded: {
|
|
2297
2298
|
...lastPage._embedded,
|
|
2298
2299
|
children
|
|
2300
|
+
},
|
|
2301
|
+
_links: {
|
|
2302
|
+
...firstPage._links,
|
|
2303
|
+
proceed: lastPage._links.proceed
|
|
2299
2304
|
}
|
|
2300
2305
|
};
|
|
2301
2306
|
};
|
package/build/index.mjs
CHANGED
|
@@ -2100,11 +2100,16 @@ var merge = (files) => {
|
|
|
2100
2100
|
children.push(...((_a = page._embedded) == null ? void 0 : _a.children) || []);
|
|
2101
2101
|
}
|
|
2102
2102
|
const lastPage = files[files.length - 1];
|
|
2103
|
+
const firstPage = files[0];
|
|
2103
2104
|
return {
|
|
2104
2105
|
...lastPage,
|
|
2105
2106
|
_embedded: {
|
|
2106
2107
|
...lastPage._embedded,
|
|
2107
2108
|
children
|
|
2109
|
+
},
|
|
2110
|
+
_links: {
|
|
2111
|
+
...firstPage._links,
|
|
2112
|
+
proceed: lastPage._links.proceed
|
|
2108
2113
|
}
|
|
2109
2114
|
};
|
|
2110
2115
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scm-manager/ui-api",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4-20240112-135201",
|
|
4
4
|
"description": "React hook api for the SCM-Manager backend",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"module": "build/index.mjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"tsup": "^5.12.6"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@scm-manager/ui-types": "3.0.
|
|
32
|
+
"@scm-manager/ui-types": "3.0.4-20240112-135201",
|
|
33
33
|
"fetch-mock-jest": "^1.5.1",
|
|
34
34
|
"gitdiff-parser": "^0.2.2",
|
|
35
35
|
"query-string": "6.14.1",
|