@uniformdev/next-app-router 20.71.2-alpha.13 → 20.71.2-alpha.18
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/dist/cache.js +3 -0
- package/dist/cache.mjs +3 -0
- package/dist/component.js +3 -0
- package/dist/component.mjs +3 -0
- package/dist/handler.js +4 -3
- package/dist/handler.mjs +4 -3
- package/dist/index.esm.js +3 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/dist/middleware.js +3 -0
- package/dist/middleware.mjs +3 -0
- package/package.json +8 -8
package/dist/cache.js
CHANGED
|
@@ -1226,6 +1226,9 @@ function projectionToQuery(spec) {
|
|
|
1226
1226
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1227
1227
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1228
1228
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1229
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1230
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1231
|
+
}
|
|
1229
1232
|
}
|
|
1230
1233
|
if (fieldTypes) {
|
|
1231
1234
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/cache.mjs
CHANGED
|
@@ -1213,6 +1213,9 @@ function projectionToQuery(spec) {
|
|
|
1213
1213
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1214
1214
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1215
1215
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1216
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1217
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1218
|
+
}
|
|
1216
1219
|
}
|
|
1217
1220
|
if (fieldTypes) {
|
|
1218
1221
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/component.js
CHANGED
|
@@ -648,6 +648,9 @@ function projectionToQuery(spec) {
|
|
|
648
648
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
649
649
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
650
650
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
651
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
652
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
653
|
+
}
|
|
651
654
|
}
|
|
652
655
|
if (fieldTypes) {
|
|
653
656
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/component.mjs
CHANGED
|
@@ -633,6 +633,9 @@ function projectionToQuery(spec) {
|
|
|
633
633
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
634
634
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
635
635
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
636
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
637
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
638
|
+
}
|
|
636
639
|
}
|
|
637
640
|
if (fieldTypes) {
|
|
638
641
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/handler.js
CHANGED
|
@@ -1224,6 +1224,9 @@ function projectionToQuery(spec) {
|
|
|
1224
1224
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1225
1225
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1226
1226
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1227
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1228
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1229
|
+
}
|
|
1227
1230
|
}
|
|
1228
1231
|
if (fieldTypes) {
|
|
1229
1232
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
|
@@ -1675,9 +1678,7 @@ _projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
|
1675
1678
|
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
1676
1679
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1677
1680
|
var isAllowedReferrer = (referrer) => {
|
|
1678
|
-
return Boolean(
|
|
1679
|
-
referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|uniformcode.ai|localhost:\d{4})\//)
|
|
1680
|
-
);
|
|
1681
|
+
return Boolean(referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|localhost:\d{4})\//));
|
|
1681
1682
|
};
|
|
1682
1683
|
|
|
1683
1684
|
// src/handler/createPreviewGETRouteHandler.ts
|
package/dist/handler.mjs
CHANGED
|
@@ -1209,6 +1209,9 @@ function projectionToQuery(spec) {
|
|
|
1209
1209
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1210
1210
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1211
1211
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1212
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1213
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1214
|
+
}
|
|
1212
1215
|
}
|
|
1213
1216
|
if (fieldTypes) {
|
|
1214
1217
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
|
@@ -1660,9 +1663,7 @@ _projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
|
1660
1663
|
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
1661
1664
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1662
1665
|
var isAllowedReferrer = (referrer) => {
|
|
1663
|
-
return Boolean(
|
|
1664
|
-
referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|uniformcode.ai|localhost:\d{4})\//)
|
|
1665
|
-
);
|
|
1666
|
+
return Boolean(referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|localhost:\d{4})\//));
|
|
1666
1667
|
};
|
|
1667
1668
|
|
|
1668
1669
|
// src/handler/createPreviewGETRouteHandler.ts
|
package/dist/index.esm.js
CHANGED
|
@@ -1216,6 +1216,9 @@ function projectionToQuery(spec) {
|
|
|
1216
1216
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1217
1217
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1218
1218
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1219
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1220
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1221
|
+
}
|
|
1219
1222
|
}
|
|
1220
1223
|
if (fieldTypes) {
|
|
1221
1224
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/index.js
CHANGED
|
@@ -1243,6 +1243,9 @@ function projectionToQuery(spec) {
|
|
|
1243
1243
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1244
1244
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1245
1245
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1246
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1247
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1248
|
+
}
|
|
1246
1249
|
}
|
|
1247
1250
|
if (fieldTypes) {
|
|
1248
1251
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/index.mjs
CHANGED
|
@@ -1216,6 +1216,9 @@ function projectionToQuery(spec) {
|
|
|
1216
1216
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1217
1217
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1218
1218
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1219
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1220
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1221
|
+
}
|
|
1219
1222
|
}
|
|
1220
1223
|
if (fieldTypes) {
|
|
1221
1224
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/middleware.js
CHANGED
|
@@ -1414,6 +1414,9 @@ function projectionToQuery(spec) {
|
|
|
1414
1414
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1415
1415
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1416
1416
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1417
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1418
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1419
|
+
}
|
|
1417
1420
|
}
|
|
1418
1421
|
if (fieldTypes) {
|
|
1419
1422
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/dist/middleware.mjs
CHANGED
|
@@ -1399,6 +1399,9 @@ function projectionToQuery(spec) {
|
|
|
1399
1399
|
appendCsv(out, `${p}fields[only]`, fields.only);
|
|
1400
1400
|
appendCsv(out, `${p}fields[except]`, fields.except);
|
|
1401
1401
|
appendCsv(out, `${p}fields[locales]`, fields.locales);
|
|
1402
|
+
if (fields.blockDepth === "preserveAll" || typeof fields.blockDepth === "number") {
|
|
1403
|
+
out[`${p}fields[blockDepth]`] = String(fields.blockDepth);
|
|
1404
|
+
}
|
|
1402
1405
|
}
|
|
1403
1406
|
if (fieldTypes) {
|
|
1404
1407
|
appendCsv(out, `${p}fieldTypes[only]`, fieldTypes.only);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/next-app-router",
|
|
3
|
-
"version": "20.71.2-alpha.
|
|
3
|
+
"version": "20.71.2-alpha.18+36514ab1d4",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
"vitest": "4.1.9"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@uniformdev/canvas-react": "20.71.2-alpha.
|
|
102
|
-
"@uniformdev/next-app-router-client": "20.71.2-alpha.
|
|
103
|
-
"@uniformdev/next-app-router-shared": "20.71.2-alpha.
|
|
104
|
-
"@uniformdev/redirect": "20.71.2-alpha.
|
|
105
|
-
"@uniformdev/richtext": "20.71.2-alpha.
|
|
106
|
-
"@uniformdev/webhooks": "20.71.2-alpha.
|
|
101
|
+
"@uniformdev/canvas-react": "20.71.2-alpha.18+36514ab1d4",
|
|
102
|
+
"@uniformdev/next-app-router-client": "20.71.2-alpha.18+36514ab1d4",
|
|
103
|
+
"@uniformdev/next-app-router-shared": "20.71.2-alpha.18+36514ab1d4",
|
|
104
|
+
"@uniformdev/redirect": "20.71.2-alpha.18+36514ab1d4",
|
|
105
|
+
"@uniformdev/richtext": "20.71.2-alpha.18+36514ab1d4",
|
|
106
|
+
"@uniformdev/webhooks": "20.71.2-alpha.18+36514ab1d4",
|
|
107
107
|
"@vercel/functions": "^3.7.2",
|
|
108
108
|
"encoding": "^0.1.13",
|
|
109
109
|
"server-only": "^0.0.1",
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"publishConfig": {
|
|
121
121
|
"access": "public"
|
|
122
122
|
},
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "36514ab1d4273d0ea8c146d24f4e42744b1d9416"
|
|
124
124
|
}
|