LIB_Cbb.copy() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
复制复用模块
Signature
typescript
copy(cbbUuid: string, libraryUuid: string, targetLibraryUuid: string, targetClassification?: ILIB_ClassificationIndex, newCbbName?: string): Promise<string | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
cbbUuid | string | 复用模块 UUID |
libraryUuid | string | 库 UUID,可以使用 LIB_LibrariesList 内的接口获取 |
targetLibraryUuid | string | 目标库 UUID |
targetClassification | (Optional) 目标库内的分类 | |
newCbbName | string | (Optional) 新复用模块名称,如若目标库内存在重名复用模块将导致复制失败 |
Returns
Promise<string | undefined>
目标库内新复用模块的 UUID