@inweb/client 26.12.6 → 27.1.0
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/Client.d.ts +6 -3
- package/package.json +2 -2
- package/src/Api/Client.ts +6 -3
package/lib/Api/Client.d.ts
CHANGED
|
@@ -274,7 +274,8 @@ export declare class Client extends EventEmitter2<ClientEventMap> {
|
|
|
274
274
|
* @property {number} size - The number of files in the result list.
|
|
275
275
|
*/
|
|
276
276
|
/**
|
|
277
|
-
* Returns a list of files that the current logged in user has uploaded to the server or has access to
|
|
277
|
+
* Returns a list of files that the current logged in user has uploaded to the server or has access to
|
|
278
|
+
* through a project.
|
|
278
279
|
*
|
|
279
280
|
* @param start - The starting index in the file list. Used for paging.
|
|
280
281
|
* @param limit - The maximum number of files that should be returned per request. Used for paging.
|
|
@@ -282,7 +283,8 @@ export declare class Client extends EventEmitter2<ClientEventMap> {
|
|
|
282
283
|
* @param ext - Filter the files by extension. Extension can be `dgn`, `dwf`, `dwg`, `dxf`, `ifc`,
|
|
283
284
|
* `ifczip`, `nwc`, `nwd`, `obj`, `rcs`, `rfa`, `rvt`, `step`, `stl`, `stp`, `vsf`, or any other file
|
|
284
285
|
* type extension.
|
|
285
|
-
* @param ids - List of file IDs to return.
|
|
286
|
+
* @param ids - List of file IDs to return. The list can include files that the user has access to
|
|
287
|
+
* through a project. If not specified, only files uploaded by the current user are returned.
|
|
286
288
|
* @param sortByDesc - Allows to specify the descending order of the result. By default, files are
|
|
287
289
|
* sorted by name in ascending order.
|
|
288
290
|
* @param sortField - Allows to specify sort field.
|
|
@@ -296,7 +298,8 @@ export declare class Client extends EventEmitter2<ClientEventMap> {
|
|
|
296
298
|
size: number;
|
|
297
299
|
}>;
|
|
298
300
|
/**
|
|
299
|
-
* Returns information about the specified file
|
|
301
|
+
* Returns information about the specified file that the current logged in user has uploaded or has
|
|
302
|
+
* access to through a project.
|
|
300
303
|
*
|
|
301
304
|
* @param fileId - File ID.
|
|
302
305
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "27.1.0",
|
|
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": "~
|
|
29
|
+
"@inweb/eventemitter2": "~27.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"fflate": "^0.8.2"
|
package/src/Api/Client.ts
CHANGED
|
@@ -524,7 +524,8 @@ export class Client extends EventEmitter2<ClientEventMap> {
|
|
|
524
524
|
*/
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
|
-
* Returns a list of files that the current logged in user has uploaded to the server or has access to
|
|
527
|
+
* Returns a list of files that the current logged in user has uploaded to the server or has access to
|
|
528
|
+
* through a project.
|
|
528
529
|
*
|
|
529
530
|
* @param start - The starting index in the file list. Used for paging.
|
|
530
531
|
* @param limit - The maximum number of files that should be returned per request. Used for paging.
|
|
@@ -532,7 +533,8 @@ export class Client extends EventEmitter2<ClientEventMap> {
|
|
|
532
533
|
* @param ext - Filter the files by extension. Extension can be `dgn`, `dwf`, `dwg`, `dxf`, `ifc`,
|
|
533
534
|
* `ifczip`, `nwc`, `nwd`, `obj`, `rcs`, `rfa`, `rvt`, `step`, `stl`, `stp`, `vsf`, or any other file
|
|
534
535
|
* type extension.
|
|
535
|
-
* @param ids - List of file IDs to return.
|
|
536
|
+
* @param ids - List of file IDs to return. The list can include files that the user has access to
|
|
537
|
+
* through a project. If not specified, only files uploaded by the current user are returned.
|
|
536
538
|
* @param sortByDesc - Allows to specify the descending order of the result. By default, files are
|
|
537
539
|
* sorted by name in ascending order.
|
|
538
540
|
* @param sortField - Allows to specify sort field.
|
|
@@ -585,7 +587,8 @@ export class Client extends EventEmitter2<ClientEventMap> {
|
|
|
585
587
|
}
|
|
586
588
|
|
|
587
589
|
/**
|
|
588
|
-
* Returns information about the specified file
|
|
590
|
+
* Returns information about the specified file that the current logged in user has uploaded or has
|
|
591
|
+
* access to through a project.
|
|
589
592
|
*
|
|
590
593
|
* @param fileId - File ID.
|
|
591
594
|
*/
|