@opencloud-eu/web-client 7.4.0 → 8.0.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-CAceQWl5.js → axios-ULsDSF3p.js} +837 -623
- package/dist/dist-WdVfmT0d.js +4 -0
- package/dist/{generated-CSkivkhn.js → generated-CkfYRFme.js} +1 -1
- package/dist/{graph-BDtqSczU.js → graph-D3q1149Y.js} +91 -90
- package/dist/{helpers-hr58GB0t.js → helpers-C_9em2wB.js} +8 -2
- package/dist/{ocs-BupRjiCI.js → ocs-CGD-4vGl.js} +1280 -427
- package/dist/ox-D1FgExd1.js +3849 -0
- package/dist/src/graph/generated/api.d.ts +148 -132
- package/dist/src/helpers/resource/types.d.ts +2 -1
- package/dist/src/webdav/constants/dav.d.ts +5 -1
- package/dist/{toString-Y_fh2BSJ.js → toString-DfgrQ1mh.js} +1 -1
- 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/webdav.js +2 -2
- package/dist/web-client.js +5 -5
- package/dist/{webdav-BE0Z-EcD.js → webdav-BxsiETq0.js} +286 -286
- package/package.json +3 -3
- package/dist/dist-Ciqaw6jy.js +0 -812
- package/dist/ox-DIaYdpxw.js +0 -3045
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as S } from "./
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { t as e } from "./axios-ULsDSF3p.js";
|
|
2
|
+
import { Ht as t, Ln as n, M as r, Nn as i, O as a, Qt as o, Rt as s, S as c, Tn as l, _n as u, b as d, c as f, cn as p, fn as m, g as h, i as g, in as _, kn as v, mt as y, t as b, ut as x, xn as S } from "./generated-CkfYRFme.js";
|
|
3
|
+
import { t as C } from "./urlJoin-_pUL1TUx.js";
|
|
4
|
+
import { m as w, r as T, t as E } from "./helpers-C_9em2wB.js";
|
|
5
|
+
//#region ../../node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@7.2.0__supports-color@7.2.0/node_modules/axios/index.js
|
|
6
|
+
var { Axios: ee, AxiosError: D, CanceledError: O, isCancel: k, CancelToken: A, VERSION: j, all: M, Cancel: N, isAxiosError: P, spread: F, toFormData: I, AxiosHeaders: L, HttpStatusCode: R, formToJSON: z, getAdapter: B, mergeConfig: V, create: H } = e, U = ({ axiosClient: e, config: t }) => {
|
|
7
|
+
let r = S(t, t.basePath, e), a = n(t, t.basePath, e), o = p(t, t.basePath, e), c = s(t, t.basePath, e), u = l(t, t.basePath, e), d = i(t, t.basePath, e);
|
|
7
8
|
return {
|
|
8
9
|
async getUser(e, t, n) {
|
|
9
|
-
let { data:
|
|
10
|
+
let { data: i } = await r.getUser(e, t?.select ? /* @__PURE__ */ new Set([...t.select]) : null, t?.expand ? /* @__PURE__ */ new Set([...t.expand]) : /* @__PURE__ */ new Set([
|
|
10
11
|
"drive",
|
|
11
12
|
"memberOf",
|
|
12
13
|
"appRoleAssignments"
|
|
13
14
|
]), n);
|
|
14
|
-
return
|
|
15
|
+
return i;
|
|
15
16
|
},
|
|
16
17
|
async createUser(e, t) {
|
|
17
18
|
let { data: n } = await a.createUser(e, t);
|
|
18
19
|
return n;
|
|
19
20
|
},
|
|
20
21
|
async editUser(e, t, n) {
|
|
21
|
-
let { data:
|
|
22
|
-
return
|
|
22
|
+
let { data: i } = await r.updateUser(e, t, n);
|
|
23
|
+
return i;
|
|
23
24
|
},
|
|
24
25
|
async deleteUser(e, t, n) {
|
|
25
|
-
await
|
|
26
|
+
await r.deleteUser(e, t, n);
|
|
26
27
|
},
|
|
27
28
|
async listUsers(e, t) {
|
|
28
29
|
let { data: { value: n } } = await a.listUsers(e?.search, e?.filter, e?.orderBy ? /* @__PURE__ */ new Set([...e.orderBy]) : null, e?.select ? /* @__PURE__ */ new Set([...e.select]) : null, e?.expand ? /* @__PURE__ */ new Set([...e.expand]) : null, t);
|
|
29
30
|
return n;
|
|
30
31
|
},
|
|
31
32
|
async getMe(e, t) {
|
|
32
|
-
let { data: n } = await
|
|
33
|
+
let { data: n } = await o.getOwnUser(e?.expand ? /* @__PURE__ */ new Set([...e.expand]) : /* @__PURE__ */ new Set(["memberOf"]), t);
|
|
33
34
|
return n;
|
|
34
35
|
},
|
|
35
36
|
async editMe(e, t) {
|
|
36
|
-
let { data: n } = await
|
|
37
|
+
let { data: n } = await o.updateOwnUser(e, t);
|
|
37
38
|
return n;
|
|
38
39
|
},
|
|
39
40
|
async changeOwnPassword(e, t) {
|
|
40
|
-
await
|
|
41
|
+
await c.changeOwnPassword(e, t);
|
|
41
42
|
},
|
|
42
43
|
async exportPersonalData(e, t, n) {
|
|
43
|
-
await
|
|
44
|
+
await r.exportPersonalData(e, t, n);
|
|
44
45
|
},
|
|
45
46
|
async createUserAppRoleAssignment(e, t, n) {
|
|
46
47
|
let { data: r } = await u.userCreateAppRoleAssignments(e, t, n);
|
|
@@ -50,8 +51,8 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
50
51
|
await d.sendActivityNotification(e, t, n);
|
|
51
52
|
}
|
|
52
53
|
};
|
|
53
|
-
},
|
|
54
|
-
let n =
|
|
54
|
+
}, W = ({ axiosClient: e, config: t }) => {
|
|
55
|
+
let n = x(t, t.basePath, e), r = y(t, t.basePath, e);
|
|
55
56
|
return {
|
|
56
57
|
async getGroup(e, t, r) {
|
|
57
58
|
let { data: i } = await n.getGroup(e, t?.select ? /* @__PURE__ */ new Set([...t.select]) : null, t?.expand ? /* @__PURE__ */ new Set([...t.expand]) : /* @__PURE__ */ new Set(["members"]), r);
|
|
@@ -73,14 +74,14 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
73
74
|
return n;
|
|
74
75
|
},
|
|
75
76
|
async addMember(e, r, i) {
|
|
76
|
-
await n.addMember(e, { "@odata.id":
|
|
77
|
+
await n.addMember(e, { "@odata.id": C(t.basePath, "v1.0", "users", r) }, i);
|
|
77
78
|
},
|
|
78
79
|
async deleteMember(e, t, r, i) {
|
|
79
80
|
await n.deleteMember(e, t, r, i);
|
|
80
81
|
}
|
|
81
82
|
};
|
|
82
|
-
},
|
|
83
|
-
let n =
|
|
83
|
+
}, G = ({ axiosClient: e, config: t }) => {
|
|
84
|
+
let n = f(t, t.basePath, e);
|
|
84
85
|
return {
|
|
85
86
|
async getApplication(e, t) {
|
|
86
87
|
let { data: r } = await n.getApplication(e, t);
|
|
@@ -91,28 +92,28 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
91
92
|
return t || [];
|
|
92
93
|
}
|
|
93
94
|
};
|
|
94
|
-
},
|
|
95
|
-
let n =
|
|
95
|
+
}, K = (e) => new URL(e.webUrl).origin, q = ({ axiosClient: e, config: t }) => {
|
|
96
|
+
let n = d(t, t.basePath, e), r = new o(t, t.basePath, e), i = new c(t, t.basePath, e);
|
|
96
97
|
return {
|
|
97
98
|
async getDrive(e, t, r) {
|
|
98
99
|
let { data: i } = await n.getDrive(e, t?.select ? /* @__PURE__ */ new Set([...t.select]) : null, r);
|
|
99
|
-
return
|
|
100
|
+
return w({
|
|
100
101
|
...i,
|
|
101
|
-
serverUrl:
|
|
102
|
+
serverUrl: K(i)
|
|
102
103
|
});
|
|
103
104
|
},
|
|
104
105
|
async createDrive(e, t) {
|
|
105
106
|
let { data: r } = await n.createDrive(e, t);
|
|
106
|
-
return
|
|
107
|
+
return w({
|
|
107
108
|
...r,
|
|
108
|
-
serverUrl:
|
|
109
|
+
serverUrl: K(r)
|
|
109
110
|
});
|
|
110
111
|
},
|
|
111
112
|
async updateDrive(e, t, r) {
|
|
112
113
|
let { data: i } = await n.updateDrive(e, t, r);
|
|
113
|
-
return
|
|
114
|
+
return w({
|
|
114
115
|
...i,
|
|
115
|
-
serverUrl:
|
|
116
|
+
serverUrl: K(i)
|
|
116
117
|
});
|
|
117
118
|
},
|
|
118
119
|
async disableDrive(e, t, r) {
|
|
@@ -120,30 +121,30 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
120
121
|
},
|
|
121
122
|
async deleteDrive(e, t, r) {
|
|
122
123
|
await n.deleteDrive(e, t, {
|
|
124
|
+
...r,
|
|
123
125
|
headers: {
|
|
124
|
-
...r?.headers
|
|
125
|
-
Purge: "T"
|
|
126
|
-
}
|
|
127
|
-
...r && { requestOptions: r } || {}
|
|
126
|
+
...r?.headers,
|
|
127
|
+
common: new L({ Purge: "T" })
|
|
128
|
+
}
|
|
128
129
|
});
|
|
129
130
|
},
|
|
130
131
|
async listMyDrives(e, t) {
|
|
131
132
|
let { data: { value: n } } = await r.listMyDrivesBeta(e?.orderBy, e?.filter, e?.expand, e?.select ? /* @__PURE__ */ new Set([...e.select]) : null, t);
|
|
132
|
-
return n.map((e) =>
|
|
133
|
+
return n.map((e) => w({
|
|
133
134
|
...e,
|
|
134
|
-
serverUrl:
|
|
135
|
+
serverUrl: K(e)
|
|
135
136
|
}));
|
|
136
137
|
},
|
|
137
138
|
async listAllDrives(e, t) {
|
|
138
139
|
let { data: { value: n } } = await i.listAllDrivesBeta(e?.orderBy, e?.filter, e?.expand, e?.select ? /* @__PURE__ */ new Set([...e.select]) : null, t);
|
|
139
|
-
return n.map((e) =>
|
|
140
|
+
return n.map((e) => w({
|
|
140
141
|
...e,
|
|
141
|
-
serverUrl:
|
|
142
|
+
serverUrl: K(e)
|
|
142
143
|
}));
|
|
143
144
|
}
|
|
144
145
|
};
|
|
145
|
-
},
|
|
146
|
-
let i =
|
|
146
|
+
}, J = ({ axiosClient: e, config: n }) => {
|
|
147
|
+
let i = h(n, n.basePath, e), a = r(n, n.basePath, e), o = t(n, n.basePath, e);
|
|
147
148
|
return {
|
|
148
149
|
async getDriveItem(e, t, n) {
|
|
149
150
|
let { data: r } = await i.getDriveItem(e, t, void 0, n);
|
|
@@ -176,8 +177,8 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
176
177
|
return n?.value || [];
|
|
177
178
|
}
|
|
178
179
|
};
|
|
179
|
-
},
|
|
180
|
-
let n =
|
|
180
|
+
}, Y = ({ axiosClient: e, config: t }) => {
|
|
181
|
+
let n = u(t, t.basePath, e);
|
|
181
182
|
return {
|
|
182
183
|
async listTags(e) {
|
|
183
184
|
let { data: { value: t } } = await n.getTags(e);
|
|
@@ -190,30 +191,30 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
190
191
|
await n.unassignTags(e, t);
|
|
191
192
|
}
|
|
192
193
|
};
|
|
193
|
-
},
|
|
194
|
-
let n =
|
|
194
|
+
}, X = ({ axiosClient: e, config: t }) => {
|
|
195
|
+
let n = g(t, t.basePath, e);
|
|
195
196
|
return { async listActivities(e, t) {
|
|
196
197
|
let { data: { value: r } } = await n.getActivities(e, t);
|
|
197
198
|
return r || [];
|
|
198
199
|
} };
|
|
199
|
-
},
|
|
200
|
-
let
|
|
200
|
+
}, Z = ({ axiosClient: e, config: t }) => {
|
|
201
|
+
let n = r(t, t.basePath, e), i = m(t, t.basePath, e), o = a(t, t.basePath, e);
|
|
201
202
|
return {
|
|
202
203
|
async getPermission(e, t, n, r, i) {
|
|
203
204
|
let { data: a } = await o.getPermission(e, t, n, i);
|
|
204
|
-
return a.link ?
|
|
205
|
+
return a.link ? T({
|
|
205
206
|
graphPermission: a,
|
|
206
207
|
resourceId: t
|
|
207
|
-
}) :
|
|
208
|
+
}) : E({
|
|
208
209
|
graphPermission: a,
|
|
209
210
|
resourceId: t,
|
|
210
211
|
graphRoles: r || {}
|
|
211
212
|
});
|
|
212
213
|
},
|
|
213
|
-
async listPermissions(e, t,
|
|
214
|
+
async listPermissions(e, t, r, i, a) {
|
|
214
215
|
let s;
|
|
215
216
|
if (e === t) {
|
|
216
|
-
let { data: t } = await
|
|
217
|
+
let { data: t } = await n.listPermissionsSpaceRoot(e, i?.filter, i?.select ? /* @__PURE__ */ new Set([...i.select]) : null, i?.count, i?.top || 0, a);
|
|
217
218
|
s = t;
|
|
218
219
|
} else {
|
|
219
220
|
let { data: n } = await o.listPermissions(e, t, i?.filter, i?.select ? /* @__PURE__ */ new Set([...i.select]) : null, i?.count, i?.top || 0, a);
|
|
@@ -221,95 +222,95 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
221
222
|
}
|
|
222
223
|
let c = s.value || [], l = s["@libre.graph.permissions.actions.allowedValues"], u = s["@libre.graph.permissions.roles.allowedValues"], d = s["@odata.count"];
|
|
223
224
|
return {
|
|
224
|
-
shares: c.map((e) => e.link ?
|
|
225
|
+
shares: c.map((e) => e.link ? T({
|
|
225
226
|
graphPermission: e,
|
|
226
227
|
resourceId: t
|
|
227
|
-
}) :
|
|
228
|
+
}) : E({
|
|
228
229
|
graphPermission: e,
|
|
229
230
|
resourceId: t,
|
|
230
|
-
graphRoles:
|
|
231
|
+
graphRoles: r || {}
|
|
231
232
|
})),
|
|
232
233
|
allowedActions: l,
|
|
233
234
|
allowedRoles: u,
|
|
234
235
|
count: d
|
|
235
236
|
};
|
|
236
237
|
},
|
|
237
|
-
async updatePermission(e, t,
|
|
238
|
+
async updatePermission(e, t, r, i, a, s) {
|
|
238
239
|
let c;
|
|
239
240
|
if (e === t) {
|
|
240
|
-
let { data: t } = await
|
|
241
|
+
let { data: t } = await n.updatePermissionSpaceRoot(e, r, i, s);
|
|
241
242
|
c = t;
|
|
242
243
|
} else {
|
|
243
|
-
let { data:
|
|
244
|
-
c =
|
|
244
|
+
let { data: n } = await o.updatePermission(e, t, r, i, s);
|
|
245
|
+
c = n;
|
|
245
246
|
}
|
|
246
|
-
return c.link ?
|
|
247
|
+
return c.link ? T({
|
|
247
248
|
graphPermission: c,
|
|
248
249
|
resourceId: t
|
|
249
|
-
}) :
|
|
250
|
+
}) : E({
|
|
250
251
|
graphPermission: c,
|
|
251
252
|
resourceId: t,
|
|
252
253
|
graphRoles: a || {}
|
|
253
254
|
});
|
|
254
255
|
},
|
|
255
|
-
async deletePermission(e, t,
|
|
256
|
+
async deletePermission(e, t, r, i) {
|
|
256
257
|
if (e === t) {
|
|
257
|
-
await
|
|
258
|
+
await n.deletePermissionSpaceRoot(e, r, i);
|
|
258
259
|
return;
|
|
259
260
|
}
|
|
260
|
-
await o.deletePermission(e, t,
|
|
261
|
+
await o.deletePermission(e, t, r, i);
|
|
261
262
|
},
|
|
262
|
-
async createInvite(e, t,
|
|
263
|
+
async createInvite(e, t, r, i, a) {
|
|
263
264
|
let s;
|
|
264
265
|
if (e === t) {
|
|
265
|
-
let { data: t } = await
|
|
266
|
+
let { data: t } = await n.inviteSpaceRoot(e, r, a);
|
|
266
267
|
s = t.value?.[0];
|
|
267
268
|
} else {
|
|
268
|
-
let { data:
|
|
269
|
-
s =
|
|
269
|
+
let { data: n } = await o.invite(e, t, r, a);
|
|
270
|
+
s = n.value?.[0];
|
|
270
271
|
}
|
|
271
272
|
if (!s) throw Error("no permission returned");
|
|
272
|
-
return
|
|
273
|
+
return E({
|
|
273
274
|
graphPermission: s,
|
|
274
275
|
resourceId: t,
|
|
275
276
|
graphRoles: i || {}
|
|
276
277
|
});
|
|
277
278
|
},
|
|
278
|
-
async createLink(e, t,
|
|
279
|
+
async createLink(e, t, r, i) {
|
|
279
280
|
let a;
|
|
280
281
|
if (e === t) {
|
|
281
|
-
let { data: t } = await
|
|
282
|
+
let { data: t } = await n.createLinkSpaceRoot(e, r, i);
|
|
282
283
|
a = t;
|
|
283
284
|
} else {
|
|
284
|
-
let { data:
|
|
285
|
-
a =
|
|
285
|
+
let { data: n } = await o.createLink(e, t, r, i);
|
|
286
|
+
a = n;
|
|
286
287
|
}
|
|
287
|
-
return
|
|
288
|
+
return T({
|
|
288
289
|
graphPermission: a,
|
|
289
290
|
resourceId: t
|
|
290
291
|
});
|
|
291
292
|
},
|
|
292
|
-
async setPermissionPassword(e, t,
|
|
293
|
+
async setPermissionPassword(e, t, r, i, a) {
|
|
293
294
|
let s;
|
|
294
295
|
if (e === t) {
|
|
295
|
-
let { data: t } = await
|
|
296
|
+
let { data: t } = await n.setPermissionPasswordSpaceRoot(e, r, i, a);
|
|
296
297
|
s = t;
|
|
297
298
|
} else {
|
|
298
|
-
let { data:
|
|
299
|
-
s =
|
|
299
|
+
let { data: n } = await o.setPermissionPassword(e, t, r, i, a);
|
|
300
|
+
s = n;
|
|
300
301
|
}
|
|
301
|
-
return
|
|
302
|
+
return T({
|
|
302
303
|
graphPermission: s,
|
|
303
304
|
resourceId: t
|
|
304
305
|
});
|
|
305
306
|
},
|
|
306
307
|
async listRoleDefinitions(e) {
|
|
307
|
-
let { data: t } = await
|
|
308
|
+
let { data: t } = await i.listPermissionRoleDefinitions(e);
|
|
308
309
|
return t;
|
|
309
310
|
}
|
|
310
311
|
};
|
|
311
|
-
},
|
|
312
|
-
let n =
|
|
312
|
+
}, Q = ({ axiosClient: e, config: t }) => {
|
|
313
|
+
let n = _(t, t.basePath, e), r = v(t, t.basePath, e);
|
|
313
314
|
return {
|
|
314
315
|
async getOwnUserPhoto(e) {
|
|
315
316
|
let { data: t } = await n.getOwnUserPhoto(e);
|
|
@@ -328,48 +329,48 @@ var E = ({ axiosClient: e, config: n }) => {
|
|
|
328
329
|
return n;
|
|
329
330
|
}
|
|
330
331
|
};
|
|
331
|
-
},
|
|
332
|
+
}, $ = (e, t) => {
|
|
332
333
|
let n = new URL(e);
|
|
333
334
|
n.pathname = [...n.pathname.split("/"), "graph"].filter(Boolean).join("/");
|
|
334
|
-
let r = new
|
|
335
|
+
let r = new b({ basePath: n.href });
|
|
335
336
|
return {
|
|
336
|
-
activities:
|
|
337
|
+
activities: X({
|
|
337
338
|
axiosClient: t,
|
|
338
339
|
config: r
|
|
339
340
|
}),
|
|
340
|
-
applications:
|
|
341
|
+
applications: G({
|
|
341
342
|
axiosClient: t,
|
|
342
343
|
config: r
|
|
343
344
|
}),
|
|
344
|
-
tags:
|
|
345
|
+
tags: Y({
|
|
345
346
|
axiosClient: t,
|
|
346
347
|
config: r
|
|
347
348
|
}),
|
|
348
|
-
drives:
|
|
349
|
+
drives: q({
|
|
349
350
|
axiosClient: t,
|
|
350
351
|
config: r
|
|
351
352
|
}),
|
|
352
|
-
driveItems:
|
|
353
|
+
driveItems: J({
|
|
353
354
|
axiosClient: t,
|
|
354
355
|
config: r
|
|
355
356
|
}),
|
|
356
|
-
users:
|
|
357
|
+
users: U({
|
|
357
358
|
axiosClient: t,
|
|
358
359
|
config: r
|
|
359
360
|
}),
|
|
360
|
-
groups:
|
|
361
|
+
groups: W({
|
|
361
362
|
axiosClient: t,
|
|
362
363
|
config: r
|
|
363
364
|
}),
|
|
364
|
-
permissions:
|
|
365
|
+
permissions: Z({
|
|
365
366
|
axiosClient: t,
|
|
366
367
|
config: r
|
|
367
368
|
}),
|
|
368
|
-
photos:
|
|
369
|
+
photos: Q({
|
|
369
370
|
axiosClient: t,
|
|
370
371
|
config: r
|
|
371
372
|
})
|
|
372
373
|
};
|
|
373
374
|
};
|
|
374
375
|
//#endregion
|
|
375
|
-
export {
|
|
376
|
+
export { $ as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e, i as t, n, r } from "./axios-
|
|
1
|
+
import { a as e, i as t, n, r } from "./axios-ULsDSF3p.js";
|
|
2
2
|
import { t as i } from "./urlJoin-_pUL1TUx.js";
|
|
3
|
-
import { c as a, i as o, l as s, n as c, o as l, r as u, t as d } from "./toString-
|
|
3
|
+
import { c as a, i as o, l as s, n as c, o as l, r as u, t as d } from "./toString-DfgrQ1mh.js";
|
|
4
4
|
//#region src/helpers/publicLink/functions.ts
|
|
5
5
|
function f(e, t = "") {
|
|
6
6
|
return `/public-files/${e}/${t}`.split("/").filter(Boolean).join("/");
|
|
@@ -225,6 +225,10 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
|
225
225
|
value: "photo",
|
|
226
226
|
type: null
|
|
227
227
|
},
|
|
228
|
+
MotionPhoto: {
|
|
229
|
+
value: "motion-photo",
|
|
230
|
+
type: null
|
|
231
|
+
},
|
|
228
232
|
ETag: v("getetag"),
|
|
229
233
|
MimeType: v("getcontenttype"),
|
|
230
234
|
ResourceType: ((e) => _(e))("resourcetype"),
|
|
@@ -287,6 +291,7 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
|
287
291
|
b.Location,
|
|
288
292
|
b.Image,
|
|
289
293
|
b.Photo,
|
|
294
|
+
b.MotionPhoto,
|
|
290
295
|
b.HasPreview
|
|
291
296
|
];
|
|
292
297
|
static PublicLink = e.Default.concat([
|
|
@@ -939,6 +944,7 @@ function nn(e, t = []) {
|
|
|
939
944
|
location: U(e.props[b.Location]),
|
|
940
945
|
image: U(e.props[b.Image]),
|
|
941
946
|
photo: U(e.props[b.Photo]),
|
|
947
|
+
motionPhoto: U(e.props[b.MotionPhoto]),
|
|
942
948
|
extraProps: f,
|
|
943
949
|
hasPreview: () => e.props[b.HasPreview] === 1,
|
|
944
950
|
canUpload: function() {
|