Skip to content

Commit 4ae65f2

Browse files
authored
Merge pull request #16625 from nextcloud/automated/noid/main-update-nextcloud-openapi
[main] Update Nextcloud OpenAPI types
2 parents d36e0c5 + 2f2a647 commit 4ae65f2

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/types/openapi/core/openapi_files_sharing.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ export type paths = {
271271
};
272272
get?: never;
273273
put?: never;
274-
/** Accept a remote share */
274+
/** Accept a remote share. */
275275
post: operations["remote-accept-share"];
276-
/** Decline a remote share */
276+
/** Decline a remote share. */
277277
delete: operations["remote-decline-share"];
278278
options?: never;
279279
head?: never;
@@ -427,19 +427,18 @@ export type components = {
427427
itemsperpage?: string;
428428
};
429429
RemoteShare: {
430-
accepted: boolean;
431430
/** Format: int64 */
432-
file_id: number | null;
431+
accepted: number;
433432
/** Format: int64 */
434-
id: number;
433+
file_id: number | null;
434+
id: string;
435435
mimetype: string | null;
436436
mountpoint: string;
437437
/** Format: int64 */
438438
mtime: number | null;
439439
name: string;
440440
owner: string;
441-
/** Format: int64 */
442-
parent: number | null;
441+
parent: string | null;
443442
/** Format: int64 */
444443
permissions: number | null;
445444
remote: string;
@@ -1928,7 +1927,7 @@ export interface operations {
19281927
};
19291928
path: {
19301929
/** @description ID of the share */
1931-
id: number;
1930+
id: string;
19321931
};
19331932
cookie?: never;
19341933
};
@@ -1987,7 +1986,7 @@ export interface operations {
19871986
};
19881987
path: {
19891988
/** @description ID of the share */
1990-
id: number;
1989+
id: string;
19911990
};
19921991
cookie?: never;
19931992
};
@@ -2046,7 +2045,7 @@ export interface operations {
20462045
};
20472046
path: {
20482047
/** @description ID of the share */
2049-
id: number;
2048+
id: string;
20502049
};
20512050
cookie?: never;
20522051
};
@@ -2105,7 +2104,7 @@ export interface operations {
21052104
};
21062105
path: {
21072106
/** @description ID of the share */
2108-
id: number;
2107+
id: string;
21092108
};
21102109
cookie?: never;
21112110
};

0 commit comments

Comments
 (0)