@cocos/cocos-cli-types 0.0.1-alpha.24.1 → 0.0.1-alpha.24.3
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/assets.d.ts +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
package/assets.d.ts
CHANGED
|
@@ -1238,7 +1238,7 @@ export declare function reimportAsset(pathOrUrlOrUUID: string): Promise<IAssetIn
|
|
|
1238
1238
|
/**
|
|
1239
1239
|
* Rename Asset // 重命名资源
|
|
1240
1240
|
*/
|
|
1241
|
-
export declare function renameAsset(source: string,
|
|
1241
|
+
export declare function renameAsset(source: string, newName: string, options?: AssetOperationOption): Promise<any>;
|
|
1242
1242
|
|
|
1243
1243
|
/** 渲染纹理资源的 userData */
|
|
1244
1244
|
export declare interface RenderTextureAssetUserData extends TextureBaseAssetUserData {
|
package/index.d.ts
CHANGED
|
@@ -3332,7 +3332,7 @@ export declare function remove(key: string, scope?: ConfigurationScope): Promise
|
|
|
3332
3332
|
/**
|
|
3333
3333
|
* Rename Asset // 重命名资源
|
|
3334
3334
|
*/
|
|
3335
|
-
export declare function renameAsset(source: string,
|
|
3335
|
+
export declare function renameAsset(source: string, newName: string, options?: AssetOperationOption): Promise<any>;
|
|
3336
3336
|
|
|
3337
3337
|
/** 渲染纹理资源的 userData */
|
|
3338
3338
|
export declare interface RenderTextureAssetUserData extends TextureBaseAssetUserData {
|