@opencloud-eu/web-client 7.0.0 → 7.1.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.
@@ -92,7 +92,6 @@ export interface Capabilities {
92
92
  files: {
93
93
  app_providers?: AppProviderCapability[];
94
94
  archivers?: ArchiverCapability[];
95
- favorites?: boolean;
96
95
  full_text_search?: boolean;
97
96
  permanent_deletion?: boolean;
98
97
  privateLinks?: boolean;
@@ -10,6 +10,9 @@ export declare enum MESSAGE_TYPE {
10
10
  ITEM_RESTORED = "item-restored",
11
11
  ITEM_MOVED = "item-moved",
12
12
  FOLDER_CREATED = "folder-created",
13
+ SPACE_CREATED = "space-created",
14
+ SPACE_DISABLED = "space-disabled",
15
+ SPACE_DELETED = "space-deleted",
13
16
  SPACE_MEMBER_ADDED = "space-member-added",
14
17
  SPACE_MEMBER_REMOVED = "space-member-removed",
15
18
  SPACE_SHARE_UPDATED = "space-share-updated",
@@ -1,4 +1,4 @@
1
- import { n as e } from "./dist-CSYfvE5O.js";
1
+ import { n as e } from "./dist-DXLl1XQj.js";
2
2
  //#region src/utils/urlJoin.ts
3
3
  var t = /^(\w+:\/\/[^/?]+)?(.*?)$/, n = (e) => e.filter((e) => typeof e == "string" || typeof e == "number").map((e) => `${e}`).filter((e) => e), r = (e) => {
4
4
  let [, n = "", r = ""] = e.join("/").match(t) || [];
@@ -1,2 +1,2 @@
1
- import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, Gt as g, H as _, Ht as v, I as y, It as b, J as x, Jt as S, K as C, Kt as w, L as T, Lt as E, M as D, Mt as O, N as k, Nt as A, O as j, Ot as M, P as N, Pt as P, Q as F, Qt as I, R as L, Rt as R, S as z, Sn as B, St as V, T as H, Tt as U, U as W, Ut as G, V as K, Vt as q, W as J, Wt as Y, X, Xt as Z, Y as Q, Yt as $, Z as ee, Zt as te, _ as ne, _n as re, _t as ie, a as ae, an as oe, at as se, b as ce, bn as le, bt as ue, c as de, cn as fe, ct as pe, d as me, dn as he, dt as ge, en as _e, et as ve, f as ye, fn as be, ft as xe, g as Se, gn as Ce, gt as we, h as Te, hn as Ee, ht as De, i as Oe, in as ke, it as Ae, j as je, jt as Me, k as Ne, kt as Pe, l as Fe, ln as Ie, lt as Le, m as Re, mn as ze, mt as Be, n as Ve, nn as He, nt as Ue, o as We, on as Ge, ot as Ke, p as qe, pn as Je, pt as Ye, q as Xe, qt as Ze, r as Qe, rn as $e, rt as et, s as tt, sn as nt, st as rt, t as it, tn as at, tt as ot, u as st, un as ct, ut as lt, v as ut, vn as dt, vt as ft, w as pt, wn as mt, wt as ht, x as gt, xn as _t, xt as vt, y as yt, yn as bt, yt as xt, z as St, zt as Ct } from "../../generated-DpuGzXYs.js";
1
+ import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, Gt as g, H as _, Ht as v, I as y, It as b, J as x, Jt as S, K as C, Kt as w, L as T, Lt as E, M as D, Mt as O, N as k, Nt as A, O as j, Ot as M, P as N, Pt as P, Q as F, Qt as I, R as L, Rt as R, S as z, Sn as B, St as V, T as H, Tt as U, U as W, Ut as G, V as K, Vt as q, W as J, Wt as Y, X, Xt as Z, Y as Q, Yt as $, Z as ee, Zt as te, _ as ne, _n as re, _t as ie, a as ae, an as oe, at as se, b as ce, bn as le, bt as ue, c as de, cn as fe, ct as pe, d as me, dn as he, dt as ge, en as _e, et as ve, f as ye, fn as be, ft as xe, g as Se, gn as Ce, gt as we, h as Te, hn as Ee, ht as De, i as Oe, in as ke, it as Ae, j as je, jt as Me, k as Ne, kt as Pe, l as Fe, ln as Ie, lt as Le, m as Re, mn as ze, mt as Be, n as Ve, nn as He, nt as Ue, o as We, on as Ge, ot as Ke, p as qe, pn as Je, pt as Ye, q as Xe, qt as Ze, r as Qe, rn as $e, rt as et, s as tt, sn as nt, st as rt, t as it, tn as at, tt as ot, u as st, un as ct, ut as lt, v as ut, vn as dt, vt as ft, w as pt, wn as mt, wt as ht, x as gt, xn as _t, xt as vt, y as yt, yn as bt, yt as xt, z as St, zt as Ct } from "../../generated-Dr-mKneP.js";
2
2
  export { Ve as ActivitiesApi, Qe as ActivitiesApiAxiosParamCreator, Oe as ActivitiesApiFactory, ae as ActivitiesApiFp, We as ApplicationsApi, tt as ApplicationsApiAxiosParamCreator, de as ApplicationsApiFactory, Fe as ApplicationsApiFp, it as Configuration, st as DriveItemApi, me as DriveItemApiAxiosParamCreator, ye as DriveItemApiFactory, qe as DriveItemApiFp, Re as DrivesApi, Te as DrivesApiAxiosParamCreator, Se as DrivesApiFactory, ne as DrivesApiFp, ut as DrivesGetDrivesApi, yt as DrivesGetDrivesApiAxiosParamCreator, ce as DrivesGetDrivesApiFactory, gt as DrivesGetDrivesApiFp, z as DrivesPermissionsApi, o as DrivesPermissionsApiAxiosParamCreator, pt as DrivesPermissionsApiFactory, H as DrivesPermissionsApiFp, d as DrivesRootApi, l as DrivesRootApiAxiosParamCreator, j as DrivesRootApiFactory, Ne as DrivesRootApiFp, n as EducationClassApi, je as EducationClassApiAxiosParamCreator, D as EducationClassApiFactory, k as EducationClassApiFp, N as EducationClassClassificationEnum, p as EducationClassTeachersApi, y as EducationClassTeachersApiAxiosParamCreator, T as EducationClassTeachersApiFactory, L as EducationClassTeachersApiFp, St as EducationSchoolApi, i as EducationSchoolApiAxiosParamCreator, K as EducationSchoolApiFactory, _ as EducationSchoolApiFp, W as EducationUserApi, J as EducationUserApiAxiosParamCreator, h as EducationUserApiFactory, C as EducationUserApiFp, Xe as GetDriveSelectEnum, x as GetEducationUserExpandEnum, Q as GetGroupExpandEnum, X as GetGroupSelectEnum, ee as GetOwnUserExpandEnum, F as GetUserExpandEnum, e as GetUserSelectEnum, ve as GroupApi, ot as GroupApiAxiosParamCreator, Ue as GroupApiFactory, et as GroupApiFp, Ae as GroupsApi, se as GroupsApiAxiosParamCreator, Ke as GroupsApiFactory, rt as GroupsApiFp, pe as InvitationsApi, Le as InvitationsApiAxiosParamCreator, lt as InvitationsApiFactory, ge as InvitationsApiFp, xe as ListAllDrivesBetaSelectEnum, Ye as ListEducationUsersExpandEnum, Be as ListEducationUsersOrderbyEnum, De as ListGroupsExpandEnum, we as ListGroupsOrderbyEnum, ie as ListGroupsSelectEnum, ft as ListMyDrivesBetaSelectEnum, xt as ListPermissionsSelectEnum, ue as ListPermissionsSpaceRootSelectEnum, vt as ListSharedByMeExpandEnum, V as ListSharedWithMeExpandEnum, c as ListUsersExpandEnum, ht as ListUsersOrderbyEnum, U as ListUsersSelectEnum, f as MeChangepasswordApi, u as MeChangepasswordApiAxiosParamCreator, M as MeChangepasswordApiFactory, Pe as MeChangepasswordApiFp, r as MeDriveApi, Me as MeDriveApiAxiosParamCreator, O as MeDriveApiFactory, A as MeDriveApiFp, P as MeDriveRootApi, m as MeDriveRootApiAxiosParamCreator, b as MeDriveRootApiFactory, E as MeDriveRootApiFp, R as MeDriveRootChildrenApi, Ct as MeDriveRootChildrenApiAxiosParamCreator, a as MeDriveRootChildrenApiFactory, q as MeDriveRootChildrenApiFp, v as MeDrivesApi, G as MeDrivesApiAxiosParamCreator, Y as MeDrivesApiFactory, g as MeDrivesApiFp, w as MePhotoApi, Ze as MePhotoApiAxiosParamCreator, S as MePhotoApiFactory, $ as MePhotoApiFp, Z as MeUserApi, te as MeUserApiAxiosParamCreator, I as MeUserApiFactory, t as MeUserApiFp, _e as RoleManagementApi, at as RoleManagementApiAxiosParamCreator, He as RoleManagementApiFactory, $e as RoleManagementApiFp, ke as SharingLinkType, oe as TagsApi, Ge as TagsApiAxiosParamCreator, nt as TagsApiFactory, fe as TagsApiFp, Ie as UserApi, ct as UserApiAxiosParamCreator, he as UserApiFactory, be as UserApiFp, Je as UserAppRoleAssignmentApi, ze as UserAppRoleAssignmentApiAxiosParamCreator, Ee as UserAppRoleAssignmentApiFactory, Ce as UserAppRoleAssignmentApiFp, re as UserPhotoApi, dt as UserPhotoApiAxiosParamCreator, bt as UserPhotoApiFactory, le as UserPhotoApiFp, _t as UsersApi, B as UsersApiAxiosParamCreator, s as UsersApiFactory, mt as UsersApiFp };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../graph-DDFvgcOx.js";
1
+ import { t as e } from "../graph-C_btwMni.js";
2
2
  export { e as graph };
@@ -1,2 +1,2 @@
1
- import { a as e, t } from "../ocs-BX4C1k3k.js";
1
+ import { o as e, t } from "../ocs-VeFt8RO1.js";
2
2
  export { e as GetCapabilitiesFactory, t as ocs };
@@ -128,7 +128,7 @@ function u(e) {
128
128
  //#endregion
129
129
  //#region src/sse/index.ts
130
130
  var d = /* @__PURE__ */ function(e) {
131
- return e.NOTIFICATION = "userlog-notification", e.POSTPROCESSING_FINISHED = "postprocessing-finished", e.FILE_LOCKED = "file-locked", e.FILE_UNLOCKED = "file-unlocked", e.FILE_TOUCHED = "file-touched", e.ITEM_RENAMED = "item-renamed", e.ITEM_TRASHED = "item-trashed", e.ITEM_RESTORED = "item-restored", e.ITEM_MOVED = "item-moved", e.FOLDER_CREATED = "folder-created", e.SPACE_MEMBER_ADDED = "space-member-added", e.SPACE_MEMBER_REMOVED = "space-member-removed", e.SPACE_SHARE_UPDATED = "space-share-updated", e.SHARE_CREATED = "share-created", e.SHARE_REMOVED = "share-removed", e.SHARE_UPDATED = "share-updated", e.LINK_CREATED = "link-created", e.LINK_REMOVED = "link-removed", e.LINK_UPDATED = "link-updated", e.BACKCHANNEL_LOGOUT = "backchannel-logout", e;
131
+ return e.NOTIFICATION = "userlog-notification", e.POSTPROCESSING_FINISHED = "postprocessing-finished", e.FILE_LOCKED = "file-locked", e.FILE_UNLOCKED = "file-unlocked", e.FILE_TOUCHED = "file-touched", e.ITEM_RENAMED = "item-renamed", e.ITEM_TRASHED = "item-trashed", e.ITEM_RESTORED = "item-restored", e.ITEM_MOVED = "item-moved", e.FOLDER_CREATED = "folder-created", e.SPACE_CREATED = "space-created", e.SPACE_DISABLED = "space-disabled", e.SPACE_DELETED = "space-deleted", e.SPACE_MEMBER_ADDED = "space-member-added", e.SPACE_MEMBER_REMOVED = "space-member-removed", e.SPACE_SHARE_UPDATED = "space-share-updated", e.SHARE_CREATED = "share-created", e.SHARE_REMOVED = "share-removed", e.SHARE_UPDATED = "share-updated", e.LINK_CREATED = "link-created", e.LINK_REMOVED = "link-removed", e.LINK_UPDATED = "link-updated", e.BACKCHANNEL_LOGOUT = "backchannel-logout", e;
132
132
  }({}), f = class extends Error {
133
133
  name = "RetriableError";
134
134
  }, p = 15e3, m = class {
@@ -166,7 +166,7 @@ var d = /* @__PURE__ */ function(e) {
166
166
  throw this.readyState = this.CLOSED, new f();
167
167
  },
168
168
  onerror: (e) => {
169
- console.error(e);
169
+ console.warn("SSE connection error, reconnecting...", e);
170
170
  let t = new CustomEvent("error", { detail: e });
171
171
  return this.onerror?.bind(this)(t), 3e4 + Math.floor(Math.random() * p);
172
172
  }
@@ -1,3 +1,3 @@
1
- import { t as e } from "../webdav-BS8H6On8.js";
2
- import { G as t, K as n, W as r, q as i } from "../helpers-BuCcZhiF.js";
1
+ import { t as e } from "../webdav-uHUUUQAP.js";
2
+ import { G as t, K as n, W as r, q as i } from "../helpers-B_uB5urn.js";
3
3
  export { r as DavMethod, t as DavPermission, n as DavProperties, i as DavProperty, e as webdav };
@@ -1,6 +1,6 @@
1
- import { t as e } from "./graph-DDFvgcOx.js";
2
- import { n as t, t as n } from "./webdav-BS8H6On8.js";
3
- import { u as r } from "./toString-9BJo4tor.js";
4
- import { $ as i, A as a, B as o, C as s, D as c, E as l, F as u, H as d, I as f, J as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, X as T, Y as E, Z as D, _ as O, a as k, b as A, c as j, d as M, f as N, g as P, h as F, i as I, j as L, k as R, l as z, m as B, n as V, o as H, p as U, r as W, s as G, t as K, u as q, v as J, w as Y, x as X, y as Z, z as Q } from "./helpers-BuCcZhiF.js";
5
- import { t as $ } from "./ocs-BX4C1k3k.js";
1
+ import { t as e } from "./graph-C_btwMni.js";
2
+ import { n as t, t as n } from "./webdav-uHUUUQAP.js";
3
+ import { u as r } from "./toString-DIrlTUQN.js";
4
+ import { $ as i, A as a, B as o, C as s, D as c, E as l, F as u, H as d, I as f, J as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, X as T, Y as E, Z as D, _ as O, a as k, b as A, c as j, d as M, f as N, g as P, h as F, i as I, j as L, k as R, l as z, m as B, n as V, o as H, p as U, r as W, s as G, t as K, u as q, v as J, w as Y, x as X, y as Z, z as Q } from "./helpers-B_uB5urn.js";
5
+ import { t as $ } from "./ocs-VeFt8RO1.js";
6
6
  export { D as DavHttpError, L as GraphSharePermission, y as HttpError, X as OCM_PROVIDER_ID, x as SHARE_JAIL_ID, h as SharePermissionBit, R as ShareType, a as ShareTypes, K as buildCollaboratorShare, g as buildDeletedResource, V as buildIncomingShareResource, W as buildLinkShare, I as buildOutgoingShareResource, N as buildPublicSpaceResource, v as buildResource, U as buildShareSpaceResource, B as buildSpace, F as buildSpaceImageResource, p as buildWebDavOcmPath, E as buildWebDavPublicPath, P as buildWebDavSpacesPath, O as buildWebDavSpacesTrashPath, i as call, T as createHttpError, t as encodePath, u as extractDomSelector, f as extractExtensionFromFile, m as extractNameWithoutExtension, b as extractNodeId, Q as extractParentFolderName, o as extractStorageId, J as getRelativeSpecialFolderSpacePath, k as getShareResourcePermissions, H as getShareResourceRoles, Z as getSpaceManagers, e as graph, G as isCollaboratorShare, j as isIncomingShareResource, z as isLinkShare, A as isManager, s as isMountPointSpaceResource, q as isOutgoingShareResource, Y as isPersonalSpaceResource, S as isProjectSpaceResource, l as isPublicSpaceResource, w as isSearchResource, M as isShareResource, d as isShareRoot, c as isShareSpaceResource, _ as isSpaceResource, C as isTrashResource, $ as ocs, r as urlJoin, n as webdav };