You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/sdk.geometry-api-sdk-v2/src/UtilsApi.ts
+46-9Lines changed: 46 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -42,14 +42,14 @@ export class UtilsApi extends BaseAPI {
42
42
/**
43
43
* Upload the given file to the specified URL.
44
44
* @param {string} url The target URL of the upload request.
45
-
* @param {string | Record<string, any> | ArrayBuffer | File} data The data that should be uploaded. Warning: Type `File` in Node.js might lead to problems!
45
+
* @param {*} data The data that should be uploaded.
46
46
* @param {string} contentType Indicate the original media type of the resource.
47
47
* @param {string} [filename] The name of the file to be uploaded. When a filename has been specified in the request-upload call, then the same filename has to be specified for the upload as well.
@@ -71,13 +71,13 @@ export class UtilsApi extends BaseAPI {
71
71
/**
72
72
* Upload the given asset to the specified ShapeDiver URL.
73
73
* @param {string} url The target URL of the upload request.
74
-
* @param {string | Record<string, any> | ArrayBuffer | File} data The data that should be uploaded. Warning: Type `File` in Node.js might lead to problems!
74
+
* @param {*} data The data that should be uploaded.
75
75
* @param {ResAssetUploadHeaders} headers The headers object that was returned from the request-upload call.
0 commit comments