@inweb/client 27.1.0 → 27.1.1
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/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/client.min.js +1 -1
- package/dist/client.module.js +2 -2
- package/dist/client.module.js.map +1 -1
- package/lib/Api/File.d.ts +13 -8
- package/package.json +2 -2
- package/src/Api/File.ts +13 -8
package/lib/Api/File.d.ts
CHANGED
|
@@ -122,17 +122,21 @@ export declare class File extends Endpoint {
|
|
|
122
122
|
*/
|
|
123
123
|
get sharedLinkToken(): string;
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Jobs status of the active version of the file. This is an object contains keys corresponding to
|
|
126
|
+
* different job types:
|
|
126
127
|
*
|
|
127
|
-
* - `geometry` - status of geometry
|
|
128
|
-
* - `geometryGltf` - status of geometry
|
|
129
|
-
* - `properties` - status of
|
|
130
|
-
* - `validation` - status of validation.
|
|
128
|
+
* - `geometry` - status of geometry extraction job (`VSFX` format).
|
|
129
|
+
* - `geometryGltf` - status of geometry extraction job (`glTF` format).
|
|
130
|
+
* - `properties` - status of property extraction job .
|
|
131
|
+
* - `validation` - status of validation job .
|
|
132
|
+
*
|
|
133
|
+
* Export jobs (`dwg`, `obj`, `gltf`, `glb`, `vsf`, `pdf`, `3dpdf`) and custom jobs appear in the
|
|
134
|
+
* status object dynamically as jobs are started.
|
|
131
135
|
*
|
|
132
136
|
* Each status entity is a record with properties:
|
|
133
137
|
*
|
|
134
|
-
* - `state` -
|
|
135
|
-
* - `jobId` - Unique ID of the
|
|
138
|
+
* - `state` - Job state. Can be `none`, `waiting`, `inprogress`, `done` or `failed`.
|
|
139
|
+
* - `jobId` - Unique ID of the job.
|
|
136
140
|
*
|
|
137
141
|
* @readonly
|
|
138
142
|
*/
|
|
@@ -482,7 +486,8 @@ export declare class File extends Endpoint {
|
|
|
482
486
|
* jobs status.
|
|
483
487
|
* @param params.signal - An
|
|
484
488
|
* {@link https://developer.mozilla.org/docs/Web/API/AbortController | AbortController} signal, which
|
|
485
|
-
* can be used to abort waiting as desired.
|
|
489
|
+
* can be used to abort waiting as desired. If waiting has been aborted, the `AbortError` exception
|
|
490
|
+
* will be thrown.
|
|
486
491
|
* @param params.onCheckout - Waiting progress callback. Return `true` to cancel waiting.
|
|
487
492
|
*/
|
|
488
493
|
waitForDone(jobs: string | string[], waitAll?: boolean, params?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/client",
|
|
3
|
-
"version": "27.1.
|
|
3
|
+
"version": "27.1.1",
|
|
4
4
|
"description": "JavaScript REST API client for the Open Cloud Server",
|
|
5
5
|
"homepage": "https://cloud.opendesign.com/docs/index.html",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"docs": "typedoc"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@inweb/eventemitter2": "~27.1.
|
|
29
|
+
"@inweb/eventemitter2": "~27.1.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"fflate": "^0.8.2"
|
package/src/Api/File.ts
CHANGED
|
@@ -235,17 +235,21 @@ export class File extends Endpoint {
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
|
-
*
|
|
238
|
+
* Jobs status of the active version of the file. This is an object contains keys corresponding to
|
|
239
|
+
* different job types:
|
|
239
240
|
*
|
|
240
|
-
* - `geometry` - status of geometry
|
|
241
|
-
* - `geometryGltf` - status of geometry
|
|
242
|
-
* - `properties` - status of
|
|
243
|
-
* - `validation` - status of validation.
|
|
241
|
+
* - `geometry` - status of geometry extraction job (`VSFX` format).
|
|
242
|
+
* - `geometryGltf` - status of geometry extraction job (`glTF` format).
|
|
243
|
+
* - `properties` - status of property extraction job .
|
|
244
|
+
* - `validation` - status of validation job .
|
|
245
|
+
*
|
|
246
|
+
* Export jobs (`dwg`, `obj`, `gltf`, `glb`, `vsf`, `pdf`, `3dpdf`) and custom jobs appear in the
|
|
247
|
+
* status object dynamically as jobs are started.
|
|
244
248
|
*
|
|
245
249
|
* Each status entity is a record with properties:
|
|
246
250
|
*
|
|
247
|
-
* - `state` -
|
|
248
|
-
* - `jobId` - Unique ID of the
|
|
251
|
+
* - `state` - Job state. Can be `none`, `waiting`, `inprogress`, `done` or `failed`.
|
|
252
|
+
* - `jobId` - Unique ID of the job.
|
|
249
253
|
*
|
|
250
254
|
* @readonly
|
|
251
255
|
*/
|
|
@@ -771,7 +775,8 @@ export class File extends Endpoint {
|
|
|
771
775
|
* jobs status.
|
|
772
776
|
* @param params.signal - An
|
|
773
777
|
* {@link https://developer.mozilla.org/docs/Web/API/AbortController | AbortController} signal, which
|
|
774
|
-
* can be used to abort waiting as desired.
|
|
778
|
+
* can be used to abort waiting as desired. If waiting has been aborted, the `AbortError` exception
|
|
779
|
+
* will be thrown.
|
|
775
780
|
* @param params.onCheckout - Waiting progress callback. Return `true` to cancel waiting.
|
|
776
781
|
*/
|
|
777
782
|
waitForDone(
|