@jlceda/pro-api-types 0.1.59 → 0.1.60

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 (3) hide show
  1. package/README.md +6 -2
  2. package/index.d.ts +6 -6
  3. package/package.json +2 -3
package/README.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义
4
4
 
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) ![NPM Version](https://img.shields.io/npm/v/%40jlceda%2Fpro-api-types) ![NPM Unpacked Size](https://img.shields.io/npm/unpacked-size/%40jlceda%2Fpro-api-types) ![NPM License](https://img.shields.io/npm/l/%40jlceda%2Fpro-api-types) ![NPM Downloads](https://img.shields.io/npm/d18m/%40jlceda%2Fpro-api-types)
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)
6
10
 
7
11
  ## 使用
8
12
 
@@ -11,7 +15,7 @@
11
15
  1. 安装类型定义
12
16
 
13
17
  ```shell
14
- npm add -D @jlceda/pro-api-types
18
+ npm install --save-dev @jlceda/pro-api-types
15
19
  ```
16
20
 
17
21
  2. 将 `./node_modules/@jlceda/pro-api-types/` 添加到 `tsconfig.include` 内
package/index.d.ts CHANGED
@@ -412,7 +412,7 @@ declare class DMT_Project {
412
412
  *
413
413
  * @beta
414
414
  * @param projectFriendlyName - 工程友好名称
415
- * @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
415
+ * @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称���动生成
416
416
  * @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
417
417
  * @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
418
418
  * @param description - 工程描述
@@ -2860,7 +2860,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
2860
2860
  */
2861
2861
  toSync(): IPCB_PrimitiveLine;
2862
2862
  /**
2863
- * 查询图元是否为异步图元
2863
+ * 查询图��是否为异步图元
2864
2864
  */
2865
2865
  isAsync(): boolean;
2866
2866
  /**
@@ -4784,7 +4784,7 @@ declare class LIB_PanelLibrary {
4784
4784
  *
4785
4785
  * @beta
4786
4786
  * @param key - 搜索关键字
4787
- * @param libraryUuid - 库 UUID,默认为系统库,可以使用 {@link LIB_LibrariesList} 内的接口获取
4787
+ * @param libraryUuid - 库 UUID,默认为系统库��可以使用 {@link LIB_LibrariesList} 内的接口获取
4788
4788
  * @param classification - 分类,默认为全部
4789
4789
  * @param itemsOfPage - 一页搜索结果的数量
4790
4790
  * @param page - 页数
@@ -6190,7 +6190,7 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
6190
6190
  */
6191
6191
  create(net: string, layer: TPCB_LayersOfLine, startX: number, startY: number, endX: number, endY: number, lineWidth?: number, primitiveLock?: boolean): Promise<IPCB_PrimitiveLine | undefined>;
6192
6192
  /**
6193
- * 删除��线
6193
+ * 删除导线
6194
6194
  *
6195
6195
  * @beta
6196
6196
  * @param primitiveIds - 导线的图元 ID 或导线图元对象
@@ -6640,7 +6640,7 @@ declare class SCH_Drc {
6640
6640
  * 检查 DRC
6641
6641
  *
6642
6642
  * @public
6643
- * @param strict - 是否严格检查,严格检查时存在 Warning 将返回 `false`,否���返回 `true`
6643
+ * @param strict - 是否严格检查,严格检查时存在 Warning 将返回 `false`,否则返回 `true`
6644
6644
  * @param userInterface - 是否显示 UI(呼出底部 DRC 窗口)
6645
6645
  * @returns DRC 检查是否无错误
6646
6646
  */
@@ -7307,7 +7307,7 @@ declare class SCH_PrimitivePolygon implements ISCH_PrimitiveAPI {
7307
7307
  * 获取多边形
7308
7308
  *
7309
7309
  * @beta
7310
- * @param primitiveIds - 多边形的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
7310
+ * @param primitiveIds - 多边形的图��� ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
7311
7311
  * @returns 多边形图元对象
7312
7312
  */
7313
7313
  get(primitiveIds: string): Promise<ISCH_PrimitivePolygon | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlceda/pro-api-types",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
5
5
  "typings": "index.d.ts",
6
6
  "keywords": [
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "author": "JLCEDA <support@lceda.cn>",
11
11
  "license": "Apache-2.0",
12
- "homepage": "https://lceda.cn/",
12
+ "homepage": "https://pro.lceda.cn/",
13
13
  "scripts": {
14
14
  "prepare": "husky",
15
15
  "prettier:all": "prettier --write .",
@@ -33,7 +33,6 @@
33
33
  "husky": "^9.1.1",
34
34
  "lint-staged": "^15.2.7",
35
35
  "prettier": "^3.3.3",
36
- "rimraf": "^6.0.1",
37
36
  "ts-node": "^10.9.2",
38
37
  "typescript": "^5.5.4"
39
38
  },