@3dverse/api 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +10 -4
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
@@ -9,8 +9,9 @@
|
|
9
9
|
*
|
10
10
|
* Contact: 3dverse Support (support@3dverse.com)
|
11
11
|
*
|
12
|
-
*
|
13
|
-
*
|
12
|
+
* DO NOT EDIT THIS FILE MANUALLY.
|
13
|
+
* This file has been generated automatically from its OpenAPI spec file.
|
14
|
+
* See : https://gitlab.com/3dverse/platform/libs/js/openapi-client-library-generator
|
14
15
|
*/
|
15
16
|
import { AxiosPromise } from 'axios';
|
16
17
|
type UnionKeys<T> = T extends T ? keyof T : never;
|
@@ -350,6 +351,10 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit }: {
|
|
350
351
|
offset?: number;
|
351
352
|
limit?: number;
|
352
353
|
}): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
|
354
|
+
export type GetFolderAssets_Filter = {
|
355
|
+
asset_type?: StrictUnion<Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial"> | "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial"> & any;
|
356
|
+
asset_name?: string;
|
357
|
+
};
|
353
358
|
export type GetFolderAssets_asset_list = {
|
354
359
|
animations?: Array<GetFolderAssets_asset_item>;
|
355
360
|
animationGraphs?: Array<GetFolderAssets_asset_item>;
|
@@ -373,10 +378,11 @@ export type GetFolderAssets_asset_item = {
|
|
373
378
|
asset_id: string;
|
374
379
|
name: string;
|
375
380
|
};
|
376
|
-
export declare function getFolderAssets({ folder_id, offset, limit }: {
|
381
|
+
export declare function getFolderAssets({ folder_id, offset, limit, filter }: {
|
377
382
|
folder_id: string;
|
378
383
|
offset?: number;
|
379
384
|
limit?: number;
|
385
|
+
filter?: GetFolderAssets_Filter;
|
380
386
|
}): AxiosPromise<GetFolderAssets_asset_list>;
|
381
387
|
export declare function moveAssets({ folder_id, assetIds }: {
|
382
388
|
folder_id: string;
|
@@ -583,7 +589,7 @@ export declare function getAssetFolder({ asset_container, asset_id }: {
|
|
583
589
|
asset_id: string;
|
584
590
|
}): AxiosPromise<GetAssetFolder_Folder>;
|
585
591
|
export type GetAssetDependencies_Filter = {
|
586
|
-
|
592
|
+
asset_type?: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
|
587
593
|
};
|
588
594
|
export type GetAssetDependencies_Flat = {
|
589
595
|
animations?: Array<GetAssetDependencies_asset_item>;
|
package/dist/index.js
CHANGED
@@ -483,7 +483,8 @@ function getUploadTasksInFolder({
|
|
483
483
|
function getFolderAssets({
|
484
484
|
folder_id,
|
485
485
|
offset = 0,
|
486
|
-
limit = 10
|
486
|
+
limit = 10,
|
487
|
+
filter
|
487
488
|
}) {
|
488
489
|
return axiosInstance({
|
489
490
|
operationId: "getFolderAssets",
|
@@ -491,7 +492,8 @@ function getFolderAssets({
|
|
491
492
|
url: "/folders/" + folder_id + "/assets",
|
492
493
|
params: {
|
493
494
|
offset,
|
494
|
-
limit
|
495
|
+
limit,
|
496
|
+
filter
|
495
497
|
}
|
496
498
|
});
|
497
499
|
}
|