@opencloud-eu/web-client 8.2.0 → 8.2.2
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-CZcFYsAI.js +2405 -0
- package/dist/dist-KEM01zRn.js +3 -0
- package/dist/{generated-4nR8KA38.js → generated-DNXECX0W.js} +2 -3
- package/dist/{graph-CwVan2Jp.js → graph-BKQg17FE.js} +49 -51
- package/dist/{helpers-Bh5xR_vg.js → helpers-BnhEi-vU.js} +63 -107
- package/dist/{ocs-Dfdjrujs.js → ocs-BPMytNew.js} +706 -689
- package/dist/{schemas-rdabTCJb.js → schemas-F0EHDbLA.js} +12 -22
- package/dist/src/helpers/resource/types.d.ts +4 -2
- package/dist/src/ocs/capabilities.d.ts +3 -0
- package/dist/src/webdav/constants/dav.d.ts +7 -0
- package/dist/src/webdav/getFileUrl.d.ts +2 -1
- package/dist/src/webdav/getPublicLinkSignature.d.ts +12 -0
- package/dist/src/webdav/index.d.ts +1 -0
- package/dist/src/webdav/restoreFileVersion.d.ts +2 -2
- package/dist/src/webdav/types.d.ts +2 -0
- package/dist/{toString-uorCN9F3.js → toString-DOYcT1Pn.js} +40 -79
- package/dist/{urlJoin-_pUL1TUx.js → urlJoin-ELOJmfWG.js} +1 -2
- package/dist/web-client/graph/generated.js +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/ox.js +3 -4
- package/dist/web-client/sse.js +4 -7
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.js +14 -15
- package/dist/{webdav-DrQsSfxZ.js → webdav-BByRDKI2.js} +911 -909
- package/package.json +1 -1
- package/dist/axios-DRPhbClr.js +0 -2144
- package/dist/dist-CHy-DaIN.js +0 -4
package/dist/web-client.js
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { t as e } from "./graph-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
var
|
|
1
|
+
import { t as e } from "./graph-BKQg17FE.js";
|
|
2
|
+
import { t } from "./ocs-BPMytNew.js";
|
|
3
|
+
import { t as n } from "./urlJoin-ELOJmfWG.js";
|
|
4
|
+
import { ox as r } from "./web-client/ox.js";
|
|
5
|
+
import { i, n as a, r as o, t as s } from "./webdav-BByRDKI2.js";
|
|
6
|
+
import { A as c, B as l, C as u, D as d, E as f, F as p, H as m, I as h, J as g, L as _, M as v, N as y, O as b, P as x, R as S, S as C, T as w, V as T, Y as E, _ as D, a as O, b as k, c as ee, d as A, f as j, g as M, h as N, i as P, j as F, k as I, l as L, m as R, n as z, o as B, p as V, r as H, s as U, t as W, u as G, v as K, w as q, x as J, y as Y, z as X } from "./helpers-BnhEi-vU.js";
|
|
7
|
+
// src/helpers/call.ts
|
|
8
|
+
var Z = function* (e) {
|
|
9
9
|
return yield e;
|
|
10
|
-
},
|
|
11
|
-
let
|
|
12
|
-
headers: { "x-request-id": n },
|
|
10
|
+
}, Q = ({ message: e, statusCode: t, xReqId: n }) => {
|
|
11
|
+
let r = new Response(void 0, {
|
|
12
|
+
headers: n ? { "x-request-id": n } : {},
|
|
13
13
|
status: t
|
|
14
14
|
});
|
|
15
|
-
return new
|
|
16
|
-
},
|
|
15
|
+
return new o(e, r, t);
|
|
16
|
+
}, $ = class {
|
|
17
17
|
static Read = 1;
|
|
18
18
|
static Update = 2;
|
|
19
19
|
static Create = 4;
|
|
20
20
|
static Delete = 8;
|
|
21
21
|
static Share = 16;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
export { n as DavHttpError, P as GraphSharePermission, r as HttpError, q as OCM_PROVIDER_ID, x as SHARE_JAIL_ID, ee as SharePermissionBit, F as ShareType, o as ShareTypes, U as buildCollaboratorShare, g as buildDeletedResource, R as buildIncomingShareResource, V as buildLinkShare, N as buildOutgoingShareResource, A as buildPublicSpaceResource, _ as buildResource, B as buildShareSpaceResource, L as buildSpace, M as buildSpaceImageResource, m as buildWebDavOcmPath, w as buildWebDavPublicPath, j as buildWebDavSpacesPath, T as buildWebDavSpacesTrashPath, Q as call, $ as createHttpError, t as encodePath, y as extractDomSelector, d as extractExtensionFromFile, p as extractNameWithoutExtension, h as extractNodeId, b as extractParentFolderName, Y as extractStorageId, G as getRelativeSpecialFolderSpacePath, E as getShareResourcePermissions, z as getShareResourceRoles, J as getSpaceManagers, e as graph, H as isCollaboratorShare, O as isIncomingShareResource, I as isLinkShare, D as isManager, c as isMountPointSpaceResource, W as isOutgoingShareResource, K as isPersonalSpaceResource, S as isProjectSpaceResource, u as isPublicSpaceResource, s as isSearchResource, k as isShareResource, C as isShareRoot, l as isShareSpaceResource, v as isSpaceResource, f as isTrashResource, X as ocs, Z as ox, a as urlJoin, i as webdav };
|
|
23
|
+
export { a as DavHttpError, F as GraphSharePermission, o as HttpError, J as OCM_PROVIDER_ID, C as SHARE_JAIL_ID, $ as SharePermissionBit, I as ShareType, c as ShareTypes, W as buildCollaboratorShare, v as buildDeletedResource, z as buildIncomingShareResource, H as buildLinkShare, P as buildOutgoingShareResource, j as buildPublicSpaceResource, y as buildResource, V as buildShareSpaceResource, R as buildSpace, N as buildSpaceImageResource, g as buildWebDavOcmPath, E as buildWebDavPublicPath, M as buildWebDavSpacesPath, D as buildWebDavSpacesTrashPath, Z as call, Q as createHttpError, i as encodePath, x as extractDomSelector, p as extractExtensionFromFile, h as extractNameWithoutExtension, _ as extractNodeId, S as extractParentFolderName, X as extractStorageId, K as getRelativeSpecialFolderSpacePath, O as getShareResourcePermissions, B as getShareResourceRoles, Y as getSpaceManagers, e as graph, U as isCollaboratorShare, ee as isIncomingShareResource, L as isLinkShare, k as isManager, u as isMountPointSpaceResource, G as isOutgoingShareResource, q as isPersonalSpaceResource, w as isProjectSpaceResource, f as isPublicSpaceResource, l as isSearchResource, A as isShareResource, T as isShareRoot, d as isShareSpaceResource, b as isSpaceResource, m as isTrashResource, t as ocs, r as ox, n as urlJoin, s as webdav };
|