Skip to content

Commit 68a6197

Browse files
authored
add id and fullPath to update and upload functions response (#190)
Update return interface in upload and update functions
1 parent d4d06b2 commit 68a6197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/packages/StorageFileApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default class StorageFileApi {
138138
fileOptions?: FileOptions
139139
): Promise<
140140
| {
141-
data: { path: string }
141+
data: { id: string, path: string, fullPath: string }
142142
error: null
143143
}
144144
| {
@@ -282,7 +282,7 @@ export default class StorageFileApi {
282282
fileOptions?: FileOptions
283283
): Promise<
284284
| {
285-
data: { path: string }
285+
data: { id: string, path: string, fullPath: string }
286286
error: null
287287
}
288288
| {

0 commit comments

Comments
 (0)