@jlceda/pro-api-types 0.1.67 → 0.1.68

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.
Files changed (2) hide show
  1. package/index.d.ts +19 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -595,7 +595,7 @@ declare class DMT_Schematic {
595
595
  */
596
596
  getCurrentSchematicInfo(): Promise<IDMT_SchematicItem | undefined>;
597
597
  /**
598
- * 获取当前原理图图页的详细属性
598
+ * 获取当前原��图图页的详细属性
599
599
  *
600
600
  * @beta
601
601
  * @remarks 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
@@ -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` 均被视为空网络
@@ -5792,8 +5792,22 @@ 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
+ /**
5796
+ * 获取网表
5797
+ *
5798
+ * @beta
5799
+ * @param type - 网表格式
5800
+ * @returns 网表数据,当 type 为 `JLCEDA` 或 `EasyEDA` 时,返回值为数组
5801
+ */
5802
+ getNetlist(type?: ENetlistType): Promise<string | Array<string>>;
5803
+ /**
5804
+ * 更新网表
5805
+ *
5806
+ * @beta
5807
+ * @param type - 网表格式
5808
+ * @param netlist - 网表数据
5809
+ */
5810
+ setNetlist(type: ENetlistType | undefined, netlist: string): Promise<boolean>;
5797
5811
  }
5798
5812
 
5799
5813
  /**
@@ -8481,7 +8495,7 @@ declare type TPCB_PolygonSourceArray = Array<'L' | 'ARC' | 'CARC' | 'C' | 'R' |
8481
8495
  *
8482
8496
  * @public
8483
8497
  * @remarks
8484
- * 尺寸标注坐标集存在以下三种 {@link EPCB_PrimitiveDimensionType | 尺���标注类型}:
8498
+ * 尺寸标注坐标集存在以下三种 {@link EPCB_PrimitiveDimensionType | 尺寸标注类型}:
8485
8499
  *
8486
8500
  * ① 半径标注
8487
8501
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [