@shapediver/sdk.geometry-api-sdk-v2 1.0.22 → 1.0.23
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.
|
@@ -6,16 +6,16 @@ export declare class ShapeDiverUtilsApi extends BaseResourceApi {
|
|
|
6
6
|
/**
|
|
7
7
|
* Upload the given file to the specified URL.
|
|
8
8
|
*
|
|
9
|
-
* @param url
|
|
10
|
-
* @param data
|
|
11
|
-
* @param contentType
|
|
9
|
+
* @param url - The target URL of the upload request.
|
|
10
|
+
* @param data - The data that should be uploaded.
|
|
11
|
+
* @param contentType - Indicate the original media type of the resource.
|
|
12
12
|
*/
|
|
13
13
|
upload(url: string, data: ArrayBuffer | Record<string, any> | string, contentType: string): Promise<any>;
|
|
14
14
|
/**
|
|
15
15
|
* Download from the given URL.
|
|
16
16
|
*
|
|
17
|
-
* @param url
|
|
18
|
-
* @param responseType
|
|
17
|
+
* @param url - The target URL of the download request.
|
|
18
|
+
* @param responseType - Indicates the type of data that the server should respond with if possible.
|
|
19
19
|
*/
|
|
20
20
|
download(url: string, responseType: ShapeDiverSdkApiResponseType): Promise<any>;
|
|
21
21
|
/**
|
|
@@ -19,9 +19,9 @@ class ShapeDiverUtilsApi extends sdk_geometry_api_sdk_core_1.BaseResourceApi {
|
|
|
19
19
|
/**
|
|
20
20
|
* Upload the given file to the specified URL.
|
|
21
21
|
*
|
|
22
|
-
* @param url
|
|
23
|
-
* @param data
|
|
24
|
-
* @param contentType
|
|
22
|
+
* @param url - The target URL of the upload request.
|
|
23
|
+
* @param data - The data that should be uploaded.
|
|
24
|
+
* @param contentType - Indicate the original media type of the resource.
|
|
25
25
|
*/
|
|
26
26
|
upload(url, data, contentType) {
|
|
27
27
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -38,8 +38,8 @@ class ShapeDiverUtilsApi extends sdk_geometry_api_sdk_core_1.BaseResourceApi {
|
|
|
38
38
|
/**
|
|
39
39
|
* Download from the given URL.
|
|
40
40
|
*
|
|
41
|
-
* @param url
|
|
42
|
-
* @param responseType
|
|
41
|
+
* @param url - The target URL of the download request.
|
|
42
|
+
* @param responseType - Indicates the type of data that the server should respond with if possible.
|
|
43
43
|
*/
|
|
44
44
|
download(url, responseType) {
|
|
45
45
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/sdk.geometry-api-sdk-v2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "SDK to communicate with the Geometry API version 2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shapediver",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"webpack-dev-server": "^4.9.1"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@shapediver/sdk.geometry-api-sdk-core": "^1.0.
|
|
55
|
-
"@shapediver/api.geometry-api-dto-v2": "^1.1.
|
|
54
|
+
"@shapediver/sdk.geometry-api-sdk-core": "^1.0.14",
|
|
55
|
+
"@shapediver/api.geometry-api-dto-v2": "^1.1.11"
|
|
56
56
|
}
|
|
57
57
|
}
|