@jlceda/pro-api-types 0.1.95 → 0.1.97

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 +25 -16
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -416,7 +416,7 @@ declare class DMT_Project {
416
416
  * @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
417
417
  * @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
418
418
  * @param description - 工程描述
419
- * @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该���数将被忽略
419
+ * @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
420
420
  * @returns 工程 UUID,如若为 `undefined` 则创建失败
421
421
  */
422
422
  createProject(projectFriendlyName: string, projectName?: string, teamUuid?: string, folderUuid?: string, description?: string, collaborationMode?: EDMT_ProjectCollaborationMode): Promise<string | undefined>;
@@ -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 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
@@ -813,7 +813,7 @@ declare const eda: EDA;
813
813
  * @public
814
814
  */
815
815
  declare enum EDMT_EditorDocumentType {
816
- /** 开���页 */
816
+ /** 开始页 */
817
817
  HOME = -1,
818
818
  /** 空白页 */
819
819
  BLANK = 0,
@@ -2419,7 +2419,7 @@ declare interface IPCB_PadPairGroupItem {
2419
2419
  */
2420
2420
  declare interface IPCB_PadPairMinWireLengthItem {
2421
2421
  /** 焊盘对数组 */
2422
- padPairs: Array<[string, string]>;
2422
+ padPair: [string, string];
2423
2423
  /** 最短导线长度 */
2424
2424
  minWireLength: number;
2425
2425
  }
@@ -2602,7 +2602,7 @@ declare class IPCB_PrimitiveArc implements IPCB_Primitive {
2602
2602
  */
2603
2603
  setState_Net(net: string): IPCB_PrimitiveArc;
2604
2604
  /**
2605
- * 设置属性状态:层
2605
+ * 设置属性状���:层
2606
2606
  *
2607
2607
  * @beta
2608
2608
  * @param layer - 层
@@ -3233,7 +3233,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
3233
3233
  * 获取属性状态:BBox 左上点坐标 X
3234
3234
  *
3235
3235
  * @public
3236
- * @returns BBox ���上点坐标 X
3236
+ * @returns BBox 左上点坐标 X
3237
3237
  */
3238
3238
  getState_X(): number;
3239
3239
  /**
@@ -3573,7 +3573,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
3573
3573
  */
3574
3574
  toSync(): IPCB_PrimitiveLine;
3575
3575
  /**
3576
- * 查询图元是否为��步图元
3576
+ * 查询图元是否为异步图元
3577
3577
  *
3578
3578
  * @public
3579
3579
  * @returns 是否为异步图元
@@ -4789,7 +4789,7 @@ declare interface ISCH_Primitive {
4789
4789
  }
4790
4790
 
4791
4791
  /**
4792
- * 原理图图��接口
4792
+ * 原理图图元接口
4793
4793
  *
4794
4794
  * @public
4795
4795
  */
@@ -5052,7 +5052,7 @@ declare class ISCH_PrimitiveCircle implements ISCH_Primitive {
5052
5052
  */
5053
5053
  reset(): Promise<ISCH_PrimitiveCircle>;
5054
5054
  /**
5055
- * 将对图元的更改应用到画��
5055
+ * 将对图元的更改应用到画布
5056
5056
  *
5057
5057
  * @beta
5058
5058
  */
@@ -6714,7 +6714,7 @@ declare class PCB_Document {
6714
6714
  *
6715
6715
  * @public
6716
6716
  * @remarks
6717
- * 嘉立�� EDA 专业版前端显示的坐标均为画布原点;
6717
+ * 嘉立创 EDA 专业版前端显示的坐标均为画布原点;
6718
6718
  *
6719
6719
  * 嘉立创 EDA 专业版 API 使用的均为数据原点;
6720
6720
  *
@@ -7065,7 +7065,7 @@ declare class PCB_Drc {
7065
7065
  * 从等长网络组中移除网络
7066
7066
  *
7067
7067
  * @beta
7068
- * @param equalLengthNetGroupName - 等��网络组名称
7068
+ * @param equalLengthNetGroupName - 等长网��组名称
7069
7069
  * @param net - 网络名称
7070
7070
  * @returns 操作是否成功
7071
7071
  */
@@ -7306,7 +7306,7 @@ declare class PCB_ManufactureData {
7306
7306
  * 获取 PCB 制版文件(Gerber)
7307
7307
  *
7308
7308
  * @beta
7309
- * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本��文件系统
7309
+ * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文��系统
7310
7310
  * @param fileName - 文件名
7311
7311
  * @param colorSilkscreen - 是否生成彩色丝印制造文件(嘉立创专用文件)
7312
7312
  * @param unit - 单位
@@ -7469,7 +7469,7 @@ declare class PCB_ManufactureData {
7469
7469
  * @beta
7470
7470
  * @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
7471
7471
  * @deprecated 新版自动布局 JSON 文件正在开发中,之后将会取代本接口
7472
- * @param fileName - 文件名
7472
+ * @param fileName - ���件名
7473
7473
  * @returns 旧版自动布局 JSON 文件数据
7474
7474
  */
7475
7475
  getOldAutoLayoutJsonFile(fileName?: string): Promise<File | undefined>;
@@ -8654,7 +8654,7 @@ declare class SCH_PrimitiveArc implements ISCH_PrimitiveAPI {
8654
8654
  * 创建圆弧
8655
8655
  *
8656
8656
  * @beta
8657
- * @param startX - 起始��� X
8657
+ * @param startX - 起始点 X
8658
8658
  * @param startY - 起始点 Y
8659
8659
  * @param referenceX - 参考点 X
8660
8660
  * @param referenceY - 参考点 Y
@@ -9583,7 +9583,7 @@ declare class SYS_Dialog {
9583
9583
  * 系统 / 运行环境类
9584
9584
  *
9585
9585
  * @public
9586
- * @remarks 获取嘉立创 EDA 专业版运行环境参数
9586
+ * @remarks 获取嘉立创 EDA 专���版运行环境参数
9587
9587
  */
9588
9588
  declare class SYS_Environment {
9589
9589
  /**
@@ -9996,7 +9996,16 @@ declare class SYS_Log {
9996
9996
  * @param types - 日志类型数组,可以在指定的日志类型内查找
9997
9997
  * @returns 符合查找条件的日志条目数组
9998
9998
  */
9999
- find(message: string, types?: ESYS_LogType | Array<ESYS_LogType>): Promise<Array<ISYS_LogLine>>;
9999
+ find(message: string | Array<string | {
10000
+ text: string;
10001
+ attr?: {
10002
+ id?: string;
10003
+ path?: string;
10004
+ sheet?: string;
10005
+ pcbid?: string;
10006
+ type?: string;
10007
+ };
10008
+ }>, types?: ESYS_LogType | Array<ESYS_LogType>): Promise<Array<ISYS_LogLine>>;
10000
10009
  }
10001
10010
 
10002
10011
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.95",
3
+ "version": "0.1.97",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [