@opencloud-eu/web-client 7.2.0 → 7.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/dist/{axios-Dwm7CNmg.js → axios-CAceQWl5.js} +42 -40
- package/dist/{dist-B2vdwwII.js → dist-Ciqaw6jy.js} +13 -10
- package/dist/{generated-CDEuOcXT.js → generated-CSkivkhn.js} +395 -239
- package/dist/{graph-D6GY6HvL.js → graph-BDtqSczU.js} +93 -90
- package/dist/{helpers-BMMUdKkY.js → helpers-hr58GB0t.js} +238 -233
- package/dist/{ocs-BwWCZeaA.js → ocs-BupRjiCI.js} +542 -1521
- package/dist/{ox-S6JjEpPN.js → ox-DIaYdpxw.js} +6 -7
- package/dist/src/graph/generated/api.d.ts +351 -28
- package/dist/src/graph/users/types.d.ts +2 -1
- package/dist/src/helpers/resource/types.d.ts +1 -1
- package/dist/src/helpers/space/types.d.ts +6 -0
- package/dist/src/sse/index.d.ts +8 -0
- package/dist/src/webdav/client/builders.d.ts +3 -2
- package/dist/src/webdav/client/dav.d.ts +8 -2
- package/dist/src/webdav/constants/dav.d.ts +12 -0
- package/dist/src/webdav/listFiles.d.ts +10 -1
- package/dist/src/webdav/restoreFileVersion.d.ts +2 -1
- package/dist/src/webdav/setProperties.d.ts +19 -0
- package/dist/src/webdav/types.d.ts +2 -0
- package/dist/{toString-BCd-H1lr.js → toString-Y_fh2BSJ.js} +2 -2
- package/dist/web-client/graph/generated.js +2 -2
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/ox.js +1 -1
- package/dist/web-client/sse.js +6 -7
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.js +13 -10
- package/dist/{webdav-Di0erpeX.js → webdav-BE0Z-EcD.js} +1016 -977
- package/package.json +3 -3
|
@@ -59,7 +59,6 @@ function l(e) {
|
|
|
59
59
|
let t = e();
|
|
60
60
|
return Object.defineProperty(this, "value", { value: t }), t;
|
|
61
61
|
}
|
|
62
|
-
throw Error("cached value already set");
|
|
63
62
|
} };
|
|
64
63
|
}
|
|
65
64
|
function u(e) {
|
|
@@ -125,7 +124,7 @@ function v(e) {
|
|
|
125
124
|
let t = e.constructor;
|
|
126
125
|
if (t === void 0 || typeof t != "function") return !0;
|
|
127
126
|
let n = t.prototype;
|
|
128
|
-
return
|
|
127
|
+
return _(n) !== !1 && Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") !== !1;
|
|
129
128
|
}
|
|
130
129
|
function ie(e) {
|
|
131
130
|
return v(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
|
|
@@ -889,7 +888,7 @@ var it = (e) => {
|
|
|
889
888
|
input: n.value,
|
|
890
889
|
inst: e,
|
|
891
890
|
continue: !t.abort
|
|
892
|
-
})), t.normalize ?
|
|
891
|
+
})), n.value = t.normalize ? i.href : r;
|
|
893
892
|
return;
|
|
894
893
|
} catch {
|
|
895
894
|
n.issues.push({
|
|
@@ -2177,14 +2176,14 @@ function Ir(e, t) {
|
|
|
2177
2176
|
if (n.ref = null, o) {
|
|
2178
2177
|
r(o);
|
|
2179
2178
|
let n = e.seen.get(o), s = n.schema;
|
|
2180
|
-
if (s.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (i.allOf = i.allOf ?? [], i.allOf.push(s)) : Object.assign(i, s), Object.assign(i, a), t._zod.parent === o) for (let e in i) e
|
|
2181
|
-
if (s.$ref && n.def) for (let e in i) e
|
|
2179
|
+
if (s.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (i.allOf = i.allOf ?? [], i.allOf.push(s)) : Object.assign(i, s), Object.assign(i, a), t._zod.parent === o) for (let e in i) e !== "$ref" && e !== "allOf" && (e in a || delete i[e]);
|
|
2180
|
+
if (s.$ref && n.def) for (let e in i) e !== "$ref" && e !== "allOf" && e in n.def && JSON.stringify(i[e]) === JSON.stringify(n.def[e]) && delete i[e];
|
|
2182
2181
|
}
|
|
2183
2182
|
let s = t._zod.parent;
|
|
2184
2183
|
if (s && s !== o) {
|
|
2185
2184
|
r(s);
|
|
2186
2185
|
let t = e.seen.get(s);
|
|
2187
|
-
if (t?.schema.$ref && (i.$ref = t.schema.$ref, t.def)) for (let e in i) e
|
|
2186
|
+
if (t?.schema.$ref && (i.$ref = t.schema.$ref, t.def)) for (let e in i) e !== "$ref" && e !== "allOf" && e in t.def && JSON.stringify(i[e]) === JSON.stringify(t.def[e]) && delete i[e];
|
|
2188
2187
|
}
|
|
2189
2188
|
e.override({
|
|
2190
2189
|
zodSchema: t,
|
|
@@ -2285,7 +2284,7 @@ var Lr = (e, t = {}) => (n) => {
|
|
|
2285
2284
|
}
|
|
2286
2285
|
}, Br = (e, t, n, r) => {
|
|
2287
2286
|
let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag;
|
|
2288
|
-
typeof s == "string" && s.includes("int") ?
|
|
2287
|
+
i.type = typeof s == "string" && s.includes("int") ? "integer" : "number";
|
|
2289
2288
|
let d = typeof u == "number" && u >= (a ?? -Infinity), f = typeof l == "number" && l <= (o ?? Infinity), p = t.target === "draft-04" || t.target === "openapi-3.0";
|
|
2290
2289
|
d ? p ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), f ? p ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof o == "number" && (i.maximum = o), typeof c == "number" && (i.multipleOf = c);
|
|
2291
2290
|
}, Vr = (e, t, n, r) => {
|