@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 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, target: string, options?: AssetOperationOption): Promise<any>;
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, target: string, options?: AssetOperationOption): Promise<any>;
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 {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@cocos/cocos-cli-types",
3
3
  "description": "types for cocos cli",
4
4
  "author": "cocos cli",
5
- "version": "0.0.1-alpha.24.1",
5
+ "version": "0.0.1-alpha.24.3",
6
6
  "main": "index.d.ts",
7
7
  "types": "index.d.ts",
8
8
  "exports": {