@3dverse/api 0.3.1 → 0.3.2
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/_prebuild/wrapper.d.ts +9 -4
- package/dist/index.js.map +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
|
@@ -390,12 +390,17 @@ export declare function moveAssets({ folder_id, assetIds }: {
|
|
|
390
390
|
folder_id: string;
|
|
391
391
|
assetIds: Array<string>;
|
|
392
392
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
393
|
-
export type
|
|
393
|
+
export type CreateAsset_NewAsset = {
|
|
394
|
+
name: string;
|
|
395
|
+
};
|
|
396
|
+
export type CreateAsset_AssetDuplication = {
|
|
394
397
|
copy_from_asset_id: string;
|
|
395
398
|
new_asset_name?: string;
|
|
399
|
+
options?: CreateAsset_DuplicationOptions;
|
|
396
400
|
};
|
|
397
|
-
export type
|
|
398
|
-
|
|
401
|
+
export type CreateAsset_DuplicationOptions = {
|
|
402
|
+
asset_types?: Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial">;
|
|
403
|
+
max_depth?: number;
|
|
399
404
|
};
|
|
400
405
|
export type CreateAsset_asset_item = {
|
|
401
406
|
asset_id: string;
|
|
@@ -404,7 +409,7 @@ export type CreateAsset_asset_item = {
|
|
|
404
409
|
export declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
|
|
405
410
|
folder_id: string;
|
|
406
411
|
asset_container_creatable: "animationGraphs" | "animationSequences" | "cubemaps" | "eventMaps" | "materials" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "volumeMaterials";
|
|
407
|
-
assetCreationOptions: StrictUnion<
|
|
412
|
+
assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication> & any;
|
|
408
413
|
}): AxiosPromise<CreateAsset_asset_item>;
|
|
409
414
|
export type GetSessionsInFolder_Session = {
|
|
410
415
|
session_id: string;
|