@jlceda/pro-api-types 0.1.61 → 0.1.63

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/README.en.md ADDED
@@ -0,0 +1,25 @@
1
+ [简体中文](./README.md) | [English](#)
2
+
3
+ # pro-api-types
4
+
5
+ JLCEDA & EasyEDA Pro Edition Extension API Interface Type Definition
6
+
7
+ <img src="https://easyeda-docs.coding.net/badges/eda-sdk/job/4639863/build.svg" alt="Build Status" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/v/%40jlceda%2Fpro-api-types" alt="NPM Version" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/unpacked-size/%40jlceda%2Fpro-api-types" alt="NPM Unpacked Size" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/l/%40jlceda%2Fpro-api-types" alt="NPM License" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/d18m/%40jlceda%2Fpro-api-types" alt="NPM Downloads" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />
8
+
9
+ ## How to Use
10
+
11
+ It is recommended to use [pro-api-sdk](https://github.com/easyeda/pro-api-sdk) for extension development, this definition file is pre-configured within the SDK.
12
+
13
+ 1. 安装类型定义
14
+
15
+ ```shell
16
+ npm install --save-dev @jlceda/pro-api-types
17
+ ```
18
+
19
+ 2. Add `./node_modules/@jlceda/pro-api-types/` into `tsconfig.include`
20
+
21
+ ## Open Source License
22
+
23
+ <a href="https://choosealicense.com/licenses/apache-2.0/" style="vertical-align: inherit;" target="_blank"><img src="https://img.shields.io/npm/l/%40jlceda%2Fpro-api-types" alt="NPM License" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" /></a>
24
+
25
+ This typedef uses the [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/) open source license, and you may only use the **嘉立创EDA**, **EasyEDA** trademark information in the **Functional Description** and **Title of Open Source Release** sections of the extension packages developed by the [pro-api-sdk](https://github.com/easyeda/pro-api-sdk) toolset, and the **Title of Open Source Release** section. **Functional Description Section** and **Title Section** of the Open Source Release for extension packages developed by the toolset.
package/README.md CHANGED
@@ -1,16 +1,14 @@
1
+ [简体中文](#) | [English](./README.en.md)
2
+
1
3
  # pro-api-types
2
4
 
3
5
  嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义
4
6
 
5
- [![Build Status](https://easyeda-docs.coding.net/badges/eda-sdk/job/4639863/build.svg)](https://easyeda-docs.coding.net/p/eda-sdk/ci/job)
6
- ![NPM Version](https://img.shields.io/npm/v/%40jlceda%2Fpro-api-types)
7
- ![NPM Unpacked Size](https://img.shields.io/npm/unpacked-size/%40jlceda%2Fpro-api-types)
8
- ![NPM License](https://img.shields.io/npm/l/%40jlceda%2Fpro-api-types)
9
- ![NPM Downloads](https://img.shields.io/npm/d18m/%40jlceda%2Fpro-api-types)
7
+ <img src="https://easyeda-docs.coding.net/badges/eda-sdk/job/4639863/build.svg" alt="Build Status" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/v/%40jlceda%2Fpro-api-types" alt="NPM Version" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/unpacked-size/%40jlceda%2Fpro-api-types" alt="NPM Unpacked Size" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/l/%40jlceda%2Fpro-api-types" alt="NPM License" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />&nbsp;<img src="https://img.shields.io/npm/d18m/%40jlceda%2Fpro-api-types" alt="NPM Downloads" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" />
10
8
 
11
9
  ## 使用
12
10
 
13
- 建议使用 [pro-api-sdk](https://github.com/jlceda/pro-api-sdk) 进行扩展开发,本定义文件已在 SDK 内预配。
11
+ 建议使用 [pro-api-sdk](https://gitee.com/jlceda/pro-api-sdk) 进行扩展开发,本定义文件已在 SDK 内预配。
14
12
 
15
13
  1. 安装类型定义
16
14
 
@@ -22,4 +20,6 @@
22
20
 
23
21
  ## 开源许可
24
22
 
25
- 本类型定义使用 [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/) 开源许可协议,你仅可以将 **嘉立创EDA**、**EasyEDA** 商标信息用于依托于 [pro-api-sdk](https://github.com/jlceda/pro-api-sdk) 工具组开发的扩展包的 **功能描述部分** **开源发布的标题部分**。
23
+ <a href="https://choosealicense.com/licenses/apache-2.0/" style="vertical-align: inherit;" target="_blank"><img src="https://img.shields.io/npm/l/%40jlceda%2Fpro-api-types" alt="NPM License" class="not-medium-zoom-image" style="display: inline; vertical-align: inherit;" /></a>
24
+
25
+ 本类型定义使用 [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/) 开源许可协议,你仅可以将 **嘉立创EDA**、**EasyEDA** 商标信息用于依托于 [pro-api-sdk](https://gitee.com/jlceda/pro-api-sdk) 工具组开发的扩展包的 **功能描述部分** 和 **开源发布的标题部分**。
package/index.d.ts CHANGED
@@ -7,7 +7,7 @@ declare interface BusNetGroupCreateOptions {
7
7
  }
8
8
 
9
9
  /**
10
- * 扩展 API 接口 / 文档树 / 板子管理类
10
+ * 文档树 / 板子管理类
11
11
  *
12
12
  * @public
13
13
  * @remarks 在当前打开的工程内进行板子管理的相关操作
@@ -74,7 +74,7 @@ declare class DMT_Board {
74
74
  }
75
75
 
76
76
  /**
77
- * 扩展 API 接口 / 文档树 / 编辑器控制类
77
+ * 文档树 / 编辑器控制类
78
78
  *
79
79
  * @public
80
80
  * @remarks 此处编辑器控制基于当前已打开的工程设计下的图页,其它任何 `documentUuid` 都将被认为是不存在的文档页
@@ -182,7 +182,7 @@ declare class DMT_EditorControl {
182
182
  }
183
183
 
184
184
  /**
185
- * 扩展 API 接口 / 文档树 / 文件夹类
185
+ * 文档树 / 文件夹类
186
186
  *
187
187
  * @public
188
188
  */
@@ -260,7 +260,7 @@ declare class DMT_Folder {
260
260
  }
261
261
 
262
262
  /**
263
- * 扩展 API 接口 / 文档树 / 面板管理类
263
+ * 文档树 / 面板管理类
264
264
  *
265
265
  * @public
266
266
  * @remarks 在当前打开的工程内进行面板管理的相关操作
@@ -324,7 +324,7 @@ declare class DMT_Panel {
324
324
  }
325
325
 
326
326
  /**
327
- * 扩展 API 接口 / 文档树 / PCB 管理类
327
+ * 文档树 / PCB 管理类
328
328
  *
329
329
  * @public
330
330
  * @remarks 在当前打开的工程内进行 PCB 管理的相关操作
@@ -393,7 +393,7 @@ declare class DMT_Pcb {
393
393
  }
394
394
 
395
395
  /**
396
- * 扩展 API 接口 / 文档树 / 工程管理类
396
+ * 文档树 / 工程管理类
397
397
  *
398
398
  * @public
399
399
  */
@@ -473,7 +473,7 @@ declare class DMT_Project {
473
473
  }
474
474
 
475
475
  /**
476
- * 扩展 API 接口 / 文档树 / 原理图管理类
476
+ * 文档树 / 原理图管理类
477
477
  *
478
478
  * @public
479
479
  * @remarks 在当前打开的工程内进行原理图管理的相关操作
@@ -632,7 +632,7 @@ declare class DMT_Schematic {
632
632
  }
633
633
 
634
634
  /**
635
- * 扩展 API 接口 / 文档树 / 选择控制类
635
+ * 文档树 / 选择控制类
636
636
  *
637
637
  * @public
638
638
  * @remarks 在文档树内进行选择焦点的查询、控制
@@ -649,7 +649,7 @@ declare class DMT_SelectControl {
649
649
  }
650
650
 
651
651
  /**
652
- * 扩展 API 接口 / 文档树 / 团队类
652
+ * 文档树 / 团队类
653
653
  *
654
654
  * @public
655
655
  */
@@ -680,13 +680,13 @@ declare class DMT_Team {
680
680
  }
681
681
 
682
682
  /**
683
- * 扩展 API 接口 / 文档树 / 工作区类
683
+ * 文档树 / 工作区类
684
684
  *
685
685
  * @public
686
686
  */
687
687
  declare class DMT_Workspace {
688
688
  /**
689
- * 获取所有工作区的详���属性
689
+ * 获取所有工作区的详细属性
690
690
  *
691
691
  * @public
692
692
  * @returns 所有工作区的详细属性
@@ -3121,7 +3121,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
3121
3121
  */
3122
3122
  toSync(): IPCB_PrimitivePad;
3123
3123
  /**
3124
- * 查询图元���否为异步图元
3124
+ * 查询图元是否为异步图元
3125
3125
  *
3126
3126
  * @public
3127
3127
  * @returns 是否为异步图元
@@ -4200,7 +4200,7 @@ declare interface ISYS_MultilingualLanguagesData {
4200
4200
  }
4201
4201
 
4202
4202
  /**
4203
- * 扩展 API 接口 / 综合库 / 3D 模型类
4203
+ * 综合库 / 3D 模型类
4204
4204
  *
4205
4205
  * @public
4206
4206
  */
@@ -4275,7 +4275,7 @@ declare class LIB_3DModel {
4275
4275
  }
4276
4276
 
4277
4277
  /**
4278
- * 扩展 API 接口 / 综合库 / 复用模块类
4278
+ * 综合库 / 复用模块类
4279
4279
  *
4280
4280
  * @public
4281
4281
  */
@@ -4368,7 +4368,7 @@ declare class LIB_Cbb {
4368
4368
  }
4369
4369
 
4370
4370
  /**
4371
- * 扩展 API 接口 / 综合库 / 库分类索引类
4371
+ * 综合库 / 库分类索引类
4372
4372
  *
4373
4373
  * @public
4374
4374
  */
@@ -4469,7 +4469,7 @@ declare class LIB_Classification {
4469
4469
  }
4470
4470
 
4471
4471
  /**
4472
- * 扩展 API 接口 / 综合库 / 器件类
4472
+ * 综合库 / 器件类
4473
4473
  *
4474
4474
  * @public
4475
4475
  */
@@ -4595,7 +4595,7 @@ declare class LIB_Device {
4595
4595
  }
4596
4596
 
4597
4597
  /**
4598
- * 扩展 API 接口 / 综合库 / 封装类
4598
+ * 综合库 / 封装类
4599
4599
  *
4600
4600
  * @public
4601
4601
  */
@@ -4679,7 +4679,7 @@ declare class LIB_Footprint {
4679
4679
  }
4680
4680
 
4681
4681
  /**
4682
- * 扩展 API 接口 / 综合库 / 库列表类
4682
+ * 综合库 / 库列表类
4683
4683
  *
4684
4684
  * @public
4685
4685
  * @remarks 此处所有接口都基于编辑器当前工作区环境,如需切换到其他工作区,请使用 {@link DMT_Workspace.toggleToWorkspace} 接口切换工作区
@@ -4720,7 +4720,7 @@ declare class LIB_LibrariesList {
4720
4720
  }
4721
4721
 
4722
4722
  /**
4723
- * 扩展 API 接口 / 综合库 / 面板库类
4723
+ * 综合库 / 面板库类
4724
4724
  *
4725
4725
  * @public
4726
4726
  */
@@ -4804,7 +4804,7 @@ declare class LIB_PanelLibrary {
4804
4804
  }
4805
4805
 
4806
4806
  /**
4807
- * 扩展 API 接口 / 综合库 / 符号类
4807
+ * 综合库 / 符号类
4808
4808
  *
4809
4809
  * @public
4810
4810
  */
@@ -4890,7 +4890,7 @@ declare class LIB_Symbol {
4890
4890
  }
4891
4891
 
4892
4892
  /**
4893
- * 扩展 API 接口 / PCB & 封装 / 文档操作类
4893
+ * PCB & 封装 / 文档操作类
4894
4894
  *
4895
4895
  * @public
4896
4896
  * @remarks 对设计文档总体进行的操作
@@ -5014,7 +5014,7 @@ declare class PCB_Document {
5014
5014
  }
5015
5015
 
5016
5016
  /**
5017
- * 扩展 API 接口 / PCB & 封装 / 设计规则检查(DRC)类
5017
+ * PCB & 封装 / 设计规则检查(DRC)类
5018
5018
  *
5019
5019
  * @public
5020
5020
  * @remarks 检查、设定 DRC 规则
@@ -5377,7 +5377,7 @@ declare class PCB_Drc {
5377
5377
  }
5378
5378
 
5379
5379
  /**
5380
- * 扩展 API 接口 / PCB & 封装 / 事件类
5380
+ * PCB & 封装 / 事件类
5381
5381
  *
5382
5382
  * @public
5383
5383
  * @remarks 注册事件回调
@@ -5412,7 +5412,7 @@ declare class PCB_Event {
5412
5412
  }
5413
5413
 
5414
5414
  /**
5415
- * 扩展 API 接口 / PCB & 封装 / 图层操作类
5415
+ * PCB & 封装 / 图层操作类
5416
5416
  *
5417
5417
  * @public
5418
5418
  */
@@ -5541,7 +5541,7 @@ declare class PCB_Layer {
5541
5541
  }
5542
5542
 
5543
5543
  /**
5544
- * 扩展 API 接口 / PCB & 封装 / 生产资料类
5544
+ * PCB & 封装 / 生产资料类
5545
5545
  *
5546
5546
  * @public
5547
5547
  * @remarks 获取当前 PCB 的生产资料文件
@@ -5698,7 +5698,7 @@ declare class PCB_ManufactureData {
5698
5698
  }
5699
5699
 
5700
5700
  /**
5701
- * 扩展 API 接口 / PCB & 封装 / 多边形数学类
5701
+ * PCB & 封装 / 多边形数学类
5702
5702
  *
5703
5703
  * @public
5704
5704
  */
@@ -5747,7 +5747,7 @@ declare class PCB_MathPolygon {
5747
5747
  }
5748
5748
 
5749
5749
  /**
5750
- * 扩展 API 接口 / PCB & 封装 / 网络类
5750
+ * PCB & 封装 / 网络类
5751
5751
  *
5752
5752
  * @public
5753
5753
  */
@@ -5795,7 +5795,7 @@ declare class PCB_Net {
5795
5795
  }
5796
5796
 
5797
5797
  /**
5798
- * 扩展 API 接口 / PCB & 封装 / 图元类
5798
+ * PCB & 封装 / 图元类
5799
5799
  *
5800
5800
  * @public
5801
5801
  * @remarks 图元的统一操作
@@ -5814,7 +5814,7 @@ declare class PCB_Primitive {
5814
5814
  }
5815
5815
 
5816
5816
  /**
5817
- * 扩展 API 接口 / PCB & 封装 / 圆弧线图元类
5817
+ * PCB & 封装 / 圆弧线图元类
5818
5818
  *
5819
5819
  * @public
5820
5820
  */
@@ -5905,7 +5905,7 @@ declare class PCB_PrimitiveArc implements IPCB_PrimitiveAPI {
5905
5905
  }
5906
5906
 
5907
5907
  /**
5908
- * 扩展 API 接口 / PCB & 封装 / 器件图元类
5908
+ * PCB & 封装 / 器件图元类
5909
5909
  *
5910
5910
  * @public
5911
5911
  */
@@ -6005,7 +6005,7 @@ declare class PCB_PrimitiveComponent implements IPCB_PrimitiveAPI {
6005
6005
  }
6006
6006
 
6007
6007
  /**
6008
- * 扩展 API 接口 / PCB & 封装 / 尺寸标注图元类
6008
+ * PCB & 封装 / 尺寸标注图元类
6009
6009
  *
6010
6010
  * @public
6011
6011
  */
@@ -6085,7 +6085,7 @@ declare class PCB_PrimitiveDimension implements IPCB_PrimitiveAPI {
6085
6085
  }
6086
6086
 
6087
6087
  /**
6088
- * 扩展 API 接口 / PCB & 封装 / 图像图元类
6088
+ * PCB & 封装 / 图像图元类
6089
6089
  *
6090
6090
  * @public
6091
6091
  */
@@ -6169,7 +6169,7 @@ declare class PCB_PrimitiveImage implements IPCB_PrimitiveAPI {
6169
6169
  }
6170
6170
 
6171
6171
  /**
6172
- * 扩展 API 接口 / PCB & 封装 / 导线图元类
6172
+ * PCB & 封装 / 导线图元类
6173
6173
  *
6174
6174
  * @public
6175
6175
  */
@@ -6254,7 +6254,7 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
6254
6254
  }
6255
6255
 
6256
6256
  /**
6257
- * 扩展 API 接口 / PCB & 封装 / 焊盘图元类
6257
+ * PCB & 封装 / 焊盘图元类
6258
6258
  *
6259
6259
  * @public
6260
6260
  */
@@ -6366,7 +6366,7 @@ declare class PCB_PrimitivePad implements IPCB_PrimitiveAPI {
6366
6366
  }
6367
6367
 
6368
6368
  /**
6369
- * 扩展 API 接口 / PCB & 封装 / 折线图元类
6369
+ * PCB & 封装 / 折线图元类
6370
6370
  *
6371
6371
  * @public
6372
6372
  */
@@ -6442,7 +6442,7 @@ declare class PCB_PrimitivePolyline implements IPCB_PrimitiveAPI {
6442
6442
  }
6443
6443
 
6444
6444
  /**
6445
- * 扩展 API 接口 / PCB & 封装 / 过孔图元类
6445
+ * PCB & 封装 / 过孔图元类
6446
6446
  *
6447
6447
  * @public
6448
6448
  */
@@ -6526,7 +6526,7 @@ declare class PCB_PrimitiveVia implements IPCB_PrimitiveAPI {
6526
6526
  }
6527
6527
 
6528
6528
  /**
6529
- * 扩展 API 接口 / PCB & 封装 / 选择控制类
6529
+ * PCB & 封装 / 选择控制类
6530
6530
  *
6531
6531
  * @public
6532
6532
  * @remarks 获取或操作选择的元素
@@ -6591,7 +6591,7 @@ declare enum PIN_TYPE {
6591
6591
  }
6592
6592
 
6593
6593
  /**
6594
- * 扩展 API 接口 / 面板 / 文档操作类
6594
+ * 面板 / 文档操作类
6595
6595
  *
6596
6596
  * @public
6597
6597
  * @remarks 对设计文档总体进行的操作
@@ -6607,7 +6607,7 @@ declare class PNL_Document {
6607
6607
  }
6608
6608
 
6609
6609
  /**
6610
- * 扩展 API 接口 / 原理图 & 符号 / 文档操作类
6610
+ * 原理图 & 符号 / 文档操作类
6611
6611
  *
6612
6612
  * @public
6613
6613
  * @remarks 对设计文档总体进行的操作
@@ -6630,7 +6630,7 @@ declare class SCH_Document {
6630
6630
  }
6631
6631
 
6632
6632
  /**
6633
- * 扩展 API 接口 / 原理图 & 符号 / 设计规则检查(DRC)类
6633
+ * 原理图 & 符号 / 设计规则检查(DRC)类
6634
6634
  *
6635
6635
  * @public
6636
6636
  * @remarks 检查、设定 DRC 规则
@@ -6648,7 +6648,7 @@ declare class SCH_Drc {
6648
6648
  }
6649
6649
 
6650
6650
  /**
6651
- * 扩展 API 接口 / 原理图 & 符号 / 事件类
6651
+ * 原理图 & 符号 / 事件类
6652
6652
  *
6653
6653
  * @public
6654
6654
  * @remarks 注册事件回调
@@ -6683,7 +6683,7 @@ declare class SCH_Event {
6683
6683
  }
6684
6684
 
6685
6685
  /**
6686
- * 扩展 API 接口 / 原理图 & 符号 / 生产资料类
6686
+ * 原理图 & 符号 / 生产资料类
6687
6687
  *
6688
6688
  * @public
6689
6689
  * @remarks 获取当前原理图图页的生产资料文件
@@ -6712,7 +6712,7 @@ declare class SCH_ManufactureData {
6712
6712
  }
6713
6713
 
6714
6714
  /**
6715
- * 扩展 API 接口 / 原理图 & 符号 / 网表类
6715
+ * 原理图 & 符号 / 网表类
6716
6716
  *
6717
6717
  * @public
6718
6718
  * @remarks 获取、更新网表
@@ -6737,7 +6737,7 @@ declare class SCH_Netlist {
6737
6737
  }
6738
6738
 
6739
6739
  /**
6740
- * 扩展 API 接口 / 原理图 & 符号 / 图元类
6740
+ * 原理图 & 符号 / 图元类
6741
6741
  *
6742
6742
  * @public
6743
6743
  * @remarks 图元的统一操作
@@ -6770,7 +6770,7 @@ declare class SCH_Primitive {
6770
6770
  }
6771
6771
 
6772
6772
  /**
6773
- * 扩展 API 接口 / 原理图 & 符号 / 圆弧图元类
6773
+ * 原理图 & 符号 / 圆弧图元类
6774
6774
  *
6775
6775
  * @public
6776
6776
  */
@@ -6844,7 +6844,7 @@ declare class SCH_PrimitiveArc implements ISCH_PrimitiveAPI {
6844
6844
  }
6845
6845
 
6846
6846
  /**
6847
- * 扩展 API 接口 / 原理图 & 符号 / 总线图元类
6847
+ * 原理图 & 符号 / 总线图元类
6848
6848
  *
6849
6849
  * @public
6850
6850
  */
@@ -6908,7 +6908,7 @@ declare class SCH_PrimitiveBus implements ISCH_PrimitiveAPI {
6908
6908
  }
6909
6909
 
6910
6910
  /**
6911
- * 扩展 API 接口 / 原理图 & 符号 / 圆图元类
6911
+ * 原理图 & 符号 / 圆图元类
6912
6912
  *
6913
6913
  * @public
6914
6914
  */
@@ -6976,7 +6976,7 @@ declare class SCH_PrimitiveCircle implements ISCH_PrimitiveAPI {
6976
6976
  }
6977
6977
 
6978
6978
  /**
6979
- * 扩展 API 接口 / 原理图 & 符号 / 器件图元类
6979
+ * 原理图 & 符号 / 器件图元类
6980
6980
  *
6981
6981
  * @public
6982
6982
  */
@@ -7191,7 +7191,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
7191
7191
  }
7192
7192
 
7193
7193
  /**
7194
- * 扩展 API 接口 / 原理图 & 符号 / 引脚图元类
7194
+ * 原理图 & 符号 / 引脚图元类
7195
7195
  *
7196
7196
  * @public
7197
7197
  */
@@ -7265,7 +7265,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
7265
7265
  }
7266
7266
 
7267
7267
  /**
7268
- * 扩展 API 接口 / 原理图 & 符号 / 多边形图元类
7268
+ * 原理图 & 符号 / 多边形图元类
7269
7269
  *
7270
7270
  * @public
7271
7271
  */
@@ -7329,7 +7329,7 @@ declare class SCH_PrimitivePolygon implements ISCH_PrimitiveAPI {
7329
7329
  }
7330
7330
 
7331
7331
  /**
7332
- * 扩展 API 接口 / 原理图 & 符号 / 矩形图元类
7332
+ * 原理图 & 符号 / 矩形图元类
7333
7333
  *
7334
7334
  * @public
7335
7335
  */
@@ -7403,7 +7403,7 @@ declare class SCH_PrimitiveRectangle implements ISCH_PrimitiveAPI {
7403
7403
  }
7404
7404
 
7405
7405
  /**
7406
- * 扩展 API 接口 / 原理图 & 符号 / 文本图元类
7406
+ * 原理图 & 符号 / 文本图元类
7407
7407
  *
7408
7408
  * @public
7409
7409
  */
@@ -7479,7 +7479,7 @@ declare class SCH_PrimitiveText implements ISCH_PrimitiveAPI {
7479
7479
  }
7480
7480
 
7481
7481
  /**
7482
- * 扩展 API 接口 / 原理图 & 符号 / 导线图元类
7482
+ * 原理图 & 符号 / 导线图元类
7483
7483
  *
7484
7484
  * @public
7485
7485
  */
@@ -7552,7 +7552,7 @@ declare class SCH_PrimitiveWire implements ISCH_PrimitiveAPI {
7552
7552
  }
7553
7553
 
7554
7554
  /**
7555
- * 扩展 API 接口 / 原理图 & 符号 / 选择控制类
7555
+ * 原理图 & 符号 / 选择控制类
7556
7556
  *
7557
7557
  * @public
7558
7558
  * @remarks 获取或操作选择的元素
@@ -7603,7 +7603,7 @@ declare class SCH_SelectControl {
7603
7603
  }
7604
7604
 
7605
7605
  /**
7606
- * 扩展 API 接口 / 原理图 & 符号 / 工具类
7606
+ * 原理图 & 符号 / 工具类
7607
7607
  *
7608
7608
  * @public
7609
7609
  */
@@ -7612,7 +7612,7 @@ declare class SCH_Utils {
7612
7612
  }
7613
7613
 
7614
7614
  /**
7615
- * 扩展 API 接口 / 系统 / 外部请求类
7615
+ * 系统 / 外部请求类
7616
7616
  *
7617
7617
  * @public
7618
7618
  * @remarks 向外部服务器发起安全的 cURL 请求
@@ -7631,6 +7631,7 @@ declare class SYS_ClientUrl {
7631
7631
  * @param data - 请求发送的数据,可以是直接数据或 {@link https://developer.mozilla.org/docs/Web/API/URLSearchParams | URLSearchParams} 对象,如果 method 为 `HEAD` 或 `GET`,本参数将被忽略
7632
7632
  * @param options - 请求参数
7633
7633
  * @param succeedCallFn - 请求成功后回调的函数
7634
+ * @returns Fetch 的返回结果
7634
7635
  */
7635
7636
  request(url: string, method?: 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH', data?: string | Blob | FormData | URLSearchParams, options?: {
7636
7637
  headers?: {
@@ -7641,7 +7642,7 @@ declare class SYS_ClientUrl {
7641
7642
  }
7642
7643
 
7643
7644
  /**
7644
- * 扩展 API 接口 / 系统 / 文件管理类
7645
+ * 系统 / 文件管理类
7645
7646
  *
7646
7647
  * @public
7647
7648
  */
@@ -7670,7 +7671,7 @@ declare class SYS_FileManager {
7670
7671
  * 获取文档源码
7671
7672
  *
7672
7673
  * @beta
7673
- * @returns 文档源码数据,`undefined` 表示当前未打开文��或数据获取失败
7674
+ * @returns 文档源码数据,`undefined` 表示当前未打开文档或数据获取失败
7674
7675
  */
7675
7676
  getDocumentSource(): Promise<string | undefined>;
7676
7677
  /**
@@ -7748,7 +7749,7 @@ declare class SYS_FileManager {
7748
7749
  }
7749
7750
 
7750
7751
  /**
7751
- * 扩展 API 接口 / 系统 / 文件系统交互类
7752
+ * 系统 / 文件系统交互类
7752
7753
  *
7753
7754
  * @public
7754
7755
  */
@@ -7774,7 +7775,7 @@ declare class SYS_FileSystem {
7774
7775
  }
7775
7776
 
7776
7777
  /**
7777
- * 扩展 API 接口 / 系统 / 字体管理类
7778
+ * 系统 / 字体管理类
7778
7779
  *
7779
7780
  * @public
7780
7781
  * @remarks 配置嘉立创 EDA 专业版允许调用的系统字体列表
@@ -7806,7 +7807,7 @@ declare class SYS_FontManager {
7806
7807
  }
7807
7808
 
7808
7809
  /**
7809
- * 扩展 API 接口 / 系统 / 多语言类
7810
+ * 系统 / 多语言类
7810
7811
  *
7811
7812
  * @public
7812
7813
  * @remarks 使用多语言系统展示多语言文本
@@ -7887,7 +7888,7 @@ declare class SYS_I18n {
7887
7888
  }
7888
7889
 
7889
7890
  /**
7890
- * 扩展 API 接口 / 系统 / 内联框架窗口类
7891
+ * 系统 / 内联框架窗口类
7891
7892
  *
7892
7893
  * @public
7893
7894
  */
@@ -7911,7 +7912,7 @@ declare class SYS_IFrame {
7911
7912
  }
7912
7913
 
7913
7914
  /**
7914
- * 扩展 API 接口 / 系统 / 加载与进度条类
7915
+ * 系统 / 加载与进度条类
7915
7916
  *
7916
7917
  * @public
7917
7918
  */
@@ -7947,7 +7948,7 @@ declare class SYS_LoadingAndProgressBar {
7947
7948
  }
7948
7949
 
7949
7950
  /**
7950
- * 扩展 API 接口 / 系统 / 日志类
7951
+ * 系统 / 日志类
7951
7952
  *
7952
7953
  * @public
7953
7954
  */
@@ -7995,7 +7996,7 @@ declare class SYS_Log {
7995
7996
  }
7996
7997
 
7997
7998
  /**
7998
- * 扩展 API 接口 / 系统 / 消息框类
7999
+ * 系统 / 消息框类
7999
8000
  *
8000
8001
  * @public
8001
8002
  * @remarks 生成消息提示框
@@ -8026,7 +8027,7 @@ declare class SYS_MessageBox {
8026
8027
  }
8027
8028
 
8028
8029
  /**
8029
- * 扩展 API 接口 / 系统 / 面板控制类
8030
+ * 系统 / 面板控制类
8030
8031
  *
8031
8032
  * @public
8032
8033
  */
@@ -8115,7 +8116,7 @@ declare class SYS_PanelControl {
8115
8116
  }
8116
8117
 
8117
8118
  /**
8118
- * 扩展 API 接口 / 系统 / 快捷键类
8119
+ * 系统 / 快捷键类
8119
8120
  *
8120
8121
  * @public
8121
8122
  * @remarks 注册与管理系统快捷键
@@ -8155,7 +8156,7 @@ declare class SYS_ShortcutKey {
8155
8156
  }
8156
8157
 
8157
8158
  /**
8158
- * 扩展 API 接口 / 系统 / 定时器类
8159
+ * 系统 / 定时器类
8159
8160
  *
8160
8161
  * @public
8161
8162
  * @remarks 设置定时器
@@ -8196,7 +8197,7 @@ declare class SYS_Timer {
8196
8197
  }
8197
8198
 
8198
8199
  /**
8199
- * 扩展 API 接口 / 系统 / 吐司消息类
8200
+ * 系统 / 吐司消息类
8200
8201
  *
8201
8202
  * @public
8202
8203
  * @remarks 在屏幕的边缘弹出简短的消息提醒,会在一定时间后自动消除
@@ -8217,7 +8218,7 @@ declare class SYS_ToastMessage {
8217
8218
  }
8218
8219
 
8219
8220
  /**
8220
- * 扩展 API 接口 / 系统 / 单位类
8221
+ * 系统 / 单位类
8221
8222
  *
8222
8223
  * @public
8223
8224
  * @remarks 控制系统单位与单位转换基础函数,当前系统标准单位跨度等效为 `mil`
@@ -8280,7 +8281,7 @@ declare class SYS_Unit {
8280
8281
  }
8281
8282
 
8282
8283
  /**
8283
- * 扩展 API 接口 / 系统 / WebSocket 类
8284
+ * 系统 / WebSocket 类
8284
8285
  *
8285
8286
  * @public
8286
8287
  * @remarks 与 WebSocket 服务器交互
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [
@@ -22,16 +22,16 @@
22
22
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
23
23
  "@types/fast-text-encoding": "^1.0.3",
24
24
  "@types/fs-extra": "^11.0.4",
25
- "@typescript-eslint/eslint-plugin": "^7.17.0",
26
- "@typescript-eslint/parser": "^7.17.0",
25
+ "@typescript-eslint/eslint-plugin": "^8.1.0",
26
+ "@typescript-eslint/parser": "^8.1.0",
27
27
  "dotenv": "^16.4.5",
28
- "eslint": "^8.57.0",
28
+ "eslint": "^9.9.0",
29
29
  "eslint-config-alloy": "^5.1.2",
30
30
  "eslint-plugin-tsdoc": "^0.3.0",
31
31
  "fast-text-encoding": "^1.0.6",
32
32
  "fs-extra": "^11.2.0",
33
- "husky": "^9.1.3",
34
- "lint-staged": "^15.2.7",
33
+ "husky": "^9.1.4",
34
+ "lint-staged": "^15.2.9",
35
35
  "prettier": "^3.3.3",
36
36
  "ts-node": "^10.9.2",
37
37
  "typescript": "^5.5.4"