@jlceda/pro-api-types 0.1.64 → 0.1.66
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/index.d.ts +7 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -413,7 +413,7 @@ declare class DMT_Project {
|
|
|
413
413
|
* @beta
|
|
414
414
|
* @param projectFriendlyName - 工程友好名称
|
|
415
415
|
* @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
|
|
416
|
-
* @param teamUuid - 团队 UUID
|
|
416
|
+
* @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
|
|
417
417
|
* @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
|
|
418
418
|
* @param description - 工程描述
|
|
419
419
|
* @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
|
|
@@ -815,7 +815,7 @@ declare enum EDMT_EditorDocumentType {
|
|
|
815
815
|
PCB_3D_PREVIEW = 15,
|
|
816
816
|
/** 面板 */
|
|
817
817
|
PANEL = 26,
|
|
818
|
-
/**
|
|
818
|
+
/** 面��� 3D 预览 */
|
|
819
819
|
PANEL_3D_PREVIEW = 27,
|
|
820
820
|
/** 元件符号 */
|
|
821
821
|
SYMBOL_COMPONENT = 2,
|
|
@@ -2416,7 +2416,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
|
|
|
2416
2416
|
private primitiveId?;
|
|
2417
2417
|
/** 关联库器件 */
|
|
2418
2418
|
private component;
|
|
2419
|
-
/**
|
|
2419
|
+
/** 关联库封�� */
|
|
2420
2420
|
private footprint?;
|
|
2421
2421
|
/** 层 */
|
|
2422
2422
|
private layer;
|
|
@@ -4413,7 +4413,7 @@ declare class LIB_Classification {
|
|
|
4413
4413
|
* @param libraryUuid - 库 UUID
|
|
4414
4414
|
* @param libraryType - 库类型
|
|
4415
4415
|
* @param primaryClassificationUuid - 一级分类 UUID
|
|
4416
|
-
* @param secondaryClassificationUuid - 二级分类 UUID
|
|
4416
|
+
* @param secondaryClassificationUuid - 二级分类 UUID,如若不指��,则只获取一级分类的信息
|
|
4417
4417
|
* @returns 两级分类的名称
|
|
4418
4418
|
*/
|
|
4419
4419
|
getNameByUuid(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationUuid: string, secondaryClassificationUuid?: string): Promise<{
|
|
@@ -5792,6 +5792,8 @@ declare class PCB_Net {
|
|
|
5792
5792
|
* @returns 操作是否成功
|
|
5793
5793
|
*/
|
|
5794
5794
|
highlightNet(net: string): Promise<boolean>;
|
|
5795
|
+
/* Excluded from this release type: getNetlist */
|
|
5796
|
+
/* Excluded from this release type: setNetlist */
|
|
5795
5797
|
}
|
|
5796
5798
|
|
|
5797
5799
|
/**
|
|
@@ -7238,7 +7240,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
|
|
|
7238
7240
|
*/
|
|
7239
7241
|
modify(primitiveId: string | ISCH_PrimitivePin, x?: number, y?: number, pinNumber?: string, pinName?: string, rotation?: number, pinLength?: number, pinColor?: string | null, pinShape?: string, pinType?: PIN_TYPE): Promise<ISCH_PrimitivePin | undefined>;
|
|
7240
7242
|
/**
|
|
7241
|
-
*
|
|
7243
|
+
* 获取引脚
|
|
7242
7244
|
*
|
|
7243
7245
|
* @beta
|
|
7244
7246
|
* @param primitiveIds - 引脚的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|