@jlceda/pro-api-types 0.1.67 → 0.1.69
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 +20 -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 - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
|
|
@@ -3002,7 +3002,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
|
|
|
3002
3002
|
*/
|
|
3003
3003
|
setState_Pad(pad: TPCB_PrimitivePadShape): IPCB_PrimitivePad;
|
|
3004
3004
|
/**
|
|
3005
|
-
*
|
|
3005
|
+
* 设��属性状态:网络
|
|
3006
3006
|
*
|
|
3007
3007
|
* @beta
|
|
3008
3008
|
* @remarks 本接口仅在 PCB 编辑器可用,空字符串与 `undefined` 均被视为空网络
|
|
@@ -5609,6 +5609,7 @@ declare class PCB_ManufactureData {
|
|
|
5609
5609
|
* @returns 坐标文件数据
|
|
5610
5610
|
*/
|
|
5611
5611
|
getPickAndPlaceFile(fileName?: string, fileType?: 'xlsx' | 'csv', unit?: ESYS_Unit.MILLIMETER | ESYS_Unit.MIL): Promise<File | undefined>;
|
|
5612
|
+
/* Excluded from this release type: getFlyingProbeTestFile */
|
|
5612
5613
|
/**
|
|
5613
5614
|
* 获取 BOM 文件
|
|
5614
5615
|
*
|
|
@@ -5792,8 +5793,22 @@ declare class PCB_Net {
|
|
|
5792
5793
|
* @returns 操作是否成功
|
|
5793
5794
|
*/
|
|
5794
5795
|
highlightNet(net: string): Promise<boolean>;
|
|
5795
|
-
|
|
5796
|
-
|
|
5796
|
+
/**
|
|
5797
|
+
* 获取网表
|
|
5798
|
+
*
|
|
5799
|
+
* @beta
|
|
5800
|
+
* @param type - 网表格式
|
|
5801
|
+
* @returns 网表数据,当 type 为 `JLCEDA` 或 `EasyEDA` 时,返回值为数组
|
|
5802
|
+
*/
|
|
5803
|
+
getNetlist(type?: ENetlistType): Promise<string | Array<string>>;
|
|
5804
|
+
/**
|
|
5805
|
+
* 更新网表
|
|
5806
|
+
*
|
|
5807
|
+
* @beta
|
|
5808
|
+
* @param type - 网表格式
|
|
5809
|
+
* @param netlist - 网表数据
|
|
5810
|
+
*/
|
|
5811
|
+
setNetlist(type: ENetlistType | undefined, netlist: string): Promise<boolean>;
|
|
5797
5812
|
}
|
|
5798
5813
|
|
|
5799
5814
|
/**
|
|
@@ -8481,7 +8496,7 @@ declare type TPCB_PolygonSourceArray = Array<'L' | 'ARC' | 'CARC' | 'C' | 'R' |
|
|
|
8481
8496
|
*
|
|
8482
8497
|
* @public
|
|
8483
8498
|
* @remarks
|
|
8484
|
-
* 尺寸标注坐标集存在以下三种 {@link EPCB_PrimitiveDimensionType |
|
|
8499
|
+
* 尺寸标注坐标集存在以下三种 {@link EPCB_PrimitiveDimensionType | 尺寸标注类型}:
|
|
8485
8500
|
*
|
|
8486
8501
|
* ① 半径标注
|
|
8487
8502
|
*
|