@opencloud-eu/web-client 3.1.0 → 4.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/functions-DP8s29Wg.cjs +1 -0
- package/dist/functions-DnZZKUk0.js +1183 -0
- package/dist/index-BIL0cW_q.js +1755 -0
- package/dist/index-CcmRJ1qB.cjs +1 -0
- package/dist/index-CiqYiARd.js +688 -0
- package/dist/index-DAa_DzDf.cjs +6 -0
- package/dist/{index-C6VnMvgz.cjs → index-D_NPkUGY.cjs} +1 -1
- package/dist/{index-Pl8khka8.js → index-JHVTaNRI.js} +2 -2
- package/dist/index-YVg9jNP5.cjs +16 -0
- package/dist/{index-DRNBPoWu.js → index-bmR3iLuG.js} +1934 -1953
- package/dist/src/graph/driveItems/types.d.ts +6 -2
- package/dist/src/graph/drives/types.d.ts +9 -2
- package/dist/src/graph/generated/api.d.ts +174 -107
- package/dist/src/helpers/resource/types.d.ts +1 -0
- package/dist/src/helpers/share/constants.d.ts +0 -1
- package/dist/src/helpers/space/types.d.ts +1 -0
- package/dist/src/ocs/capabilities.d.ts +1 -0
- package/dist/src/webdav/constants/dav.d.ts +1 -0
- package/dist/toString-CgHWCW2N.cjs +1 -0
- package/dist/{toString-Cn0xCZ28.js → toString-XlfBosfh.js} +4 -4
- package/dist/web-client/graph/generated.cjs +1 -1
- package/dist/web-client/graph/generated.js +2038 -2099
- package/dist/web-client/graph.cjs +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.cjs +12 -12
- package/dist/web-client/ocs.js +1889 -1857
- package/dist/web-client/sse.cjs +2 -2
- package/dist/web-client/sse.js +95 -105
- package/dist/web-client/webdav.cjs +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.cjs +1 -1
- package/dist/web-client.js +82 -82
- package/package.json +3 -3
- package/dist/functions-BCZphZWf.cjs +0 -1
- package/dist/functions-gLZtPuF8.js +0 -1177
- package/dist/index-B0DQP5k7.cjs +0 -1
- package/dist/index-BTGj2rHD.js +0 -1705
- package/dist/index-C-U4KVPG.cjs +0 -6
- package/dist/index-D5plj7J1.cjs +0 -16
- package/dist/index-kED1r0rQ.js +0 -693
- package/dist/toString-hHr716Th.cjs +0 -1
|
@@ -5,6 +5,10 @@ export interface GraphDriveItems {
|
|
|
5
5
|
createDriveItem: (driveId: string, data: DriveItem, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
|
|
6
6
|
updateDriveItem: (driveId: string, itemId: string, data: DriveItem, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
|
|
7
7
|
deleteDriveItem: (driveId: string, itemId: string, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
8
|
-
listSharedByMe: (
|
|
9
|
-
|
|
8
|
+
listSharedByMe: (options?: {
|
|
9
|
+
expand?: Set<'thumbnails'>;
|
|
10
|
+
}, requestOptions?: GraphRequestOptions) => Promise<DriveItem[]>;
|
|
11
|
+
listSharedWithMe: (options?: {
|
|
12
|
+
expand?: Set<'thumbnails'>;
|
|
13
|
+
}, requestOptions?: GraphRequestOptions) => Promise<DriveItem[]>;
|
|
10
14
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { SpaceResource } from '../../helpers';
|
|
2
|
-
import { Drive, DriveUpdate } from '../generated';
|
|
2
|
+
import { Drive, DriveUpdate, ListMyDrivesBetaSelectEnum } from '../generated';
|
|
3
3
|
import { GraphRequestOptions } from '../types';
|
|
4
4
|
export interface GraphDrives {
|
|
5
|
-
getDrive: (id: string,
|
|
5
|
+
getDrive: (id: string, options?: {
|
|
6
|
+
orderBy?: string;
|
|
7
|
+
filter?: string;
|
|
8
|
+
expand?: string;
|
|
9
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
10
|
+
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
6
11
|
createDrive: (data: Drive, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
7
12
|
updateDrive: (id: string, data: DriveUpdate, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
8
13
|
disableDrive: (id: string, ifMatch?: string, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
@@ -11,10 +16,12 @@ export interface GraphDrives {
|
|
|
11
16
|
orderBy?: string;
|
|
12
17
|
filter?: string;
|
|
13
18
|
expand?: string;
|
|
19
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
14
20
|
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource[]>;
|
|
15
21
|
listAllDrives: (options?: {
|
|
16
22
|
orderBy?: string;
|
|
17
23
|
filter?: string;
|
|
18
24
|
expand?: string;
|
|
25
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
19
26
|
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource[]>;
|
|
20
27
|
}
|